Improve generic strcspn performance
[glibc.git] / ChangeLog
blob0d522ad4c4039ee8664102cf708df369b330a3b3
1 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
2             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4         * string/Version (libc): Add GLIBC_2.24.
5         * string/strcspn.c (strcspn): Rewrite function.
6         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7         (__strcspn_c1): Remove inline function.
8         (__strcspn_c2): Likewise.
9         (__strcspn_c3): Likewise.
10         * string/string-inline.c
11         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
12         compatibility symbol.
13         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
14         Likewise.
15         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
16         Likewise.
17         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
19 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22         Use ahi instead of aghi to adjust stack pointer.
24 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26         [BZ #19853]
27         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
28         TEST to take significant digits as second parameter.
29         [TEST]: Redefine in terms of TEST_N taking 30
30         significant digits.
31         (do_test): Add test case to demonstrate precision
32         failure in the ldbl-128ibm printf.
33         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
34         (__mpn_extract_long_double): Carry 7 extra intermediate
35         bits of precision to aide computing difference when
36         signs differ.
38 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
40         [BZ #19881]
41         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
43         memset-avx512-unaligned-erms.
44         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
45         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
46         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
47         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
48         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
49         __memset_sse2_unaligned_erms, __memset_erms,
50         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
51         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
52         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
53         file.
54         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
55         Likewise.
56         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
57         Likewise.
58         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
59         Likewise.
61 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
63         [BZ #19776]
64         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
66         memmove-avx512-unaligned-erms.
67         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
68         (__libc_ifunc_impl_list): Test
69         __memmove_chk_avx512_unaligned_2,
70         __memmove_chk_avx512_unaligned_erms,
71         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
72         __memmove_chk_sse2_unaligned_2,
73         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
74         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
75         __memmove_avx512_unaligned_erms, __memmove_erms,
76         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
77         __memcpy_chk_avx512_unaligned_2,
78         __memcpy_chk_avx512_unaligned_erms,
79         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
80         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
81         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
82         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
83         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
84         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
85         __mempcpy_chk_avx512_unaligned_erms,
86         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
87         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
88         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
89         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
90         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
91         __mempcpy_erms.
92         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
93         file.
94         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
95         Likwise.
96         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
97         Likwise.
98         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
99         Likwise.
101 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
103         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
104         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
105         (La_s390_64_regs): Likewise.
106         (La_s390_32_retval): Append vector register lrv_v24.
107         (La_s390_64_retval): Likeweise.
108         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
109         Handle extended structs La_s390_32_regs and La_s390_32_retval.
110         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
111         Handle extended structs La_s390_64_regs and La_s390_64_retval.
113 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
115         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
116         to create a non-vector/vector version for _dl_runtime_resolve and
117         _dl_runtime_profile. Move implementation to ...
118         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
119         (_dl_runtime_resolve) Save and restore fpr/vrs.
120         (_dl_runtime_profile) Save and restore vrs and fix some issues
121         if _dl_call_pltexit is called.
122         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
123         Choose the correct resolver function if running on a machine with vx.
124         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
125         to create a non-vector/vector version for _dl_runtime_resolve and
126         _dl_runtime_profile. Move implementation to ...
127         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
128         (_dl_runtime_resolve) Save and restore fpr/vrs.
129         (_dl_runtime_profile) Save and restore vrs and fix some issues
130         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
131         Choose the correct resolver function if running on a machine with vx.
133 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
135         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
137 2016-03-31  Florian Weimer  <fweimer@redhat.com>
139         [BZ #19509]
140         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
141         skip_map != NULL.
142         * elf/tst-dlsym-error.c: New file.
143         * elf/Makefile (tests): Add tst-dlsym-error.
144         (tst-dlsym-error): Link against libdl.
146 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
148         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
149         (__ASSUME_FUTIMESAT): Remove macro.
150         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
152 2016-03-29  Florian Weimer  <fweimer@redhat.com>
154         [BZ #19879]
155         CVE-2016-3075
156         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
157         copy name.
159 2016-03-29  Florian Weimer  <fweimer@redhat.com>
161         [BZ #19837]
162         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
163         error if parse_line fails.
165 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
167         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
168         (index_cpu_ERMS): Likewise.
169         (reg_ERMS): Likewise.
171 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
173         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
174         PER_LINUX_FDPIC): Add.
176 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
178         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
179         memcpy-avx512-no-vzeroupper.
180         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
181         to ...
182         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
183         (MEMCPY): Don't define.
184         (MEMCPY_CHK): Likewise.
185         (MEMPCPY): Likewise.
186         (MEMPCPY_CHK): Likewise.
187         (MEMPCPY_CHK): Renamed to ...
188         (__mempcpy_chk_avx512_no_vzeroupper): This.
189         (MEMPCPY_CHK): Renamed to ...
190         (__mempcpy_chk_avx512_no_vzeroupper): This.
191         (MEMCPY_CHK): Renamed to ...
192         (__memmove_chk_avx512_no_vzeroupper): This.
193         (MEMCPY): Renamed to ...
194         (__memmove_avx512_no_vzeroupper): This.
195         (__memcpy_avx512_no_vzeroupper): New alias.
196         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
198 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
200         [BZ #18858]
201         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
202         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
203         and mempcpy-avx512-no-vzeroupper.
204         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
205         New.
206         (MEMPCPY): Likewise.
207         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
208         (MEMPCPY_CHK): New.
209         (MEMPCPY): Likewise.
210         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
211         (MEMPCPY): Likewise.
212         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
213         (MEMPCPY): Likewise.
214         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
215         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
216         Likewise.
217         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
218         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
220 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
221              Amit Pawar  <Amit.Pawar@amd.com>
223         [BZ #19583]
224         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
225         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
226         processors.  Set Fast_Copy_Backward for AMD Excavator
227         processors.
228         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
229         New.
230         (index_arch_Fast_Unaligned_Copy): Likewise.
231         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
232         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
234 2016-03-25  Florian Weimer  <fweimer@redhat.com>
236         [BZ #19791]
237         * resolv/res_send.c (close_and_return_error): New function.
238         (send_dg): Initialize *resplen2 after reopen failure.  Call
239         close_and_return_error for error returns.  On error paths without
240         __res_iclose, initialze *resplen2 explicitly.  Update comment for
241         successful return.
243 2016-03-25  Florian Weimer  <fweimer@redhat.com>
245         [BZ# 19860]
246         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
247         zero if the compiler does not provide the AVX512F bit.
249 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
251         [BZ #19848]
252         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
253         from 8 to 4.
254         (__ieee754_powl): Compare integer exponent against 4 not 8.
255         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
256         from 8 to 4.
257         (__ieee754_powl): Compare integer exponent against 4 not 8.
258         * math/auto-libm-test-in: Add more tests of pow.
259         * math/auto-libm-test-out: Regenerated.
260         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
263 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
265         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
266         Make code unconditional.
267         [!__NR_utimensat]: Remove conditional code.
268         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
269         Make code unconditional.
270         [!__NR_utimensat]: Remove conditional code.
271         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
272         Make code unconditional.
273         [!__NR_utimensat]: Remove conditional code.
275 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
277         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
278         Make code unconditional.
280 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
282         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
283         call-clobbered %eax on retry path.
284         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
286 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
288         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
289         Don't set %rcx twice before "rep movsb".
291 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
293         [BZ #19583]
294         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
295         inline.  Check family before setting family, model and
296         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
297         bits here.
298         (init_cpu_features): Replace HAS_CPU_FEATURE and
299         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
300         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
301         for Intel processors with usable AVX2.  Call get_common_indeces
302         for other processors with family == NULL.
303         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
304         (CPU_FEATURES_ARCH_P): Likewise.
305         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
306         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
308 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
310         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
311         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
312         $(shared-thread-library) instead of hardcoding the path to libpthread.
314 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
316         * sysdeps/unix/sysv/linux/kernel-features.h
317         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
318         * sysdeps/unix/sysv/linux/getdents.c
319         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
320         [!have_no_getdents64_defined]: Likewise.
321         (__GETDENTS): Remove __have_no_getdents64 conditional.
323 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
325         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
326         Remove macro.
327         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
328         <kernel-features.h>.
329         (signalfd) [__NR_signalfd4]: Make code unconditional.
330         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
332 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
334         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
335         style.
337 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
339         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
340         (__pthread_enable_asynccancel): Use JUMPTARGET to call
341         __pthread_unwind.
342         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
343         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
344         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
345         (__condvar_cleanup1): Likewise.
347 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
349         [BZ #19822]
350         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
351         move it to the final $@ location.
353 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
355         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
356         access where posix_spawn success and pid argument is null.
357         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
358         success case.
360 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
362         * sysdeps/mach/hurd/i386/c++-types.data: New file.
364         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
366         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
367         and __fcntl.
368         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
369         __fcntl only.
370         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
371         adding attribute_hidden to __open and __fcntl.
373         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
374         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
375         depend on libc-modules.h,
376         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
378 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
380         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
381         Remove macro.
382         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
383         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
384         entry.
386         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
387         Remove macro.
388         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
389         include <kernel-features.h>.
390         [!__ASSUME_FALLOCATE]: Remove conditional code.
391         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
393 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
395         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
396         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
397         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
398         (_ZGVdN4v_cos_avx2): Likewise.
399         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
400         (_ZGVdN4v_cos): Likewise.
401         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
402         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
403         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
404         (_ZGVdN4v_exp_avx2): Likewise.
405         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
406         (_ZGVdN4v_exp): Likewise.
407         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
408         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
409         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
410         (_ZGVdN4v_log_avx2): Likewise.
411         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
412         (_ZGVdN4v_log): Likewise.
413         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
414         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
415         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
416         (_ZGVdN4vv_pow_avx2): Likewise.
417         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
418         (_ZGVdN4vv_pow): Likewise.
419         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
420         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
421         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
422         (_ZGVdN4v_sin_avx2): Likewise.
423         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
424         (_ZGVdN4v_sin): Likewise.
425         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
426         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
427         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
428         (_ZGVdN4vvv_sincos_avx2): Likewise.
429         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
430         (_ZGVdN4vvv_sincos): Likewise.
431         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
432         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
433         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
434         (_ZGVbN4v_cosf_sse4): Likewise.
435         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
436         (_ZGVdN8v_cosf_avx2): Likewise.
437         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
438         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
439         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
440         (_ZGVbN4v_expf_sse4): Likewise.
441         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
442         (_ZGVdN8v_expf_avx2): Likewise.
443         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
444         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
445         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
446         (_ZGVbN4v_logf_sse4): Likewise.
447         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
448         (_ZGVdN8v_logf_avx2): Likewise.
449         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
450         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
451         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
452         (_ZGVbN4vv_powf_sse4): Likewise.
453         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
454         (_ZGVdN8vv_powf_avx2): Likewise.
455         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
456         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
457         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
458         (_ZGVbN4vvv_sincosf_sse4): Likewise.
459         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
460         (_ZGVdN8vvv_sincosf_avx2): Likewise.
461         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
462         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
463         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
464         (_ZGVbN4v_sinf_sse4): Likewise.
465         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
466         (_ZGVdN8v_sinf_avx2): Likewise.
467         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
468         Use JUMPTARGET to call callee.
469         (WRAPPER_IMPL_SSE2_ff): Likewise.
470         (WRAPPER_IMPL_SSE2_fFF): Likewise.
471         (WRAPPER_IMPL_AVX): Likewise.
472         (WRAPPER_IMPL_AVX_ff): Likewise.
473         (WRAPPER_IMPL_AVX_fFF): Likewise.
474         (WRAPPER_IMPL_AVX512): Likewise.
475         (WRAPPER_IMPL_AVX512_ff): Likewise.
476         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
477         Likewise.
478         (WRAPPER_IMPL_SSE2_ff): Likewise.
479         (WRAPPER_IMPL_SSE2_fFF): Likewise.
480         (WRAPPER_IMPL_AVX): Likewise.
481         (WRAPPER_IMPL_AVX_ff): Likewise.
482         (WRAPPER_IMPL_AVX_fFF): Likewise.
483         (WRAPPER_IMPL_AVX512): Likewise.
484         (WRAPPER_IMPL_AVX512_ff): Likewise.
485         (WRAPPER_IMPL_AVX512_fFF): Likewise.
487 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
489         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
490         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
491         qualifier.
492         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
493         internal_function qualifiers.
495 2016-03-15  Carlos O'Donell <carlos@redhat.com>
497         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
498         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
499         * math/atest-exp.c (exp_mpn): Mark chk unused.
500         * math/atest-exp2.c (exp_mpn): Likwise.
501         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
502         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
504 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
506         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
507         Remove macro.
508         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
509         <kernel-features.h>.
510         [__NR_ppoll]: Make code unconditional.
511         [!__ASSUME_PPOLL]: Remove conditional code.
513         * sysdeps/unix/sysv/linux/kernel-features.h
514         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
515         (__ASSUME_ACCEPT4): Likewise.
516         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
517         Define.
518         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
519         Likewise.
520         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
521         Likewise.
522         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
523         Likewise.
524         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
525         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
526         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
527         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
528         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
529         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
530         * sysdeps/unix/sysv/linux/arm/kernel-features.h
531         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
532         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
533         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
534         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
535         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
536         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
537         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
538         * sysdeps/unix/sysv/linux/i386/kernel-features.h
539         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
540         Likewise.
541         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
542         Likewise.
543         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
544         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
545         0x040300].
546         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
547         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
548         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
549         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
550         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
551         0x030300].
552         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
553         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
554         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
555         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
556         0x040300].
557         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
558         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
559         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
560         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
561         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
562         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
563         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
564         0x030300].
565         * sysdeps/unix/sysv/linux/mips/kernel-features.h
566         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
567         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
568         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
569         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
570         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
571         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
572         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
573         * sysdeps/unix/sysv/linux/s390/kernel-features.h
574         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
575         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
576         0x040300].
577         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
578         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
579         * sysdeps/unix/sysv/linux/sh/kernel-features.h
580         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
581         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
582         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
583         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
584         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
585         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
586         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
587         * sysdeps/unix/sysv/linux/tile/kernel-features.h
588         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
589         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
590         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
591         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
592         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
593         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
594         Likewise.
595         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
596         Likewise.
598 2016-03-15  Andreas Schwab  <schwab@suse.de>
600         [BZ #19257]
601         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
602         statp->_u._ext.nscount as loop count.
604 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
606         * math/test-signgam-finite-c99.c: Also #undef
607         __LIBC_INTERNAL_MATH_INLINES.
608         * math/test-signgam-main.c: Likewise.
610 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
612         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
613         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
614         (MADV_FREE): Likewise.
615         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
616         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
617         EPOLLEXCLUSIVE.
619 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
621         * timezone/README: Remove mention of checktab.awk. Mention wiki
622         SharedSourceFiles.
624 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
626         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
627         WUNTRACED.
629 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
631         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
632         order to match the type of p when calling atomic_exchange_acq().
634 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
636         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
637         cfi_offset calls.
638         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
639         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
640         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
641         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
642         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
644 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
646         * timezone/checktab.awk: Removed.
648 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
650         * manual/math.texi (Errors in Math Functions): Document relaxed
651         accuracy goals for IBM long double.
652         * math/libm-test.inc (test_exceptions): Always allow spurious
653         "underflow" and "inexact" exceptions for IBM long double.
655 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
657         [BZ #19762]
658         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
659         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
660         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
661         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
662         (bit_arch_*): This for feature array.
663         (bit_*): Renamed to ...
664         (bit_cpu_*): This for cpu array.
665         (index_*): Renamed to ...
666         (index_arch_*): This for feature array.
667         (index_*): Renamed to ...
668         (index_cpu_*): This for cpu array.
669         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
670         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
671         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
672         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
673         bit_##name with index_cpu_##name and bit_cpu_##name.
674         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
675         bit_##name with index_arch_##name and bit_arch_##name.
677 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
679         [BZ #19792]
680         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
681         Terminate FDE before return label.
683 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
685         [BZ #19790]
686         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
687         (rintl): Define as macro.
688         [USE_AS_NEARBYINTL] (__rintl): Likewise.
689         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
690         of fesetround.  Ensure results are evaluated before end of scope.
691         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
692         USE_AS_NEARBYINTL and include s_rintl.c.
693         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
694         Disable exception traps in new environment.
695         (libc_feholdsetround_ppc_ctx): Likewise.
697 2016-03-08  Roland McGrath  <roland@hack.frob.com>
699         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
700         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
701         (tst_audit10_aux) [__AVX512F__]: ... here.
703 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
705         * include/sys/auxv.h: New file.
707 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
709         [BZ #19759]
710         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
712 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
714         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
715         operand modifier.
716         (feclearexcept): Likewise.
718 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
720         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
721         to reflect the entire 32-bit HWCAP.
722         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
723         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
725 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
727         [BZ #19783]
728         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
729         $(test-via-rtld-prefix).
730         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
732 2016-03-08  Florian Weimer  <fweimer@redhat.com>
734         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
735         union wait.  Report any non-zero exit status as error.
737 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
739         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
740         configured with --enable-hardcoded-path-in-tests.
742 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
744         [BZ #19677]
745         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
746         (__ieee754_remainderl): Put zero low parts in canonical form.
747         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
748         file.  Based on
749         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
750         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
751         with wrapper round test-fmodrem-ldbl-128ibm.c.
752         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
753         file.
754         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
755         Likewise.
756         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
757         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
759 2016-03-07  Florian Weimer  <fweimer@redhat.com>
761         [BZ #19610]
762         * elf/ldconfig.c (opt_link): Update comment.
763         (options): Update help string for option -X.
764         (search_dir): Unlink stale symbolic link only if updating symbolic
765         links.
766         * elf/tst-ldconfig-X.sh: New file.
767         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
768         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
770 2016-03-07  Andreas Schwab  <schwab@suse.de>
772         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
773         needed arguments.
775 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
777         [BZ #15333]
778         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
779         to lstat64.
781 2016-03-07  Florian Weimer  <fweimer@redhat.com>
783         * libio/filedoalloc.c (isatty): Remove.
784         (local_isatty): Add comment.  Call __isatty directly.
785         (_IO_file_doallocate): Update comment.  Assume _LIBC.
786         * libio/wfiledoalloc.c (isatty): Remove.
787         (_IO_wfile_doallocate): Update comment.
789 2016-03-07  Florian Weimer  <fweimer@redhat.com>
791         [BZ #19269]
792         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
793         tst-audit4-aux.o.
794         (tst-audit10): Depend on tst-audit10-aux.o.
795         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
796         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
797         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
798         instead of inline AVX code.
799         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
800         instead of inline AVX512 code.
801         * sysdeps/x86_64/tst-audit4-aux.c: New file
802         * sysdeps/x86_64/tst-audit10-aux.c: New file
804         [BZ #19648]
805         * test-skeleton.c (main): Do not set RLIMIT_DATA.
807 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
809         [BZ #14750]
810         [BZ #10354]
811         [BZ #18433]
812         * include/sched.h (__clone): Add hidden prototype.
813         (__clone2): Likewise.
814         * include/unistd.h (__dup): Likewise.
815         * posix/Makefile (tests): Add tst-spawn2.
816         * posix/tst-spawn2.c: New file.
817         * sysdeps/posix/dup.c (__dup): Add hidden definition.
818         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
819         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
820         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
821         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
822         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
823         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
824         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
825         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
826         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
827         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
829         Likewise.
830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
831         Likewise.
832         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
833         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
834         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
835         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
836         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
837         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
838         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
839         * sysdeps/unix/sysv/linux/nptl-signals.h
840         (____nptl_is_internal_signal): New function.
841         * sysdeps/unix/sysv/linux/spawni.c: New file.
843         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
844         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
845         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
846         * posix/tst-execvp2.c (do_test): Likewise.
847         * posix/tst-execvp3.c (do_test): Likewise.
848         * posix/tst-execvp4.c (do_test): Likewise.
849         * posix/tst-execvpe1.c: New file.
850         * posix/tst-execvpe2.c: Likewise.
851         * posix/tst-execvpe3.c: Likewise.
852         * posix/tst-execvpe4.c: Likewise.
853         * posix/tst-execvpe5.c: Likewise.
854         * posix/tst-execvpe6.c: Likewise.
856         [BZ #19534]
857         * posix/execl.c (execl): Remove dynamic memory allocation.
858         * posix/execle.c (execle): Likewise.
859         * posix/execlp.c (execlp): Likewise.
861 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
863         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
864         Replace .text with .text.avx512.
865         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
866         Likewise.
868 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
870         * sysdeps/generic/libnsl.abilist: New file.
871         * sysdeps/generic/libutil.abilist: New file.
873 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
875         [BZ #19762]
876         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
877         HAS_ARCH_FEATURE with Fast_Rep_String.
878         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
879         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
880         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
881         Likewise.
882         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
883         Likewise.
884         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
885         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
886         Likewise.
887         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
888         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
889         Likewise.
891 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
893         [BZ #19745]
894         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
895         with *%rax in call.
897 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
899         [BZ #19745]
900         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
901         with *__libc_start_main@GOTPCREL(%rip) in call.
903 2016-03-04  Roland McGrath  <roland@hack.frob.com>
905         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
906         inside conditional for nonempty $(CXX).
908         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
909         nonempty.
911         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
912         to test for empty $(CXX) rather than $(CXX) of "no".
914 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
916         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
918 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
919             H.J. Lu  <hongjiu.lu@intel.com>
921         [BZ #18880]
922         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
923         instead of Slow_BSF, and also check for Fast_Copy_Backward to
924         enable __memcpy_ssse3_back.
926 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
928         [BZ #19758]
929         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
930         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
932 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
934         [BZ #19490]
935         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
936         (__fentry__): Likewise.
938 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
940         * gmon/Makefile (noprof): Add $(sysdep_noprof).
941         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
943 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
945         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
946         __mcount_internal directly.
947         (C_LABEL(__fentry__)): Likewise.
948         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
949         directly.
951 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
953         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
954         (__start_context): Call __setcontext directly.
956 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
958         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
959         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
960         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
961         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
962         * sysdeps/unix/sysv/linux/arm/kernel-features.h
963         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
964         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
965         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
966         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
967         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
968         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
969         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
970         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
971         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
972         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
973         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
974         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
975         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
976         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
977         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
978         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
979         * sysdeps/unix/sysv/linux/mips/kernel-features.h
980         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
981         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
982         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
983         Remove conditional code.
984         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
985         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
986         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
987         * sysdeps/unix/sysv/linux/sh/kernel-features.h
988         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
989         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
990         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
991         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
992         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
993         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
994         * sysdeps/unix/sysv/linux/tile/kernel-features.h
995         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
997 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
999         * NEWS (2.23): Fix typo in bug 19048 text.
1001 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
1003         [BZ #14259]
1004         * Makeconfig: Rename msgcatdir to localedir.
1005         Rename inst_msgcatdir to inst_localedir.
1006         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
1007         * config.make.in: Add localedir.
1008         * elf/Makefile ($(objpfx)sotruss): Use localedir.
1009         (ldd-rewrite): Likewise.
1010         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
1011         (install-others): Use inst_localedir.
1012         (CPPFLAGS): Use localedir.
1013         * locale/Makefile (locale-CPPFLAGS): Likewise.
1014         * po/Makefile (mo-installed): Use inst_localedir.
1016         [BZ #19575]
1017         * localedata/charmaps/GB18030: Update comments regarding PAU to
1018         non-PUA mappings.
1020 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
1022         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
1023         test for header.
1024         * sysdeps/unix/sysv/linux/configure: Regenerated.
1025         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
1026         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
1027         Remove conditional code.
1028         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
1030         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1031         Define to 3.2.0.
1032         (arch_minimum_kernel): Likewise.
1033         * sysdeps/unix/sysv/linux/configure: Regenerated.
1034         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1035         Define to 2.6.32.
1036         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1037         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1038         (arch_minimum_kernel): Define to 2.6.32.
1039         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1040         * README: Document Linux 3.2 requirement.
1041         * manual/install.texi (Linux): Document Linux 3.2 headers
1042         requirement.
1043         * INSTALL: Regenerated.
1045 2016-02-24  Andreas Schwab  <schwab@suse.de>
1047         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
1048         if !NO_LONG_DOUBLE.
1050 2016-02-22  Roland McGrath  <roland@hack.frob.com>
1052         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
1053         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
1055 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
1057         [BZ #19512]
1058         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
1060 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1062         * posix/tst-dir.c: Include libc-internal.h.
1064 2016-02-20  Florian Weimer  <fweimer@redhat.com>
1066         [BZ #19056]
1067         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
1068         * manual/filesys.texi (Reading/Closing Directory): Mention
1069         deprecaion.
1070         * posix/tst-dir.c (main): Disable deprecation warning in test.
1072 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
1074         [BZ #19679]
1075         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
1076         Renamed to ...
1077         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
1078         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1079         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
1080         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1081         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1082         * sysdeps/x86_64/dl-trampoline.h
1083         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1084         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1086 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1088         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
1090 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1092         * elf/elf.h (R_386_GOT32X): New.
1093         (R_386_NUM): Update.
1094         (R_X86_64_GOTPCRELX: New.
1095         (R_X86_64_REX_GOTPCRELX): New.
1096         (R_X86_64_NUM): Update.
1098 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
1100         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
1102 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
1104         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
1105         assign attr->stackaddr to it, and adjust it down when
1106         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
1107         [_STACK_GROWS_UP]: Delete assert.
1108         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
1109         Implement stack grows up logic.
1110         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
1111         stack grows up logic.
1113 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1115         * NEWS: Update with 2.24 template.
1117 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1119         [BZ #19678]
1120         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1121         Ensure +0.0 is returned when taking the next value below the least
1122         positive value.
1124 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1126         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
1127         available.  Do not define NO_THREADS.
1128         * malloc/malloc.c: Do not check NO_THREADS.
1129         * malloc/arena.c: Likewise.
1131 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1133         * malloc/malloc.c (__libc_mallinfo): Update comment.
1134         (struct malloc_par): Remove max_total_mem member, it was always 0.
1135         (int_mallinfo): Store 0 into usmblks (no functional change).
1136         * malloc/hooks.c (struct malloc_state): Document that
1137         max_total_mem is always 0.
1138         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
1139         always 0.
1140         * manual/memory.texi (Statistics of Malloc): Likewise.
1142 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1144         * malloc/malloc.c (sysmalloc): Do not update arena_max.
1145         * malloc/arena.c (arena_max): Remove.
1146         (heap_trim, _int_new_arena): Do not update arena_max.
1148 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1150         * resolv/res_init.c (res_ninit): Update comment.
1152 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1154         [BZ #19505]
1155         * posix/spawn_int.h: Add headers and include guard.
1156         (__spawn_valid_fd): New function.
1157         * posix/spawn_faction_addopen.c
1158         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
1159         * posix/spawn_faction_addclose.c
1160         (posix_spawn_file_actions_addclose): Likewise.
1161         * posix/spawn_faction_adddup2.c
1162         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
1163         second file descriptor.
1164         * posix/spawn_valid_fd.c: New file.
1165         * posix/tst-posix_spawn-fd.c: New file.
1166         * posix/Makefile (routines): Add spawn_valid_fd.
1167         (tests): Add tst-posix_spawn-fd.
1169 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1171         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
1172         (do_test): Limit the number of arenas, so that we can use fewer
1173         outer threads.  Limit timeout to 3 seconds, in preparation for a
1174         larger TIMEOUT value.
1176 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1178         [BZ #19674]
1179         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
1180         sign in overflowing and underflowing results when overflow or
1181         underflow is detected early.  Include sign in result before rather
1182         than after scaling.
1184         [BZ #19603]
1185         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1186         (__ieee754_remainderl): Adjust sign of integer version of low part
1187         when taking absolute value of high part.
1188         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1189         * math/libm-test.inc (remainder_test_data): Add another test.
1190         (remquo_test_data): Likewise.
1192 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
1194         [BZ #19602]
1195         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
1196         equal high parts and both low parts zero specially.
1197         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
1198         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1199         Add test-fmodl-ldbl-128ibm.
1201         [BZ #19595]
1202         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
1203         common logic for all cases of shifting subnormal results.  Do not
1204         insert sign bit in shifted mantissa.  Always pass -1023 as biased
1205         exponent to ldbl_insert_mantissa in subnormal case.
1207         [BZ #19594]
1208         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
1209         on high and low parts then adjust result and use
1210         ldbl_canonicalize_int if needed.
1212         [BZ #19593]
1213         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
1214         on high part and __floor or __ceil on low part then use
1215         ldbl_canonicalize_int if needed.
1217         [BZ #19592]
1218         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
1219         high and low parts then use ldbl_canonicalize_int if needed.
1221         [BZ #17899]
1222         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1223         New function.
1224         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
1225         on high and low parts then use ldbl_canonicalize_int if needed.
1227 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1229         * configure: Regenerated.
1231         * po/libc.pot: Regenerated.
1233         * po/be.po: Updated translation.
1234         * po/bg.po: Likewise.
1235         * po/ca.po: Likewise.
1236         * po/cs.po: Likewise.
1237         * po/da.po: Likewise.
1238         * po/el.po: Likewise.
1239         * po/eo.po: Likewise.
1240         * po/es.po: Likewise.
1241         * po/fi.po: Likewise.
1242         * po/fr.po: Likewise.
1243         * po/gl.po: Likewise.
1244         * po/hr.po: Likewise.
1245         * po/hu.po: Likewise.
1246         * po/ia.po: Likewise.
1247         * po/id.po: Likewise.
1248         * po/it.po: Likewise.
1249         * po/ja.po: Likewise.
1250         * po/lt.po: Likewise.
1251         * po/nb.po: Likewise.
1252         * po/nl.po: Likewise.
1253         * po/pt_BR.po: Likewise.
1254         * po/rw.po: Likewise.
1255         * po/sk.po: Likewise.
1256         * po/sl.po: Likewise.
1257         * po/sv.po: Likewise.
1258         * po/tr.po: Likewise.
1259         * po/zh_CN.po: Likewise.
1260         * po/zh_TW.po: Likewise.
1262         * version.h (RELEAES): Set to "development".
1263         (VERSION): Set to 2.23.90.
1265         * version.h (RELEASE): Set to "stable".
1266         (VERSION): Set to 2.23.
1267         * include/feature.h (__GLIBC_MINOR__): Set to 23.
1269         * NEWS: Updated fixed bugs.
1271 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1272             Wilco Dijkstra  <wdijkstr@arm.com>
1274         [BZ #19462]
1275         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
1276         (_STRING_INLINE_unaligned): This.
1277         * include/string.h: Include <string_private.h>.
1278         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
1279         _STRING_INLINE_unaligned.
1280         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
1281         (_STRING_INLINE_unaligned): New.
1282         * sysdeps/aarch64/string_private.h: New file.
1283         * sysdeps/generic/string_private.h: Likewise.
1284         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
1285         * sysdeps/s390/string_private.h: Likewise.
1286         * sysdeps/x86/string_private.h: Likewise.
1287         * sysdeps/m68k/m680x0/m68020/bits/string.h
1288         (_STRING_ARCH_unaligned): Renamed to ...
1289         (_STRING_INLINE_unaligned): This.
1290         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
1291         to ...
1292         (_STRING_INLINE_unaligned): This.
1293         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
1294         to ...
1295         (_STRING_INLINE_unaligned): This.
1296         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
1297         to ...
1298         (_STRING_INLINE_unaligned): This.
1300 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1301             H.J. Lu  <hongjiu.lu@intel.com>
1303         [BZ #19590]
1304         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
1305         relocation.
1307 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
1309         [BZ #18665]
1310         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
1311         *herrno_p.
1312         (gaih_getanswer): Document functional behviour. Return tryagain
1313         if any result is tryagain.
1314         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
1315         when freed.
1316         * resolv/res_send.c: Add copyright text.
1317         (__libc_res_nsend): Document that MAXPACKET is expected.
1318         (send_vc): Document. Remove buffer reuse.
1319         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
1320         size of the buffer. Add Dprint for truncated UDP buffer.
1322 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
1324         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
1325         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
1326         * INSTALL: Regenerate.
1328 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
1329             Jonathan Wakely  <jwakely@redhat.com>
1330             Carlos O'Donell  <carlos@redhat.com>
1332         [BZ 19439]
1333         * math/Makefile (tests): Add test-math-isinff.
1334         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
1335         * math/bits/mathcalls.h [__USE_MISC]: Use
1336         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
1337         functions not in C++11 and which don't conflict e.g. isinff,
1338         isinfl etc.
1339         * math/test-math-isinff.cc: New file.
1341 2016-02-12  Florian Weimer  <fweimer@redhat.com>
1343         * misc/bug18240.c (do_test): Set RLIMIT_AS.
1345 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1347         [BZ #19529]
1348         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
1350 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1352         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1354 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
1356         [BZ #19550]
1357         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
1358         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
1359         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
1360         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
1361         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
1362         New syscall entry.
1363         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
1364         New syscall entry.
1365         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
1366         syscall entry.
1368 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
1370         [BZ #18240]
1371         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
1372         unsigned int wraparound.
1374 2016-01-27  Florian Weimer  <fweimer@redhat.com>
1376         [BZ #18240]
1377         * misc/bug18240.c: New test.
1378         * misc/Makefile (tests): Add it.
1380 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
1381             Joseph Myers  <joseph@codesourcery.com>
1383         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
1384         load in branch delay slot when less than a word of input left.
1386 2016-01-27  Andreas Schwab  <schwab@suse.de>
1388         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
1389         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
1390         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
1391         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
1393 2016-01-26  David S. Miller  <davem@davemloft.net>
1395         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
1397 2016-01-25  David S. Miller  <davem@davemloft.net>
1399         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
1400         __sqrtl_finite.
1401         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
1402         instead using versioned_symbol.
1403         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
1404         of entries.
1406         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
1407         __sqrtl_finite to GLIBC_2.23
1409 2016-01-25  Ricchard Henderson  <rth@redhat.com>
1411         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1413 2016-01-25  Andreas Schwab  <schwab@suse.de>
1415         [BZ #17514]
1416         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
1417         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
1418         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
1419         * nptl/tst-mutex-errorcheck.c: New file.
1421 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1423         [BZ #18560]
1424         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
1425         (IPCOP_semop): Likewise.
1426         (IPCOP_semget): Likewise.
1427         (IPCOP_semctl): Likewise.
1428         (IPCOP_msgsnd): Likewise.
1429         (IPCOP_msgrcv): Likewise.
1430         (IPCOP_msgget): Likewise.
1431         (IPCOP_msgctl): Likewise.
1432         (IPCOP_shmat): Likewise.
1433         (IPCOP_shmdt): Likewise.
1434         (IPCOP_shmget): Likewise.
1435         (IPCOP_shmctl): Likewise.
1437 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1439         * string/tst-endian.c: Include <libc-internal.h>.
1440         (do_test): Ignore tautological-compare warnings around
1441         "htobeXX (beXXtoh (i)) != i" and
1442         "htoleXX (leXXtoh (i)) != i" if-statements.
1444 2016-01-24  David S. Miller  <davem@davemloft.net>
1446         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
1447         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
1448         alias.
1449         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1450         __sqrtl_finite.
1452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1454 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
1456         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
1457         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
1458         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1460 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1462         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
1463         (thread_func): Use new function to simplify barrier check.
1464         (do_test): Use new function to simplify checking barrier exit
1465         code, and actually join the child thread.
1467 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1469         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
1470         semicolon.
1471         (__libc_tend): Likewise.
1472         (__libc_tabort): Likewise.
1474 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
1476         * sysdeps/nios2/libm-test-ulps: Update.
1477         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
1478         (__gtsf2): Likewise.
1479         (__unorddf2): Likewise.
1480         (__unordsf2): Likewise.
1481         (__ledf2): Likewise.
1483 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
1485         * nis/nis_table.c (__follow_path): Disable diagnostic for
1486         uninitialized variable that is a false positive for gcc 4.7.
1487         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
1489 2016-01-20  Roland McGrath  <roland@hack.frob.com>
1491         * sysdeps/nacl/lowlevellock-futex.h
1492         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
1493         Always evaluate PRIVATE argument.
1495 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
1497         [BZ #19490]
1498         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
1499         (pthread_cond_broadcast): Use ENTRY/END
1500         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
1501         (pthread_cond_signal): Likewise.
1502         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
1503         Likewise.
1504         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
1505         Likewise.
1506         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
1507         Likewise.
1509 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
1511         * sysdeps/ieee754/dbl-64/s_finite.c
1512         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
1513         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
1514         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
1515         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
1516         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
1518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1519         (__gtsf2): Add as optional for libc.so.
1520         (__unordsf2): Likewise.
1521         (__signbit): Remove for libc.so.
1522         (__signbitl): Likewise.
1524 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1526         * iconvdata/bug-iconv11.c (test_ibm93x):
1527         Use %zu printf format specifier for size_t argument.
1529 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
1531         * math/gen-libm-test.pl (parse_ulps): Do not reduce
1532         already-recorded ulps.
1533         * sysdeps/arm/libm-test-ulps: Regenerated.
1534         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1535         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1536         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1538 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1539             Paul Pluzhnikov  <ppluzhnikov@google.com>
1541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
1542         assembler not supporting AVX-512.
1544 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1546         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1548 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
1550         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1551         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1553         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1555         * sysdeps/arm/libm-test-ulps: Regenerated.
1557 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1559         [BZ #19451]
1560         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
1562 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1564         [BZ #19486]
1565         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
1566         * sysdeps/generic/fix-fp-int-convert-overflow.h
1567         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
1568         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
1569         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
1570         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
1571         Likewise.
1572         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
1573         Avoid conversions to long int where inexact exceptions
1574         could be raised.
1575         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
1576         Likewise.
1577         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
1578         Avoid conversions to long long int where inexact exceptions
1579         could be raised.
1580         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
1581         Likewise.
1583 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
1585         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
1586         * configure: Regenerated.
1588 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1590         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
1592 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
1594         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
1595         outside of comment.
1597 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1599         * nptl/tst-barrier1.c: Add description on first line.
1600         * nptl/tst-barrier2.c: Likewise.
1601         * nptl/tst-barrier3.c: Likewise.
1602         * nptl/tst-barrier4.c: Likewise.
1603         * nptl/tst-barrier5.c: Likewise.
1605 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1607         [BZ #18868]
1608         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1610 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1613         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1614         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1615         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1616         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1617         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1618         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1619         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1620         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1621         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1622         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1624 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1626         [BZ #13065]
1627         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1628         new implementation.
1629         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1630         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1631         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1632         (BARRIER_IN_THRESHOLD): New macro.
1633         * nptl/pthread_barrierattr_setpshared.c
1634         (pthread_barrierattr_setpshared): Clean up.
1635         * nptl/tst-barrier4.c: Correct comment.
1636         * nptl/tst-barrier5.c: New file.
1637         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1638         (gen-as-const-headers): Remove lowlevelbarrier.sym.
1639         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1640         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1641         * nptl/lowlevelbarrier.sym: Remove.
1642         * nptl/DESIGN-barrier.txt: Remove.
1643         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1644         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1645         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1646         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1647         error.
1648         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1649         implementation.
1651 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1653         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1654         (do_child): Mask SIGRTMIN while thr is running.
1656 2016-01-15  Martin Sebor  <msebor@redhat.com>
1658         [BZ #19432]
1659         * iconvdata/Makefile: Add bug-iconv11.
1660         * iconvdata/bug-iconv11.c: New test.
1661         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1662         * iconvdata/ibm933.c: Same.
1663         * iconvdata/ibm935.c: Same.
1664         * iconvdata/ibm937.c: Same.
1665         * iconvdata/ibm939.c: Same.
1667 2016-01-15  Martin Sebor  <msebor@redhat.com>
1669         [BZ #19443]
1670         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1671         [DEBUG] (_ufc_set_bits): Declare used.
1672         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1673         [DEBUG] (print_all): Declare used.
1674         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1675         operands of the ternary ?: expression to target type.
1676         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1677         calling the undeclared abort.
1678         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1680 2016-01-15  Martin Sebor  <msebor@redhat.com>
1682         [BZ #18755]
1683         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1684         warnings.
1685         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1686         (__gai_create_helper_thread): Same.
1687         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1688         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1689         to suppress -Wmaybe-uninitialized warnings.
1691 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1693         [BZ #19465]
1694         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1695         inside if.
1696         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1697         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1698         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1700 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1702         [BZ #19466]
1703         * time/tst-mktime2.c (time_t_max): Removed.
1704         (time_t_min): Likewise.
1705         (TYPE_SIGNED): New.
1706         (TYPE_MINIMUM): Likewise.
1707         (TYPE_MAXIMUM): Likewise.
1708         (TIME_T_MIN): Likewise.
1709         (TIME_T_MAX): Likewise.
1710         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1711         and TIME_T_MIN.
1712         (do_test): Likewise.
1714 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
1716         [BZ #19467]
1717         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1718         index_Fast_Unaligned_Load flag for Excavator family CPUs.
1720 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
1722         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1724 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
1726         * benchtests/Makefile (PYTHON): Define.
1727         (bench-func): Use $(PYTHON) to run python scripts.
1728         ($(objpfx)bench-%.c): Likewise.
1730 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
1732         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1733         leading slash when `file_name' is "/".
1735 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
1737         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1738         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1739         Likewise.
1740         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1741         Likewise.
1742         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1743         Likewise.
1744         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1745         enum constant and macro.
1746         (PTRACE_SETSIGMASK): Likewise.
1747         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1748         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1749         (PTRACE_GETSIGMASK): Likewise.
1750         (PTRACE_SETSIGMASK): Likewise.
1751         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1752         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1753         Likewise.
1754         (PTRACE_SETSIGMASK): Likewise.
1755         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1756         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1757         (PTRACE_GETSIGMASK): Likewise.
1758         (PTRACE_SETSIGMASK): Likewise.
1759         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1760         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
1761         Likewise.
1762         (PTRACE_SETSIGMASK): Likewise.
1763         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1764         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
1765         Likewise.
1766         (PTRACE_SETSIGMASK): Likewise.
1767         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1768         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
1769         Likewise.
1770         (PTRACE_SETSIGMASK): Likewise.
1771         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1773 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1774             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1776         [BZ #19439]
1777         * math/bits/mathcalls.h
1778         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
1779         prototype.
1780         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
1782 2016-01-11  Andreas Schwab  <schwab@suse.de>
1784         [BZ #19253]
1785         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
1786         cache when TZDEFRULES was used.
1787         * time/tst-tzname.c: New file.
1788         * time/Makefile (test): Add tst-tzname.
1789         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
1790         * timezone/Makefile (test-zones): Add $(posixrules-file).
1791         ($(testdata)/$(posixrules-file)): New rule.
1793 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
1795         Fix doc quoting problems with Texinfo 5
1796         Without this change, in the info file output, Texinfo 5 quotes code
1797         in text with undirected single quotes 'like this' and generates
1798         code examples that with many PDF readers cannot be cut out of PDFs
1799         and pasted into code.
1800         * manual/libc.texinfo: Configure the libc manual like the GNU
1801         Emacs manual, by using @documentencoding and setting
1802         txicodequoteundirected and txicodequotebacktick.  This way,
1803         Texinfo 5 quotes code in text with directed single quotes ‘like
1804         this’ and produces examples that can be cut out of PDFs.  This
1805         change causes Texinfo 5 to generate info files that contain UTF-8
1806         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
1807         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
1809 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1811         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
1812         __libc_tabort, __libc_tend): New wrappers that enforce compiler
1813         barriers to their respective compiler built-ins.
1814         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
1815         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
1816         * sysdeps/powerpc/sysdep.h: Likewise.
1817         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
1818         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
1819         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
1821 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
1823         * scripts/config.guess: Revert previous shebang change.
1824         * scripts/config.sub: Likewise.
1825         * scripts/mkinstalldirs: Likewise.
1827 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1829         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
1830         PPC_FEATURE2_HAS_IEEE128.
1831         * sysdeps/powerpc/dl-procinfo.c:
1832         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
1834 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
1836         [BZ #19415]
1837         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
1838         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
1839         (_dl_lookup_address): Rewrite using function resolver trampoline.
1840         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
1841         two bits in address.
1843 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1845         * longlong.h: Change !__SHMEDIA__ to
1846         (!defined (__SHMEDIA__) || !__SHMEDIA__).
1847         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
1849 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
1850             Joseph Myers  <joseph@codesourcery.com>
1851             Mark Shinwell  <shinwell@codesourcery.com>
1852             Andrew Stubbs  <ams@codesourcery.com>
1853             Rich Felker <dalias@libc.org>
1855         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
1857 2016-01-07  Richard Henderson  <rth@redhat.com>
1859         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
1861 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1863         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
1864         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
1865         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1866         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1867         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
1869 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1870             Joseph Myers  <joseph@codesourcery.com>
1872         * timezone/private.h: Update from tzcode 2015g.
1873         * timezone/tzfile.h: Likewise.
1874         * timezone/tzselect.ksh: Likewise.
1875         * timezone/zdump.c: Likewise.
1876         * timezone/zic.c: Likewise.
1877         * timezone/ialloc.c: Remove file.
1878         * timezone/scheck.c: Likewise.
1879         * timezone/Makefile (extra-objs): Remove variable.
1880         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
1881         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
1882         -Wno-maybe-uninitialized.
1883         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
1884         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
1885         (CFLAGS-ialloc.c): Remove variable.
1886         (CFLAGS-scheck.c): Likewise.
1887         * timezone/README: Update list of files from tzcode.
1889 2016-01-07  Khem Raj  <raj.khem@gmail.com>
1891         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
1892         instead of __fxprintf when _LIBC is undefined.
1894 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
1896         * catgets/test-gencat.sh: Remove space after shebang.
1897         * conform/GlibcConform.pm: Likewise.
1898         * conform/check-header-lists.sh: Likewise.
1899         * conform/conformtest.pl: Likewise.
1900         * conform/linknamespace.pl: Likewise.
1901         * conform/list-header-symbols.pl: Likewise.
1902         * debug/catchsegv.sh: Likewise.
1903         * elf/genrtldtbl.awk: Likewise.
1904         * elf/tst-pathopt.sh: Likewise.
1905         * elf/tst-rtld-load-self.sh: Likewise.
1906         * grp/tst_fgetgrent.sh: Likewise.
1907         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1908         * iconvdata/gen-8bit-gap.sh: Likewise.
1909         * iconvdata/gen-8bit.sh: Likewise.
1910         * iconvdata/run-iconv-test.sh: Likewise.
1911         * intl/tst-gettext.sh: Likewise.
1912         * intl/tst-gettext2.sh: Likewise.
1913         * intl/tst-gettext4.sh: Likewise.
1914         * intl/tst-gettext6.sh: Likewise.
1915         * intl/tst-translit.sh: Likewise.
1916         * io/ftwtest-sh: Likewise.
1917         * libio/test-freopen.sh: Likewise.
1918         * locale/gen-translit.pl: Likewise.
1919         * malloc/tst-mtrace.sh: Likewise.
1920         * manual/check-safety.sh: Likewise.
1921         * manual/libc-texinfo.sh: Likewise.
1922         * manual/tsort.awk: Likewise.
1923         * manual/xtract-typefun.awk: Likewise.
1924         * nptl/tst-cancel-wrappers.sh: Likewise.
1925         * nptl/tst-tls6.sh: Likewise.
1926         * posix/globtest.sh: Likewise.
1927         * posix/tst-getconf.sh: Likewise.
1928         * posix/wordexp-tst.sh: Likewise.
1929         * scripts/check-c++-types.sh: Likewise.
1930         * scripts/check-local-headers.sh: Likewise.
1931         * scripts/config.guess: Likewise.
1932         * scripts/config.sub: Likewise.
1933         * scripts/cpp: Likewise.
1934         * scripts/cross-test-ssh.sh: Likewise.
1935         * scripts/documented.sh: Likewise.
1936         * scripts/evaluate-test.sh: Likewise.
1937         * scripts/gen-libc-abis: Likewise.
1938         * scripts/gen-sorted.awk: Likewise.
1939         * scripts/list-fixed-bugs.py: Likewise.
1940         * scripts/merge-test-results.sh: Likewise.
1941         * scripts/mkinstalldirs: Likewise.
1942         * scripts/rellns-sh: Likewise.
1943         * scripts/test-installation.pl: Likewise.
1944         * scripts/update-copyrights: Likewise.
1945         * stdio-common/tst-printf.sh: Likewise.
1946         * stdio-common/tst-unbputc.sh: Likewise.
1947         * stdlib/tst-fmtmsg.sh: Likewise.
1948         * stdlib/tst-setcontext3.sh: Likewise.
1949         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
1950         * sysdeps/unix/make-syscalls.sh: Likewise.
1952 2016-01-06  John David Anglin  <dave.anglin@bell.net>
1954         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
1955         asm stw with atomic_exchange_rel.  Add explanatory comment.
1956         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1957         Likewise.
1959 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1961         [BZ #19122]
1962         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
1963         * sysdeps/generic/dl-unistd.h: New file.
1964         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
1966 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1968          [BZ #19122]
1969          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
1970          * sysdeps/generic/dl-mman.h: New file.
1971          * sysdeps/mach/hurd/dl-mman.h: Likewise.
1973 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
1975         * manual/texinfo.tex: Update to version 2016-01-04.21 with
1976         trailing whitespace removed.
1977         * scripts/config.guess: Update to version 2016-01-01.
1978         * scripts/config.sub: Update to version 2016-01-01.
1979         * scripts/move-if-change: Update from gnulib.
1981 2016-01-04  Anton Blanchard  <anton@samba.org>
1983         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
1984         for array indices.
1985         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
1987 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
1989         * NEWS: Update copyright dates.
1990         * catgets/gencat.c (print_version): Likewise.
1991         * csu/version.c (banner): Likewise.
1992         * debug/catchsegv.sh: Likewise.
1993         * debug/pcprofiledump.c (print_version): Likewise.
1994         * debug/xtrace.sh (do_version): Likewise.
1995         * elf/ldconfig.c (print_version): Likewise.
1996         * elf/ldd.bash.in: Likewise.
1997         * elf/pldd.c (print_version): Likewise.
1998         * elf/sotruss.sh: Likewise.
1999         * elf/sprof.c (print_version): Likewise.
2000         * iconv/iconv_prog.c (print_version): Likewise.
2001         * iconv/iconvconfig.c (print_version): Likewise.
2002         * locale/programs/locale.c (print_version): Likewise.
2003         * locale/programs/localedef.c (print_version): Likewise.
2004         * login/programs/pt_chown.c (print_version): Likewise.
2005         * malloc/memusage.sh (do_version): Likewise.
2006         * malloc/memusagestat.c (print_version): Likewise.
2007         * malloc/mtrace.pl: Likewise.
2008         * manual/libc.texinfo: Likewise.
2009         * nptl/version.c (banner): Likewise.
2010         * nscd/nscd.c (print_version): Likewise.
2011         * nss/getent.c (print_version): Likewise.
2012         * nss/makedb.c (print_version): Likewise.
2013         * posix/getconf.c (main): Likewise.
2014         * scripts/test-installation.pl: Likewise.
2015         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2017         * All files with FSF copyright notices: Update copyright dates
2018         using scripts/update-copyrights.
2019         * intl/plural.c: Regenerated.
2020         * locale/programs/charmap-kw.h: Likewise.
2021         * locale/programs/locfile-kw.h: Likewise.
2023 2016-01-02  Helge Deller  <deller@gmx.de>
2025         [BZ #19285]
2026         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
2027         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
2028         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
2029         (MADV_xxK_PAGES): Remove.
2031 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
2033         [BZ #15421]
2034         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
2035         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
2036         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
2037         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
2039 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
2041         [BZ #19408]
2042         * sysdeps/unix/sysv/linux/personality.c: New file.
2043         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
2044         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
2045         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
2046         (sysdep_routines): Add personality.
2047         (tests): Add tst-personality.
2048         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
2049         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
2050         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
2051         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
2052         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
2053         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
2054         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
2055         Likewise.
2056         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
2057         Likewise.
2058         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
2059         Likewise.
2060         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
2061         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
2062         Likewise.
2064 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
2066         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
2067         (PATH_ARM_SYSTYPE): Remove.
2068         (PATH_CPUINFO): Likewise.
2069         (IO_BASE_FOOTBRIDGE): Likewise.
2070         (IO_SHIFT_FOOTBRIDGE): Likewise.
2071         (struct platform): Likewise.
2072         (init_iosys): Remove compatibility code for 2.4 kernels.
2073         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
2075 2015-12-29  Florian Weimer  <fweimer@redhat.com>
2077         * malloc/tst-malloc-thread-fail.c: New file.
2078         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
2079         (tst-malloc-thread-fail): Link against libpthread.
2081 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
2083         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
2084         (get_parser): New function.
2085         (main): New function.
2087 2015-12-29  Rob Wu  <rob@robwu.nl>
2089         [BZ #19369]
2090         * resolv/res_init.c (__res_vinit): Reset defdname before use.
2092 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
2094         [BZ #19270]
2095         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2097 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
2099         [BZ #15421]
2100         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
2102 2015-12-23  Torvald Riegel  <triegel@redhat.com>
2104         [BZ #13690]
2105         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
2106         after releasing it.
2107         (__lll_robust_unlock): Likewise.
2108         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2109         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
2110         (lll_robust_unlock): Likewise.
2111         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
2112         Prevent warnings in callers.
2114 2015-12-23  Florian Weimer  <fweimer@redhat.com>
2116         * malloc/arena.c (list_lock): Update comment.
2118 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2120         * sysdeps/powerpc/hwcapinfo.c: Export symbol
2121         __parse_hwcap_and_convert_at_platform to libc.a.
2123 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2125         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
2126         platform and feature support for POWER9.
2127         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2128         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
2129         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
2130         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
2131         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
2132         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
2133         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
2134         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
2136 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2138         Harmonize generic stdio-lock support with nptl
2140         This fixes build when _IO_funlockfile is a macro, fixes build where
2141         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
2142         stack unwind.
2144         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
2145         _IO_release_lock ): Use cleanup attribute on new
2146         _IO_acquire_lock_file variable instead of assuming that
2147         _IO_release_lock will be called.
2148         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
2149         _IO_acquire_lock_needs_exceptions_enabled.
2150         (_IO_acquire_lock_clear_flags2): New macro.
2152 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2154         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2156 2015-12-21  Florian Weimer  <fweimer@redhat.com>
2158         [BZ #19182]
2159         * malloc/arena.c (list_lock): Document lock ordering requirements.
2160         (free_list_lock): New lock.
2161         (ptmalloc_lock_all): Comment on free_list_lock.
2162         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
2163         (detach_arena): Update comment.  free_list_lock is now needed.
2164         (_int_new_arena): Use free_list_lock around detach_arena call.
2165         Acquire arena lock after list_lock.  Add comment, including FIXME
2166         about incorrect synchronization.
2167         (get_free_list): Switch to free_list_lock.
2168         (reused_arena): Acquire free_list_lock around detach_arena call
2169         and attached threads counter update.  Add two FIXMEs about
2170         incorrect synchronization.
2171         (arena_thread_freeres): Switch to free_list_lock.
2172         * malloc/malloc.c (struct malloc_state): Update comments to
2173         mention free_list_lock.
2175 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2177         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
2178         Remove functions.
2179         (sloww, sloww1): Accept argument to offset quadrant.
2180         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
2181         quadrant.
2182         (__sin, __cos): Consolidate common code into new functions.
2183         (reduce_sincos_1, do_sincos_1): New functions.
2184         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2186         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
2187         code to new functions.
2188         (reduce_sincos_2, do_sincos_2): New functions.
2189         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2191         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
2192         common code for sincos.
2193         (__cos) [!IN_SINCOS]: Likewise.
2194         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
2195         New function.
2196         (__sincos): Use it.
2198 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
2200         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
2201         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
2202         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2204 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2206         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
2207         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
2208         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2209         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
2210         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2211         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
2212         index_Prefer_No_VZEROUPPER): New feature.
2213         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
2214         Prefer_No_VZEROUPPER for Knights Landing.
2216 015-12-18  Torvald Riegel  <triegel@redhat.com>
2218         * math/atest-exp2.c (mp_exp_m1): Remove.
2220 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2222         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
2223         syscalls.
2224         (__SYSCALL0): New macro.
2225         (__SYSCALL1): Likewise.
2226         (__SYSCALL2): Likewise.
2227         (__SYSCALL3): Likewise.
2228         (__SYSCALL4): Likewise.
2229         (__SYSCALL5): Likewise.
2230         (__SYSCALL6): Likewise.
2231         (__SYSCALL_CONCAT_X): Likewise.
2232         (__SYSCALL_CONCAT): Likewise.
2233         (__SYSCALL_DIST): Likewise.
2234         (__SYSCALL_CALL): Likewise.
2236 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
2238         [BZ #19363]
2239         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
2241 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2243         [BZ #19375]
2244         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
2245         negative subnormals.
2247 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
2249         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2250         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
2251         (INTERNAL_SYSCALL_NCS): Use it.
2252         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2254 2015-12-16  Florian Weimer  <fweimer@redhat.com>
2256         [BZ #19243]
2257         * malloc/arena.c (get_free_list): Remove assert and adjust
2258         reference count handling.  Add comment about reused_arena
2259         interaction.
2260         (reused_arena): Add comments abount get_free_list interaction.
2261         * malloc/tst-malloc-thread-exit.c: New file.
2262         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
2263         (tst-malloc-thread-exit): Link against libpthread.
2265 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2267         [BZ #19367]
2268         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
2269         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
2270         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2271         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
2272         (index_Prefer_MAP_32BIT_EXEC): Likewise.
2274 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2276         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
2277         Silvermont optimizations for Knights Landing.
2279 2015-12-15  Andreas Schwab  <schwab@suse.de>
2281         [BZ #17197]
2282         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
2283         immediately after emitting SI.
2284         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
2285         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
2286         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
2287         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
2288         * iconvdata/bug-iconv10.c: New file.
2289         * iconvdata/Makefile (tests): Add bug-iconv10.
2290         ($(objpfx)bug-iconv10.out): New rule.
2292 2015-12-15  Florian Weimer  <fweimer@redhat.com>
2294         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
2295         aliasing violation.
2297 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
2299         [BZ #18472]
2300         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
2301         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
2302         conditionals for them.
2303         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
2304         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
2305         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2306         sys/kdaemon.h.
2307         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
2308         compat-only syscall, obsoleted in glibc 2.23.
2309         (create_module): Likewise.
2310         (get_kernel_syms): Likewise.
2311         (query_module): Likewise.
2312         (uselib): Likewise.
2313         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
2315 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
2317         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
2318         <linux/version.h>.
2319         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
2320         conditional code.
2321         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
2322         and ioshift_name initialization.
2324 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2326         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2327         Fix indentation.
2329 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2331         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
2333 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2335         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
2337 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
2338             Jakub Wilk  <jwilk@debian.org>
2340         [BZ #19347]
2341         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
2342         to change the group of the device to the tty group.
2344 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
2346         Split large string section; add truncation advice
2347         * manual/examples/strncat.c: Remove.
2348         This example was misleading, as the code would have undefined
2349         behavior if "hello" was longer than SIZE.  Anyway, the manual
2350         shouldn't encourage strncpy+strncat for this sort of thing.
2351         * manual/string.texi (Copying Strings and Arrays): Split into
2352         three sections Copying Strings and Arrays, Concatenating Strings,
2353         and Truncating Strings, as this section was way too long.  All
2354         cross-referenced changed.  Add advice about string-truncation
2355         functions.  Remove misleading strncat example.
2357 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
2359         * manual/nss.texi (NSS Modules Interface): Document
2360         NSS_STATUS_NOTFOUND and SUCCESS.
2362 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2364         [BZ 18568]
2365         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2366         201505L, for Unicode 8.
2368 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
2370         * locale/C-translit.h: Regenerate.
2372 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2374         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
2375         and U+0153.
2377 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
2379         [BZ #19351]
2380         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
2381         expanding log(1+z), compare z rather than its square with epsilon
2382         to determine when to avoid evaluating the expansion.
2384         [BZ #19350]
2385         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2386         Increase overflow threshold.
2388         [BZ #19349]
2389         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
2390         when small.
2392         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2393         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2394         New macro.
2395         [__LINUX_KERNEL_VERSION >= 0x040300]
2396         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2397         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2398         Likewise.
2399         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2400         Likewise.
2401         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2402         Likewise.
2403         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2404         Likewise.
2405         [__LINUX_KERNEL_VERSION >= 0x040300]
2406         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2407         [__LINUX_KERNEL_VERSION >= 0x040300]
2408         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2409         [__LINUX_KERNEL_VERSION >= 0x040300]
2410         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2411         [__LINUX_KERNEL_VERSION >= 0x040300]
2412         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2413         [__LINUX_KERNEL_VERSION >= 0x040300]
2414         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2415         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2416         Likewise.
2417         [__LINUX_KERNEL_VERSION >= 0x040300]
2418         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2419         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2420         Likewise.
2421         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2422         Likewise.
2423         [__LINUX_KERNEL_VERSION >= 0x040300]
2424         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2425         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2426         Likewise.
2427         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2428         Likewise.
2429         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2430         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
2431         Likewise.
2432         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
2433         Likewise.
2434         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2435         Likewise.
2436         [__LINUX_KERNEL_VERSION >= 0x040300]
2437         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2438         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2439         Likewise.
2440         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2441         Likewise.
2442         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2443         Likewise.
2444         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2445         Likewise.
2446         [__LINUX_KERNEL_VERSION >= 0x040300]
2447         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2448         [__LINUX_KERNEL_VERSION >= 0x040300]
2449         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2450         [__LINUX_KERNEL_VERSION >= 0x040300]
2451         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2452         [__LINUX_KERNEL_VERSION >= 0x040300]
2453         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2454         [__LINUX_KERNEL_VERSION >= 0x040300]
2455         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2456         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2457         Likewise.
2458         [__LINUX_KERNEL_VERSION >= 0x040300]
2459         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2460         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2461         Likewise.
2462         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2463         Likewise.
2464         [__LINUX_KERNEL_VERSION >= 0x040300]
2465         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2466         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2467         Likewise.
2468         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2469         Likewise.
2470         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2471         (__ASSUME_SOCKET_SYSCALL): Likewise.
2472         (__ASSUME_BIND_SYSCALL): Likewise.
2473         (__ASSUME_CONNECT_SYSCALL): Likewise.
2474         (__ASSUME_LISTEN_SYSCALL): Likewise.
2475         (__ASSUME_ACCEPT_SYSCALL): Likewise.
2476         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2477         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2478         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2479         (__ASSUME_SEND_SYSCALL): Likewise.
2480         (__ASSUME_SENDTO_SYSCALL): Likewise.
2481         (__ASSUME_RECV_SYSCALL): Likewise.
2482         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2483         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
2484         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2485         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2486         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2487         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2488         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2489         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
2490         Likewise.
2491         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
2492         Likewise.
2493         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
2494         Likewise.
2495         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
2496         Likewise.
2497         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
2498         Likewise.
2499         [__LINUX_KERNEL_VERSION >= 0x020625]
2500         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2501         [__LINUX_KERNEL_VERSION >= 0x020625]
2502         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2503         [__LINUX_KERNEL_VERSION >= 0x020625]
2504         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2505         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
2506         Likewise.
2507         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
2508         Likewise.
2509         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
2510         Likewise.
2511         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
2512         Likewise.
2513         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
2514         Likewise.
2515         [__LINUX_KERNEL_VERSION >= 0x020625]
2516         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2517         [__LINUX_KERNEL_VERSION >= 0x020625]
2518         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2519         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
2520         Likewise.
2521         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
2522         Likewise.
2524 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2526         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
2527         record the current if the current ABI and CPU support the FP64
2528         extension.
2529         (has-modd-spreg): Define to record the current if the current ABI and
2530         CPU support 32-bit floating point values in odd FPU registers.
2531         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2532         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
2533         $(has-modd-spreg) equals yes.
2534         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
2535         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
2536         $(has-modd-spreg) equal yes.
2538 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2540         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
2541         basename.
2543 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
2545         * benchtests/Makefile (bench-math): Move ffs and ffsll...
2546         (bench-string): ... here.
2547         (bench): Add bench-string.
2548         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
2549         to *-benchset to reflect what they are.
2550         (benchset): Adjust.
2552         * benchtests/sincos-inputs: Add inputs from sin-inputs and
2553         cos-inputs.
2555 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
2557         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
2558         __attribute__ ((__simd__)) for vector math function declarations.
2560 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2562         Fix typo in strncat, wcsncat manual entries
2563         * manual/string.texi (Copying and Concatenation): Fix typos in
2564         sample implementations of strncat and wcsncat, by having them use
2565         the old value of the destination length, not the new one.
2567 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
2569         [BZ #16961]
2570         [BZ #16962]
2571         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
2572         string on the stack for strtod.
2573         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
2574         a string on the stack for strtof.
2575         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
2576         constructing a string on the stack for strtold.
2577         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
2578         __strtold_nan to GLIBC_PRIVATE.
2579         * math/test-nan-overflow.c: New file.
2580         * math/test-nan-payload.c: Likewise.
2581         * math/Makefile (tests): Add test-nan-overflow and
2582         test-nan-payload.
2584 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2586         Consistency about byte vs character in string.texi
2587         * manual/string.texi (String and Array Utilities):
2588         Distinguish more carefully among bytes, multibyte characters,
2589         and wide characters.  Use "byte" when talking about C 'char',
2590         to distinguish it more clearly from multibyte characters.
2591         Say "wide character" or "multibyte character" instead of
2592         "character", when a wide or multibyte character is intended.
2593         Similarly for "multibyte string" versus "string".
2594         Define these terms more carefully.
2596 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
2598         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
2599         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
2600         Likewise.
2601         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2602         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2603         * sysdeps/sh/math_private.h: New file.
2604         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2605         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2606         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2607         long double function name.
2608         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2609         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2610         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2611         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2612         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2614         Remove __finitel, __isinfl, and __isnanl.
2615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2616         Likewise.
2617         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2619         Remove __finitel.
2620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2621         Likewise.
2622         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2624 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
2626         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2627         installed libmvec_nonshared.a.
2629 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2631         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2632         (sysdep_routines): Likewise.
2633         (sysdep-rtld-routines): Likewise.
2634         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2635         [$(subdir) = nptl](tests-static): test-get_hwcap-static
2636         * sysdeps/powerpc/Versions: Added new
2637         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2638         * sysdeps/powerpc/hwcapinfo.c: New file.
2639         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2640         and parse hwcap, hwcap2 and platform number information.
2641         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
2642         to store HWCAP+HWCAP2 and platform number.
2643         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2644         for HWCAP+HWCAP2 and platform number in the TCB.
2645         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
2646         the HWCAP, HWCAP2 and platform number in the TCB.
2647         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2648         (TLS_INIT_TP): Included calls to add the hwcap and
2649         at_platform values in the TCB in TP initialization.
2650         (TLS_DEFINE_INIT_TP): Likewise.
2651         (THREAD_GET_HWCAP): New macro.
2652         (THREAD_SET_HWCAP): Likewise.
2653         (THREAD_GET_AT_PLATFORM): Likewise.
2654         (THREAD_SET_AT_PLATFORM): Likewise.
2655         * sysdeps/powerpc/powerpc32/dl-machine.h:
2656         (dl_platform_init): New function that calls
2657         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2658         powerpc32.
2659         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2660         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
2661         this functionality, static linking case.
2662         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
2663         linking case.
2664         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2665         __parse_hwcap_and_convert_at_platform for the static linking case.
2666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2667         Included the new __parse_hwcap_and_convert_at_platform symbol in the
2668         ABI list for GLIBC 2.23.
2669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2670         Likewise.
2671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2672         Likewise.
2674 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
2676         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2677         * configure: Regenerate.
2678         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2679         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
2681 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
2683         * iconvdata/ibm930.c: Add comment explaining encoding uses.
2684         * iconvdata/ibm933.c: Likewise.
2685         * iconvdata/ibm935.c: Likewise.
2686         * iconvdata/ibm937.c: Likewise.
2687         * iconvdata/ibm939.c: Likewise.
2689 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2691         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2692         pthread_join.
2693         * nptl/tst-cancel21.c (tf): Likewise.
2695 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
2697         [BZ #19313]
2698         * bits/typesizes.h (__CPU_MASK_TYPE): New.
2699         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2700         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2701         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2702         Likewise.
2703         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2704         Likewise.
2705         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2706         Likewise.
2707         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2708         Likewise.
2709         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2710         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2711         unsigned long int with __CPU_MASK_TYPE.
2713 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2715         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2717 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
2719         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2720         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2721         t512.x.
2722         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2724 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
2726         [BZ #19214]
2727         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2728         argument to return extended model.  Update family and model
2729         with extended family and model when family == 0x0f.
2730         (init_cpu_features): Updated.
2732 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2734         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2735         signed off_t, so 32bit bigger than 2GiB values are fine actually.
2737         * sysdeps/mach/hurd/mmap64.c: New file.
2739 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
2741         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2742         rights for its main user thread in NEWTASK.
2744 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
2746         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2747         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2749 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
2751         [BZ #14259]
2752         * Makeconfig: Rename localedir to complocaledir.
2753         Rename inst_localedir to inst_complocaledir.
2754         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2755         * config.make.in: Use complocaledir and libc_cv_complocaledir.
2756         * configure.ac: Use libc_cv_complocaledir.
2757         * configure: Regenerate.
2758         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
2759         -DCOMPLOCALEDIR.
2760         * locale/findlocale.c: Use COMPLOCALEDIR.
2761         * locale/loadarchive.c: Likewise.
2762         * locale/programs/locale.c: Likewise.
2763         * locale/programs/localedef.c: Likewise.
2764         * locale/programs/locarchive.c: Likewise.
2765         * localedata/Makefile: Use inst_complocaledir.
2766         * sysdeps/gnu/configure: Regenerate.
2767         * sysdeps/hppa/configure: Regenerate.
2768         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2769         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2771         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2772         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2773         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2774         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2776 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
2778         [BZ #19058]
2779         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
2780         AS_NEEDED.
2781         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
2782         workaround.
2783         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
2784         libmvec-static-only-routines): Added new file.
2785         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
2787 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2789         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
2790         of interrupted RPC instead of restoring it.
2792         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
2793         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
2794         libc_hidden_def.
2795         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
2796         into initialized data instead of common. Define rtld_hidden_data_def.
2797         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
2798         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
2799         libc_hidden_def.
2800         (if_freenameindex): Add libc_hidden_weak.
2801         (if_nameindex): Add libc_hidden_weak.
2802         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
2803         __open64.
2804         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
2805         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
2806         * sysdeps/mach/nanosleep.c: Include <time.h>
2807         (__nanosleep): Rename to __libc_nanosleep.
2808         (__nanosleep): Add weak_alias.
2809         (nanosleep): Update alias.
2811 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
2813         * stdlib/strtod_nan.c: New file.
2814         * stdlib/strtod_nan_double.h: Likewise.
2815         * stdlib/strtod_nan_float.h: Likewise.
2816         * stdlib/strtod_nan_main.c: Likewise.
2817         * stdlib/strtod_nan_narrow.h: Likewise.
2818         * stdlib/strtod_nan_wide.h: Likewise.
2819         * stdlib/strtof_nan.c: Likewise.
2820         * stdlib/strtold_nan.c: Likewise.
2821         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
2822         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
2823         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
2824         * wcsmbs/wcstod_nan.c: Likewise.
2825         * wcsmbs/wcstof_nan.c: Likewise.
2826         * wcsmbs/wcstold_nan.c: Likewise.
2827         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
2828         strtold_nan.
2829         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
2830         wcstof_nan.
2831         * include/stdlib.h (__strtof_nan): Declare and use
2832         libc_hidden_proto.
2833         (__strtod_nan): Likewise.
2834         (__strtold_nan): Likewise.
2835         (__wcstof_nan): Likewise.
2836         (__wcstod_nan): Likewise.
2837         (__wcstold_nan): Likewise.
2838         * include/wchar.h (____wcstoull_l_internal): Declare.
2839         * stdlib/strtod_l.c: Do not include <ieee754.h>.
2840         (____strtoull_l_internal): Remove declaration.
2841         (STRTOF_NAN): Define macro.
2842         (SET_MANTISSA): Remove macro.
2843         (STRTOULL): Likewise.
2844         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
2845         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
2846         (STRTOF_NAN): Define macro.
2847         (SET_MANTISSA): Remove macro.
2848         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
2849         (SET_MANTISSA): Remove macro.
2850         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
2851         macro.
2852         (SET_MANTISSA): Remove macro.
2853         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
2854         macro.
2855         (SET_MANTISSA): Remove macro.
2856         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
2857         (SET_MANTISSA): Remove macro.
2858         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
2859         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
2860         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
2862         [BZ #19266]
2863         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
2864         upper case and lower case letters inside NAN(), not using TOLOWER.
2865         * stdlib/tst-strtod-nan-locale-main.c: New file.
2866         * stdlib/tst-strtod-nan-locale.c: Likewise.
2867         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
2868         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
2869         Depend on $(gen-locales).
2870         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
2871         * wcsmbs/tst-wcstod-nan-locale.c: New file.
2872         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
2873         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
2874         Depend on $(gen-locales).
2875         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
2877 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
2879         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
2881         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
2883         __finitel, __isinfl, and __isnanl.
2884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2885         Likewise.
2886         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
2888         __finitel.
2889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2890         Likewise.
2891         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2893 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2895         * malloc/memusage.c (me): Remove redundant getenv call.
2897 2015-10-24  Florian Weimer  <fweimer@redhat.com>
2899         [BZ #19143]
2900         [BZ #19164]
2901         * nptl/check-cpuset.h: Remove.
2902         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
2903         Remove CPU set size check.
2904         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
2905         Likewise.
2906         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
2907         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2908         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
2909         (__pthread_setaffinity_new): Remove CPU set size check.
2910         * sysdeps/unix/sysv/linux/sched_setaffinity.c
2911         (__kernel_cpumask_size): Remove.
2912         (__sched_setaffinity_new): Remove CPU set size check.
2913         * manual/threads.texi (Default Thread Attributes): Remove stale
2914         reference to check_cpuset_attr, determine_cpumask_size in comment.
2915         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
2916         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
2917         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
2918         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
2919         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
2920         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
2921         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
2922         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
2923         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
2924         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
2925         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
2926         skeleton test file.
2927         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
2928         tst-affinity-pid.
2930 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2932         * scripts/update-abilist.sh: New file.
2933         * Makefile (+subdir_targets): Add subdir_update-all-abi.
2934         * Makerules (update-all-abi-%, update-all-abi)
2935         (subdir_update-all-abi): New targets.
2936         * elf/Makefile (update-all-abi): New target.
2938 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2940         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
2941         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
2942         (__libc_lock_define_initialized): Use it.
2943         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
2944         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
2945         * malloc/malloc.c (main_arena): Likewise.
2946         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2947         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2949 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
2951         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2952         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
2953         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2954         (PTRACE_O_MASK): Update value.
2955         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
2956         New value in enum __ptrace_setoptions.
2957         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2958         (PTRACE_O_MASK): Update value.
2959         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2960         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2961         (PTRACE_O_MASK): Update value.
2962         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2963         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2964         (PTRACE_O_MASK): Update value.
2965         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
2966         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2967         (PTRACE_O_MASK): Update value.
2968         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
2969         New value in enum __ptrace_setoptions.
2970         (PTRACE_O_MASK): Update value.
2971         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
2972         New value in enum __ptrace_setoptions.
2973         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2974         (PTRACE_O_MASK): Update value.
2976         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
2977         New macro.
2978         (PACKET_AUXDATA): Likewise.
2979         (PACKET_ORIGDEV): Likewise.
2980         (PACKET_VERSION): Likewise.
2981         (PACKET_HDRLEN): Likewise.
2982         (PACKET_RESERVE): Likewise.
2983         (PACKET_TX_RING): Likewise.
2984         (PACKET_LOSS): Likewise.
2985         (PACKET_VNET_HDR): Likewise.
2986         (PACKET_TX_TIMESTAMP): Likewise.
2987         (PACKET_TIMESTAMP): Likewise.
2988         (PACKET_FANOUT): Likewise.
2989         (PACKET_TX_HAS_OFF): Likewise.
2990         (PACKET_QDISC_BYPASS): Likewise.
2991         (PACKET_ROLLOVER_STATS): Likewise.
2992         (PACKET_FANOUT_DATA): Likewise.
2993         (PACKET_MR_UNICAST): Likewise.
2995         [BZ #19242]
2996         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
2997         (TOUPPER): Likewise.
2998         * stdlib/tst-strtol-locale-main.c: New file.
2999         * stdlib/tst-strtol-locale.c: Likewise.
3000         * stdlib/Makefile (tests): Add tst-strtol-locale.
3001         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
3002         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
3003         Depend on $(gen-locales).
3004         * wcsmbs/tst-wcstol-locale.c: New file.
3005         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
3006         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
3007         tr_TR.ISO-8859-9.
3008         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
3009         Depend on $(gen-locales).
3011 2015-11-20  Roland McGrath  <roland@hack.frob.com>
3013         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
3014         __glibc_likely instead of __builtin_expect.  After falling back to
3015         dyncode_create in a non-ET_DYN case, use the allocate_code_data
3016         system interface to register the code pages as occupied.
3018 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
3020         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3021         [!ARM_MATH_PRIVATE_H].
3022         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
3023         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3024         [!HPPA_MATH_PRIVATE_H].
3025         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
3026         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
3027         to [!I386_MATH_PRIVATE_H].
3028         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
3029         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
3030         Change guard to [!M68K_MATH_PRIVATE_H].
3031         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
3032         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
3033         guard to [!MICROBLAZE_MATH_PRIVATE_H].
3034         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
3035         macro.
3036         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3037         [!MIPS_MATH_PRIVATE_H].
3038         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
3039         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3040         [!NIO2_MATH_PRIVATE_H].
3041         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
3042         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3043         [!TILE_MATH_PRIVATE_H].
3044         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
3046         [BZ #15421]
3047         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
3048         initialize with 0 and define as weak alias of __signgam.
3049         * include/math.h [!_ISOMAC] (__signgam): Declare.
3050         * math/Makefile (libm-calls): Add w_lgamma_compat.
3051         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
3052         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
3053         test-signgam-ullong-init.
3054         (tests-static): Add test-signgam-uchar-static,
3055         test-signgam-uchar-init-static, test-signgam-uint-static,
3056         test-signgam-uint-init-static, test-signgam-ullong-static and
3057         test-signgam-ullong-init-static.
3058         (CFLAGS-test-signgam-uchar.c): New variable.
3059         (CFLAGS-test-signgam-uchar-init.c): Likewise.
3060         (CFLAGS-test-signgam-uchar-static.c): Likewise.
3061         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
3062         (CFLAGS-test-signgam-uint.c): Likewise.
3063         (CFLAGS-test-signgam-uint-init.c): Likewise.
3064         (CFLAGS-test-signgam-uint-static.c): Likewise.
3065         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
3066         (CFLAGS-test-signgam-ullong.c): Likewise.
3067         (CFLAGS-test-signgam-ullong-init.c): Likewise.
3068         (CFLAGS-test-signgam-ullong-static.c): Likewise.
3069         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
3070         * math/Versions (libm): Add GLIBC_2.23.
3071         * math/lgamma-compat.h: New file.
3072         * math/test-signgam-main.c: Likewise.
3073         * math/test-signgam-uchar-init-static.c: Likewise.
3074         * math/test-signgam-uchar-init.c: Likewise.
3075         * math/test-signgam-uchar-static.c: Likewise.
3076         * math/test-signgam-uchar.c: Likewise.
3077         * math/test-signgam-uint-init-static.c: Likewise.
3078         * math/test-signgam-uint-init.c: Likewise.
3079         * math/test-signgam-uint-static.c: Likewise.
3080         * math/test-signgam-uint.c: Likewise.
3081         * math/test-signgam-ullong-init-static.c: Likewise.
3082         * math/test-signgam-ullong-init.c: Likewise.
3083         * math/test-signgam-ullong-static.c: Likewise.
3084         * math/test-signgam-ullong.c: Likewise.
3085         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
3086         wrapper of w_lgamma_main.c.
3087         * math/w_lgamma_compat.c: New file.
3088         * math/w_lgamma_compatf.c: Likewise.
3089         * math/w_lgamma_compatl.c: Likewise.
3090         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
3091         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3092         defining compatibility symbols.
3093         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
3094         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
3095         wrapper of w_lgammaf_main.c.
3096         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
3097         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3098         defining compatibility symbols.
3099         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
3100         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
3101         wrapper of w_lgammal_main.c.
3102         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
3103         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3104         defining compatibility symbols.
3105         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
3106         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
3107         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
3108         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
3109         <lgamma-compat.h>.
3110         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
3111         (__ieee754_gamma): Define as alias.
3112         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
3113         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
3114         <lgamma-compat.h>.
3115         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
3116         (__ieee754_gammaf): Define as alias.
3117         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
3118         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
3119         <lgamma-compat.h>.
3120         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
3121         (__ieee754_gammal): Define as alias.
3122         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
3123         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
3124         <math/w_lgamma_compat.c>.
3125         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
3126         Define as alias of __lgamma_compat and use in defining lgammal.
3127         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
3128         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
3129         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
3130         (USE_AS_COMPAT): New macro.
3131         (LGAMMA_OLD_VER): Undefine and redefine.
3132         (lgammal): Do not define here.
3133         (gammal): Only define here if [GAMMA_ALIAS].
3134         * conform/linknamespace.pl (@whitelist): Remove signgam.
3135         * sysdeps/nacl/libm.abilist: Update.
3136         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3137         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3138         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3139         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3140         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3141         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3142         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3143         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3144         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3145         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3146         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3147         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3149         Likewise.
3150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3151         Likewise.
3152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3153         Likewise.
3154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3155         Likewise.
3156         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3157         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3158         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3159         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3160         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3162         Likewise.
3163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3164         Likewise.
3165         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3166         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3167         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3169 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3171         [BZ #16364]
3172         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
3173         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
3175 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3177         * sysdeps/s390/fpu/bits/mathinline.h:
3178         Use __asm__ [__volatile__] instead of asm [volatile].
3179         * sysdeps/s390/abort-instr.h: Likewise.
3180         * sysdeps/s390/atomic-machine.h: Likewise.
3181         * sysdeps/s390/bits/string.h: Likewise.
3182         * sysdeps/s390/dl-tls.h: Likewise.
3183         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3184         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3185         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3186         * sysdeps/s390/fpu/fesetround.c: Likewise.
3187         * sysdeps/s390/fpu/fpu_control.h: Likewise.
3188         * sysdeps/s390/fpu/s_fma.c: Likewise.
3189         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
3190         * sysdeps/s390/memusage.h: Likewise.
3191         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
3192         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3193         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3194         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3195         * sysdeps/s390/nptl/tls.h: Likewise.
3196         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
3197         * sysdeps/s390/s390-32/backtrace.c: Likewise.
3198         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3199         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3200         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3201         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3202         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
3203         * sysdeps/s390/s390-64/backtrace.c: Likewise.
3204         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3205         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
3206         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3207         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3208         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3209         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
3210         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3211         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3212         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
3213         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3214         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
3215         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3216         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
3217         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3218         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
3220 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3221             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3223         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3224         Add lwarx hint, and use macro for acquire instruction.
3225         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3226         Likewise.
3227         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
3228         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
3229         update to use new atomic macros.
3231 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3233         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3234         (__lll_trylock_elision): Fix setting of adapt_count.
3235         * sysdeps/unix/sysv/linux/powerpc/htm.h
3236         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
3237         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
3238         (_ABORT_SYSCALL): Renumber, and clarify definition.
3239         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
3241 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3243         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
3244         after system headers to prevent MIN/MAX redefinition.  Define
3245         HAVE_ALLOCA to preserve builtin alloca usage.
3247 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3249         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
3250         static and don't set or restore rounding.
3251         (__cos)[IN_SINCOS]: Likewise.
3252         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
3253         (__sincos): Set and restore rounding mode.  Remove check for infinite
3254         or NaN input.
3256         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
3258         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
3259         as used.
3261 2015-11-16  Florian Weimer  <fweimer@redhat.com>
3263         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
3265 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
3267         * config.make.in (have-glob-dat-reloc): New.
3268         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
3269         target supports GLOB_DAT relocaton. AC_SUBST.
3270         * configure: Regenerated.
3271         * elf/Makefile (tests): Add tst-prelink.
3272         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3273         (tst-prelink-ENV): New.
3274         ($(objpfx)tst-prelink-conflict.out): Likewise.
3275         ($(objpfx)tst-prelink-cmp.out): Likewise.
3276         * sysdeps/x86/tst-prelink.c: Moved to ...
3277         * elf/tst-prelink.c: Here.
3278         * sysdeps/x86/tst-prelink.exp: Moved to ...
3279         * elf/tst-prelink.exp: Here.
3280         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
3281         (tst-prelink-ENV): Removed.
3282         ($(objpfx)tst-prelink-conflict.out): Likewise.
3283         ($(objpfx)tst-prelink-cmp.out): Likewise.
3284         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
3286 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
3288         [BZ #14551]
3289         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
3290         (__mpn_construct_long_double): If high part overflows to infinity,
3291         set errno and recompute overflowed result of the correct sign.
3292         * sysdeps/ieee754/ldbl-128ibm/Makefile
3293         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
3294         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
3295         $(libm).
3296         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
3298 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
3300         [BZ #15479]
3301         [BZ #19238]
3302         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
3303         floating-point state after first operation on input.  Restore full
3304         state rather than just rounding mode.
3305         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3306         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3307         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3309         [BZ #19235]
3310         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
3311         add 0.5 to integer arguments.
3312         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
3313         Likewise.
3314         (.LC2): New object.
3316 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
3318         * scripts/pylintrc (reports): Set to no.
3320 2015-11-10  Roland McGrath  <roland@hack.frob.com>
3322         * elf/dl-load.c (open_verify): Take new argument FD.
3323         Skip __open call if passed FD is not -1.
3324         (_dl_map_object, open_path): Update callers.
3325         * elf/dl-sysdep-open.h: New file.
3326         * elf/dl-load.c: Include it.
3327         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
3328         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
3329         * sysdeps/nacl/dl-sysdep-open.h: New file.
3330         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
3331         from libc to rtld.
3333 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3335         [BZ #19228]
3336         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
3337         and restore full floating-point state.
3338         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3339         Likewise.
3340         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3341         Likewise.
3342         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3343         Likewise.
3344         * math/test-nearbyint-except-2.c: New file.
3345         * math/Makefile (tests): Add test-nearbyint-except-2.
3347 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
3349         [BZ #19178]
3350         * sysdeps/x86/Makefile (tests): Add tst-prelink.
3351         (tst-prelink-ENV): New.
3352         ($(objpfx)tst-prelink-conflict.out): Likewise.
3353         ($(objpfx)tst-prelink-cmp.out): Likewise.
3354         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3355         * sysdeps/x86/tst-prelink.c: New file.
3356         * sysdeps/x86/tst-prelink.exp: Likewise.
3358 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3360         * math/auto-libm-test-in: Add another test of pow.
3361         * math/auto-libm-test-out: Regenerated.
3362         * math/libm-test.inc (pow_test_data): Add another test.
3364 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3366         [BZ #19219]
3367         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
3368         weak_alias to nearbyintl.
3370 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3372         * sysdeps/aarch64/bits/string.h: New file.
3373         (_STRING_ARCH_unaligned): Define.
3375 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3377         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
3378         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3379         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3380         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
3381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
3383 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
3385         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
3386         for original name of the DSO.  Add it to the name list of the DSO
3387         if it is actually given.
3388         (_dl_map_object): Keep track of whether an audit module rewrote
3389         the file name.  If yes, pass the original name to
3390         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
3391         debugging is enabled, log the change of the file name.
3392         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
3393         _dl_map_object_from_fd.
3394         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
3395         * elf/tst-audit11.c: New file
3396         * elf/tst-auditmod11.c: New file.
3397         * elf/tst-audit11mod1.c: New file.
3398         * elf/tst-audit11mod2.c: New file.
3399         * elf/tst-audit11mod2.map: New file.
3400         * elf/tst-audit12.c: New file
3401         * elf/tst-auditmod12.c: New file.
3402         * elf/tst-audit12mod1.c: New file.
3403         * elf/tst-audit12mod2.c: New file.
3404         * elf/tst-audit12mod2.map: New file.
3405         * elf/tst-audit12mod3.c: New file.
3407 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3409         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
3410         Don't create weak aliases,
3411         because versioned symbols are created later.
3412         * sysdeps/s390/s390-32/setjmp.S
3413         (setjmp, _setjmp): Remove weak and rename to an unique name
3414         in SHARED case due to existing versioned symbols.
3415         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3416         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
3417         (getcontext): Create weak alias only in non SHARED case.
3418         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3420 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3422         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
3423         (__ASSUME_*_SYSCALL) Define new macros.
3424         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
3425         Remove socketcall syscalls.
3426         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
3427         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
3428         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
3429         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
3430         * sysdeps/unix/sysv/linux/send.c (__libc_send):
3431         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
3433 2015-11-09  Florian Weimer  <fweimer@redhat.com>
3435         [BZ #12926]
3436         Terminate process on invalid netlink response.
3437         * sysdeps/unix/sysv/linux/netlinkaccess.h
3438         (__netlink_assert_response): Declare.
3439         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
3440         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
3441         (sysdep_routines): Add netlink_assert_response.
3442         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
3443         __netlink_assert_response.
3444         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3445         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3446         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
3447         __netlink_assert_response.
3449 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
3451         [BZ #19178]
3452         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
3453         (RTYPE_CLASS_PLT): Likewise.
3454         (RTYPE_CLASS_COPY): Likewise.
3455         (RTYPE_CLASS_TLS): Likewise.
3456         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
3457         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
3458         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
3459         DL_DEBUG_PRELINK.
3461 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
3463         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
3464         calls with argument -0.5.
3465         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
3467         * configure.ac (libc_cv_z_nodelete): Remove configure test.
3468         (libc_cv_z_nodlopen): Likewise.
3469         (libc_cv_z_initfirst): Likewise.
3470         * configure: Regenerated.
3472 2015-11-06  Florian Weimer  <fweimer@redhat.com>
3474         Simplify abilist format to be line-based.
3475         * scripts/abilist.awk: Collect descriptors in the descs variable.
3476         (emit): Write descs variable and sort it
3477         externally, with sort.
3478         * sysdeps/**/*.abilist: Convert to new format.
3480 2015-11-06  Mark Wielaard  <mjw@redhat.com>
3482         [BZ #11460]
3483         * io/Makefile (routines): Add fts64.
3484         (tests): Add tst-fts and tst-fts-lfs.
3485         (CFLAGS-fts64.c): New.
3486         * io/Versions (GLIBC_2.23): New.
3487         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
3488         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
3489         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
3490         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
3491         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
3492         (FTSENT64): Likewise.
3493         (fts64_children): Likewise.
3494         (fts64_close): Likewise.
3495         (fts64_open): Likewise.
3496         (fts64_read): Likewise.
3497         (fts64_set): Likewise.
3498         * io/fts64.c: New file.
3499         * io/tst-fts.c: New test.
3500         * io/tst-fts-lfs.c: Likewise.
3501         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
3502         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
3503         fts64_set.
3504         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3505         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3506         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3507         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3508         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3509         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3510         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3511         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3512         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3513         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3514         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3515         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3516         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3518         Likewise.
3519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3520         Likewise.
3521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3523         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3524         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3525         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3526         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3527         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3530         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3531         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3532         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3533         * sysdeps/wordsize-64/fts.c: New file.
3534         * sysdeps/wordsize-64/fts64.c: Likewise.
3535         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
3536         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
3537         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
3538         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
3540 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3542         * math/libm-test.inc (NON_FINITE): New macro.
3543         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
3544         * math/gen-libm-test.pl (show_exceptions): Add argument
3545         $non_finite.
3546         (parse_args): Update call to show_exceptions.
3547         * math/test-math-finite.h: New file.
3548         * math/test-math-no-finite.h: Likewise.
3549         * math/test-double-finite.c: Likewise.
3550         * math/test-float-finite.c: Likewise.
3551         * math/test-ldouble-finite.c: Likewise.
3552         * math/test-double.c: Include "test-math-no-finite.h".
3553         * math/test-float.c: Include "test-math-no-finite.h".
3554         * math/test-ldouble.c: Include "test-math-no-finite.h".
3555         * math/test-math-inline.h (TEST_FINITE): New macro.
3556         * math/test-math-vector.h (TEST_FINITE): Likewise.
3557         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
3558         (libm-tests): Add test-float-finite and test-double-finite.
3559         ($(objpfx)test-float-finite.o): New dependency on
3560         $(objpfx)libm-test.stmp.
3561         ($(objpfx)test-double-finite.o): Likewise.
3562         ($(objpfx)test-ldouble-finite.o): Likewise.
3563         (libm-test-no-inline-cflags): New variable.
3564         (libm-test-finite-cflags): Likewise.
3565         (CFLAGS-test-float-finite.c): Likewise.
3566         (CFLAGS-test-double-finite.c): Likewise.
3567         (CFLAGS-test-ldouble-finite.c): Likewise.
3568         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
3569         (CFLAGS-test-double.c): Likewise.
3570         (CFLAGS-test-ldouble.c): Likewise.
3572 2015-11-05  Roland McGrath  <roland@hack.frob.com>
3574         * io/fcntl.c (__fcntl): Add ... to prototype.
3575         * misc/ioctl.c (__ioctl): Likewise.
3576         * misc/syscall.c (syscall): Likewise.
3578 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3580         * scripts/list-fixed-bugs.py: New file.
3582         [BZ #19213]
3583         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
3584         returned for argument 1.
3585         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
3586         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
3587         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
3588         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
3589         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
3590         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
3592         [BZ #19211]
3593         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
3594         __USE_XOPEN], not if [!__USE_ISOC99].
3595         (lgammaf): Likewise.
3596         (lgammal): Likewise.
3597         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
3598         (gammaf): Likewise.
3599         (gammal): Likewise.
3600         * math/test-signgam-finite-c11.c: New file.
3601         * math/test-signgam-finite-c99.c: Likewise.
3602         * math/test-signgam-finite.c: Likewise.
3603         * math/Makefile (tests): Add test-signgam-finite,
3604         test-signgam-finite-c99 and test-signgam-finite-c11.
3605         (CFLAGS-test-signgam-finite.c): New variable.
3606         (CFLAGS-test-signgam-finite-c99.c): Likewise.
3607         (CFLAGS-test-signgam-finite-c11.c): Likewise.
3609         [BZ #19212]
3610         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3611         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3612         500].
3613         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3614         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3615         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3616         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3617         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3618         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3619         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3620         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3621         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3622         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3624         [BZ #19209]
3625         * math/bits/math-finite.h (ldexp): Remove declaration.
3626         (ldexpf): Likewise.
3627         (ldexpl): Likewise.
3629         [BZ #19205]
3630         * math/bits/math-finite.h (acosf): Condition declaration on
3631         [__USE_ISOC99].
3632         (acosl): Likewise.
3633         (acoshf): Likewise.
3634         (acoshl): Likewise.
3635         (asinf): Likewise.
3636         (asinl): Likewise.
3637         (atan2f): Likewise.
3638         (atan2l): Likewise.
3639         (atanhf): Likewise.
3640         (atanhl): Likewise.
3641         (coshf): Likewise.
3642         (coshl): Likewise.
3643         (expf): Likewise.
3644         (expl): Likewise.
3645         (fmodf): Likewise.
3646         (fmodl): Likewise.
3647         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3648         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3649         (j0l): Likewise.
3650         (y0f): Likewise.
3651         (y0l): Likewise.
3652         (j1f): Likewise.
3653         (j1l): Likewise.
3654         (y1f): Likewise.
3655         (y1l): Likewise.
3656         (jnf): Likewise.
3657         (jnl): Likewise.
3658         (ynf): Likewise.
3659         (ynl): Likewise.
3660         (lgammaf_r): Condition declaration on [__USE_ISOC99].
3661         (lgammal_r): Likewise.
3662         (__lgamma_r_finite): New declaration.
3663         (__lgammaf_r_finite): Likewise.
3664         (__lgammal_r_finite): Likewise.
3665         (lgamma): Use __lgamma_r_finite.
3666         (lgammaf): Condition definition on [__USE_ISOC99].  Use
3667         __lgammaf_r_finite.
3668         (lgammal): Condition definition on [__USE_ISOC99].  Use
3669         __lgammal_r_finite.
3670         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
3671         __lgamma_r_finite.
3672         (gammaf): Condition definition on [__USE_ISOC99].  Use
3673         __lgammaf_r_finite.
3674         (gammal): Condition definition on [__USE_ISOC99].  Use
3675         __lgammal_r_finite.
3676         (logf): Condition declaration on [__USE_ISOC99].
3677         (logl): Likewise.
3678         (log10f): Likewise.
3679         (log10l): Likewise.
3680         (ldexpf): Likewise.
3681         (ldexpl): Likewise.
3682         (powf): Likewise.
3683         (powl): Likewise.
3684         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3685         __USE_ISOC99].
3686         (remainderf): Condition declaration on [__USE_ISOC99].
3687         (remainderl): Likewise.
3688         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3689         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3690         (scalbl): Likewise.
3691         (sinhf): Condition declaration on [__USE_ISOC99].
3692         (sinhl): Likewise.
3693         (sqrtf): Likewise.
3694         (sqrtl): Likewise.
3696 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3698         * sysdeps/arm/atomic-machine.h
3699         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3700         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3701         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3702         Remove conditional code.
3703         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3704         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3705         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3706         Change conditional to [__ASSEMBLER__].
3707         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3708         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3709         [!__ASSEMBLER__].
3710         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3711         code.
3712         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3713         conditional macro definitions.
3714         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3715         (__arch_compare_and_exchange_val_16_acq): Likewise.
3716         (__arch_compare_and_exchange_val_32_acq): Likewise.
3717         (atomic_exchange_and_add): Likewise.
3718         (atomic_add): Likewise.
3719         (atomic_add_negative): Likewise.
3720         (atomic_add_zero): Likewise.
3721         (atomic_bit_set): Likewise.
3722         (atomic_bit_test_set): Likewise.
3723         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3724         code unconditional.
3725         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3727         * math/test-math-errno.h: New file.
3728         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3729         empty.
3730         (TEST_ERRNO): New macro.
3731         (TEST_EXCEPTIONS): Likewise.
3732         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3733         (TEST_EXCEPTIONS): Likewise.
3734         * math/test-math-vector.h (TEST_ERRNO): Likewise.
3735         * math/test-double.c: Include "test-math-errno.h".
3736         * math/test-float.c: Likewise.
3737         * math/test-ldouble.c: Likewise.
3738         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3739         code unconditional.
3740         (test_exceptions): Only run code if TEST_EXCEPTIONS.
3741         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3742         unconditional.
3743         (test_errno): Only run code if TEST_ERRNO.
3744         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3746 2015-11-04  Florian Weimer  <fweimer@redhat.com>
3748         * nptl/tst-once5.cc: Remove attribution.
3750 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3752         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3753         sqrt, tan, tanh, y0, y1 and yn.
3754         * math/auto-libm-test-out: Regenerated.
3755         * math/libm-test.inc (scalb_test_data): Add more tests.
3756         (scalbn_test_data): Likewise.
3757         (scalbln_test_data): Likewise.
3758         (signbit_test_data): Likewise.
3759         (sin_test_data): Likewise.
3760         (sincos_test_data): Likewise.
3761         (sinh_test_data): Likewise.
3762         (sqrt_test_data): Likewise.
3763         (tan_test_data): Likewise.
3764         (tanh_test_data): Likewise.
3765         (tgamma_test_data): Likewise.
3766         (y0_test_data): Likewise.
3767         (y1_test_data): Likewise.
3768         (yn_test_data): Likewise.
3769         (significand_test_data): Likewise.
3770         * sysdeps/i386/fpu/libm-test-ulps: Update.
3772 2015-11-03  David Kastrup  <dak@gnu.org>
3774         [BZ #18604]
3775         * assert/assert.h (assert): Don't macro-expand failed assertion
3776         expression in error message.
3777         * malloc/malloc.c (assert): Likewise.
3779 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
3781         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
3782         test.
3783         * configure: Regenerated.
3785 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
3787         * math/libm-test.inc (modf_test_data): Add more tests.
3788         (nearbyint_test_data): Likewise.
3789         (nextafter_test_data): Likewise.
3790         (nexttoward_test_data): Likewise.
3791         (pow_test_data): Likewise.
3792         (remainder_test_data): Likewise.
3793         (remquo_test_data): Likewise.
3794         (rint_test_data): Likewise.
3796         [BZ #19201]
3797         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3798         Check for zero remainder in case of large exponents and ensure
3799         correct sign of result in that case.
3800         * math/libm-test.inc (remainder_test_data): Add more tests.
3802         [BZ #6799]
3803         * math/s_nextafter.c: Include <errno.h>.
3804         (__nextafter): Set errno on overflow and underflow.
3805         * math/s_nexttowardf.c: Include <errno.h>.
3806         (__nexttowardf): Set errno on overflow and underflow.
3807         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
3808         (__nextafterl): Set errno on overflow and underflow.
3809         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
3810         (__nexttoward): Set errno on overflow and underflow.
3811         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
3812         (__nexttowardf): Set errno on overflow and underflow.
3813         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
3814         (__nextafterf): Set errno on overflow and underflow.
3815         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
3816         (__nextafterl): Set errno on overflow and underflow.
3817         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
3818         (__nexttoward): Set errno on overflow and underflow.
3819         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
3820         (__nexttowardf): Set errno on overflow and underflow.
3821         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
3822         (__nextafterl): Set errno on overflow and underflow.
3823         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
3824         (__nexttoward): Set errno on overflow and underflow.
3825         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
3826         (__nexttowardf): Set errno on overflow and underflow.
3827         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
3828         (__nexttoward): Set errno on overflow and underflow.
3829         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
3830         (__nexttowardf): Set errno on overflow and underflow.
3831         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
3832         (__nldbl_nexttowardf): Set errno on overflow and underflow.
3833         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
3834         (__nextafterl): Set errno on overflow and underflow.
3835         * math/libm-test.inc (nextafter_test_data): Do not allow errno
3836         setting to be missing on overflow.  Add more tests.
3837         (nexttoward_test_data): Likewise.
3839         * configure.ac (libc_cv_initfini_array): Remove configure test.
3840         * configure: Regenerated.
3842 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
3844         [BZ #19189]
3845         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
3846         non-finite argument handle arguments with negative sign.
3848         * math/libm-test.inc (j0_test_data): Do not test sign of zero
3849         result from infinite argument.
3850         (j1_test_data): Likewise.
3851         (jn_test_data): Likewise.
3852         (y0_test_data): Likewise.
3853         (y1_test_data): Likewise.
3854         (yn_test_data): Likewise.
3856         [BZ #16171]
3857         * math/w_remainder.c (drem): Define as weak alias of __remainder.
3858         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
3859         * math/w_remainderf.c (dremf): Define as weak alias of
3860         __remainderf.
3861         * math/w_remainderl.c (dreml): Define as weak alias of
3862         __remainderl.
3863         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
3864         __remainder.
3865         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
3866         __remainderf.
3867         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
3868         __remainderl.
3869         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
3870         weak alias of remainderl.
3871         * sysdeps/ieee754/ldbl-opt/w_remainder.c
3872         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
3873         alias of __remainder.
3874         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
3875         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
3876         strong alias of __remainderl.
3877         (dreml): Use long_double_symbol.
3878         * math/Makefile (libm-calls): Remove w_drem.
3879         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
3880         (CFLAGS-nldbl-drem.c): Remove variable.
3881         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
3882         * math/w_drem.c: Remove file.
3883         * math/w_dremf.c: Likewise.
3884         * math/w_dreml.c: Likewise.
3885         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
3886         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
3887         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
3889         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
3890         * sysdeps/i386/configure: Regenerated.
3891         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
3892         * sysdeps/x86_64/configure: Regenerated.
3894         * configure.ac (libc_cv_asm_protected_directive): Remove configure
3895         test.
3896         (libc_cv_visibility_attribute): Likewise.
3897         (libc_cv_protected_data): Test unconditionally.
3898         (libc_cv_broken_visibility_attribute): Remove configure test.
3899         (libc_cv_have_sdata_section): Test unconditionally.
3900         * configure: Regenerated.
3902         * include/libc-internal.h (libc_max_align_t): Remove typedef.
3903         * include/scratch_buffer.h: Include <stddef.h> instead of
3904         <libc-internal.h>.
3905         (struct scratch_buffer): Use max_align_t instead of
3906         libc_max_align_t.
3908 2015-10-29  Florian Weimer  <fweimer@redhat.com>
3910         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
3911         instead of extend_alloca.  Change control flow to avoid a goto.
3912         Remove assert which is trivially always true.
3914 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3916         [BZ #16068]
3917         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
3918         (FE_ALL_EXCEPT_X86): New macro.
3919         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3920         FE_ALL_EXCEPT.  Ensure precision control is included in
3921         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3922         handle "denormal operand exception" and clear FZ and DAZ bits.
3923         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
3924         (FE_ALL_EXCEPT_X86): New macro.
3925         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3926         FE_ALL_EXCEPT.  Ensure precision control is included in
3927         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3928         handle "denormal operand exception" and clear FZ and DAZ bits.
3929         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
3930         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
3931         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3932         test-fenv-x87 and test-fenv-sse-2.
3933         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
3935         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
3936         * math/test-double.h (BUILD_COMPLEX): New macro.
3937         * math/test-float.h (BUILD_COMPLEX): Likewise.
3938         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
3940         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
3941         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
3942         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
3943         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
3944         instead of DBL_DENORM_MIN in comment.
3945         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
3946         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3947         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
3948         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
3949         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
3950         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3952 2015-10-28  Florian Weimer  <fweimer@redhat.com>
3954         [BZ# 19048]
3955         * malloc/malloc.c (struct malloc_state): Update comment.  Add
3956         attached_threads member.
3957         (main_arena): Initialize attached_threads.
3958         * malloc/arena.c (list_lock): Update comment.
3959         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
3960         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
3961         (deattach_arena): New function.
3962         (_int_new_arena): Initialize arena reference count and deattach
3963         replaced arena.
3964         (get_free_list, reused_arena): Update reference count and deattach
3965         replaced arena.
3966         (arena_thread_freeres): Update arena reference count and only put
3967         unreferenced arenas on the free list.
3969 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3971         [BZ #19181]
3972         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
3973         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
3974         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
3975         * math/test-fenv-clear-main.c: New file.
3976         * math/test-fenv-clear.c: Likewise.
3977         * math/Makefile (tests): Add test-fenv-clear.
3978         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
3979         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3980         test-fenv-clear-sse.
3981         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
3983         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
3984         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
3985         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
3987 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3989         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
3990         static libc.
3992 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3994         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
3995         test.
3996         * sysdeps/i386/configure: Regenerated.
3997         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
3998         test.
3999         * sysdeps/x86_64/configure: Regenerated.
4000         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
4001         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4002         memset-avx2 unconditionally instead of conditionally on
4003         [$(config-cflags-avx2) = yes].
4004         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4005         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
4006         unconditional.
4007         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
4008         * sysdeps/x86_64/multiarch/memset_chk.S
4009         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
4010         to [IS_IN (libc) && SHARED].
4012 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4014         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
4015         configure test.
4016         * sysdeps/arm/configure: Regenerated.
4017         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
4018         Define variable if not already defined.
4020         [BZ #17404]
4021         * sysdeps/mips/atomic-machine.h
4022         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
4023         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
4024         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4026         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
4027         unconditional.
4028         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
4029         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4030         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
4031         unconditional.
4032         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4033         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
4034         unconditional.
4035         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4036         * stdlib/setenv.c
4037         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
4038         code unconditional.
4039         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
4040         Remove conditional code.
4041         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4042         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
4043         unconditional.
4044         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4045         code.
4046         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4047         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
4048         unconditional.
4049         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4050         code.
4051         * sysdeps/ieee754/ldbl-128/k_tanl.c
4052         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4053         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4054         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4055         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4056         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4057         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4058         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
4059         unconditional.
4060         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4061         code.
4062         * sysdeps/ieee754/ldbl-96/k_tanl.c
4063         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4064         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4066         * nptl/tst-initializers1-c11.c: New file.
4067         * nptl/tst-initializers1-gnu11.c: Likewise.
4068         * nptl/Makefile (tests): Add these new tests.
4069         (CFLAGS-tst-initializers1-c11.c): New variable.
4070         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
4072         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
4073         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
4074         instead of -std=gnu99.
4075         * configure.ac (systemtap): Test with -std=gnu11 instead of
4076         -std=gnu99.
4077         * configure: Regenerated.
4078         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
4079         in compilation command in comment.
4081         * sysdeps/nptl/configure.ac: Remove file.
4082         * sysdeps/nptl/configure: Remove generated file.
4083         * configure.ac (libc_cv_forced_unwind): Do not substitute.
4084         * configure: Regenerated.
4085         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
4086         * config.make.in (have-forced-unwind): Remove variable.
4087         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4088         unconditional.
4089         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
4090         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
4091         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
4092         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
4093         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4094         unconditional.
4096 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4098         [BZ #19174]
4099         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
4100         .skip_lock_out_of_tbegin_retries.
4101         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4102         (__lll_lock_elision): Likewise, and respect a value of
4103         try_tbegin <= 0.
4105 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4107         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
4108         statement.
4110 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4112         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
4113         variable.
4114         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4115         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4117         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
4118         of -std=c1x -D_ISOC11_SOURCE.
4120         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
4121         * configure: Regenerated.
4122         * manual/install.texi (Tools for Compilation): Document
4123         requirement for GCC 4.7 or later.
4124         * INSTALL: Regenerated.
4126 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
4128         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
4129         on CNT to a conditional jump to 'puntdata'.
4131 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4133         * configure.ac (libc_cv_gcc___thread): Remove configure test.
4134         (libc_cv_gcc_tls_model_attr): Likewise.
4135         * configure: Regenerated.
4137         * configure.ac (libc_cv_need_minus_P): Remove configure test.
4138         * configure: Regenerated.
4139         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
4141 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
4143         * configure.ac (old_glibc_headers): Remove configure test.
4144         * configure: Regenerated.
4145         * config.make.in (old-glibc-headers): Remove variable.
4146         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
4147         (install): Remove dependency on remove-old-headers.
4148         (headers2_0): Remove variable.
4149         (remove-old-headers): Remove rule.
4151         * configure.ac (libc_cv_dot_text): Remove configure test.
4152         (libc_cv_asm_set_directive): Use .text instead of
4153         ${libc_cv_dot_text} in configure test.
4154         * configure: Regenerated.
4156 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4158         [BZ #19168]
4159         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4161 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4163         * configure.ac (CXX): Clear the variable if the C++ toolchain does
4164         not support static linking.
4165         * configure: Regenerate.
4167 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
4169         * math/libm-test.inc (check_float_internal): Do not special-case
4170         errors up to 0.5 ulp.
4172         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4173         log2.
4174         * math/auto-libm-test-out: Regenerated.
4175         * math/libm-test.inc (MAX_EXP): New macro.
4176         (ilogb_test_data): Add more tests.
4177         (isfinite_test_data): Likewise.
4178         (isgreater_test_data): Likewise.
4179         (isgreaterequal_test_data): Likewise.
4180         (isinf_test_data): Likewise.
4181         (isless_test_data): Likewise.
4182         (islessequal_test_data): Likewise.
4183         (islessgreater_test_data): Likewise.
4184         (isnan_test_data): Likewise.
4185         (isnormal_test_data): Likewise.
4186         (issignaling_test_data): Likewise.
4187         (isunordered_test_data): Likewise.
4188         (j0_test_data): Likewise.
4189         (j1_test_data): Likewise.
4190         (jn_test_data): Likewise.
4191         (lgamma_test_data): Likewise.
4192         (log_test_data): Likewise.
4193         (log10_test_data): Likewise.
4194         (log1p_test_data): Likewise.
4195         (log2_test_data): Likewise.
4196         (logb_test_data): Likewise.
4197         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4199         [BZ #18611]
4200         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
4201         avoid excess range and precision on underflow.
4202         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4203         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
4204         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4205         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
4206         underflow.
4207         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4208         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4209         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4210         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4211         * math/auto-libm-test-in: Do not allow missing errno setting for
4212         tests of j1 and jn.
4213         * math/auto-libm-test-out: Regenerated.
4215 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
4217         [BZ #15491]
4218         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
4219         floating-point environment instead of clearing all exceptions.
4220         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4221         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
4222         merging in "invalid" exceptions from frndint.
4223         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4224         * math/test-nearbyint-except.c: New file.
4225         * math/Makefile (tests): Add test-nearbyint-except.
4227 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
4229         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
4231         * sysdeps/tile/libm-test-ulps: Regenerated.
4233 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
4236         (__NR_sync_file_range2): Assume it is always defined.
4237         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4238         (__NR_sync_file_range): Assume it is always defined.
4240 2015-10-22  Andreas Schwab  <schwab@suse.de>
4242         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4243         INTERNAL_SYSCALL_ERRNO.
4244         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4245         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4246         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4247         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4248         Likewise.
4249         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4251 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4253         * io/tst-fcntl.c (fd): New static variable.
4254         (do_prepare): Open temporary file here....
4255         (do_test): ...not here.
4257         * io/ftwtest-sh: Also trap on exit to remove temporary files.
4259 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4261         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
4262         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4263         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4264         Moved before "#ifdef __ASSEMBLER__".
4266 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4268         [BZ #19156]
4269         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
4270         arguments very close to 0.
4272 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
4274         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
4275         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
4277 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4279         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4280         New.  Defined for GCC 5 and above when not compiling for
4281         profiling.
4282         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4284         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4285         Renamed to ...
4286         (CFLAGS-epoll_pwait.o): This.
4287         (CFLAGS-mmap.c): Renamed to ...
4288         (CFLAGS-mmap.o): This.
4289         (CFLAGS-mmap64.c): Renamed to ...
4290         (CFLAGS-mmap64.o): This.
4291         (CFLAGS-epoll_pwait.os): New.
4292         (CFLAGS-mmap.os): Likewise.
4293         (CFLAGS-mmap64.os): Likewise.
4294         (CFLAGS-semtimedop.os): Likewise.
4295         (CFLAGS-semtimedop.c): Renamed to ...
4296         (CFLAGS-semtimedop.o): This.
4298 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4300         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
4301         warning message.
4303 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4305         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
4306         * Makefile ($(objpfx)c++-types-check.out): Filter out
4307         $(+gccwarn-c) instead of -Wstrict-prototypes.
4309         * io/fts.c (fts_open): Convert to prototype-style function
4310         definition.
4311         * malloc/mcheck.c (mcheck): Likewise.
4312         (mcheck_pedantic): Likewise.
4313         * posix/regexec.c (re_search_2_stub): Likewise.  Use
4314         internal_function.
4315         (re_search_internal): Likewise.
4316         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
4317         prototype-style function definition.
4318         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4319         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4320         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
4321         (xdr_utmpptr): Likewise.
4322         (xdr_utmparr): Likewise.
4323         (xdr_utmpidle): Likewise.
4324         (xdr_utmpidleptr): Likewise.
4325         (xdr_utmpidlearr): Likewise.
4327         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
4328         log, log10 and log2.
4329         * math/auto-libm-test-out: Regenerated.
4330         * math/libm-test.inc (fmod_test_data): Add more tests.
4331         (fpclassify_test_data): Likewise.
4332         (frexp_test_data): Likewise.
4333         (hypot_test_data): Likewise.
4334         (ilogb_test_data): Likewise.
4336 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
4338         * debug/fortify_fail.c (__fortify_fail): Convert to
4339         prototype-style function definition.  Use internal_function.
4340         * libio/genops.c (save_for_backup): Convert to prototype-style
4341         function definition.
4342         * libio/wgenops.c (save_for_wbackup): Likewise.
4343         * login/grantpt.c (grantpt): Likewise.
4344         * login/ptsname.c (ptsname): Likewise.
4345         (__ptsname_r): Likewise.
4346         * login/unlockpt.c (unlockpt): Likewise.
4347         * mach/msgserver.c (__mach_msg_server): Likewise.
4348         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
4349         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
4350         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
4351         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
4352         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
4353         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
4354         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
4355         Likewise.
4356         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
4357         internal_function.
4358         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
4359         prototype-style function definition.
4360         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
4361         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
4362         (__pthread_create_2_0): Likewise.
4363         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
4364         * nptl/register-atfork.c (__register_atfork): Likewise.
4365         * posix/glob.c (glob): Likewise.
4366         * posix/regcomp.c (re_comp): Likewise.
4367         * posix/regexec.c (re_exec): Likewise.
4368         * stdlib/add_n.c [__STDC__]: Make code unconditional.
4369         [!__STDC__]: Remove conditional code.
4370         * stdlib/cmp.c [__STDC__]: Make code unconditional.
4371         [!__STDC__]: Remove conditional code.
4372         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
4373         [!__STDC__]: Remove conditional code.
4374         * stdlib/divrem.c [__STDC__]: Make code unconditional.
4375         [!__STDC__]: Remove conditional code.
4376         * stdlib/lshift.c [__STDC__]: Make code unconditional.
4377         [!__STDC__]: Remove conditional code.
4378         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
4379         [!__STDC__]: Remove conditional code.
4380         * stdlib/mul.c [__STDC__]: Make code unconditional.
4381         [!__STDC__]: Remove conditional code.
4382         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
4383         [!__STDC__]: Remove conditional code.
4384         * stdlib/rshift.c [__STDC__]: Make code unconditional.
4385         [!__STDC__]: Remove conditional code.
4386         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
4387         function definition.
4388         (STRTOF): Likewise.
4389         * stdlib/strtod_l.c (__STRTOF): Likewise.
4390         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
4391         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
4392         (__strtol_l): Likewise.
4393         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
4394         [!__STDC__]: Remove conditional code.
4395         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
4396         definition.
4397         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4398         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4399         type.
4400         (__strcasecmp): Convert to prototype-style function definition.
4401         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
4402         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4403         type.
4404         (__strncasecmp): Convert to prototype-style function definition.
4405         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
4406         * sunrpc/xdr.c (xdr_union): Likewise.
4407         * sunrpc/xdr_array.c (xdr_array): Likewise.
4408         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
4409         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
4410         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
4411         Likewise.
4412         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
4413         Likewise.
4414         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
4415         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4416         Likewise.
4417         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
4418         (LOCALE_PARAM_PROTO): Likewise.
4419         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
4420         argument type.
4421         (ut_argument_spec): Remove macro.
4422         (ut_argument_spec_iso): Rename to ut_argument_spec.
4423         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
4424         prototype-style function definition.
4425         (memcpy_uppcase): Likewise.
4426         (__strftime_internal): Likewise.
4427         (my_strftime): Likewise.
4428         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
4429         (LOCALE_PARAM_DECL): Likewise.
4430         [_LIBC] (LOCALE_PARAM): Include argument type.
4431         (__strptime_internal): Convert to prototype-style function
4432         definition.
4433         (strptime): Likewise.
4434         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4435         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4436         type.
4437         (__wcscasecmp): Convert to prototype-style function definition.
4438         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
4439         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4440         type.
4441         (__wcsncasecmp): Convert to prototype-style function definition.
4443         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
4444         function definition.
4445         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4446         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4447         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
4448         * elf/dl-minimal.c (_itoa): Likewise.
4449         * hurd/hurdmalloc.c (malloc): Likewise.
4450         (free): Likewise.
4451         (realloc): Likewise.
4452         * inet/inet6_option.c (inet6_option_space): Likewise.
4453         (inet6_option_init): Likewise.
4454         (inet6_option_append): Likewise.
4455         (inet6_option_alloc): Likewise.
4456         (inet6_option_next): Likewise.
4457         (inet6_option_find): Likewise.
4458         * io/ftw.c (FTW_NAME): Likewise.
4459         (NFTW_NAME): Likewise.
4460         (NFTW_NEW_NAME): Likewise.
4461         (NFTW_OLD_NAME): Likewise.
4462         * libio/iofwide.c (_IO_fwide): Likewise.
4463         * libio/strops.c (_IO_str_init_static_internal): Likewise.
4464         (_IO_str_init_static): Likewise.
4465         (_IO_str_init_readonly): Likewise.
4466         (_IO_str_overflow): Likewise.
4467         (_IO_str_underflow): Likewise.
4468         (_IO_str_count): Likewise.
4469         (_IO_str_seekoff): Likewise.
4470         (_IO_str_pbackfail): Likewise.
4471         (_IO_str_finish): Likewise.
4472         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
4473         (_IO_wstr_overflow): Likewise.
4474         (_IO_wstr_underflow): Likewise.
4475         (_IO_wstr_count): Likewise.
4476         (_IO_wstr_seekoff): Likewise.
4477         (_IO_wstr_pbackfail): Likewise.
4478         (_IO_wstr_finish): Likewise.
4479         * locale/programs/localedef.c (normalize_codeset): Likewise.
4480         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4481         (add_locales_to_archive): Likewise.
4482         (delete_locales_from_archive): Likewise.
4483         * malloc/malloc.c (__libc_mallinfo): Likewise.
4484         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
4485         * misc/tsearch.c (__tfind): Likewise.
4486         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
4487         * nptl/pthread_attr_getdetachstate.c
4488         (__pthread_attr_getdetachstate): Likewise.
4489         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4490         Likewise.
4491         * nptl/pthread_attr_getinheritsched.c
4492         (__pthread_attr_getinheritsched): Likewise.
4493         * nptl/pthread_attr_getschedparam.c
4494         (__pthread_attr_getschedparam): Likewise.
4495         * nptl/pthread_attr_getschedpolicy.c
4496         (__pthread_attr_getschedpolicy): Likewise.
4497         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
4498         Likewise.
4499         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
4500         Likewise.
4501         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4502         Likewise.
4503         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4504         Likewise.
4505         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
4506         (__pthread_attr_init_2_0): Likewise.
4507         * nptl/pthread_attr_setdetachstate.c
4508         (__pthread_attr_setdetachstate): Likewise.
4509         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4510         Likewise.
4511         * nptl/pthread_attr_setinheritsched.c
4512         (__pthread_attr_setinheritsched): Likewise.
4513         * nptl/pthread_attr_setschedparam.c
4514         (__pthread_attr_setschedparam): Likewise.
4515         * nptl/pthread_attr_setschedpolicy.c
4516         (__pthread_attr_setschedpolicy): Likewise.
4517         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
4518         Likewise.
4519         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
4520         Likewise.
4521         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4522         Likewise.
4523         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4524         Likewise.
4525         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
4526         Likewise.
4527         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
4528         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4529         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
4530         use internal_function.
4531         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
4532         prototype-style function definition.
4533         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4534         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
4535         internal_function.
4536         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
4537         Convert to prototype-style function definition.
4538         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4539         Likewise.
4540         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4541         Likewise.
4542         (__pthread_mutex_unlock): Likewise.
4543         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
4544         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
4545         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
4546         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
4547         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
4548         * nss/makedb.c (process_input): Likewise.
4549         * posix/fnmatch.c (__strchrnul): Likewise.
4550         (__wcschrnul): Likewise.
4551         (fnmatch): Likewise.
4552         * posix/fnmatch_loop.c (FCT): Likewise.
4553         * posix/glob.c (globfree): Likewise.
4554         (__glob_pattern_type): Likewise.
4555         (__glob_pattern_p): Likewise.
4556         * posix/regcomp.c (re_compile_pattern): Likewise.
4557         (re_set_syntax): Likewise.
4558         (re_compile_fastmap): Likewise.
4559         (regcomp): Likewise.
4560         (regerror): Likewise.
4561         (regfree): Likewise.
4562         * posix/regexec.c (regexec): Likewise.
4563         (re_match): Likewise.
4564         (re_search): Likewise.
4565         (re_match_2): Likewise.
4566         (re_search_2): Likewise.
4567         (re_search_stub): Likewise.  Use internal_function
4568         (re_copy_regs): Likewise.
4569         (re_set_registers): Convert to prototype-style function
4570         definition.
4571         (prune_impossible_nodes): Likewise.  Use internal_function.
4572         * resolv/inet_net_pton.c (inet_net_pton): Convert to
4573         prototype-style function definition.
4574         (inet_net_pton_ipv4): Likewise.
4575         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4576         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
4577         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4578         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
4579         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4580         Make variadic.
4581         * time/strptime_l.c (localtime_r): Convert to prototype-style
4582         function definition.
4583         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4584         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4585         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4586         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4588         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
4589         definition.
4590         (_ufc_doit_r): Likewise.
4591         * crypt/crypt_util.c (_ufc_copymem): Likewise.
4592         (_ufc_output_conversion_r): Likewise.
4593         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
4594         * inet/rcmd.c (rcmd_af): Likewise.
4595         (rcmd): Likewise.
4596         (ruserok_af): Likewise.
4597         (ruserok): Likewise.
4598         (ruserok2_sa): Likewise.
4599         (ruserok_sa): Likewise.
4600         (iruserok_af): Likewise.
4601         (iruserok): Likewise.
4602         (__ivaliduser): Likewise.
4603         (__validuser2_sa): Likewise.
4604         * inet/rexec.c (rexec_af): Likewise.
4605         (rexec): Likewise.
4606         * inet/ruserpass.c (ruserpass): Likewise.
4607         * locale/programs/xmalloc.c (xcalloc): Likewise.
4608         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4609         * math/w_drem.c (__drem): Likewise.
4610         * math/w_dremf.c (__dremf): Likewise.
4611         * math/w_dreml.c (__dreml): Likewise.
4612         * misc/daemon.c (daemon): Likewise.
4613         * resolv/res_debug.c (p_fqnname): Likewise.
4614         * stdlib/div.c (div): Likewise.
4615         * string/memcmp.c (memcmp_bytes): Likewise.
4616         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4617         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4619         * crypt/cert.c (main): Convert to prototype-style function
4620         definition.
4621         * io/pipe.c (__pipe): Likewise.
4622         * io/pipe2.c (__pipe2): Likewise.
4623         * misc/futimesat.c (futimesat): Likewise.
4624         * misc/utimes.c (__utimes): Likewise.
4625         * posix/execve.c (__execve): Likewise.
4626         * posix/execvp.c (execvp): Likewise.
4627         * posix/execvpe.c (__execvpe): Likewise.
4628         * posix/fexecve.c (fexecve): Likewise.
4629         * socket/socketpair.c (socketpair): Likewise.
4630         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4631         * stdlib/erand48.c (erand48): Likewise.
4632         * stdlib/erand48_r.c (__erand48_r): Likewise.
4633         * stdlib/jrand48.c (jrand48): Likewise.
4634         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4635         * stdlib/lcong48.c (lcong48): Likewise.
4636         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4637         * stdlib/nrand48.c (nrand48): Likewise.
4638         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4639         * stdlib/seed48.c (seed48): Likewise.
4640         * stdlib/seed48_r.c (__seed48_r): Likewise.
4641         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4642         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4643         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4645 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4647         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4648         * configure: Regenerated.
4649         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4650         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4651         unconditional.
4652         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4653         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4654         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4655         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4656         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4657         unconditional.
4658         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4660         * posix/Makefile (CFLAGS-regex.c): Remove variable.
4661         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4663         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4664         function definition.
4665         * crypt/crypt_util.c (__encrypt_r): Likewise.
4666         * libio/genops.c (_IO_no_init): Likewise.
4667         * libio/iofopncook.c (_IO_fopencookie): Likewise.
4668         (_IO_old_fopencookie): Likewise.
4669         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4670         * libio/iogetline.c (_IO_getline): Likewise.
4671         (_IO_getline_info): Likewise.
4672         * libio/iogetwline.c (_IO_getwline): Likewise.
4673         (_IO_getwline_info): Likewise.
4674         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4675         * libio/vswprintf.c (_IO_vswprintf): Likewise.
4676         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4677         (find_entry): Likewise.
4678         (iterate_table): Likewise.
4679         (lookup): Likewise.
4680         * login/forkpty.c (forkpty): Likewise.
4681         * misc/hsearch_r.c (__hsearch_r): Likewise.
4682         * misc/select.c (__select): Likewise.
4683         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4684         Likewise.
4685         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4686         Likewise.
4687         * nptl/old_pthread_cond_timedwait.c
4688         (__pthread_cond_timedwait_2_0): Likewise.
4689         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4690         * nptl/pthread_barrierattr_getpshared.c
4691         (pthread_barrierattr_getpshared): Likewise.
4692         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4693         Likewise.
4694         * nptl/pthread_mutex_setprioceiling.c
4695         (pthread_mutex_setprioceiling): Likewise.
4696         * nptl/pthread_mutexattr_getprioceiling.c
4697         (pthread_mutexattr_getprioceiling): Likewise.
4698         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4699         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4700         Likewise.
4701         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4702         Likewise.
4703         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4704         Likewise.
4705         * socket/recvfrom.c (__recvfrom): Likewise.
4706         * socket/sendto.c (__sendto): Likewise.
4707         * socket/setsockopt.c (__setsockopt): Likewise.
4708         * stdio-common/_itoa.c (_itoa): Likewise.
4709         * stdio-common/_itowa.c (_itowa): Likewise.
4710         * stdio-common/reg-printf.c (__register_printf_specifier):
4711         Likewise.
4712         (__register_printf_function): Likewise.
4713         * stdio-common/tempname.c (__path_search): Likewise.
4714         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4715         * stdlib/mul_1.c (mpn_mul_1): Likewise.
4716         * stdlib/random_r.c (__initstate_r): Likewise.
4717         * stdlib/setenv.c (__add_to_environ): Likewise.
4718         * stdlib/submul_1.c (mpn_submul_1): Likewise.
4719         * streams/getpmsg.c (getpmsg): Likewise.
4720         * streams/putmsg.c (putmsg): Likewise.
4721         * streams/putpmsg.c (putpmsg): Likewise.
4722         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4723         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4724         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4725         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4726         * sunrpc/pm_getport.c (pmap_getport): Likewise.
4727         * sunrpc/svc_udp.c (cache_get): Likewise.
4728         * sunrpc/xdr_array.c (xdr_vector): Likewise.
4729         * sysdeps/mach/hurd/getcwd.c
4730         (__canonicalize_directory_name_internal): Likewise.
4731         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4732         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4733         * sysdeps/mach/hurd/select.c (__select): Likewise.
4734         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4735         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4736         * sysdeps/sparc/nptl/pthread_barrier_init.c
4737         (__pthread_barrier_init): Likewise.
4738         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4739         (__pthread_cond_timedwait): Likewise.
4740         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4741         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4742         Likewise.
4743         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4744         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4745         Likewise.
4746         * sysvipc/semtimedop.c (semtimedop): Likewise.
4747         * time/setitimer.c (__setitimer): Likewise.
4748         * time/strftime_l.c (emacs_strftime): Likewise.
4750 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4752         * config.make.in (have-ssp): Delete.
4753         (stack-protector): New variable.
4754         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
4755         cache test for -fstack-protector-strong.  Export stack_protector to
4756         the best ssp flag.
4757         * configure: Regenerated.
4758         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
4759         * nscd/Makefile (CFLAGS-nscd): Likewise.
4760         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4762 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
4764         [BZ #19122]
4765         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
4766         attribute_hidden.
4768 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4770         [BZ #18743]
4771         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
4772         code to...
4773         (ELIDE_LOCK): ...here.
4774         (__get_new_count): New function with part of the code from
4775         __elide_lock that updates the value of adapt_count after a
4776         transaction abort.
4777         (__elided_trylock): Moved this code to...
4778         (ELIDE_TRYLOCK): ...here.
4780 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4782         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
4783         * configure: Regenerate.
4784         * INSTALL: Regenerate.
4785         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
4786         and tweak grammar.
4788 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
4790         * login/programs/pt_chown.c: Include signal.h
4791         (main): Clear any signal mask from the parent process.
4793 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4795         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
4796         * configure: Regenerated.
4797         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
4798         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
4799         $(gnu89-inline-CFLAGS).
4801         * configure.ac (libc_cv_asm_weak_directive): Remove configure
4802         test.
4803         (libc_cv_asm_weakext_directive): Likewise.
4804         * configure: Regenerated.
4805         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
4806         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
4807         * include/libc-symbols.h
4808         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
4809         #error.
4810         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
4811         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
4813         * sysdeps/arm/backtrace.c (__backtrace): Convert to
4814         prototype-style function definition.
4815         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4816         * sysdeps/i386/ffs.c (__ffs): Likewise.
4817         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4818         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
4819         Likewise.
4820         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4821         Likewise.
4822         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4823         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4824         Likewise.
4825         * sysdeps/m68k/ffs.c (__ffs): Likewise.
4826         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
4827         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
4828         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
4829         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
4830         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
4831         * sysdeps/mach/hurd/access.c (__access): Likewise.
4832         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
4833         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
4834         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4835         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
4836         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
4837         (cthread_getspecific): Likewise.
4838         (cthread_setspecific): Likewise.
4839         (__libc_getspecific): Likewise.
4840         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
4841         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
4842         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
4843         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
4844         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
4845         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
4846         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
4847         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
4848         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
4849         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
4850         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
4851         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4852         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
4853         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
4854         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
4855         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
4856         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
4857         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
4858         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
4859         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
4860         * sysdeps/mach/hurd/link.c (__link): Likewise.
4861         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
4862         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
4863         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4864         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
4865         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4866         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
4867         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
4868         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
4869         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4870         * sysdeps/mach/hurd/rename.c (rename): Likewise.
4871         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
4872         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4873         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
4874         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
4875         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
4876         * sysdeps/mach/hurd/send.c (__send): Likewise.
4877         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
4878         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
4879         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
4880         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
4881         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
4882         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
4883         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
4884         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
4885         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
4886         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
4887         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
4888         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
4889         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
4890         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
4891         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4892         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4893         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
4894         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4895         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
4896         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4897         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
4898         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
4899         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
4900         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
4901         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
4902         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
4903         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
4904         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4905         * sysdeps/posix/alarm.c (alarm): Likewise.
4906         * sysdeps/posix/cuserid.c (cuserid): Likewise.
4907         * sysdeps/posix/dirfd.c (dirfd): Likewise.
4908         * sysdeps/posix/dup.c (__dup): Likewise.
4909         * sysdeps/posix/dup2.c (__dup2): Likewise.
4910         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
4911         (main): Likewise.
4912         * sysdeps/posix/flock.c (__flock): Likewise.
4913         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4914         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4915         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
4916         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
4917         * sysdeps/posix/isatty.c (__isatty): Likewise.
4918         * sysdeps/posix/killpg.c (killpg): Likewise.
4919         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4920         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
4921         * sysdeps/posix/raise.c (raise): Likewise.
4922         * sysdeps/posix/remove.c (remove): Likewise.
4923         * sysdeps/posix/rename.c (rename): Likewise.
4924         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
4925         * sysdeps/posix/seekdir.c (seekdir): Likewise.
4926         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4927         * sysdeps/posix/sigignore.c (sigignore): Likewise.
4928         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
4929         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
4930         * sysdeps/posix/sigset.c (sigset): Likewise.
4931         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
4932         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4933         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
4934         * sysdeps/posix/time.c (time): Likewise.
4935         * sysdeps/posix/ttyname.c (getttyname): Likewise.
4936         (ttyname): Likewise.
4937         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
4938         * sysdeps/posix/utime.c (utime): Likewise.
4939         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
4940         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4941         Likewise.
4942         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
4943         (pthread_spin_trylock): Likewise.
4944         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
4945         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
4946         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
4947         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
4948         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
4949         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
4950         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
4951         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
4952         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
4953         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
4954         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
4955         * sysdeps/s390/ffs.c (__ffs): Likewise.
4956         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
4957         Likewise.
4958         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4959         Likewise.
4960         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
4961         Likewise.
4962         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
4963         (pthread_barrier_destroy): Likewise.
4964         * sysdeps/sparc/nptl/pthread_barrier_wait.c
4965         (__pthread_barrier_wait): Likewise.
4966         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
4967         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4968         (__pthread_barrier_wait): Likewise.
4969         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
4970         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
4971         (memcmp_not_common_alignment): Likewise.
4972         (MEMCMP): Likewise.
4973         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
4974         (_wordcopy_fwd_dest_aligned): Likewise.
4975         (_wordcopy_bwd_aligned): Likewise.
4976         (_wordcopy_bwd_dest_aligned): Likewise.
4977         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
4978         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
4979         * sysdeps/unix/bsd/stty.c (stty): Likewise.
4980         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4981         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4982         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
4983         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
4984         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
4985         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
4986         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
4987         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
4988         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4989         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
4990         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
4991         * sysdeps/unix/stime.c (stime): Likewise.
4992         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
4993         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
4994         Likewise.  Use internal_function.
4995         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
4996         Convert to prototype-style function definition.
4997         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4998         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4999         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
5000         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5001         Likewise.  Use internal_function.
5002         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
5003         prototype-style function definition
5004         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5005         Likewise.
5006         (__getlogin_r): Likewise.
5007         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
5008         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
5009         (__pthread_cond_broadcast): Likewise.
5010         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
5011         (__pthread_cond_destroy): Likewise.
5012         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
5013         (__pthread_cond_init): Likewise.
5014         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
5015         (__pthread_cond_signal): Likewise.
5016         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5017         (__pthread_cond_wait): Likewise.
5018         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
5019         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5020         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
5021         Likewise.
5022         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
5023         Likewise.
5024         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
5025         Likewise.
5026         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
5027         Likewise.
5028         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
5029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
5030         (__ftruncate64): Likewise.
5031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
5032         (truncate64): Likewise.
5033         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
5034         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
5035         (pthread_getcpuclockid): Likewise.
5036         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5037         Likewise.
5038         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5039         Likewise.
5040         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
5041         Likewise.
5042         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5043         Likewise.
5044         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
5045         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
5046         (__libc_sigaction): Likewise.
5047         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
5048         Likewise.
5049         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
5050         (__sigprocmask): Likewise.
5051         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
5052         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
5053         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
5054         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5055         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5056         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
5057         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5058         Likewise.
5059         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
5060         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
5061         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5062         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
5063         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
5064         Likewise.
5065         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
5066         (__sigprocmask): Likewise.
5067         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
5068         (cfgetispeed): Likewise.
5069         (cfsetospeed): Likewise.
5070         (cfsetispeed): Likewise.
5071         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
5072         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
5073         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5074         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5075         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
5076         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
5077         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
5078         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
5079         Likewise.
5080         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
5081         Likewise.
5082         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
5083         Likewise.
5084         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
5085         Likewise.
5086         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5088 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5090         sunrpc: Rewrite with explicit TLS access using __thread.
5091         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
5092         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
5093         directly.
5094         (__rpc_thread_variables): Access thread_rpc_vars directly.
5095         Eliminate redundant assignment of the tvp variable.
5097 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5099         malloc: Rewrite with explicit TLS access using __thread.
5100         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
5101         (tsd_setspecific, tsd_getspecific): Remove.
5102         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
5103         (tsd_setspecific, tsd_getspecific): Likewise.
5104         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
5105         (tsd_setspecific, tsd_getspecific): Likewise.
5106         * malloc/arena.c (thread_arena): New TLS variable.
5107         (arena_key): Remove variable.
5108         (arena_get): Use thread_arena.
5109         (arena_lookup): Remove macro.
5110         (malloc_atfork, free_atfork, ptmalloc_lock_all)
5111         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
5112         (_int_new_arena, get_free_list, reused_arena)
5113         (arena_thread_freeres): Use thread_arena.
5114         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
5115         tsd_getspecific, tsd_setspecific from safety annotations.
5116         (Allocating Cleared Space): Remove arena_lookup from safety
5117         annotations.
5119 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5121         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
5122         struct scratch_buffer instead of extend_alloca.
5124 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5126         * sysdeps/unix/sysv/linux/kernel-features.h
5127         (__ASSUME_SOCK_CLOEXEC): Remove.
5128         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
5129         (__have_paccept): Remove unused macro.
5130         * include/unistd.h (__have_sock_cloexec): Remove declaration.
5131         * misc/syslog.c (openlog_internal): Remove fallback code for
5132         !__ASSUME_SOCK_CLOEXEC.
5133         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
5134         missing SOCK_CLOEXEC.
5135         * nscd/connections.c (have_sock_cloexec): Remove definition.
5136         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5137         * nscd/nscd_helper.c (open_socket): Remove fallback code for
5138         !__ASSUME_SOCK_CLOEXEC.
5139         * resolv/res_send.c (__have_o_nonblock): Remove definition.
5140         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5141         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
5142         definition.
5143         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
5144         code for !__ASSUME_SOCK_CLOEXEC.
5146 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5148         [BZ #18982]
5149         * manual/stdio.texi (Variable Arguments Output): Add portability
5150         note, explaining that vfprintf clobbers the va_list pointer.
5152 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5154         * math/libm-test.inc (fabs_test_data): Add more tests.
5155         (fdim_test_data): Likewise.
5156         (fma_test_data): Likewise.
5157         (fmax_test_data): Likewise.
5158         (fmin_test_data): Likewise.
5159         (fmod_test_data): Likewise.
5161 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
5163         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
5164         data.
5166 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5168         * math/libm-test.inc (ceil_test_data): Add more tests and more
5169         expectations for "inexact".
5170         (floor_test_data): Add more tests.
5171         (round_test_data): Likewise.
5172         (trunc_test_data): Likewise.
5174         * crypt/cert.c (good_bye): Convert to prototype-style function
5175         definition.
5176         (get8): Likewise.
5177         (put8): Likewise.
5178         * crypt/crypt-entry.c (crypt): Likewise.
5179         (__fcrypt): Likewise.
5180         * crypt/crypt_util.c (_ufc_prbits): Likewise.
5181         (_ufc_set_bits): Likewise.
5182         (_ufc_clearmem): Likewise.
5183         (__init_des_r): Likewise.
5184         (shuffle_sb): Likewise.
5185         (shuffle_sb): Likewise.
5186         (_ufc_setup_salt_r): Likewise.
5187         (_ufc_mk_keytab_r): Likewise.
5188         (_ufc_dofinalperm_r): Likewise.
5189         (encrypt): Likewise.
5190         (__setkey_r): Likewise.
5191         (setkey): Likewise.
5192         * crypt/md5.c (md5_init_ctx): Likewise.
5193         (md5_read_ctx): Likewise.
5194         (md5_finish_ctx): Likewise.
5195         (md5_stream): Likewise.
5196         (md5_buffer): Likewise.
5197         (md5_process_bytes): Likewise.
5198         * crypt/sha256.c (__sha256_init_ctx): Likewise.
5199         (__sha256_finish_ctx): Likewise.
5200         (__sha256_process_bytes): Likewise.
5201         * crypt/sha512.c (__sha512_init_ctx): Likewise.
5202         (__sha512_finish_ctx): Likewise.
5203         (__sha512_process_bytes): Likewise.
5204         * ctype/isctype.c (__isctype): Likewise.
5205         * debug/backtrace.c (__backtrace): Likewise.
5206         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
5207         * debug/fgets_chk.c (__fgets_chk): Likewise.
5208         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
5209         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
5210         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5211         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5212         * debug/memset_chk.c (__memset_chk): Likewise.
5213         * debug/strcat_chk.c (__strcat_chk): Likewise.
5214         * debug/strncat_chk.c (__strncat_chk): Likewise.
5215         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
5216         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
5217         * dirent/dirfd.c (dirfd): Likewise.
5218         * dirent/getdents.c (__getdirentries): Likewise.
5219         * dirent/getdents64.c (getdirentries64): Likewise.
5220         * dirent/rewinddir.c (__rewinddir): Likewise.
5221         * dirent/seekdir.c (seekdir): Likewise.
5222         * dirent/telldir.c (telldir): Likewise.
5223         * elf/sln.c (makesymlinks): Likewise.
5224         (makesymlink): Likewise.
5225         * gmon/gmon.c (__moncontrol): Likewise.
5226         (__monstartup): Likewise.
5227         (write_hist): Likewise.
5228         (write_call_graph): Likewise.
5229         (write_bb_counts): Likewise.
5230         * grp/setgroups.c (setgroups): Likewise.
5231         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5232         * inet/inet_net.c (inet_network): Likewise.
5233         * inet/inet_netof.c (inet_netof): Likewise.
5234         * inet/rcmd.c (rresvport_af): Likewise.
5235         (rresvport): Likewise.
5236         * io/access.c (__access): Likewise.
5237         * io/chdir.c (__chdir): Likewise.
5238         * io/chmod.c (__chmod): Likewise.
5239         * io/chown.c (__chown): Likewise.
5240         * io/close.c (__close): Likewise.
5241         * io/creat.c (creat): Likewise.
5242         * io/creat64.c (creat64): Likewise.
5243         * io/dup.c (__dup): Likewise.
5244         * io/dup2.c (__dup2): Likewise.
5245         * io/dup3.c (__dup3): Likewise.
5246         * io/euidaccess.c (__euidaccess): Likewise.
5247         * io/faccessat.c (faccessat): Likewise.
5248         * io/fchmod.c (__fchmod): Likewise.
5249         * io/fchmodat.c (fchmodat): Likewise.
5250         * io/fchown.c (__fchown): Likewise.
5251         * io/fchownat.c (fchownat): Likewise.
5252         * io/fcntl.c (__fcntl): Likewise.
5253         * io/flock.c (__flock): Likewise.
5254         * io/fts.c (fts_load): Likewise.
5255         (fts_close): Likewise.
5256         (fts_read): Likewise.
5257         (fts_set): Likewise.
5258         (fts_children): Likewise.
5259         (fts_build): Likewise.
5260         (fts_stat): Likewise.
5261         (fts_sort): Likewise.
5262         (fts_alloc): Likewise.
5263         (fts_lfree): Likewise.
5264         (fts_palloc): Likewise.
5265         (fts_padjust): Likewise.
5266         (fts_maxarglen): Likewise.
5267         (fts_safe_changedir): Likewise.
5268         * io/getwd.c (getwd): Likewise.
5269         * io/isatty.c (__isatty): Likewise.
5270         * io/lchown.c (__lchown): Likewise.
5271         * io/link.c (__link): Likewise.
5272         * io/linkat.c (linkat): Likewise.
5273         * io/lseek.c (__libc_lseek): Likewise.
5274         * io/mkdir.c (__mkdir): Likewise.
5275         * io/mkdirat.c (mkdirat): Likewise.
5276         * io/mkfifo.c (mkfifo): Likewise.
5277         * io/mkfifoat.c (mkfifoat): Likewise.
5278         * io/open.c (__libc_open): Likewise.
5279         * io/open64.c (__libc_open64): Likewise.
5280         * io/readlink.c (__readlink): Likewise.
5281         * io/readlinkat.c (readlinkat): Likewise.
5282         * io/rmdir.c (__rmdir): Likewise.
5283         * io/symlink.c (__symlink): Likewise.
5284         * io/symlinkat.c (symlinkat): Likewise.
5285         * io/ttyname.c (ttyname): Likewise.
5286         * io/ttyname_r.c (__ttyname_r): Likewise.
5287         * io/umask.c (__umask): Likewise.
5288         * io/unlink.c (__unlink): Likewise.
5289         * io/unlinkat.c (unlinkat): Likewise.
5290         * io/utime.c (utime): Likewise.
5291         * libio/clearerr.c (clearerr): Likewise.
5292         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
5293         * libio/feof.c (_IO_feof): Likewise.
5294         * libio/feof_u.c (feof_unlocked): Likewise.
5295         * libio/ferror.c (_IO_ferror): Likewise.
5296         * libio/ferror_u.c (ferror_unlocked): Likewise.
5297         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5298         * libio/fileno.c (__fileno): Likewise.
5299         * libio/fputc.c (fputc): Likewise.
5300         * libio/fputc_u.c (fputc_unlocked): Likewise.
5301         * libio/fputwc.c (fputwc): Likewise.
5302         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
5303         * libio/freopen.c (freopen): Likewise.
5304         * libio/freopen64.c (freopen64): Likewise.
5305         * libio/fseek.c (fseek): Likewise.
5306         * libio/fseeko.c (fseeko): Likewise.
5307         * libio/fseeko64.c (fseeko64): Likewise.
5308         * libio/ftello.c (__ftello): Likewise.
5309         * libio/ftello64.c (ftello64): Likewise.
5310         * libio/fwide.c (fwide): Likewise.
5311         * libio/genops.c (_IO_un_link): Likewise.
5312         (_IO_link_in): Likewise.
5313         (_IO_least_marker): Likewise.
5314         (_IO_switch_to_main_get_area): Likewise.
5315         (_IO_switch_to_backup_area): Likewise.
5316         (_IO_switch_to_get_mode): Likewise.
5317         (_IO_free_backup_area): Likewise.
5318         (_IO_switch_to_put_mode): Likewise.
5319         (__overflow): Likewise.
5320         (__underflow): Likewise.
5321         (__uflow): Likewise.
5322         (_IO_setb): Likewise.
5323         (_IO_doallocbuf): Likewise.
5324         (_IO_default_underflow): Likewise.
5325         (_IO_default_uflow): Likewise.
5326         (_IO_default_xsputn): Likewise.
5327         (_IO_sgetn): Likewise.
5328         (_IO_default_xsgetn): Likewise.
5329         (_IO_sync): Likewise.
5330         (_IO_default_setbuf): Likewise.
5331         (_IO_default_seekpos): Likewise.
5332         (_IO_default_doallocate): Likewise.
5333         (_IO_init): Likewise.
5334         (_IO_old_init): Likewise.
5335         (_IO_default_sync): Likewise.
5336         (_IO_default_finish): Likewise.
5337         (_IO_default_seekoff): Likewise.
5338         (_IO_sputbackc): Likewise.
5339         (_IO_sungetc): Likewise.
5340         (_IO_set_column): Likewise.
5341         (_IO_set_column): Likewise.
5342         (_IO_adjust_column): Likewise.
5343         (_IO_get_column): Likewise.
5344         (_IO_init_marker): Likewise.
5345         (_IO_remove_marker): Likewise.
5346         (_IO_marker_difference): Likewise.
5347         (_IO_marker_delta): Likewise.
5348         (_IO_seekmark): Likewise.
5349         (_IO_unsave_markers): Likewise.
5350         (_IO_nobackup_pbackfail): Likewise.
5351         (_IO_default_pbackfail): Likewise.
5352         (_IO_default_seek): Likewise.
5353         (_IO_default_stat): Likewise.
5354         (_IO_default_read): Likewise.
5355         (_IO_default_write): Likewise.
5356         (_IO_default_showmanyc): Likewise.
5357         (_IO_default_imbue): Likewise.
5358         (_IO_iter_next): Likewise.
5359         (_IO_iter_file): Likewise.
5360         * libio/getc.c (_IO_getc): Likewise.
5361         * libio/getwc.c (_IO_getwc): Likewise.
5362         * libio/iofclose.c (_IO_new_fclose): Likewise.
5363         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5364         * libio/iofflush.c (_IO_fflush): Likewise.
5365         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
5366         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
5367         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
5368         * libio/iofgets.c (_IO_fgets): Likewise.
5369         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
5370         * libio/iofgetws.c (fgetws): Likewise.
5371         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5372         * libio/iofopen64.c (_IO_fopen64): Likewise.
5373         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5374         (_IO_cookie_write): Likewise.
5375         (_IO_cookie_seek): Likewise.
5376         (_IO_cookie_close): Likewise.
5377         (_IO_cookie_seekoff): Likewise.
5378         (_IO_old_cookie_seek): Likewise.
5379         * libio/iofputs.c (_IO_fputs): Likewise.
5380         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
5381         * libio/iofputws.c (fputws): Likewise.
5382         * libio/iofputws_u.c (fputws_unlocked): Likewise.
5383         * libio/iofread.c (_IO_fread): Likewise.
5384         * libio/iofread_u.c (__fread_unlocked): Likewise.
5385         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
5386         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5387         * libio/ioftell.c (_IO_ftell): Likewise.
5388         * libio/iofwrite.c (_IO_fwrite): Likewise.
5389         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5390         * libio/iogets.c (_IO_gets): Likewise.
5391         * libio/iopadn.c (_IO_padn): Likewise.
5392         * libio/iopopen.c (_IO_new_proc_open): Likewise.
5393         (_IO_new_popen): Likewise.
5394         (_IO_new_proc_close): Likewise.
5395         * libio/ioputs.c (_IO_puts): Likewise.
5396         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
5397         (_IO_seekoff): Likewise.
5398         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
5399         (_IO_seekpos): Likewise.
5400         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5401         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5402         * libio/ioungetc.c (_IO_ungetc): Likewise.
5403         * libio/ioungetwc.c (ungetwc): Likewise.
5404         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5405         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5406         * libio/iowpadn.c (_IO_wpadn): Likewise.
5407         * libio/libc_fatal.c (__libc_fatal): Likewise.
5408         * libio/memstream.c (__open_memstream): Likewise.
5409         (_IO_mem_sync): Likewise.
5410         (_IO_mem_finish): Likewise.
5411         * libio/oldfileops.c (_IO_old_file_init): Likewise.
5412         (_IO_old_file_close_it): Likewise.
5413         (_IO_old_file_finish): Likewise.
5414         (_IO_old_file_fopen): Likewise.
5415         (_IO_old_file_attach): Likewise.
5416         (_IO_old_file_setbuf): Likewise.
5417         (_IO_old_do_write): Likewise.
5418         (old_do_write): Likewise.
5419         (_IO_old_file_underflow): Likewise.
5420         (_IO_old_file_overflow): Likewise.
5421         (_IO_old_file_sync): Likewise.
5422         (_IO_old_file_seekoff): Likewise.
5423         (_IO_old_file_write): Likewise.
5424         (_IO_old_file_xsputn): Likewise.
5425         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5426         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5427         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
5428         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
5429         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5430         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
5431         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
5432         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5433         (_IO_old_popen): Likewise.
5434         (_IO_old_proc_close): Likewise.
5435         * libio/oldpclose.c (__old_pclose): Likewise.
5436         * libio/pclose.c (__new_pclose): Likewise.
5437         * libio/peekc.c (_IO_peekc_locked): Likewise.
5438         * libio/putc.c (_IO_putc): Likewise.
5439         * libio/putc_u.c (putc_unlocked): Likewise.
5440         * libio/putchar.c (putchar): Likewise.
5441         * libio/putchar_u.c (putchar_unlocked): Likewise.
5442         * libio/putwc.c (putwc): Likewise.
5443         * libio/putwc_u.c (putwc_unlocked): Likewise.
5444         * libio/putwchar.c (putwchar): Likewise.
5445         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5446         * libio/rewind.c (rewind): Likewise.
5447         * libio/setbuf.c (setbuf): Likewise.
5448         * libio/setlinebuf.c (setlinebuf): Likewise.
5449         * libio/vasprintf.c (_IO_vasprintf): Likewise.
5450         * libio/vscanf.c (_IO_vscanf): Likewise.
5451         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
5452         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
5453         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5454         * libio/wgenops.c (_IO_least_wmarker): Likewise.
5455         (_IO_switch_to_main_wget_area): Likewise.
5456         (_IO_switch_to_wbackup_area): Likewise.
5457         (_IO_wsetb): Likewise.
5458         (_IO_wdefault_pbackfail): Likewise.
5459         (_IO_wdefault_finish): Likewise.
5460         (_IO_wdefault_uflow): Likewise.
5461         (__woverflow): Likewise.
5462         (__wuflow): Likewise.
5463         (__wunderflow): Likewise.
5464         (_IO_wdefault_xsputn): Likewise.
5465         (_IO_wdefault_xsgetn): Likewise.
5466         (_IO_wdoallocbuf): Likewise.
5467         (_IO_wdefault_doallocate): Likewise.
5468         (_IO_switch_to_wget_mode): Likewise.
5469         (_IO_free_wbackup_area): Likewise.
5470         (_IO_switch_to_wput_mode): Likewise.
5471         (_IO_sputbackwc): Likewise.
5472         (_IO_sungetwc): Likewise.
5473         (_IO_adjust_wcolumn): Likewise.
5474         (_IO_init_wmarker): Likewise.
5475         (_IO_wmarker_delta): Likewise.
5476         (_IO_seekwmark): Likewise.
5477         (_IO_unsave_wmarkers): Likewise.
5478         * libio/wmemstream.c (open_wmemstream): Likewise.
5479         (_IO_wmem_sync): Likewise.
5480         (_IO_wmem_finish): Likewise.
5481         * locale/nl_langinfo.c (nl_langinfo): Likewise.
5482         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
5483         * locale/programs/simple-hash.c (init_hash): Likewise.
5484         (delete_hash): Likewise.
5485         (insert_entry): Likewise.
5486         (set_entry): Likewise.
5487         (next_prime): Likewise.
5488         (is_prime): Likewise.
5489         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
5490         (xmalloc): Likewise.
5491         (xrealloc): Likewise.
5492         * locale/programs/xstrdup.c (xstrdup): Likewise.
5493         * localedata/collate-test.c (xstrcoll): Likewise.
5494         * localedata/xfrm-test.c (xstrcmp): Likewise.
5495         * login/getlogin_r.c (__getlogin_r): Likewise.
5496         * login/getpt.c (__posix_openpt): Likewise.
5497         * login/login_tty.c (login_tty): Likewise.
5498         * login/setlogin.c (setlogin): Likewise.
5499         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
5500         (mach_msg_destroy_port): Likewise.
5501         (mach_msg_destroy_memory): Likewise.
5502         * malloc/mcheck.c (flood): Likewise.
5503         * misc/acct.c (acct): Likewise.
5504         * misc/brk.c (__brk): Likewise.
5505         * misc/chflags.c (chflags): Likewise.
5506         * misc/chroot.c (chroot): Likewise.
5507         * misc/fchflags.c (fchflags): Likewise.
5508         * misc/fstab.c (getfsspec): Likewise.
5509         (getfsfile): Likewise.
5510         * misc/fsync.c (fsync): Likewise.
5511         * misc/ftruncate.c (__ftruncate): Likewise.
5512         * misc/ftruncate64.c (__ftruncate64): Likewise.
5513         * misc/getdomain.c (getdomainname): Likewise.
5514         (getdomainname): Likewise.
5515         * misc/gethostname.c (__gethostname): Likewise.
5516         * misc/getpass.c (getpass): Likewise.
5517         * misc/getttyent.c (skip): Likewise.
5518         (value): Likewise.
5519         * misc/gtty.c (gtty): Likewise.
5520         * misc/hsearch.c (hsearch): Likewise.
5521         (hcreate): Likewise.
5522         * misc/hsearch_r.c (__hcreate_r): Likewise.
5523         (__hdestroy_r): Likewise.
5524         * misc/ioctl.c (__ioctl): Likewise.
5525         * misc/mkdtemp.c (mkdtemp): Likewise.
5526         * misc/mkostemp.c (mkostemp): Likewise.
5527         * misc/mkostemp64.c (mkostemp64): Likewise.
5528         * misc/mkostemps.c (mkostemps): Likewise.
5529         * misc/mkostemps64.c (mkostemps64): Likewise.
5530         * misc/mkstemp.c (mkstemp): Likewise.
5531         * misc/mkstemp64.c (mkstemp64): Likewise.
5532         * misc/mkstemps.c (mkstemps): Likewise.
5533         * misc/mkstemps64.c (mkstemps64): Likewise.
5534         * misc/mktemp.c (__mktemp): Likewise.
5535         * misc/preadv.c (preadv): Likewise.
5536         * misc/preadv64.c (preadv64): Likewise.
5537         * misc/pwritev.c (pwritev): Likewise.
5538         * misc/pwritev64.c (pwritev64): Likewise.
5539         * misc/readv.c (__readv): Likewise.
5540         * misc/revoke.c (revoke): Likewise.
5541         * misc/setdomain.c (setdomainname): Likewise.
5542         * misc/setegid.c (setegid): Likewise.
5543         * misc/seteuid.c (seteuid): Likewise.
5544         * misc/sethostid.c (sethostid): Likewise.
5545         * misc/sethostname.c (sethostname): Likewise.
5546         * misc/setregid.c (__setregid): Likewise.
5547         * misc/setreuid.c (__setreuid): Likewise.
5548         * misc/sstk.c (sstk): Likewise.
5549         * misc/stty.c (stty): Likewise.
5550         * misc/syscall.c (syscall): Likewise.
5551         * misc/syslog.c (setlogmask): Likewise.
5552         * misc/truncate.c (__truncate): Likewise.
5553         * misc/truncate64.c (truncate64): Likewise.
5554         * misc/ualarm.c (ualarm): Likewise.
5555         * misc/usleep.c (usleep): Likewise.
5556         * misc/ustat.c (ustat): Likewise.
5557         * misc/writev.c (__writev): Likewise.
5558         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
5559         * nptl/old_pthread_cond_broadcast.c
5560         (__pthread_cond_broadcast_2_0): Likewise.
5561         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
5562         Likewise.
5563         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
5564         Likewise.
5565         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
5566         Likewise.
5567         * nptl/pt-raise.c (raise): Likewise.
5568         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
5569         Likewise.
5570         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
5571         * nptl/pthread_barrierattr_destroy.c
5572         (pthread_barrierattr_destroy): Likewise.
5573         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5574         Likewise.
5575         * nptl/pthread_barrierattr_setpshared.c
5576         (pthread_barrierattr_setpshared): Likewise.
5577         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5578         Likewise.
5579         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5580         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5581         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5582         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
5583         Likewise.
5584         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
5585         Likewise.
5586         * nptl/pthread_condattr_getpshared.c
5587         (pthread_condattr_getpshared): Likewise.
5588         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
5589         Likewise.
5590         * nptl/pthread_condattr_setpshared.c
5591         (pthread_condattr_setpshared): Likewise.
5592         * nptl/pthread_detach.c (pthread_detach): Likewise.
5593         * nptl/pthread_equal.c (__pthread_equal): Likewise.
5594         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
5595         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
5596         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
5597         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
5598         Likewise.
5599         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5600         Likewise.
5601         * nptl/pthread_mutex_getprioceiling.c
5602         (pthread_mutex_getprioceiling): Likewise.
5603         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5604         Likewise.
5605         * nptl/pthread_mutexattr_getprotocol.c
5606         (pthread_mutexattr_getprotocol): Likewise.
5607         * nptl/pthread_mutexattr_getpshared.c
5608         (pthread_mutexattr_getpshared): Likewise.
5609         * nptl/pthread_mutexattr_getrobust.c
5610         (pthread_mutexattr_getrobust): Likewise.
5611         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5612         Likewise.
5613         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5614         Likewise.
5615         * nptl/pthread_mutexattr_setprioceiling.c
5616         (pthread_mutexattr_setprioceiling): Likewise.
5617         * nptl/pthread_mutexattr_setprotocol.c
5618         (pthread_mutexattr_setprotocol): Likewise.
5619         * nptl/pthread_mutexattr_setpshared.c
5620         (pthread_mutexattr_setpshared): Likewise.
5621         * nptl/pthread_mutexattr_setrobust.c
5622         (pthread_mutexattr_setrobust): Likewise.
5623         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5624         Likewise.
5625         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5626         Likewise.
5627         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5628         Likewise.
5629         * nptl/pthread_rwlockattr_getkind_np.c
5630         (pthread_rwlockattr_getkind_np): Likewise.
5631         * nptl/pthread_rwlockattr_getpshared.c
5632         (pthread_rwlockattr_getpshared): Likewise.
5633         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5634         Likewise.
5635         * nptl/pthread_rwlockattr_setkind_np.c
5636         (pthread_rwlockattr_setkind_np): Likewise.
5637         * nptl/pthread_rwlockattr_setpshared.c
5638         (pthread_rwlockattr_setpshared): Likewise.
5639         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5640         Likewise.
5641         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5642         Likewise.
5643         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5644         Likewise.
5645         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5646         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5647         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5648         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5649         * nptl/sem_close.c (sem_close): Likewise.
5650         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5651         * nptl/sem_init.c (__old_sem_init): Likewise.
5652         * nptl/sigaction.c (__sigaction): Likewise.
5653         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5654         * posix/_exit.c (_exit): Likewise.
5655         * posix/alarm.c (alarm): Likewise.
5656         * posix/confstr.c (confstr): Likewise.
5657         * posix/fpathconf.c (__fpathconf): Likewise.
5658         * posix/getgroups.c (__getgroups): Likewise.
5659         * posix/getpgid.c (__getpgid): Likewise.
5660         * posix/group_member.c (__group_member): Likewise.
5661         * posix/pathconf.c (__pathconf): Likewise.
5662         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5663         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5664         * posix/setgid.c (__setgid): Likewise.
5665         * posix/setpgid.c (__setpgid): Likewise.
5666         * posix/setuid.c (__setuid): Likewise.
5667         * posix/sleep.c (__sleep): Likewise.
5668         * posix/sysconf.c (__sysconf): Likewise.
5669         * posix/times.c (__times): Likewise.
5670         * posix/uname.c (__uname): Likewise.
5671         * posix/waitid.c (__waitid): Likewise.
5672         * pwd/getpw.c (__getpw): Likewise.
5673         * resolv/base64.c (b64_pton): Likewise.
5674         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5675         * resolv/gethnamaddr.c (Dprintf): Likewise.
5676         (gethostbyname): Likewise.
5677         (gethostbyname2): Likewise.
5678         (gethostbyaddr): Likewise.
5679         (_sethtent): Likewise.
5680         (_gethtbyname): Likewise.
5681         (_gethtbyname2): Likewise.
5682         (_gethtbyaddr): Likewise.
5683         (map_v4v6_address): Likewise.
5684         (map_v4v6_hostent): Likewise.
5685         (addrsort): Likewise.
5686         (ht_sethostent): Likewise.
5687         (ht_gethostbyname): Likewise.
5688         (ht_gethostbyaddr): Likewise.
5689         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5690         (inet_net_ntop_ipv4): Likewise.
5691         * resolv/inet_neta.c (inet_neta): Likewise.
5692         * resolv/inet_ntop.c (inet_ntop): Likewise.
5693         (inet_ntop4): Likewise.
5694         (inet_ntop6): Likewise.
5695         * resolv/inet_pton.c (__inet_pton): Likewise.
5696         (inet_pton4): Likewise.
5697         (inet_pton6): Likewise.
5698         * resolv/res_debug.c (loc_aton): Likewise.
5699         (loc_ntoa): Likewise.
5700         * resource/getpriority.c (__getpriority): Likewise.
5701         * resource/getrusage.c (__getrusage): Likewise.
5702         * resource/nice.c (nice): Likewise.
5703         * resource/setpriority.c (__setpriority): Likewise.
5704         * resource/setrlimit64.c (setrlimit64): Likewise.
5705         * resource/vlimit.c (vlimit): Likewise.
5706         * resource/vtimes.c (vtimes): Likewise.
5707         * rt/aio_error.c (aio_error): Likewise.
5708         * rt/aio_return.c (aio_return): Likewise.
5709         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5710         * signal/kill.c (__kill): Likewise.
5711         * signal/killpg.c (killpg): Likewise.
5712         * signal/raise.c (raise): Likewise.
5713         * signal/sigaction.c (__sigaction): Likewise.
5714         * signal/sigaddset.c (sigaddset): Likewise.
5715         * signal/sigaltstack.c (sigaltstack): Likewise.
5716         * signal/sigandset.c (sigandset): Likewise.
5717         * signal/sigblock.c (__sigblock): Likewise.
5718         * signal/sigdelset.c (sigdelset): Likewise.
5719         * signal/sigempty.c (sigemptyset): Likewise.
5720         * signal/sigfillset.c (sigfillset): Likewise.
5721         * signal/sighold.c (sighold): Likewise.
5722         * signal/sigignore.c (sigignore): Likewise.
5723         * signal/sigintr.c (siginterrupt): Likewise.
5724         * signal/sigisempty.c (sigisemptyset): Likewise.
5725         * signal/sigismem.c (sigismember): Likewise.
5726         * signal/signal.c (signal): Likewise.
5727         * signal/sigorset.c (sigorset): Likewise.
5728         * signal/sigpause.c (__sigpause): Likewise.
5729         * signal/sigpending.c (sigpending): Likewise.
5730         * signal/sigprocmask.c (__sigprocmask): Likewise.
5731         * signal/sigrelse.c (sigrelse): Likewise.
5732         * signal/sigreturn.c (__sigreturn): Likewise.
5733         * signal/sigset.c (sigset): Likewise.
5734         * signal/sigsetmask.c (__sigsetmask): Likewise.
5735         * signal/sigstack.c (sigstack): Likewise.
5736         * signal/sigsuspend.c (__sigsuspend): Likewise.
5737         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5738         * signal/sysv_signal.c (__sysv_signal): Likewise.
5739         * socket/accept.c (accept): Likewise.
5740         * socket/accept4.c (__libc_accept4): Likewise.
5741         * socket/bind.c (__bind): Likewise.
5742         * socket/connect.c (__connect): Likewise.
5743         * socket/getpeername.c (getpeername): Likewise.
5744         * socket/getsockname.c (__getsockname): Likewise.
5745         * socket/getsockopt.c (getsockopt): Likewise.
5746         * socket/listen.c (__listen): Likewise.
5747         * socket/recv.c (__recv): Likewise.
5748         * socket/recvmsg.c (__recvmsg): Likewise.
5749         * socket/send.c (__send): Likewise.
5750         * socket/sendmsg.c (__sendmsg): Likewise.
5751         * socket/shutdown.c (shutdown): Likewise.
5752         * socket/sockatmark.c (sockatmark): Likewise.
5753         * socket/socket.c (__socket): Likewise.
5754         * stdio-common/ctermid.c (ctermid): Likewise.
5755         * stdio-common/cuserid.c (cuserid): Likewise.
5756         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5757         * stdio-common/remove.c (remove): Likewise.
5758         * stdio-common/rename.c (rename): Likewise.
5759         * stdio-common/renameat.c (renameat): Likewise.
5760         * stdio-common/tempname.c (__gen_tempname): Likewise.
5761         * stdio-common/xbug.c (InitBuffer): Likewise.
5762         (AppendToBuffer): Likewise.
5763         (ReadFile): Likewise.
5764         * stdlib/a64l.c (a64l): Likewise.
5765         * stdlib/drand48_r.c (drand48_r): Likewise.
5766         * stdlib/getcontext.c (getcontext): Likewise.
5767         * stdlib/getenv.c (getenv): Likewise.
5768         * stdlib/l64a.c (l64a): Likewise.
5769         * stdlib/llabs.c (llabs): Likewise.
5770         * stdlib/lldiv.c (lldiv): Likewise.
5771         * stdlib/lrand48_r.c (lrand48_r): Likewise.
5772         * stdlib/mrand48_r.c (mrand48_r): Likewise.
5773         * stdlib/putenv.c (putenv): Likewise.
5774         * stdlib/random.c (__srandom): Likewise.
5775         (__initstate): Likewise.
5776         (__setstate): Likewise.
5777         * stdlib/random_r.c (__srandom_r): Likewise.
5778         (__setstate_r): Likewise.
5779         (__random_r): Likewise.
5780         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
5781         * stdlib/setcontext.c (setcontext): Likewise.
5782         * stdlib/setenv.c (setenv): Likewise.
5783         (unsetenv): Likewise.
5784         * stdlib/srand48.c (srand48): Likewise.
5785         * stdlib/srand48_r.c (__srand48_r): Likewise.
5786         * stdlib/swapcontext.c (swapcontext): Likewise.
5787         * stdlib/system.c (__libc_system): Likewise.
5788         * stdlib/tst-strtod.c (expand): Likewise.
5789         * stdlib/tst-strtol.c (expand): Likewise.
5790         * stdlib/tst-strtoll.c (expand): Likewise.
5791         * streams/fattach.c (fattach): Likewise.
5792         * streams/fdetach.c (fdetach): Likewise.
5793         * streams/getmsg.c (getmsg): Likewise.
5794         * streams/isastream.c (isastream): Likewise.
5795         * string/ffs.c (__ffs): Likewise.
5796         * string/ffsll.c (ffsll): Likewise.
5797         * string/memcmp.c (memcmp_common_alignment): Likewise.
5798         (memcmp_not_common_alignment): Likewise.
5799         (MEMCMP): Likewise.
5800         * string/memcpy.c (memcpy): Likewise.
5801         * string/memmove.c (MEMMOVE): Likewise.
5802         * string/memset.c (memset): Likewise.
5803         * string/rawmemchr.c (RAWMEMCHR): Likewise.
5804         * string/strchrnul.c (STRCHRNUL): Likewise.
5805         * string/strerror.c (strerror): Likewise.
5806         * string/strndup.c (__strndup): Likewise.
5807         * string/strverscmp.c (__strverscmp): Likewise.
5808         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
5809         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
5810         (clnttcp_freeres): Likewise.
5811         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
5812         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
5813         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
5814         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
5815         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
5816         (xdr_callhdr): Likewise.
5817         * sunrpc/rpcinfo.c (udpping): Likewise.
5818         (tcpping): Likewise.
5819         (pstatus): Likewise.
5820         (pmapdump): Likewise.
5821         (brdcst): Likewise.
5822         (deletereg): Likewise.
5823         (getprognum): Likewise.
5824         (getvers): Likewise.
5825         (get_inet_address): Likewise.
5826         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
5827         * sunrpc/svc_udp.c (svcudp_create): Likewise.
5828         (svcudp_stat): Likewise.
5829         (svcudp_recv): Likewise.
5830         (svcudp_reply): Likewise.
5831         (svcudp_getargs): Likewise.
5832         (svcudp_freeargs): Likewise.
5833         (svcudp_destroy): Likewise.
5834         * sunrpc/xdr.c (xdr_bytes): Likewise.
5835         (xdr_netobj): Likewise.
5836         (xdr_string): Likewise.
5837         (xdr_wrapstring): Likewise.
5838         * sunrpc/xdr_float.c (xdr_float): Likewise.
5839         (xdr_double): Likewise.
5840         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
5841         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
5842         * sysvipc/ftok.c (ftok): Likewise.
5843         * sysvipc/msgctl.c (msgctl): Likewise.
5844         * sysvipc/msgget.c (msgget): Likewise.
5845         * sysvipc/msgrcv.c (msgrcv): Likewise.
5846         * sysvipc/msgsnd.c (msgsnd): Likewise.
5847         * sysvipc/semget.c (semget): Likewise.
5848         * sysvipc/semop.c (semop): Likewise.
5849         * sysvipc/shmat.c (shmat): Likewise.
5850         * sysvipc/shmctl.c (shmctl): Likewise.
5851         * sysvipc/shmdt.c (shmdt): Likewise.
5852         * sysvipc/shmget.c (shmget): Likewise.
5853         * termios/cfmakeraw.c (cfmakeraw): Likewise.
5854         * termios/speed.c (cfgetospeed): Likewise.
5855         (cfgetispeed): Likewise.
5856         (cfsetospeed): Likewise.
5857         (cfsetispeed): Likewise.
5858         * termios/tcflow.c (tcflow): Likewise.
5859         * termios/tcflush.c (tcflush): Likewise.
5860         * termios/tcgetattr.c (__tcgetattr): Likewise.
5861         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
5862         * termios/tcgetsid.c (tcgetsid): Likewise.
5863         * termios/tcsendbrk.c (tcsendbreak): Likewise.
5864         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
5865         * time/adjtime.c (__adjtime): Likewise.
5866         * time/dysize.c (dysize): Likewise.
5867         * time/ftime.c (ftime): Likewise.
5868         * time/getitimer.c (__getitimer): Likewise.
5869         * time/gettimeofday.c (__gettimeofday): Likewise.
5870         * time/gmtime.c (__gmtime_r): Likewise.
5871         (gmtime): Likewise.
5872         * time/localtime.c (__localtime_r): Likewise.
5873         (localtime): Likewise.
5874         * time/offtime.c (__offtime): Likewise.
5875         * time/settimeofday.c (__settimeofday): Likewise.
5876         * time/stime.c (stime): Likewise.
5877         * time/strftime_l.c (tm_diff): Likewise.
5878         (iso_week_days): Likewise.
5879         * time/strptime.c (strptime): Likewise.
5880         * time/time.c (time): Likewise.
5881         * time/timespec_get.c (timespec_get): Likewise.
5882         * time/tzset.c (tzset_internal): Likewise.
5883         (compute_change): Likewise.
5884         (__tz_compute): Likewise.
5885         * wcsmbs/btowc.c (__btowc): Likewise.
5886         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
5887         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
5888         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
5889         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
5890         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
5891         * wcsmbs/wcscat.c (__wcscat): Likewise.
5892         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5893         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
5894         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
5895         * wcsmbs/wcscspn.c (wcscspn): Likewise.
5896         * wcsmbs/wcsdup.c (wcsdup): Likewise.
5897         * wcsmbs/wcslen.c (__wcslen): Likewise.
5898         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
5899         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
5900         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
5901         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
5902         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5903         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
5904         * wcsmbs/wcsspn.c (wcsspn): Likewise.
5905         * wcsmbs/wcsstr.c (wcsstr): Likewise.
5906         * wcsmbs/wcstok.c (wcstok): Likewise.
5907         * wcsmbs/wctob.c (wctob): Likewise.
5908         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
5909         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5910         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
5911         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
5912         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
5913         * wcsmbs/wmemset.c (__wmemset): Likewise.
5914         * wctype/wcfuncs.c (__towlower): Likewise.
5915         (__towupper): Likewise.
5917         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
5918         (lll_unlock_elision): Add adapt_count parameter.
5920 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5922         * sysdeps/nptl/configure.ac: Do not give errors based on the
5923         results of top-level configure tests.
5924         * sysdeps/nptl/configure: Regenerated.
5926         * configure.ac (libc_cv_Bgroup): Remove configure test.
5927         * configure: Regenerated.
5928         * config.make.in (have-Bgroup): Remove variable.
5930         * configure.ac (sizeof_long_double): Remove configure test.
5931         * configure: Regenerated.
5932         * config.make.in (sizeof-long-double): Remove variable.
5934         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
5935         * configure: Regenerated.
5936         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
5937         variable.
5938         (exceptions): Likewise.
5939         * sysdeps/arm/configure: Regenerated.
5940         * config.make.in (exceptions): Remove variable.
5941         * Makeconfig (uses-callbacks): Use -fexceptions instead of
5942         $(exceptions).
5943         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
5944         (CFLAGS-vdprintf_chk.c): Likewise.
5945         (CFLAGS-printf_chk.c): Likewise.
5946         (CFLAGS-fprintf_chk.c): Likewise.
5947         (CFLAGS-vprintf_chk.c): Likewise.
5948         (CFLAGS-vfprintf_chk.c): Likewise.
5949         (CFLAGS-gets_chk.c): Likewise.
5950         (CFLAGS-fgets_chk.c): Likewise.
5951         (CFLAGS-fgets_u_chk.c): Likewise.
5952         (CFLAGS-fread_chk.c): Likewise.
5953         (CFLAGS-fread_u_chk.c): Likewise.
5954         (CFLAGS-wprintf_chk.c): Likewise.
5955         (CFLAGS-fwprintf_chk.c): Likewise.
5956         (CFLAGS-vwprintf_chk.c): Likewise.
5957         (CFLAGS-vfwprintf_chk.c): Likewise.
5958         (CFLAGS-fgetws_chk.c): Likewise.
5959         (CFLAGS-fgetws_u_chk.c): Likewise.
5960         * libio/Makefile (CFLAGS-fileops.c): Likewise.
5961         (CFLAGS-fputc.c): Likewise.
5962         (CFLAGS-fputwc.c): Likewise.
5963         (CFLAGS-freopen64.c): Likewise.
5964         (CFLAGS-freopen.c): Likewise.
5965         (CFLAGS-fseek.c): Likewise.
5966         (CFLAGS-fseeko64.c): Likewise.
5967         (CFLAGS-fseeko.c): Likewise.
5968         (CFLAGS-ftello64.c): Likewise.
5969         (CFLAGS-ftello.c): Likewise.
5970         (CFLAGS-fwide.c): Likewise.
5971         (CFLAGS-genops.c): Likewise.
5972         (CFLAGS-getc.c): Likewise.
5973         (CFLAGS-getchar.c): Likewise.
5974         (CFLAGS-getwc.c): Likewise.
5975         (CFLAGS-getwchar.c): Likewise.
5976         (CFLAGS-iofclose.c): Likewise.
5977         (CFLAGS-iofflush.c): Likewise.
5978         (CFLAGS-iofgetpos64.c): Likewise.
5979         (CFLAGS-iofgetpos.c): Likewise.
5980         (CFLAGS-iofgets.c): Likewise.
5981         (CFLAGS-iofgetws.c): Likewise.
5982         (CFLAGS-iofputs.c): Likewise.
5983         (CFLAGS-iofputws.c): Likewise.
5984         (CFLAGS-iofread.c): Likewise.
5985         (CFLAGS-iofsetpos64.c): Likewise.
5986         (CFLAGS-iofsetpos.c): Likewise.
5987         (CFLAGS-ioftell.c): Likewise.
5988         (CFLAGS-iofwrite.c): Likewise.
5989         (CFLAGS-iogetdelim.c): Likewise.
5990         (CFLAGS-iogetline.c): Likewise.
5991         (CFLAGS-iogets.c): Likewise.
5992         (CFLAGS-iogetwline.c): Likewise.
5993         (CFLAGS-ioputs.c): Likewise.
5994         (CFLAGS-ioseekoff.c): Likewise.
5995         (CFLAGS-ioseekpos.c): Likewise.
5996         (CFLAGS-iosetbuffer.c): Likewise.
5997         (CFLAGS-iosetvbuf.c): Likewise.
5998         (CFLAGS-ioungetc.c): Likewise.
5999         (CFLAGS-ioungetwc.c): Likewise.
6000         (CFLAGS-oldfileops.c): Likewise.
6001         (CFLAGS-oldiofclose.c): Likewise.
6002         (CFLAGS-oldiofgetpos64.c): Likewise.
6003         (CFLAGS-oldiofgetpos.c): Likewise.
6004         (CFLAGS-oldiofsetpos64.c): Likewise.
6005         (CFLAGS-oldiofsetpos.c): Likewise.
6006         (CFLAGS-peekc.c): Likewise.
6007         (CFLAGS-putc.c): Likewise.
6008         (CFLAGS-putchar.c): Likewise.
6009         (CFLAGS-putwc.c): Likewise.
6010         (CFLAGS-putwchar.c): Likewise.
6011         (CFLAGS-rewind.c): Likewise.
6012         (CFLAGS-wfileops.c): Likewise.
6013         (CFLAGS-wgenops.c): Likewise.
6014         (CFLAGS-oldiofopen.c): Likewise.
6015         (CFLAGS-iofopen.c): Likewise.
6016         (CFLAGS-iofopen64.c): Likewise.
6017         (CFLAGS-oldtmpfile.c): Likewise.
6018         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
6019         (CFLAGS-fprintf.c): Likewise.
6020         (CFLAGS-printf.c): Likewise.
6021         (CFLAGS-vfwprintf.c): Likewise.
6022         (CFLAGS-vfscanf.c): Likewise.
6023         (CFLAGS-vfwscanf.c): Likewise.
6024         (CFLAGS-fscanf.c): Likewise.
6025         (CFLAGS-scanf.c): Likewise.
6026         (CFLAGS-isoc99_vfscanf.c): Likewise.
6027         (CFLAGS-isoc99_vscanf.c): Likewise.
6028         (CFLAGS-isoc99_fscanf.c): Likewise.
6029         (CFLAGS-isoc99_scanf.c): Likewise.
6030         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
6031         (CFLAGS-isoc99_fwscanf.c): Likewise.
6032         (CFLAGS-isoc99_vwscanf.c): Likewise.
6033         (CFLAGS-isoc99_vfwscanf.c): Likewise.
6035         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
6036         after mkstemp64.
6037         * login/tst-utmp.c (do_prepare): Likewise.
6038         * rt/tst-aio.c (do_prepare): Likewise.
6039         * rt/tst-aio64.c (do_prepare): Likewise.
6041 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6043         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6044         (__lll_lock_elision): Remove adapt_count decrement...
6045         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6046         (__lll_trylock_elision): Likewise.
6047         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6048         (__lll_unlock_elision): ... to here. And utilize
6049         new adapt_count parameter.
6050         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6051         (__lll_unlock_elision): Update to include adapt_count
6052         parameter.
6053         (lll_unlock_elision): Pass pointer to adapt_count
6054         variable.
6056 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6058         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
6059         Add elision adapt_count parameter to list of arguments.
6060         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6061         (lll_unlock_elision): Update with new parameter list
6062         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6063         (lll_unlock_elision): Likewise.
6064         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
6065         (lll_unlock_elision): Likewise.
6067 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6069         [BZ #19122]
6070         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
6071         attribute_hidden.
6073         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
6074         attribute_hidden.
6075         [IS_IN (rtld)] (__strdup): Likewise.
6076         [IS_IN (rtld)] (__strerror_r): Likewise.
6077         [IS_IN (rtld)] (__strsep_g): Likewise.
6078         [IS_IN (rtld)] (memchr): Likewise.
6079         [IS_IN (rtld)] (memcmp): Likewise.
6080         [IS_IN (rtld)] (memcpy): Likewise.
6081         [IS_IN (rtld)] (memmove): Likewise.
6082         [IS_IN (rtld)] (memset): Likewise.
6083         [IS_IN (rtld)] (rawmemchr): Likewise.
6084         [IS_IN (rtld)] (stpcpy): Likewise.
6085         [IS_IN (rtld)] (strchr): Likewise.
6086         [IS_IN (rtld)] (strcmp): Likewise.
6087         [IS_IN (rtld)] (strlen): Likewise.
6088         [IS_IN (rtld)] (strnlen): Likewise.
6089         [IS_IN (rtld)] (strsep): Likewise.
6091         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
6092         attribute_hidden.
6093         [IS_IN (rtld)] (__strtoul_internal): Likewise.
6095         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
6096         attribute_hidden.
6097         [IS_IN (rtld)] (__libc_sigaction): Likewise.
6099         * include/setjmp.h (__longjmp): Add attribute_hidden.
6100         [IS_IN (rtld)] (__sigsetjmp): Likewise.
6102         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
6103         Add attribute_hidden.
6105         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
6106         [IS_IN (rtld)] (__open): Likewise.
6107         [IS_IN (rtld)] (__fcntl): Likewise.
6109         * include/dirent.h (__opendirat): Add attribute_hidden.
6110         (__getdents): Likewise.
6111         (__getdents64): Likewise.
6112         (__alloc_dir): Likewise.
6113         [IS_IN (rtld)] (__closedir): Likewise.
6114         [IS_IN (rtld)] (__fdopendir): Likewise.
6115         [IS_IN (rtld)] (__readdir): Likewise.
6116         [IS_IN (rtld)] (__readdir64): Likewise.
6117         [IS_IN (rtld)] (__rewinddir): Likewise.
6119         * include/dlfcn.h (_dl_catch_error): Moved to ...
6120         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
6121         attribute_hidden.
6123         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
6124         (_itoa_word): Likewise.
6126         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
6127         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
6128         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
6129         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
6130         (_dl_higher_prime_number): Likewise.
6131         (_dl_debug_printf_c): Likewise.
6132         (_dl_signal_cerror): Likewise.
6133         (_dl_receive_error): Likewise.
6134         (_dl_reloc_bad_type): Likewise.
6135         (_dl_resolve_conflicts): Likewise.
6136         (_dl_check_all_versions): Likewise.
6137         (_dl_check_map_versions): Likewise.
6138         (_dl_sort_fini): Likewise.
6139         (_dl_debug_initialize): Likewise.
6140         (_dl_init_paths): Likewise.
6141         (_dl_show_auxv): Likewise.
6142         (_dl_next_ld_env_entry): Likewise.
6143         (_dl_important_hwcaps): Likewise.
6144         (_dl_load_cache_lookup): Likewise.
6145         (_dl_update_slotinfo): Likewise.
6146         (_dl_show_scope): Likewise.
6148         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
6149         attribute_hidden.
6150         (_wordcopy_fwd_dest_aligned): Likewise.
6151         (_wordcopy_bwd_aligned): Likewise.
6152         (_wordcopy_bwd_dest_aligned): Likewise.
6154         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6155         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6156         Likewise.
6157         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6158         Likewise.
6159         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
6161 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6163         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
6164         GCC 5 requirement.
6166 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6168         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
6169         test.
6170         * sysdeps/i386/configure: Regenerated.
6171         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
6172         code unconditional.
6174         * configure.ac (libc_cv_asm_previous_directive): Remove configure
6175         test.
6176         (libc_cv_asm_popsection_directive): Likewise.
6177         * configure: Regenerated.
6178         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
6179         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
6180         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
6181         (__make_section_unallocated): Make definition unconditional.
6182         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
6183         Remove conditional definition.
6184         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
6185         (__make_section_unallocated): Likewise.
6187         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
6188         * configure: Regenerated.
6189         * config.make.in (static-libgcc): Remove variable.
6190         * Makerules (build-shlib-helper): Use -static-libgcc instead of
6191         $(static-libgcc).
6192         (build-module-helper): Likewise.
6194         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
6195         * configure: Regenerated.
6197 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6199         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
6200         (struct char_buffer): New type.
6201         (char_buffer_start, char_buffer_size, char_buffer_error)
6202         (char_buffer_rewind, char_buffer_add): New functions.
6203         (ADDW): Remove macro, replaced by the char_buffer_add function.
6204         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
6205         of extend_alloca.  Make control flow more explicit.
6207 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6209         [BZ #19137]
6210         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6211         Add -fomit-frame-pointer.
6212         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
6214 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6216         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
6217         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
6218         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
6219         only if !__GNUC_PREREQ (5,0).
6220         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
6221         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
6222         (INTERNAL_SYSCALL_NCS): Likewise.
6223         (LOADREGS_0): New macro for GCC 5.
6224         (ASMARGS_0): Likewise.
6225         (LOADREGS_1): Likewise.
6226         (ASMARGS_1): Likewise.
6227         (LOADREGS_2): Likewise.
6228         (ASMARGS_2): Likewise.
6229         (LOADREGS_3): Likewise.
6230         (ASMARGS_3): Likewise.
6231         (LOADREGS_4): Likewise.
6232         (ASMARGS_4): Likewise.
6233         (LOADREGS_5): Likewise.
6234         (ASMARGS_5): Likewise.
6235         (LOADREGS_6): Likewise.
6236         (ASMARGS_6): Likewise.
6238 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6240         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
6241         -fomit-frame-pointer.
6242         (CFLAGS-mmap64.c): Likewise.
6243         (CFLAGS-semtimedop.c): Likewise.
6244         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
6245         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
6246         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6247         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6249 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6251         [BZ #18928]
6252         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
6253         _dl_pointer_guard member.
6254         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
6255         initializer.
6256         (security_init): Always set up pointer guard.
6257         (process_envvars): Do not process LD_POINTER_GUARD.
6259 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
6261         [BZ #19134]
6262         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
6263         (.LC2): Likewise.
6264         (.LC3): Likewise.
6265         (__lround): Do not add 0.5 to integer or out-of-range arguments.
6267 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6269         [BZ #19129]
6270         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
6271         r0 and r1.
6273 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
6275         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
6277 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
6279         * include/stap-probe.h: Fix macro definition formatting.
6281 2015-10-14  Florian Weimer  <fweimer@redhat.com>
6283         [BZ #19074]
6284         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
6285         load and store num_ifs.
6287 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6289         [BZ #18822]
6290         * sysdeps/unix/sysv/linux/sched_getaffinity.c
6291         (__sched_getaffinity_new): Add libc_hidden_proto and
6292         libc_hidden_def.
6294 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6296         [BZ #19007]
6297         * scripts/localplt.awk: Also allow GOT references.
6298         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
6299         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
6300         with "+ REL R_386_GLOB_DAT".
6301         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
6302         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
6304 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6306         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
6307         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6308         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
6309         Likewise.
6310         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6311         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
6312         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6313         INTERNAL_SYSCALLINTERNAL_SYSCALL and
6314         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6315         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6316         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6317         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6318         Likewise.
6319         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6321 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6323         [BZ #19125]
6324         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
6325         <math_private.h> and <stdint.h>.
6326         (__llround): Avoid conversions to and from long long int, and
6327         subtractions, where those might raise spurious exceptions.
6328         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6329         <math_private.h> and <stdint.h>.
6330         (__llroundf): Avoid conversions to and from long long int, and
6331         subtractions, where those might raise spurious exceptions.
6333 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6335         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
6336         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6337         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6338         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
6339         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6340         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6341         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
6342         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
6343         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
6344         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6345         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6346         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6347         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
6348         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6349         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6350         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
6351         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
6352         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6353         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
6354         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
6355         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6356         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
6357         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
6358         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6359         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
6360         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6361         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
6362         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6363         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6364         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
6365         (__xstat64_conv): Likewise.
6366         (__xstat32_conv): Likewise.
6368 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6370         * sysdeps/unix/sysv/linux/sysdep.h: New file.
6371         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
6372         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
6373         <sysdeps/unix/sysv/linux/sysdep.h>.
6374         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6375         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
6376         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
6377         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6378         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6379         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
6380         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
6381         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6382         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6385         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6386         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6387         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6388         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6389         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6390         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
6391         (sysdep-dl-routines): Add sysdep.
6392         [$(subdir) == nptl] (libpthread-routines): Likewise.
6393         [$(subdir) == rt] (librt-routines): Likewise.
6394         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
6395         PIC when branching to SYSCALL_ERROR_LABEL.
6396         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
6397         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
6398         <sysdeps/unix/sysv/linux/sysdep.h>.
6399         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
6400         (SYSCALL_ERROR_ERRNO): Removed.
6401         (SYSCALL_ERROR_HANDLER): Changed to empty.
6402         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
6403         (__syscall_error): New prototype.
6404         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
6405         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
6407 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6409         [BZ #19124]
6410         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
6411         (_dl_runtime_resolve_avx512): Make it a hidden alias of
6412         _dl_runtime_resolve_avx.
6413         (_dl_runtime_profile_avx512): Make it a hidden alias of
6414         _dl_runtime_profile_avx.
6416 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6418         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
6419         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
6420         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
6421         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
6423         [BZ #16422]
6424         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
6425         New configure test.
6426         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
6427         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
6428         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
6429         <math_private.h> and <stdint.h>.
6430         (__llrint): Avoid conversions to long long int where those might
6431         raise spurious exceptions.
6432         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6433         <math_private.h> and <stdint.h>.
6434         (__llrintf): Avoid conversions to long long int where those might
6435         raise spurious exceptions.
6437 2015-10-12  Andreas Schwab  <schwab@suse.de>
6439         [BZ #18969]
6440         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
6441         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
6442         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
6443         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
6444         $(gen-locales).
6445         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
6446         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
6447         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
6448         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
6449         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
6450         $(gen-locales).
6451         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
6452         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
6453         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
6454         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
6455         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
6456         ($(objpfx)tst-ftell-active-handler.out)
6457         ($(objpfx)tst-ftell-append.out)
6458         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
6459         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
6460         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
6461         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
6462         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
6463         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
6464         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
6465         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
6466         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
6467         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
6468         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
6469         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
6470         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
6471         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
6472         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
6473         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
6474         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
6475         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
6476         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
6477         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
6478         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
6479         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
6480         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
6481         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
6482         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
6483         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
6484         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
6485         $(gen-locales).
6486         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
6487         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
6488         $(gen-locales).
6489         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
6490         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
6491         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
6492         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
6493         $(gen-locales).
6494         * libio/tst_wprintf2.c (main): Use explicit locale.
6495         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
6497 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6499         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
6500         __msg_sig_post.
6501         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
6503 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6505         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6506         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6508         * sysdeps/arm/libm-test-ulps: Regenerated.
6510         [BZ #15470]
6511         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
6513         [BZ #16399]
6514         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
6515         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
6516         and <fix-fp-int-convert-overflow.h>.
6517         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6518         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6519         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
6520         and <fix-fp-int-convert-overflow.h>.
6521         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
6522         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6523         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
6524         <fix-fp-int-convert-overflow.h>.
6525         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6526         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6527         * sysdeps/ieee754/dbl-64/s_lround.c: Include
6528         <fix-fp-int-convert-overflow.h>.
6529         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
6530         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6531         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
6532         and <fix-fp-int-convert-overflow.h>.
6533         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6534         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6535         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
6536         <limits.h> and <fix-fp-int-convert-overflow.h>.
6537         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6538         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6539         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
6540         and <fix-fp-int-convert-overflow.h>.
6541         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6542         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6543         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
6544         and <fix-fp-int-convert-overflow.h>.
6545         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6546         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6547         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
6549 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
6551         [BZ #18589]
6552         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
6553         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
6554         $(gen-locales).
6556 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6557             Phil Blundell <pb@pbcl.net>
6559         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
6560         * nptl/tst-cancel26.c: New file.
6561         * nptl/tst-cancel27.c: Likewise.
6563 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
6565         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
6566         __ILP32__ isn't defined.
6567         (lrint): Likewise.
6568         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
6569         (lrintf): Likewise.
6570         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
6571         (lrintl): Likewise.
6572         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
6573         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
6574         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
6576 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6578         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6579         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6581         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
6582         file.
6583         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
6584         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6586 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6588         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
6589         configure test.
6590         * sysdeps/i386/configure: Regenerated.
6591         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
6592         configure test.
6593         * sysdeps/x86_64/configure: Regenerated.
6594         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
6595         Make code unconditional.
6597         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
6598         test.
6599         * sysdeps/i386/configure: Regenerated.
6600         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
6601         test.
6602         * sysdeps/x86_64/configure: Regenerated.
6603         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6604         Make code unconditional.
6605         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6606         Likewise.
6607         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6608         Likewise.
6609         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6610         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6611         code unconditional.
6612         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6613         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6614         code unconditional.
6615         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6616         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6617         code unconditional.
6618         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6619         code unconditional.
6620         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6621         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6622         code unconditional.
6623         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6624         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6625         code unconditional.
6626         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6627         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6628         code unconditional.
6629         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6630         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6631         code unconditional.
6632         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6633         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6635         [BZ #19095]
6636         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6637         mantissa to long int before shifting left.
6639 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6641         [BZ #19094]
6642         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6643         <limits.h>.
6644         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6645         when result overflows but exception would not result from cast.
6646         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6647         <limits.h>.
6648         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6649         when result overflows but exception would not result from cast.
6650         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6651         <limits.h>.
6652         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6653         when result overflows but exception would not result from cast.
6654         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6655         <limits.h>.
6656         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6657         when result overflows but exception would not result from cast.
6658         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6659         <limits.h>.
6660         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6661         when result overflows but exception would not result from cast.
6662         * math/libm-test.inc (lrint_test_data): Add more tests.
6663         (llrint_test_data): Likewise.
6665 2015-10-08  Roland McGrath  <roland@hack.frob.com>
6667         [BZ #18872]
6668         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6669         Move out from under [$(run-built-tests) = yes] conditional.
6670         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6671         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6673 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
6675         [BZ #18589]
6676         * string/Makefile (tests): Add bug-strcoll2.
6677         (LOCALES): Add cs_CZ.UTF-8.
6678         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6680         [BZ #18589]
6681         * string/bug-strcoll2.c: New file.
6682         * locale/categories.def: Revert commit
6683         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6684         * locale/langinfo.h: Likewise.
6685         * locale/localeinfo.h: Likewise.
6686         * locale/C-collate.c: Likewise.
6687         * locale/programs/ld-collate.c (collate_output): Likewise.
6688         * string/strcoll_l.c (STRDIFF): Likewise.
6689         (STRCOLL): Likewise.
6690         * wcsmbs/wcscoll_l.c: Likewise.
6692 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6694         * math/libm-test.inc (lround_test_data): Do not expect the absence
6695         of "inexact" for some tests with non-integer arguments.
6696         (llround_test_data): Likewise.
6698         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6699         test.
6700         (libc_cv_cc_sse2avx): Likewise.
6701         * sysdeps/i386/configure: Regenerated.
6702         * sysdeps/i386/i686/multiarch/Makefile
6703         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6704         [$(subdir) = math].
6705         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6706         code unconditional.
6707         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6708         Likewise.
6709         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6710         Likewise.
6711         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6712         Likewise.
6713         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6714         test.
6715         (libc_cv_cc_sse2avx): Likewise.
6716         * sysdeps/x86_64/configure: Regenerated.
6717         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6718         unconditional.
6719         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6720         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6721         unconditional.
6722         (_dl_runtime_profile)
6723         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6724         conditional code.
6725         * sysdeps/x86_64/fpu/multiarch/Makefile
6726         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6727         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6728         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6729         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6730         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6731         * sysdeps/x86_64/fpu/multiarch/e_log.c
6732         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6733         * sysdeps/x86_64/fpu/multiarch/s_atan.c
6734         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6735         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6736         Likewise.
6737         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6738         Likewise.
6739         * sysdeps/x86_64/fpu/multiarch/s_sin.c
6740         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6741         * sysdeps/x86_64/fpu/multiarch/s_tan.c
6742         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6743         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6744         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6745         (HAVE_SSE2AVX_SUPPORT): Likewise.
6747 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
6749         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6750         instead of #pragma optimize.
6752 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6754         [BZ #17195]
6755         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6756         as is similarly done in systrim and _int_free already.
6758 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6760         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
6762 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6764         [BZ #19088]
6765         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
6766         <limits.h>.
6767         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6768         overflows but exception would not result from cast.
6769         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
6770         and <limits.h>.
6771         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6772         overflows but exception would not result from cast.
6773         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
6774         <limits.h>.
6775         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6776         overflows but exception would not result from cast.
6777         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
6778         <limits.h>.
6779         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6780         overflows but exception would not result from cast.
6781         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
6782         <limits.h>.
6783         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6784         overflows but exception would not result from cast.
6785         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
6786         <limits.h>.
6787         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6788         overflows but exception would not result from cast.
6789         * math/libm-test.inc (lround_test_data): Add more tests.
6790         (llround_test_data): Likewise.
6792 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
6794         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
6795         (CFLAGS-ialloc.c): Ditto.
6796         (CFLAGS-scheck.c): Ditto.
6798 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6800         [BZ #19086]
6801         * manual/filesys.texi (Storage Allocation): Fix argument order for
6802         posix_fallocate64.
6804 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6806         [BZ #19085]
6807         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
6808         exponent below 48 inside case for non-overflowing exponent.
6809         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6811 2015-10-07  Florian Weimer  <fweimer@redhat.com>
6813         * iconvdata/cp737.h (from_idx): Add const.
6814         * iconvdata/cp775.h (from_idx): Likewise.
6816 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6818         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
6819         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6820         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6822         [BZ #19079]
6823         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
6824         file, conditioned on [!_LP64].
6825         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
6826         [!_LP64] (__lround): Do not define as function or alias.
6827         [!_LP64] (lround): Likewise.
6828         [!_LP64] (__lroundl): Likewise.
6829         [!_LP64] (lroundl): Likewise.
6830         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
6831         macro.
6832         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6833         Likewise.
6835 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6837         * math/libm-test.inc (lrint_test_data): Add more tests.
6838         (llrint_test_data): Likewise.
6839         (lround_test_data): Likewise.
6840         (llround_test_data): Likewise.
6842         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
6843         (llrint_test_data): Add tests used for lrint.
6845         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
6846         test.
6847         * sysdeps/i386/configure: Regenerated.
6848         * sysdeps/i386/i686/multiarch/Makefile
6849         [$(config-cflags-sse4) = yes]: Make code unconditional.
6850         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6851         Likewise.
6852         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
6853         Likewise.
6854         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
6855         test.
6856         * sysdeps/x86_64/configure: Regenerated.
6857         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
6858         Make code unconditional.
6859         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6860         Likewise.
6861         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
6862         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
6864         * scripts/rpm2dynsym.sh: Remove file.
6866 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6868         * configure.ac (libc_cv_cxx_thread_local): Define.
6869         * configure: Regenerate.
6870         * config.make.in (have-cxx-thread_local): Define.
6871         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
6872         (LDLIBS-tst-thread_local1): Define.
6873         (tests): Add tst-thread_local1.
6874         [have-cxx-thread_local != yes] (tests-unsupported): Add
6875         tst-thread_local1.
6876         * nptl/tst-thread_local1.cc: New file.
6878 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6880         [BZ #19078]
6881         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
6882         (u_thres): Likewise.
6883         (__expl): Determine whether to call __kernel_standard_l based on
6884         value of result, not argument.
6886         * math/libm-test.inc (scalb_test_data): Add more expectations for
6887         the "inexact" exception.
6889         [BZ #19077]
6890         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
6891         0.0L for argument 1.0L.
6893         [BZ #19076]
6894         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
6895         constant 0.0L when computing infinite result.
6897 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6899         [BZ #10432]
6900         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
6901         malloc_usable_size.
6903 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6905         [BZ #19018]
6906         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6907         Mangle function pointer before storing it.
6908         (__call_tls_dtors): Demangle function pointer before calling it.
6910 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6912         [BZ #19012]
6913         * iconv/gconv_db.c (gen_steps): Check for additional errors.
6914         Clean up on failure.
6916 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
6918         [BZ #19071]
6919         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
6920         long int variable to store possibly incremented high part of
6921         mantissa.
6922         * math/libm-test.inc (lround_test_data): Add tests used for
6923         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
6924         for tests requiring 64-bit long.  Do not condition tests on
6925         [TEST_FLOAT] unnecessarily.
6926         (llround_test_data): Add tests used for lround.  Add another
6927         expectation for the "inexact" exception.  Do not condition tests
6928         on [TEST_FLOAT] unnecessarily.
6930         [BZ #887]
6931         [BZ #19049]
6932         [BZ #19050]
6933         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
6934         * sysdeps/ieee754/dbl-64/e_log10.c: Include
6935         <fix-int-fp-convert-zero.h>.
6936         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6937         * sysdeps/ieee754/dbl-64/e_log2.c: Include
6938         <fix-int-fp-convert-zero.h>.
6939         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6940         * sysdeps/ieee754/dbl-64/s_erf.c: Include
6941         <fix-int-fp-convert-zero.h>.
6942         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6943         * sysdeps/ieee754/dbl-64/s_logb.c: Include
6944         <fix-int-fp-convert-zero.h>.
6945         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6946         * sysdeps/ieee754/flt-32/e_log10f.c: Include
6947         <fix-int-fp-convert-zero.h>.
6948         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6949         * sysdeps/ieee754/flt-32/e_log2f.c: Include
6950         <fix-int-fp-convert-zero.h>.
6951         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6952         * sysdeps/ieee754/flt-32/s_erff.c: Include
6953         <fix-int-fp-convert-zero.h>.
6954         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6955         * sysdeps/ieee754/flt-32/s_logbf.c: Include
6956         <fix-int-fp-convert-zero.h>.
6957         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6958         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
6959         <fix-int-fp-convert-zero.h>.
6960         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6961         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
6962         <fix-int-fp-convert-zero.h>.
6963         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6964         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
6965         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
6966         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
6967         file.
6968         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
6970 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6972         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6974 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
6976         [BZ #19059]
6977         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
6978         overflowing computation.
6979         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6980         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6981         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6982         Likewise.
6983         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6984         Likewise.
6985         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6986         Likewise.
6987         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6988         Likewise.
6989         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6990         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6991         Likewise.
6992         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6993         Likewise.
6994         * math/libm-test.inc (nexttoward_test_data): Add more tests.
6996         * nss/rewrite_field.c (__nss_rewrite_field): Use
6997         internal_function.
6998         * nss/valid_field.c (__nss_valid_field): Likewise.
6999         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7001 2015-10-02  Florian Weimer  <fweimer@redhat.com>
7003         [BZ #18724]
7004         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
7005         (__nss_invalid_field_characters, __nss_valid_field)
7006         (__nss_valid_list_field, __nss_rewrite_field): Declare.
7007         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
7008         tst-field.c: New file.
7009         * nss/Makefile (routines): Add valid_field, rewrite_field.
7010         (tests-static): Define unconditionally.
7011         (tests): Include tests-static.
7012         [build-static-nss] (tests-static): Use append.
7013         [build-static-nss] (tests): Remove modification.
7014         * nss/getent.c (print_group): Call putgrent.  Report error.
7015         (print_gshadow): Call putsgent.  Report error.
7016         (print_passwd): Call putpwent.  Report error.
7017         (print_shadow): Call putspent.  Report error.
7018         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
7019         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
7020         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
7021         name, password, directory, shell fields for valid syntax.  Rewrite
7022         GECOS field to match syntax.
7023         * pwd/Makefile (tests): Add tst-putpwent.
7024         * pwd/tst-putpwent.c: New file.
7025         * grp/putgrent.c (putgrent): Convert to ISO function definition.
7026         Check grName, grpasswd, gr_mem fields for valid syntax.
7027         Change loop variable i to size_t.
7028         * grp/Makefile (tests): Add tst-putgrent.
7029         * grp/tst-putgrent.c: New file.
7030         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
7031         valid syntax.
7032         * shadow/Makefile (tests): Add tst-putspent.
7033         * shadow/tst-putspent.c: New file.
7034         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
7035         sg_mem fields for valid syntax.
7036         * gshadow/Makefile (tests): Add tst-putsgent.
7037         * gshadow/tst-putsgent.c: New file.
7039 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7041         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
7042         assembly instructions.
7044 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7046         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
7047         prefix from operands.
7049 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
7051         [BZ #16347]
7052         [BZ #19046]
7053         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
7054         <libc-internal.h>.
7055         (MAXLGM): Do not use diagnostic control macros.
7056         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
7057         threshold for ldbl-128ibm.
7058         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
7059         instead of multiplying by log then subtracting.
7060         * math/auto-libm-test-in: Add more tests of lgamma.
7061         * math/auto-libm-test-out: Regenerated.
7063         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
7064         (TYPE_HEX_DIG): Likewise.
7065         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
7066         precisions when printing floating-point numbers.
7067         (check_float_internal): Likewise.
7069 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7071         [BZ #16620]
7072         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
7073         of log (10) rounded downward to 48 bits.
7074         (log10_low): Use corresponding low part of log (10).
7076         [BZ #19032]
7077         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
7078         compute result as (x - x) / (x - x) not as 0 / 0.
7079         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7080         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
7082         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7083         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
7084         and expm1.
7085         * math/auto-libm-test-out: Regenerated.
7086         * math/libm-test.inc (acos_test_data): Add more tests.
7087         (asin_test_data): Likewise.
7088         (asinh_test_data): Likewise.
7089         (atan_test_data): Likewise.
7090         (atanh_test_data): Likewise.
7091         (atan2_test_data): Likewise.
7092         (cbrt_test_data): Likewise.
7093         (ceil_test_data): Likewise.
7094         (copysign_test_data): Likewise.
7095         (cos_test_data): Likewise.
7096         (cosh_test_data): Likewise.
7097         (erf_test_data): Likewise.
7098         (erfc_test_data): Likewise.
7099         (exp_test_data): Likewise.
7100         (exp10_test_data): Likewise.
7101         (exp2_test_data): Likewise.
7102         (expm1_test_data): Likewise.
7103         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7105 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
7107         [BZ #19006]
7108         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
7109         to ...
7110         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
7111         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
7112         to ...
7113         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
7114         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
7115         to ...
7116         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
7117         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
7118         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
7119         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
7120         to ...
7121         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
7122         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7123         Moved to ...
7124         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
7125         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7126         Moved to ...
7127         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
7128         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
7129         to ...
7130         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
7131         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7132         Moved to ...
7133         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
7134         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
7135         to ...
7136         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
7137         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
7138         Removed.
7139         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
7140         Likewise.
7141         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
7142         Likewise.
7143         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
7144         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
7145         Likewise.
7146         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7147         Likewise.
7148         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7149         Likewise.
7150         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7151         Likewise.
7152         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7153         Likewise.
7154         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
7155         Likewise.
7156         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
7157         Likewise.
7158         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
7159         Likewise.
7160         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
7161         Likewise.
7162         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
7163         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
7164         Likewise.
7165         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7166         Likewise.
7167         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7168         Likewise.
7169         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7170         Likewise.
7171         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
7172         Likewise.
7173         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7174         Replace ../i486/pthread_cond_timedwait.S with
7175         ../pthread_cond_timedwait.S.
7177 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7179         * math/libm-test.inc (acos_test_data): Refine expectations for
7180         errno and "inexact" exceptions.
7181         (acosh_test_data): Likewise.
7182         (asin_test_data): Likewise.
7183         (asinh_test_data): Likewise.
7184         (atan_test_data): Likewise.
7185         (atanh_test_data): Likewise.
7186         (atan2_test_data): Likewise.
7187         (cbrt_test_data): Likewise.
7188         (ceil_test_data): Likewise.
7189         (copysign_test_data): Likewise.
7190         (cosh_test_data): Likewise.
7191         (erf_test_data): Likewise.
7192         (erfc_test_data): Likewise.
7193         (exp_test_data): Likewise.
7194         (exp10_test_data): Likewise.
7195         (exp2_test_data): Likewise.
7196         (expm1_test_data): Likewise.
7197         (fabs_test_data): Likewise.
7198         (floor_test_data): Likewise.
7199         (fma_test_data): Likewise.
7200         (fmax_test_data): Likewise.
7201         (fmin_test_data): Likewise.
7202         (fmod_test_data): Likewise.
7203         (fpclassify_test_data): Likewise.
7204         (frexp_test_data): Likewise.
7205         (hypot_test_data): Likewise.
7206         (ilogb_test_data): Likewise.
7207         (isgreater_test_data): Likewise.
7208         (isgreaterequal_test_data): Likewise.
7209         (isinf_test_data): Likewise.
7210         (isless_test_data): Likewise.
7211         (islessequal_test_data): Likewise.
7212         (islessgreater_test_data): Likewise.
7213         (isnan_test_data): Likewise.
7214         (isnormal_test_data): Likewise.
7215         (issignaling_test_data): Likewise.
7216         (isunordered_test_data): Likewise.
7217         (j0_test_data): Likewise.
7218         (j1_test_data): Likewise.
7219         (jn_test_data): Likewise.
7220         (lgamma_test_data): Likewise.
7221         (lrint_test_data): Likewise.
7222         (llrint_test_data): Likewise.
7223         (log_test_data): Likewise.
7224         (log10_test_data): Likewise.
7225         (log1p_test_data): Likewise.
7226         (log2_test_data): Likewise.
7227         (logb_test_data): Likewise.
7228         (lround_test_data): Likewise.
7229         (llround_test_data): Likewise.
7230         (modf_test_data): Likewise.
7231         (nearbyint_test_data): Likewise.
7232         (nextafter_test_data): Likewise.
7233         (nexttoward_test_data): Likewise.
7234         (pow_test_data): Likewise.
7235         (remainder_test_data): Likewise.
7236         (remquo_test_data): Likewise.
7237         (rint_test_data): Likewise.
7238         (round_test_data): Likewise.
7239         (signbit_test_data): Likewise.
7240         (sinh_test_data): Likewise.
7241         (sqrt_test_data): Likewise.
7242         (tanh_test_data): Likewise.
7243         (tgamma_test_data): Likewise.
7244         (trunc_test_data): Likewise.
7245         (y0_test_data): Likewise.
7246         (y1_test_data): Likewise.
7247         (yn_test_data): Likewise.
7248         (significand_test_data): Likewise.
7250 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
7252         * manual/filesys.texi (Storage Allocation): Document that
7253         posix_fallocate emulation fails when fd is open with O_WRONLY.
7255 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
7257         [BZ #19016]
7258         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
7259         allow more cases with X^2 + Y^2 >= 0.5.
7260         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
7261         normal element in sum instead of special-casing based on values of
7262         arguments.
7263         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
7264         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
7265         -1 as normal element in sum instead of special-casing based on
7266         values of arguments.
7267         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
7268         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
7269         (__x2y2m1): Update comment.
7270         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
7271         as normal element in sum instead of special-casing based on values
7272         of arguments.
7273         * math/s_clog.c (__clog): Handle more cases using log1p without
7274         hypot.
7275         * math/s_clog10.c (__clog10): Likewise.
7276         * math/s_clog10f.c (__clog10f): Likewise.
7277         * math/s_clog10l.c (__clog10l): Likewise.
7278         * math/s_clogf.c (__clogf): Likewise.
7279         * math/s_clogl.c (__clogl): Likewise.
7280         * math/auto-libm-test-in: Add more tests of clog and clog10.
7281         * math/auto-libm-test-out: Regenerated.
7282         * sysdeps/i386/fpu/libm-test-ulps: Update.
7283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7285 2015-09-28  Martin Sebor  <msebor@redhat.com>
7287         [BZ #18969]
7288         * string/Makefile (LOCALES): Define.
7289         (gen-locales.mk): Include.
7290         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
7291         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
7292         * string/tst-strxfrm2.c (do_test): Print the name of the locale
7293         on setlocale failure.
7295 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7297         [BZ #18985]
7298         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
7299         (__strftime_internal): Likewise.
7300         * time/tst-strftime.c (do_bz18985): New test.
7301         (do_test): Call it.
7303 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
7305         [BZ #18956]
7306         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
7307         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
7308         extracting high part.
7309         * math/auto-libm-test-in: Add another test of pow.
7310         * math/auto-libm-test-out: Regenerated.
7311         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7313 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7315         [BZ #18825]
7316         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
7317         New macro.
7318         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
7319         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7320         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
7321         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
7322         DBL_NARROW_EVAL, reloading the PIC register as needed.
7323         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
7324         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
7325         FLT_NARROW_EVAL.  Use separate return path for case when first
7326         argument is NaN.
7327         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
7328         DEFINE_LDBL_MIN.
7329         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
7330         PIC register.
7331         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
7332         math_check_force_underflow_nonneg.
7333         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
7334         underflow for subnormal result.
7335         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7336         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
7337         math_check_force_underflow_nonneg.
7338         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
7339         math_check_force_underflow.
7340         * sysdeps/x86_64/fpu/x86_64-math-asm.h
7341         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
7342         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
7343         DEFINE_LDBL_MIN.
7344         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
7345         * math/auto-libm-test-in: Add more tests of pow.
7346         * math/auto-libm-test-out: Regenerated.
7348 2015-09-25  Florian Weimer  <fweimer@redhat.com>
7350         * nss/bug17079.c (init_test_items): Add diagnostic for
7351         inconsistent entries.
7352         (test_buffer_size): Skip inconsistent entries.
7354 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7356         [BZ #13304]
7357         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
7358         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
7359         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
7361         [BZ #13304]
7362         * sysdeps/microblaze/s_fma.c: New file.
7363         * sysdeps/microblaze/s_fmaf.c: Likewise.
7364         * sysdeps/microblaze/sfp-machine.h: Likewise.
7366 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
7368         [BZ #17250]
7369         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
7370         member.
7372 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7374         [BZ #18803]
7375         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
7376         (MO): New macro.
7377         (__ieee754_hypot) [PIC]: Load PIC register.
7378         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
7379         DBL_NARROW_EVAL.
7380         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
7381         math_check_force_underflow_nonneg in case where result might be
7382         tiny.
7383         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7384         Likewise.
7385         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7386         Likewise.
7387         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7388         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
7389         * math/auto-libm-test-in: Add more tests of hypot.
7390         * math/auto-libm-test-out: Regenerated.
7392 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
7394         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
7396 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7398         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
7399         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
7400         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7401         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7402         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
7403         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7404         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7406         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
7407         LOAD_PIC_REG.
7409         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
7410         (FLT_CHECK_FORCE_UFLOW): Likewise.
7411         (DBL_CHECK_FORCE_UFLOW): Likewise.
7412         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
7413         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
7414         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
7415         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7416         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7417         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7418         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7419         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7420         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
7421         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7422         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
7423         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
7424         (flt_min): Replace with use of DEFINE_FLT_MIN.
7425         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
7426         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
7427         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7428         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
7429         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
7430         (flt_min): Replace with use of DEFINE_FLT_MIN.
7431         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
7432         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
7433         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7434         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
7435         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
7436         (flt_min): Replace with use of DEFINE_FLT_MIN.
7437         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
7438         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
7439         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7440         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7441         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
7442         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7443         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7444         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
7445         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7446         (__atan): Use DBL_CHECK_FORCE_UFLOW.
7447         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
7448         (flt_min): Replace with use of DEFINE_FLT_MIN.
7449         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
7450         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
7451         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7452         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
7453         main computation.
7454         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
7455         (flt_min): Replace with use of DEFINE_FLT_MIN.
7456         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
7457         main computation.
7458         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
7459         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7460         (MO): New macro.
7461         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
7462         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
7463         (flt_min): Replace with use of DEFINE_FLT_MIN.
7464         (MO): New macro.
7465         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
7466         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
7467         (__log1pl): Use MO.
7469         [BZ #19003]
7470         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
7471         $(config-cflags-nofma).
7473 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7475         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7477 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
7479         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
7480         (TWO127): Likewise.
7482         * sysdeps/generic/math_private.h (fabs_tg): New macro.
7483         (min_of_type): Likewise.
7484         (math_check_force_underflow): Likewise.
7485         (math_check_force_underflow_nonneg): Likewise.
7486         (math_check_force_underflow_complex): Likewise.
7487         * math/e_exp2l.c (__ieee754_exp2l): Use
7488         math_check_force_underflow_nonneg.
7489         * math/k_casinh.c (__kernel_casinh): Likewise.
7490         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7491         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7492         * math/s_catan.c (__catan): Use
7493         math_check_force_underflow_complex.
7494         * math/s_catanf.c (__catanf): Likewise.
7495         * math/s_catanh.c (__catanh): Likewise.
7496         * math/s_catanhf.c (__catanhf): Likewise.
7497         * math/s_catanhl.c (__catanhl): Likewise.
7498         * math/s_catanl.c (__catanl): Likewise.
7499         * math/s_ccosh.c (__ccosh): Likewise.
7500         * math/s_ccoshf.c (__ccoshf): Likewise.
7501         * math/s_ccoshl.c (__ccoshl): Likewise.
7502         * math/s_cexp.c (__cexp): Likewise.
7503         * math/s_cexpf.c (__cexpf): Likewise.
7504         * math/s_cexpl.c (__cexpl): Likewise.
7505         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
7506         * math/s_clog10.c (__clog10): Likewise.
7507         * math/s_clog10f.c (__clog10f): Likewise.
7508         * math/s_clog10l.c (__clog10l): Likewise.
7509         * math/s_clogf.c (__clogf): Likewise.
7510         * math/s_clogl.c (__clogl): Likewise.
7511         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
7512         * math/s_csinf.c (__csinf): Likewise.
7513         * math/s_csinh.c (__csinh): Likewise.
7514         * math/s_csinhf.c (__csinhf): Likewise.
7515         * math/s_csinhl.c (__csinhl): Likewise.
7516         * math/s_csinl.c (__csinl): Likewise.
7517         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
7518         * math/s_csqrtf.c (__csqrtf): Likewise.
7519         * math/s_csqrtl.c (__csqrtl): Likewise.
7520         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
7521         * math/s_ctanf.c (__ctanf): Likewise.
7522         * math/s_ctanh.c (__ctanh): Likewise.
7523         * math/s_ctanhf.c (__ctanhf): Likewise.
7524         * math/s_ctanhl.c (__ctanhl): Likewise.
7525         * math/s_ctanl.c (__ctanl): Likewise.
7526         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
7527         instead of volatile.
7528         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
7529         math_check_force_underflow.
7530         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7531         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
7532         volatile when forcing underflow.
7533         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7534         math_check_force_underflow_nonneg.
7535         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7536         Likewise.
7537         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
7538         math_check_force_underflow.
7539         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7540         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7541         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7542         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
7543         math_check_force_underflow_nonneg.
7544         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
7545         math_check_force_underflow.
7546         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7547         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
7548         instead of volatile.
7549         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
7550         math_check_force_underflow.
7551         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7552         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7553         math_check_force_underflow_nonneg.
7554         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
7555         math_check_force_underflow.
7556         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
7557         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7558         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
7559         math_check_force_underflow_nonneg.
7560         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7561         Likewise.
7562         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
7563         math_check_force_underflow.
7564         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7565         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7566         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7567         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
7568         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7569         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
7570         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7571         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7572         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7573         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
7574         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
7575         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7576         Likewise.
7577         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
7578         math_check_force_underflow_nonneg.
7579         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7580         Likewise.
7581         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
7582         math_check_force_underflow.
7583         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7584         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7585         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7586         Likewise.
7587         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7588         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
7589         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
7590         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
7591         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
7592         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7593         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
7594         instead of volatile.
7595         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
7596         math_check_force_underflow.
7597         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7598         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
7599         math_check_force_underflow.
7600         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
7601         Likewise.
7602         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7603         Use math_check_force_underflow_nonneg.
7604         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7605         math_check_force_underflow.
7606         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7607         Likewise.
7608         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7609         Likewise.
7610         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7611         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7612         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7613         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7614         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7615         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7616         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7617         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7618         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7619         math_check_force_underflow_nonneg.
7620         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7621         math_check_force_underflow.
7622         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7623         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7624         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7625         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7626         math_check_force_underflow_nonneg.
7627         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7628         math_check_force_underflow.
7629         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7630         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7631         instead of volatile.
7632         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7633         math_check_force_underflow.
7635         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7636         * stdlib/strtod_l.c: Include <math_private.h>.
7637         (overflow_value): Use math_narrow_eval.
7638         (underflow_value): Likewise.
7639         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7640         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7641         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7642         (__ieee754_gamma_r): Likewise.
7643         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7644         Likewise.
7645         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7646         Likewise.
7647         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7648         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7649         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7650         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7651         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7652         (__ieee754_gammaf_r): Likewise.
7653         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7654         Likewise.
7655         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7656         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7657         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7658         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7659         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7660         volatile.
7661         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7662         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7663         math_narrow_eval.
7664         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7665         Likewise.
7666         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7667         Likewise.
7668         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7669         Likewise.
7670         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7671         volatile.
7672         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7673         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7674         math_narrow_eval.
7675         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7676         Likewise.
7677         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7678         Likewise.
7680 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
7682         * nptl/Versions: Remove ignored symbols.
7684 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7686         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
7687         * nss/Makefile (tests): Update.
7689 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7691         * nss/bug18287.c: New file.
7692         * nss/Makefile (tests): Add bug18287.
7694 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7696         * mach/Versions (__mach_host_self_): Add symbol.
7698 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7700         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7701         vm_page_size.
7703 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7705         Really fix sysdeps/i386/fpu/s_scalbn.S build
7707         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7708         (libc: GLIBC_2_22): Remove unused version set.
7710 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7712         * config.make.in (enable-timezone-tools): New variable.
7713         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7714         (enable_timezone_tools): Export to generated files.
7715         * configure: Regenerate.
7716         * INSTALL: Regenerate.
7717         * manual/install.texi (--disable-timezone-tools): Document new flag.
7718         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7719         ifeq ($(enable-timezone-tools),yes) check.
7721 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7723         * timezone/Makefile: Revert previous change.
7725         [BZ #18980]
7726         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7727         (DEFINE_DBL_MIN): Likewise.
7728         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7729         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7730         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7731         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7732         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7733         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7734         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7735         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7736         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7737         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7738         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7739         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7740         (flt_min): Replace with use of DEFINE_FLT_MIN.
7741         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7742         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7743         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7744         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7745         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7746         (flt_min): Replace with use of DEFINE_FLT_MIN.
7747         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7748         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7749         (flt_min): Replace with use of DEFINE_FLT_MIN.
7750         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7751         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7752         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7753         (__ieee754_hypot): Use DBL_NARROW_EVAL.
7754         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7755         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7756         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7757         (__ieee754_pow): Use DBL_NARROW_EVAL.
7758         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
7759         (__ieee754_powf): Use FLT_NARROW_EVAL.
7760         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
7761         (__ieee754_expf_sse2): Convert double-precision result to single
7762         precision.
7763         * sysdeps/i386/fpu/libm-test-ulps: Update.
7765 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7767         * timezone/Makefile: Ignore unused variable errors due to private.h
7768         (time_t_min) and (time_t_max).
7769         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
7770         Likewise.
7772 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7774         [BZ #18981]
7775         * sysdeps/i386/fpu/i386-math-asm.h: New file.
7776         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
7777         (__ieee754_scalb): Use DBL_NARROW_EVAL.
7778         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
7779         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
7780         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
7781         (__scalbn): Use DBL_NARROW_EVAL.
7782         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
7783         (__scalbnf): Use FLT_NARROW_EVAL.
7785 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7787         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
7788         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
7789         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
7790         * stdio-common/printf_fp.c (___printf_fp):
7791         Use signbit to get the sign. Use isinf macro to allow inlining.
7792         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
7793         * stdio-common/printf_size.c (__printf_size): Likewise.
7795 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7797         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
7799 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7801         [BZ #18980]
7802         * sysdeps/generic/math_private.h: Include <float.h>.
7803         (math_narrow_eval): New macro.
7804         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7805         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
7806         math_narrow_eval on overflowing return value.
7807         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
7808         Likewise.
7809         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7810         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
7811         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
7812         Likewise.
7813         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7815 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7817         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
7818         * math/Makefile: Remove isinf_ns.c.
7819         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
7820         * math/multc3.c (__multc3): Likewise.
7821         * math/s_casin.c (__casin): Likewise.
7822         * math/s_casinf.c (__casinf): Likewise.
7823         * math/s_casinl.c (__casinl): Likewise.
7824         * math/s_cproj.c (__cproj): Likewise.
7825         * math/s_cprojf.c (__cprojf): Likewise.
7826         * math/s_cprojl.c (__cprofl): Likewise.
7827         * math/s_ctan.c (__ctan): Likewise.
7828         * math/s_ctanf.c (__ctanf): Likewise.
7829         * math/s_ctanh.c (__ctanh): Likewise.
7830         * math/s_ctanhf.c (__ctanhf): Likewise.
7831         * math/s_ctanhl.c (__ctanhl): Likewise.
7832         * math/s_ctanl.c (__ctanl): Likewise.
7833         * math/w_fmod.c (__fmod): Likewise.
7834         * math/w_fmodf.c (__fmodf): Likewise.
7835         * math/w_fmodl.c (_fmodl): Likewise.
7836         * math/w_remainder.c (__remainder): Likewise.
7837         * math/w_remainderf.c (__remainderf): Likewise.
7838         * math/w_remainderl.c (__remainderl): Likewise.
7839         * math/w_scalb.c (__scalb): Likewise.
7840         * math/w_scalbf.c (__scalbf): Likewise.
7841         * math/w_scalbl.c (__scalbl): Likewise.
7842         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
7843         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
7844         with isinf.
7845         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
7846         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
7847         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
7848         __isinf_nsf with isinf.
7849         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
7850         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
7851         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
7852         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
7853         with isinf.
7854         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
7855         __isinf_nsl with isinf.
7856         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
7857         with isinf.
7858         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
7859         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
7860         __isinf_nsl with isinf.
7861         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
7862         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
7863         with isinf.
7865 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7867         * resolv/base64.c (rcsid): Remove unused static.
7868         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
7869         static.  (tqpi1): Likewise.
7870         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
7871         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
7872         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
7873         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
7874         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
7875         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
7876         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
7877         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
7878         Likewise.
7880 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
7882         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
7883         <nptl/pthreadP.h>.
7884         (_longjmp_unwind): Use __libc_ptf_call.
7885         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
7887 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
7889         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
7890         * sysdeps/arm/__longjmp.S: Likewise.
7892 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7894         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
7895         Use __builtin_signbit.
7896         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
7897         Use __builtin_signbitf.
7898         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
7899         Use __builtin_signbitl.
7900         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7901         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
7903 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7905         [BZ #15367]
7906         [BZ #17441]
7908         * math/Makefile: Build test-snan.c with -fsignaling-nans.
7909         * math/math.h (fpclassify): Use __builtin_fpclassify when
7910         available.  (signbit): Use __builtin_signbit(f/l).
7911         (isfinite): Use__builtin_isfinite.  (isnormal): Use
7912         __builtin_isnormal.  (isnan): Use __builtin_isnan.
7913         (isinf): Use __builtin_isinf_sign.
7915 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7917         * benchtests/Makefile: Add bench-math-inlines, link with libm.
7918         * benchtests/bench-math-inlines.c: New benchmark.
7919         * benchtests/bench-util.h: New file.
7920         * benchtests/bench-util.c: New file.
7921         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
7923 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
7925         * elf/tst-dlmopen1.c: Define TEST_SO.
7926         (do_test): Use TEST_SO.
7928         * elf/dl-load.c: Include libc-internal.h.
7929         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
7931 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7933         [BZ #17887]
7934         * time/strptime_l.c (__strptime_internal): Make %z accept
7935         [+-]HH:MM time zones.
7937 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7939         [BZ #17886]
7940         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
7941         valid time zone.
7943 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
7945         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
7946         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
7947         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7948         (__ASSUME_FDATASYNC): Delete.
7950 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7952         * conform/linknamespace.pl: Require weak undefined symbols to be
7953         in the standard namespace.
7954         (%strong_syms): Rename to %seen_syms.
7955         (%strong_seen): Rename to %seen_where.
7957 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
7959         [BZ #18970]
7960         * misc/error.c (error): Replace pthread_setcancelstate with
7961         __pthread_setcancelstate.
7962         (error_at_line): Likewise.
7963         * posix/wordexp.c (parse_comm): Likewise.
7964         * stdlib/fmtmsg.c (fmtmsg): Likewise.
7965         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
7966         (__pthread_setcancelstate): This.
7967         (pthread_setcancelstate): Add an alias.
7968         * nptl/nptl-init.c (pthread_functions): Replace
7969         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
7970         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
7971         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
7972         hidden_proto.
7973         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
7974         it with hidden_def.
7975         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
7976         (pthread_setcancelstate): Renamed to ...
7977         (__pthread_setcancelstate): This.
7978         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
7979         __libc_ptf_call with __pthread_setcancelstate.
7981 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7982             Andreas Schwab  <schwab@suse.de>
7984         [BZ #17118]
7985         * math/s_ctan.c (__ctan): Determine sign of zero real part of
7986         result when imaginary part of argument is infinite using sine and
7987         cosine.
7988         * math/s_ctanf.c (__ctanf): Likewise.
7989         * math/s_ctanl.c (__ctanl): Likewise.
7990         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
7991         of result when real part of argument is infinite using sine and
7992         cosine.
7993         * math/s_ctanhf.c (__ctanhf): Likewise.
7994         * math/s_ctanhl.c (__ctanhl): Likewise.
7995         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
7996         (ctanh_test_data): Add more tests of ctanh.
7998 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8000         [BZ #15384]
8001         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
8002         bit-mask as in subtraction.
8003         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
8004         Likewise.
8005         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8006         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8007         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
8009         [BZ #18951]
8010         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
8011         underflow exception for small results.
8012         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8013         Likewise.
8014         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8015         Likewise.
8016         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8017         Likewise.
8018         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8019         Likewise.
8020         * math/auto-libm-test-in: Add more tests of tgamma.
8021         * math/auto-libm-test-out: Regenerated.
8023 2015-09-17  Andreas Schwab  <schwab@suse.de>
8025         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
8027 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8029         [BZ #18977]
8030         * math/bits/mathcalls.h
8031         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
8032         not declare.
8033         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
8034         Likewise.
8035         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
8036         Likewise.
8037         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
8038         Likewise.
8039         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
8040         Likewise.
8041         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
8042         Likewise.
8043         * conform/data/math.h-data
8044         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
8045         function.
8046         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
8047         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
8048         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
8049         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
8050         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
8051         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
8052         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
8053         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
8054         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
8055         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
8056         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
8058         [BZ #6803]
8059         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
8060         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
8061         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
8062         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
8063         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
8064         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
8065         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
8066         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
8067         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8068         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
8069         Likewise.
8070         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8071         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
8072         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
8073         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
8074         long_double_symbol calls.
8075         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
8076         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
8077         strong alias of __ldexpl.
8078         (scalbnl): Define using long_double_symbol.
8079         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
8080         Remove alias.
8081         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
8082         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
8083         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
8084         (scalbln_test_data): Add more errno expectations.
8086 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
8088         Cache the host port like we cache the task port.  This way we do not
8089         need to call the kernel just to get the port.  Furthermore, we no
8090         longer increase the reference count on every invocation of
8091         `mach_host_self'.
8093         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
8094         Protect declarations against the macro expansion.
8095         * mach/mach_init.c (__mach_host_self_): New variable.
8096         (mach_init): Initialize `__mach_host_self_'.
8097         * mach/mach_init.h (__mach_host_self_): New declaration.
8098         (__mach_host_self, mach_host_self): New macros.
8099         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
8100         Release reference.
8102 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8104         [BZ #4404]
8105         * po/de.po: Update from Translation Project.
8107         [BZ #16415]
8108         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
8109         (__expm1l): Remove code to handle positive infinity and overflow.
8110         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
8111         variable.
8112         (__expm1l): Remove code to handle positive infinity and overflow.
8114 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
8115             Paul Pluzhnikov  <ppluzhnikov@google.com>
8117         [BZ #18872]
8118         * stdio-common/Makefile (tst-printf-bz18872): New test.
8119         (tst-printf-bz18872-mem.out): Likewise.
8120         * stdio-common/tst-printf-bz18872.sh: Generate new test.
8121         * stdio-common/vfprintf.c: Fix memory leaks.
8123 2015-09-16  Andreas Schwab  <schwab@suse.de>
8125         [BZ #17244]
8126         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
8127         Remove extra va_start/va_end calls.
8129         [BZ #17243]
8130         * posix/execl.c (execl): Add missing va_end.
8131         * posix/execle.c (execle): Likewise.
8132         * posix/execlp.c (execlp): Likewise.
8134 2015-09-15  Roland McGrath  <roland@hack.frob.com>
8136         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
8137         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
8139 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
8141         [BZ #18967]
8142         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
8143         undefine around includes of <bits/mathcalls.h>.
8144         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
8145         not declare function.
8146         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
8147         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
8148         (scalb): Likewise.
8149         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
8150         not define macro.
8151         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
8152         variable.
8153         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8154         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8155         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8157         [BZ #18857]
8158         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
8159         return non-finite argument without doing ordered comparisons on
8160         it.
8162         [BZ #16296]
8163         * math/fenv.h (fegetround): Use __attribute_pure__.
8164         * include/fenv.h (__fegetround): Likewise.
8166         [BZ #18595]
8167         * math/s_ctan.c (__ctan): Force underflow exception for results
8168         whose real or imaginary part has small absolute value.
8169         * math/s_ctanf.c (__ctanf): Likewise.
8170         * math/s_ctanh.c (__ctanh): Likewise.
8171         * math/s_ctanhf.c (__ctanhf): Likewise.
8172         * math/s_ctanhl.c (__ctanhl): Likewise.
8173         * math/s_ctanl.c (__ctanl): Likewise.
8174         * math/auto-libm-test-in: Do not allow missing underflow for ctan
8175         and ctanh.  Add more tests of ctan and ctanh.
8177         [BZ #15918]
8178         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
8179         handling of cases where one argument is an infinity.
8181         [BZ #18875]
8182         [BZ #18966]
8183         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
8184         (MO): New macro.
8185         (__ieee754_exp10): For small results, force underflow exception
8186         and remove excess range and precision from return value.
8187         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
8188         (MO): New macro.
8189         (__ieee754_exp10f): For small results, force underflow exception
8190         and remove excess range and precision from return value.
8191         * math/auto-libm-test-in: Add more tests of exp10.
8192         * math/auto-libm-test-out: Regenerated.
8194 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
8196         [BZ #18875]
8197         [BZ #18961]
8198         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
8199         (MO): New macro.
8200         (__ieee754_exp): For small results, force underflow exception and
8201         remove excess range and precision from return value.
8202         (__exp_finite): Likewise.
8203         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
8204         (MO): New macro.
8205         (__ieee754_expf): For small results, force underflow exception and
8206         remove excess range and precision from return value.
8207         (__expf_finite): Likewise.
8208         * math/auto-libm-test-in: Add more tests of exp.
8209         * math/auto-libm-test-out: Regenerated.
8211         [BZ #16521]
8212         [BZ #18875]
8213         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
8214         small results.
8215         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
8216         (MO): New macro.
8217         (__ieee754_exp2): For small results, force underflow exception and
8218         remove excess range and precision from return value.
8219         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
8220         (MO): New macro.
8221         (__ieee754_exp2f): For small results, force underflow exception
8222         and remove excess range and precision from return value.
8223         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
8224         (MO): New macro.
8225         (__ieee754_exp2l): Force underflow exception for small results.
8226         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8227         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8228         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
8229         (MO): New macro.
8230         (__ieee754_exp2l): Force underflow exception for small results.
8231         * math/auto-libm-test-in: Add more tests or exp2.
8232         * math/auto-libm-test-out: Regenerated.
8234 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
8236         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
8238         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
8239         /dev/null.
8241 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8243         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8244         io fs process)): Drop spurious backslash.
8246 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8248         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
8249         Use sysinfo system call instead of parsing /proc/meminfo.
8250         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
8251         Likewise.
8253 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
8255         [BZ #16985]
8256         * programs/localedef.c (main): Display argv[remaining] when
8257         output_path is NULL.
8259 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8261         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8262         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
8263         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
8264         tanh.
8265         * math/auto-libm-test-out: Regenerated.
8266         * sysdeps/i386/fpu/libm-test-ulps: Update.
8267         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8268         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8271 2015-09-11  Roland McGrath  <roland@hack.frob.com>
8273         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
8274         Use 'override' keyword to freeze the value here, preventing
8275         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
8277 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8279         [BZ #14912]
8280         * sysdeps/aarch64/bits/atomic.h: Move to ...
8281         * sysdeps/aarch64/atomic-machine.h: ...here.
8282         (_AARCH64_BITS_ATOMIC_H): Rename macro to
8283         _AARCH64_ATOMIC_MACHINE_H.
8284         * sysdeps/alpha/bits/atomic.h: Move to ...
8285         * sysdeps/alpha/atomic-machine.h: ...here.
8286         * sysdeps/arm/bits/atomic.h: Move to ...
8287         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
8288         * bits/atomic.h: Move to ...
8289         * sysdeps/generic/atomic-machine.h: ...here.
8290         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8291         * sysdeps/i386/bits/atomic.h: Move to ...
8292         * sysdeps/i386/atomic-machine.h: ...here.
8293         * sysdeps/ia64/bits/atomic.h: Move to ...
8294         * sysdeps/ia64/atomic-machine.h: ...here.
8295         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
8296         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
8297         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8298         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
8299         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
8300         * sysdeps/microblaze/bits/atomic.h: Move to ...
8301         * sysdeps/microblaze/atomic-machine.h: ...here.
8302         * sysdeps/mips/bits/atomic.h: Move to ...
8303         * sysdeps/mips/atomic-machine.h: ...here.
8304         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
8305         * sysdeps/powerpc/bits/atomic.h: Move to ...
8306         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
8307         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
8308         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
8309         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
8310         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
8311         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
8312         <atomic-machine.h> instead of <bits/atomic.h>.
8313         * sysdeps/s390/bits/atomic.h: Move to ...
8314         * sysdeps/s390/atomic-machine.h: ...here.
8315         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
8316         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
8317         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8318         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
8319         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
8320         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
8321         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
8322         * sysdeps/tile/bits/atomic.h: Move to ...
8323         * sysdeps/tile/atomic-machine.h: ...here.
8324         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
8325         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
8326         <sysdeps/tile/atomic-machine.h> instead of
8327         <sysdeps/tile/bits/atomic.h>.
8328         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8329         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
8330         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
8331         <sysdeps/tile/atomic-machine.h> instead of
8332         <sysdeps/tile/bits/atomic.h>.
8333         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8334         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
8335         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
8336         <sysdeps/arm/atomic-machine.h> instead of
8337         <sysdeps/arm/bits/atomic.h>.
8338         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
8339         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
8340         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8341         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
8342         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
8343         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8344         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
8345         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
8346         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
8347         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
8348         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
8349         * sysdeps/x86_64/bits/atomic.h: Move to ...
8350         * sysdeps/x86_64/atomic-machine.h: ...here.
8351         * include/atomic.h: Include <atomic-machine.h> instead of
8352         <bits/atomic.h>.
8354         * sysdeps/mips/mips32/libm-test-ulps: Update.
8355         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8357         [BZ #18952]
8358         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
8359         not convert non-integer negative arguments to int to determine the
8360         value of signgam.
8361         * math/auto-libm-test-in: Add more tests of lgamma.
8362         * math/auto-libm-test-out: Regenerated.
8364         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
8365         cosh, csqrt, erfc, expm1 and lgamma.
8366         * math/auto-libm-test-out: Regenerated.
8367         * sysdeps/i386/fpu/libm-test-ulps: Update.
8368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8370 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
8372         [BZ #2542]
8373         [BZ #2543]
8374         [BZ #2558]
8375         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
8376         __lgamma_neg for arguments from -28.0 to -2.0.
8377         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
8378         __lgamma_negf for arguments from -15.0 to -2.0.
8379         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8380         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
8381         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
8382         Call __lgamma_negl for arguments from -33.0 to -2.0.
8383         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
8384         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8385         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8386         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
8387         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8388         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8389         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8390         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
8391         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8392         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8393         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
8394         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
8395         (__lgamma_neg): Likewise.
8396         (__lgamma_negl): Likewise.
8397         (__lgamma_product): Likewise.
8398         (__lgamma_productl): Likewise.
8399         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
8400         * math/auto-libm-test-in: Add more tests of lgamma.
8401         * math/auto-libm-test-out: Regenerated.
8402         * sysdeps/i386/fpu/libm-test-ulps: Update.
8403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8405 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
8407         [BZ #18675]
8408         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
8410 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
8412         [BZ #14912]
8413         * bits/libc-lock.h: Move to ...
8414         * sysdeps/generic/libc-lock.h: ...here.
8415         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8416         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
8417         * sysdeps/mach/hurd/libc-lock.h: ...here.
8418         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8419         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
8420         * sysdeps/mach/bits/libc-lock.h: Move to ...
8421         * sysdeps/mach/libc-lock.h: ...here.
8422         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8423         * sysdeps/nptl/bits/libc-lock.h: Move to ...
8424         * sysdeps/nptl/libc-lock.h: ...here.
8425         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8426         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
8427         * sysdeps/nptl/libc-lockP.h: ...here.
8428         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
8429         * crypt/crypt_util.c: Include <libc-lock.h> instead of
8430         <bits/libc-lock.h>.
8431         * dirent/scandir-tail.c: Likewise.
8432         * dlfcn/dlerror.c: Likewise.
8433         * elf/dl-close.c: Likewise.
8434         * elf/dl-iteratephdr.c: Likewise.
8435         * elf/dl-lookup.c: Likewise.
8436         * elf/dl-open.c: Likewise.
8437         * elf/dl-support.c: Likewise.
8438         * elf/dl-writev.h: Likewise.
8439         * elf/rtld.c: Likewise.
8440         * grp/fgetgrent.c: Likewise.
8441         * gshadow/fgetsgent.c: Likewise.
8442         * gshadow/sgetsgent.c: Likewise.
8443         * iconv/gconv_conf.c: Likewise.
8444         * iconv/gconv_db.c: Likewise.
8445         * iconv/gconv_dl.c: Likewise.
8446         * iconv/gconv_int.h: Likewise.
8447         * iconv/gconv_trans.c: Likewise.
8448         * include/link.h: Likewise.
8449         * inet/getnameinfo.c: Likewise.
8450         * inet/getnetgrent.c: Likewise.
8451         * inet/getnetgrent_r.c: Likewise.
8452         * intl/bindtextdom.c: Likewise.
8453         * intl/dcigettext.c: Likewise.
8454         * intl/finddomain.c: Likewise.
8455         * intl/gettextP.h: Likewise.
8456         * intl/loadmsgcat.c: Likewise.
8457         * intl/localealias.c: Likewise.
8458         * intl/textdomain.c: Likewise.
8459         * libidn/idn-stub.c: Likewise.
8460         * libio/libioP.h: Likewise.
8461         * locale/duplocale.c: Likewise.
8462         * locale/freelocale.c: Likewise.
8463         * locale/newlocale.c: Likewise.
8464         * locale/setlocale.c: Likewise.
8465         * login/getutent_r.c: Likewise.
8466         * login/getutid_r.c: Likewise.
8467         * login/getutline_r.c: Likewise.
8468         * login/utmp-private.h: Likewise.
8469         * login/utmpname.c: Likewise.
8470         * malloc/mtrace.c: Likewise.
8471         * misc/efgcvt.c: Likewise.
8472         * misc/error.c: Likewise.
8473         * misc/fstab.c: Likewise.
8474         * misc/getpass.c: Likewise.
8475         * misc/mntent.c: Likewise.
8476         * misc/syslog.c: Likewise.
8477         * nis/nis_call.c: Likewise.
8478         * nis/nis_callback.c: Likewise.
8479         * nis/nss-default.c: Likewise.
8480         * nis/nss_compat/compat-grp.c: Likewise.
8481         * nis/nss_compat/compat-initgroups.c: Likewise.
8482         * nis/nss_compat/compat-pwd.c: Likewise.
8483         * nis/nss_compat/compat-spwd.c: Likewise.
8484         * nis/nss_nis/nis-alias.c: Likewise.
8485         * nis/nss_nis/nis-ethers.c: Likewise.
8486         * nis/nss_nis/nis-grp.c: Likewise.
8487         * nis/nss_nis/nis-hosts.c: Likewise.
8488         * nis/nss_nis/nis-network.c: Likewise.
8489         * nis/nss_nis/nis-proto.c: Likewise.
8490         * nis/nss_nis/nis-pwd.c: Likewise.
8491         * nis/nss_nis/nis-rpc.c: Likewise.
8492         * nis/nss_nis/nis-service.c: Likewise.
8493         * nis/nss_nis/nis-spwd.c: Likewise.
8494         * nis/nss_nisplus/nisplus-alias.c: Likewise.
8495         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8496         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8497         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8498         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
8499         * nis/nss_nisplus/nisplus-network.c: Likewise.
8500         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8501         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8502         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8503         * nis/nss_nisplus/nisplus-service.c: Likewise.
8504         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8505         * nis/ypclnt.c: Likewise.
8506         * nptl/libc_pthread_init.c: Likewise.
8507         * nss/getXXbyYY.c: Likewise.
8508         * nss/getXXent.c: Likewise.
8509         * nss/getXXent_r.c: Likewise.
8510         * nss/nss_db/db-XXX.c: Likewise.
8511         * nss/nss_db/db-netgrp.c: Likewise.
8512         * nss/nss_db/nss_db.h: Likewise.
8513         * nss/nss_files/files-XXX.c: Likewise.
8514         * nss/nss_files/files-alias.c: Likewise.
8515         * nss/nsswitch.c: Likewise.
8516         * posix/regex_internal.h: Likewise.
8517         * posix/wordexp.c: Likewise.
8518         * pwd/fgetpwent.c: Likewise.
8519         * resolv/res_hconf.c: Likewise.
8520         * resolv/res_libc.c: Likewise.
8521         * shadow/fgetspent.c: Likewise.
8522         * shadow/lckpwdf.c: Likewise.
8523         * shadow/sgetspent.c: Likewise.
8524         * socket/opensock.c: Likewise.
8525         * stdio-common/reg-modifier.c: Likewise.
8526         * stdio-common/reg-printf.c: Likewise.
8527         * stdio-common/reg-type.c: Likewise.
8528         * stdio-common/vfprintf.c: Likewise.
8529         * stdio-common/vfscanf.c: Likewise.
8530         * stdlib/abort.c: Likewise.
8531         * stdlib/cxa_atexit.c: Likewise.
8532         * stdlib/fmtmsg.c: Likewise.
8533         * stdlib/random.c: Likewise.
8534         * stdlib/setenv.c: Likewise.
8535         * string/strsignal.c: Likewise.
8536         * sunrpc/auth_none.c: Likewise.
8537         * sunrpc/bindrsvprt.c: Likewise.
8538         * sunrpc/create_xid.c: Likewise.
8539         * sunrpc/key_call.c: Likewise.
8540         * sunrpc/rpc_thread.c: Likewise.
8541         * sysdeps/arm/backtrace.c: Likewise.
8542         * sysdeps/generic/ldsodefs.h: Likewise.
8543         * sysdeps/generic/stdio-lock.h: Likewise.
8544         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
8545         * sysdeps/i386/backtrace.c: Likewise.
8546         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8547         * sysdeps/m68k/backtrace.c: Likewise.
8548         * sysdeps/mach/hurd/cthreads.c: Likewise.
8549         * sysdeps/mach/hurd/dirstream.h: Likewise.
8550         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8551         * sysdeps/nptl/malloc-machine.h: Likewise.
8552         * sysdeps/nptl/stdio-lock.h: Likewise.
8553         * sysdeps/posix/dirstream.h: Likewise.
8554         * sysdeps/posix/getaddrinfo.c: Likewise.
8555         * sysdeps/posix/system.c: Likewise.
8556         * sysdeps/pthread/aio_suspend.c: Likewise.
8557         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8558         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8559         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8560         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8561         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
8562         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
8563         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
8564         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8565         * sysdeps/unix/sysv/linux/system.c: Likewise.
8566         * sysdeps/x86_64/backtrace.c: Likewise.
8567         * time/alt_digit.c: Likewise.
8568         * time/era.c: Likewise.
8569         * time/tzset.c: Likewise.
8570         * wcsmbs/wcsmbsload.c: Likewise.
8571         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
8572         instead of <bits/libc-lock.h> in comment.
8574 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
8576         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
8577         Only use .set mips2 if the current ISA is below mips2.
8578         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
8579         Likewise.
8580         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
8581         mips32r2 if the current ISA is below mips32r2.
8582         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
8583         (TLS_IE): Updated to use the TLD_RDHWR macro.
8584         (TLS_LE): Likewise.
8585         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
8586         __ASSEMBLER__ condition.
8588 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8590         Fix parallel build of before-compile targets.
8592         * sysdeps/mach/Makefile ($(patsubst
8593         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
8594         mach-before-compile target.
8595         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8596         io fs process)): Move rule to dedicated hurd-before-compile target.
8598 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8600         Fix rules generating headers in hurd/ and mach/ when initial make call
8601         has subdir= explicitly set.
8603         * sysdeps/mach/Makefile ($(patsubst
8604         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8605         calling $(MAKE).
8606         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8607         io fs process)): Force subdir to hurd when calling $(MAKE).
8608         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8609         subdir to mach when calling $(MAKE).
8611 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
8613         Check sysheaders when looking for Mach and Hurd headers
8615         * sysdeps/mach/configure.ac: Add sysheaders check.
8616         * sysdeps/mach/configure: Regenerate.
8617         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8618         * sysdeps/mach/hurd/configure: Regenerate.
8620 2015-09-04  Roland McGrath  <roland@hack.frob.com>
8622         [BZ #18921]
8623         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8624         Fix inverted sense of test of 'o_directory_works' value.
8625         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8626         Bernhard Voelker <mail@bernhard-voelker.de>.
8628 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8630         [BZ #14912]
8631         * bits/linkmap.h: Move to ...
8632         * sysdeps/generic/linkmap.h: ...here.
8633         * sysdeps/aarch64/bits/linkmap.h: Move to ...
8634         * sysdeps/aarch64/linkmap.h: ...here.
8635         * sysdeps/arm/bits/linkmap.h: Move to ...
8636         * sysdeps/arm/linkmap.h: ...here.
8637         * sysdeps/hppa/bits/linkmap.h: Move to ...
8638         * sysdeps/hppa/linkmap.h: ...here.
8639         * sysdeps/ia64/bits/linkmap.h: Move to ...
8640         * sysdeps/ia64/linkmap.h: ...here.
8641         * sysdeps/mips/bits/linkmap.h: Move to ...
8642         * sysdeps/mips/linkmap.h: ...here.
8643         * sysdeps/s390/bits/linkmap.h: Move to ...
8644         * sysdeps/s390/linkmap.h: ...here.
8645         * sysdeps/sh/bits/linkmap.h: Move to ...
8646         * sysdeps/sh/linkmap.h: ...here.
8647         * sysdeps/x86/bits/linkmap.h: Move to ...
8648         * sysdeps/x86/linkmap.h: ...here.
8649         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8651 2015-09-04  Andreas Schwab  <schwab@suse.de>
8653         [BZ #18635]
8654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8655         (__makecontext): Terminate FDE before return label.
8656         (__novec_makecontext): Likewise.
8658 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8660         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8661         first member of struct sv in syscall macro.
8663 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8665         [BZ #14912]
8666         * bits/stdio-lock.h: Move to ...
8667         * sysdeps/generic/stdio-lock.h: ...here.
8668         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8669         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8670         * sysdeps/nptl/stdio-lock.h: ...here.
8671         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8672         * include/libio.h: Include <stdio-lock.h> instead of
8673         <bits/stdio-lock.h>.
8674         * sysdeps/nptl/fork.c: Likewise.
8675         * sysdeps/pthread/flockfile.c: Likewise.
8676         * sysdeps/pthread/ftrylockfile.c: Likewise.
8677         * sysdeps/pthread/funlockfile.c: Likewise.
8679         [BZ #14912]
8680         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8681         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8682         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8683         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8684         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8685         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8686         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8688 2015-09-03  Roland McGrath  <roland@hack.frob.com>
8690         * elf/Makefile (test-xfail-tst-protected1a): New variable.
8691         (test-xfail-tst-protected1b): New variable.
8693 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
8695         [BZ #14912]
8696         * bits/libc-tsd.h: Move to ...
8697         * sysdeps/generic/libc-tsd.h: ...here.
8698         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8699         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8700         * sysdeps/mach/hurd/libc-tsd.h: ...here.
8701         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8702         * include/ctype.h: Include <libc-tsd.h> instead of
8703         <bits/libc-tsd.h>.
8704         * include/rpc/rpc.h: Likewise.
8705         * locale/localeinfo.h: Likewise.
8706         * sunrpc/rpc_thread.c: Likewise.
8707         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8708         * sysdeps/nptl/malloc-machine.h: Likewise.
8710         * Makefile (headers): Remove bits/libc-lock.h.
8711         * libio/Makefile (headers): Remove bits/stdio-lock.h.
8713         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8714         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8715         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8716         <bits/stdio-lock.h>.
8717         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8718         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8720 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8722         [BZ #18757]
8723         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8724         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8725         BZ #18757.
8727 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8729         * malloc/mtrace.pl: Filter out NULL entries.
8731 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
8733         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8734         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8735         macro.
8737         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8738         (TCP_CC_INFO): Likewise.
8739         (TCP_SAVE_SYN): Likewise.
8740         (TCP_SAVED_SYN): Likewise.
8742 2015-08-31  Brett Neumeier <brett@neumeier.us>
8744         [BZ #18870]
8745         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8747 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
8749         [BZ #18873]
8750         Fix broken overflow check in posix_fallocate
8751         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8752         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8753         Fix parenthesization typo.
8755 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
8757         [BZ #18887]
8758         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
8759         tst-mntent-blank-passno.
8760         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
8761         * misc/tst-mntent-blank-corrupt.c: New test.
8762         * misc/tst-mntent-blank-passno.c: New test ripped from ...
8763         * misc/tst-mntent.c (do_test): ... here.
8765 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
8767         [BZ #4404]
8768         * po/de.po: Fix SIGALRM typo.
8770 2015-08-28  James Perkins  <james@loowit.net>
8772         * time/tst-strptime2.c (tests): Replace short list of test
8773         strings for strptime %z specifier with code which exhaustively
8774         tests every combination of sign and 0 to 5 digits. Tests for
8775         rejection of invalid strings.
8777 2015-08-28  James Perkins  <james@loowit.net>
8779         [BZ #16141]
8780         * time/strptime_l.c (__strptime_internal): Fix %z minutes
8781         calculation, removing incorrect decimal time rounding, so that
8782         all minute values result in a valid seconds value.
8783         * time/strptime_l.c (__strptime_internal): Extend %z time zone
8784         offset range limits to UTC-99:59 through UTC+99:59 to parse
8785         current and historical use cases.
8786         * time/tst-strptime2.c (tests): Modify and add tests for the
8787         strptime %z input field descriptor, specifically conversion of
8788         minutes to seconds and validating an offset range of -9959 to
8789         +9959.
8791 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8792             Dmitry V. Levin  <ldv@altlinux.org>
8794         [BZ #18877]
8795         * posix/Makefile (tests): Add tst-mmap-offset.
8796         * posix/tst-mmap.c: New file.
8797         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8798         offset calculation for negative values.
8800 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8802         * sysdeps/i386/init-arch.h: New file.
8803         * sysdeps/i386/i586/init-arch.h: Likewise.
8804         * sysdeps/i386/i686/init-arch.h: Likewise.
8805         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
8806         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
8807         * sysdeps/x86/cpu-features.h (bit_I586): New.
8808         (bit_I686): Likewise.
8809         (bit_CX8): Likewise.
8810         (bit_CMOV): Likewise.
8811         (index_CX8): Likewise.
8812         (index_CMOV): Likewise.
8813         (index_I586): Likewise.
8814         (index_I686): Likewise.
8815         (reg_CX8): Likewise.
8816         (reg_CMOV): Likewise.
8817         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
8818         available at compile-time.
8819         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
8820         available at compile-time.
8821         * sysdeps/x86/init-arch.h (USE_I586): New macro.
8822         (USE_I686): Likewise.
8824 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8826         * sysdeps/i386/bcopy.S: New file.
8827         * sysdeps/i386/bzero.S: Likewise.
8828         * sysdeps/i386/memcpy.S: Likewise.
8829         * sysdeps/i386/memmove.S: Likewise.
8830         * sysdeps/i386/mempcpy.S: Likewise.
8831         * sysdeps/i386/memset.S: Likewise.
8832         * sysdeps/i386/bzero.c: Removed.
8833         * sysdeps/i386/memset.c: Likewise.
8834         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
8835         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
8836         * sysdeps/i386/i586/memset_chk.S: Likewise.
8837         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
8838         * sysdeps/i386/memcpy_chk.S: Here.
8839         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
8840         * sysdeps/i386/memmove_chk.S: Here.
8841         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
8842         * sysdeps/i386/mempcpy_chk.S: Likewise.
8843         * sysdeps/i386/i686/memset_chk.S: Moved to ...
8844         * sysdeps/i386/memset_chk.S: Likewise.
8846 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
8848         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
8849         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
8850         file, move DIAG_POP_NEEDS_COMMENT to end of file.
8851         * soft-fp/fmadf4.c: Ditto.
8852         * soft-fp/fmatf4.c: Ditto.
8854 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8856         * sysdeps/i386/i586/Implies: Removed.
8857         * sysdeps/i386/i686/Implies: Likewise.
8859 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8861         * sysdeps/i386/i486/strlen.S: Moved to ...
8862         * sysdeps/i386/strlen.S: Here.
8864 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8866         * sysdeps/i386/i486/strcat.S: Moved to ...
8867         * sysdeps/i386/strcat.S: Here.
8869 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8871         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
8872         * sysdeps/i386/pthread_spin_trylock.S: Here.
8873         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
8874         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
8876 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8878         * sysdeps/i386/i486/string-inlines.c: Moved to ...
8879         * sysdeps/i386/string-inlines.c: Here.
8881 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8883         * sysdeps/i386/i486/htonl.S: Moved ...
8884         * sysdeps/i386/htonl.S: here.
8886 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8888         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
8889         * sysdeps/i386/bits/atomic.h: Here.
8891 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8893         * sysdeps/i386/i486/Versions: Removed.
8895 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8897         [BZ #2898]
8898         * misc/mktemp.c: Add mkdtemp to the link_warning message.
8899         Based on patch by Aurelien Jarno.
8901 2015-08-26  Stan Shebs  <stanshebs@google.com>
8903         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
8904         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8906 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8908         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
8909         * sysdeps/powerpc/dl-procinfo.c:
8910         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
8911         feature so it shows when LD_SHOW_AUXV=1.
8913 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8915         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8916         (__arch_compare_and_exchange_val_32_acq): Remove and use common
8917         definition.  ISA 2.07B no longer requires full sync.
8919 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
8921         [BZ #18863]
8922         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
8923         (si_call_addr): Define.
8924         (si_syscall): Define.
8925         (si_arch): Define.
8927 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
8929         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
8930         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
8931         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
8932         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8933         (__memset_zero_constant_len_parameter): New.
8934         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
8935         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8936         (__memset_zero_constant_len_parameter): Don't define if
8937         __memset_chk or USE_AS_BZERO are defined.
8939         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
8940         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
8941         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
8943         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
8944         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
8945         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
8946         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
8947         comments.
8948         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
8949         -mno-mmx for $(all-rtld-routines).
8950         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
8951         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
8952         i386.
8954 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8956         * sysdeps/generic/unwind.h
8957         (_Unwind_Word): Use __mode__(__unwind_word__)
8958         instead of __mode__(__word__).
8959         (_Unwind_Sword): Likewise.
8961         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8962         (MAX_NEEDED_INPUT): New define.
8963         (MAX_NEEDED_OUTPUT): New define.
8965         * NEWS: New item for IBM z13 string optimizations.
8967         * sysdeps/s390/multiarch/memrchr-c.c: New File.
8968         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
8969         * sysdeps/s390/multiarch/memrchr.c: Likewise.
8970         * sysdeps/s390/multiarch/Makefile
8971         (sysdep_routines): Add memrchr functions.
8972         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8973         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
8975         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
8976         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
8977         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
8978         * sysdeps/s390/multiarch/Makefile
8979         (sysdep_routines): Add wmemcmp functions.
8980         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8981         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
8982         * benchtests/bench-wmemcmp.c: New File.
8983         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
8985         * sysdeps/s390/multiarch/wmemset-c.c: New File.
8986         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
8987         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8988         * sysdeps/s390/multiarch/Makefile
8989         (sysdep_routines): Add wmemset functions.
8990         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8991         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
8992         * wcsmbs/wmemset.c: Use WMEMSET if defined.
8993         * string/test-memset.c: Add wmemset support.
8994         * wcsmbs/test-wmemset.c: New File.
8995         * wcsmbs/Makefile (strop-tests): Add wmemset.
8996         * benchtests/bench-memset.c: Add wmemset support.
8997         * benchtests/bench-wmemset.c: New File.
8998         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
9000         * sysdeps/s390/multiarch/memccpy-c.c: New File.
9001         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
9002         * sysdeps/s390/multiarch/memccpy.c: Likewise.
9003         * sysdeps/s390/multiarch/Makefile
9004         (sysdep_routines): Add memccpy functions.
9005         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9006         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
9007         * string/memccpy.c: Use MEMCCPY if defined.
9009         * sysdeps/s390/multiarch/memchr-vx.S: New File.
9010         * sysdeps/s390/multiarch/memchr.c: Likewise.
9011         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
9012         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
9013         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9014         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
9015         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
9016         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9017         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
9018         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9019         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
9020         and rawmemchr functions.
9021         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9022         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
9023         and wmemchr.
9024         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
9025         * string/test-memchr.c: Add wmemchr support.
9026         * wcsmbs/test-wmemchr.c: New File.
9027         * wcsmbs/Makefile (strop-tests): Add wmemchr.
9028         * benchtests/bench-memchr.c: Add wmemchr support.
9029         * benchtests/bench-wmemchr.c: New File.
9030         * benchtests/Makefile (wcsmbs-bench): wmemchr.
9032         * sysdeps/s390/multiarch/strcspn-c.c: New File.
9033         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
9034         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9035         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
9036         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
9037         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
9038         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
9039         wcscspn functions.
9040         * sysdeps/s390/multiarch/ifunc-impl-list.c
9041         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
9042         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
9043         * string/test-strcspn.c: Add wcscspn support.
9044         * wcsmbs/test-wcscspn.c: New File.
9045         * wcsmbs/Makefile (strop-tests): Add wcscspn.
9046         * benchtests/bench-strcspn.c: Add wcscspn support.
9047         * benchtests/bench-wcscspn.c: New File.
9048         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
9050         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
9051         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
9052         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9053         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
9054         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
9055         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9056         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
9057         wcspbrk functions.
9058         * sysdeps/s390/multiarch/ifunc-impl-list.c
9059         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
9060         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
9061         * string/test-strpbrk.c: Add wcspbrk support.
9062         * wcsmbs/test-wcspbrk.c: New File.
9063         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
9064         * benchtests/bench-strpbrk.c: Add wcspbrk support.
9065         * benchtests/bench-wcspbrk.c: New File.
9066         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
9068         * sysdeps/s390/multiarch/strspn-c.c: New File.
9069         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
9070         * sysdeps/s390/multiarch/strspn.c: Likewise.
9071         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
9072         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
9073         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9074         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
9075         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
9076         wcsspn functions.
9077         * sysdeps/s390/multiarch/ifunc-impl-list.c
9078         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
9079         * string/test-strspn.c: Add wcsspn support.
9080         * wcsmbs/test-wcsspn.c: New File.
9081         * wcsmbs/Makefile (strop-tests): Add wcsspn.
9082         * benchtests/bench-strspn.c: Add wcsspn support.
9083         * benchtests/bench-wcsspn.c: New File.
9084         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
9086         * sysdeps/s390/multiarch/strrchr-c.c: New File.
9087         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
9088         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9089         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
9090         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
9091         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
9092         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
9093         wcsrchr functions.
9094         * sysdeps/s390/multiarch/ifunc-impl-list.c
9095         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
9096         * benchtests/bench-wcsrchr.c: New File.
9097         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
9099         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
9100         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
9101         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
9102         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
9103         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
9104         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
9105         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
9106         wcschrnul functions.
9107         * sysdeps/s390/multiarch/ifunc-impl-list.c
9108         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
9109         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
9110         * string/test-strchr.c: Add wcschrnul support.
9111         * wcsmbs/test-wcschrnul.c: New File.
9112         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
9113         * benchtests/bench-strchr.c: Add wcschrnul support.
9114         * benchtests/bench-wcschrnul.c: New File.
9115         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
9117         * sysdeps/s390/multiarch/strchr-c.c: New File.
9118         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
9119         * sysdeps/s390/multiarch/strchr.c: Likewise.
9120         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
9121         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
9122         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9123         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
9124         wcschr functions.
9125         * sysdeps/s390/multiarch/ifunc-impl-list.c
9126         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
9127         * string/strchr.c (STRCHR): Define and use macro.
9128         * benchtests/bench-wcschr.c: New File.
9129         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
9131         * sysdeps/s390/multiarch/strncmp-c.c: New File.
9132         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
9133         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9134         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
9135         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
9136         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
9137         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
9138         wcsncmp functions.
9139         * sysdeps/s390/multiarch/ifunc-impl-list.c
9140         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
9141         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
9142         * benchtests/bench-strncmp.c: Add wcsncmp support.
9143         * benchtests/bench-wcsncmp.c: New File.
9144         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
9146         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
9147         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9148         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
9149         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
9150         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9151         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
9152         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9153         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
9154         wcscmp functions.
9155         * sysdeps/s390/multiarch/ifunc-impl-list.c
9156         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
9157         * string/strcmp.c (STRCMP): Define and use macro.
9158         * benchtests/bench-wcscmp.c: New File.
9159         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
9160         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
9161         instead of _HAVE_STRING_ARCH_memchr.
9163         * sysdeps/s390/multiarch/strncat-c.c: New File.
9164         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
9165         * sysdeps/s390/multiarch/strncat.c: Likewise.
9166         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
9167         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
9168         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
9169         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
9170         wcsncat functions.
9171         * sysdeps/s390/multiarch/ifunc-impl-list.c
9172         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
9173         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
9174         * string/test-strncat.c: Add wcsncat support.
9175         * wcsmbs/test-wcsncat.c: New File.
9176         * wcsmbs/Makefile (strop-tests): Add wcsncat.
9177         * benchtests/bench-strncat.c: Add wcsncat support.
9178         * benchtests/bench-wcsncat.c: New File.
9179         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
9181         * sysdeps/s390/multiarch/strcat-c.c: New File.
9182         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
9183         * sysdeps/s390/multiarch/strcat.c: Likewise.
9184         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
9185         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
9186         * sysdeps/s390/multiarch/wcscat.c: Likewise.
9187         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
9188         wcscat functions.
9189         * sysdeps/s390/multiarch/ifunc-impl-list.c
9190         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
9191         * string/strcat.c (STRCAT): Define and use macro.
9192         * wcsmbs/wcscat.c: Use WCSCAT if defined.
9193         * string/test-strcat.c: Add wcscat support.
9194         * wcsmbs/test-wcscat.c: New File.
9195         * wcsmbs/Makefile (strop-tests): Add wcscat.
9196         * benchtests/bench-strcat.c: Add wcscat support.
9197         * benchtests/bench-wcscat.c: New File.
9198         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
9200         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
9201         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
9202         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9203         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
9204         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
9205         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
9206         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
9207         wcpncpy functions.
9208         * sysdeps/s390/multiarch/ifunc-impl-list.c
9209         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
9210         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
9211         * string/test-stpncpy.c: Add wcpncpy support.
9212         * wcsmbs/test-wcpncpy.c: New File.
9213         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
9214         * benchtests/bench-stpncpy.c: Add wcpncpy support.
9215         * benchtests/bench-wcpncpy.c: New File.
9216         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
9218         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
9219         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9220         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
9221         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
9222         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
9223         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
9224         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9225         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
9226         wcsncpy functions.
9227         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
9228         * sysdeps/s390/multiarch/ifunc-impl-list.c
9229         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
9230         * string/test-strncpy.c: Add wcsncpy support.
9231         * wcsmbs/test-wcsncpy.c: New File.
9232         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
9233         * benchtests/bench-strncpy.c: Add wcsncpy support.
9234         * benchtests/bench-wcsncpy.c: New File.
9235         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
9237         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
9238         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
9239         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9240         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
9241         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
9242         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
9243         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
9244         wcpcpy functions.
9245         * string/stpcpy.c: Use STPCPY if defined.
9246         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
9247         * sysdeps/s390/multiarch/ifunc-impl-list.c
9248         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
9249         * string/test-stpcpy.c: Add wcpcpy support.
9250         * wcsmbs/test-wcpcpy.c: New File.
9251         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
9252         * benchtests/bench-stpcpy.c: Add wcpcpy support.
9253         * benchtests/bench-wcpcpy.c: New File.
9254         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
9256         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
9257         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9258         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
9259         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
9260         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
9261         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
9262         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9263         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
9264         wcscpy functions.
9265         * sysdeps/s390/multiarch/ifunc-impl-list.c
9266         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
9267         * benchtests/bench-wcscpy.c: New File.
9268         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
9270         * sysdeps/s390/multiarch/strnlen-c.c: New File.
9271         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
9272         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9273         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
9274         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
9275         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
9276         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
9277         wcsnlen functions.
9278         * sysdeps/s390/multiarch/ifunc-impl-list.c
9279         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
9280         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
9281         * string/test-strnlen.c: Add wcsnlen support.
9282         * wcsmbs/test-wcsnlen.c: New File.
9283         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
9284         * benchtests/bench-strnlen.c: Add wcsnlen support.
9285         * benchtests/bench-wcsnlen.c: New File.
9286         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
9288         * sysdeps/s390/multiarch/Makefile: New File.
9289         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
9290         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
9291         * sysdeps/s390/multiarch/strlen.c: Likewise.
9292         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
9293         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
9294         * sysdeps/s390/multiarch/wcslen.c: Likewise.
9295         * string/strlen.c (STRLEN): Define and use macro.
9296         * sysdeps/s390/multiarch/ifunc-impl-list.c
9297         (IFUNC_VX_IMPL): New macro function.
9298         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
9299         * benchtests/Makefile (wcsmbs-bench): New variable.
9300         (string-bench-all): Added wcsmbs-bench.
9301         * benchtests/bench-wcslen.c: New File.
9303         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
9304         s390_vx_libc_ifunc2): New macro function.
9306         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
9307         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
9308         assembler support.
9309         * sysdeps/s390/configure: Regenerated.
9311         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
9312         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9314         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
9315         * sysdeps/s390/dl-procinfo.h: Add vector capability.
9316         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
9318         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9319         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
9320         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
9321         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
9322         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
9323         (memcmp, bcmp): Use __memcmp_default as alias source.
9324         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
9325         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
9326         Rename to __memcmp_default.
9327         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
9328         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
9329         (memcpy): Use __memcpy_default as alias source.
9330         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
9331         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
9332         Rename to __memcpy_default.
9333         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
9334         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
9335         (memset): Use __memset_default as alias source.
9336         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
9337         * sysdeps/s390/s390-32/memset.S (__memset_g5):
9338         Rename to __memset_default.
9339         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
9340         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
9341         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
9342         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
9343         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
9344         (memcmp, bcmp): Use __memcmp_default as alias source.
9345         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
9346         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
9347         Rename to __memcmp_default.
9348         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
9349         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
9350         (memcpy): Use __memcpy_default as alias source.
9351         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
9352         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
9353         Rename to __memcpy_default.
9354         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
9355         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
9356         (memset): Use __memset_default as alias source.
9357         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
9358         * sysdeps/s390/s390-64/memset.S (__memset_z900):
9359         Rename to __memset_default.
9360         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
9361         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
9363         [BZ #18610]
9364         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
9365         __ieee_instruction_pointer to __unused.
9366         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
9367         __ieee_instruction_pointer.
9368         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
9369         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
9370         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9371         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9372         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
9373         Mark dxc-field as reserved.
9375 2015-08-25  Roland McGrath  <roland@hack.frob.com>
9377         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
9378         if the weak reference is not null.
9380 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9382         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
9384         [BZ #11214]
9385         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
9387 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9389         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
9390         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
9391         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
9392         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
9393         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
9394         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
9395         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
9396         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
9397         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
9398         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
9399         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
9400         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
9401         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
9402         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
9403         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
9404         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
9405         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
9406         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
9408 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9410         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
9411         register other than r0 for tabort, it has special meaning.
9412         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
9413         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
9414         transaction before starting syscall.
9416 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9418         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
9420 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9422         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
9424         * sysdeps/x86_64/rtld-memcmp.c: Removed.
9425         * sysdeps/x86_64/rtld-memset.S: Likewise.
9426         * sysdeps/x86_64/rtld-strchr.S: Likewise.
9427         * sysdeps/x86_64/rtld-strlen.S: Likewise.
9428         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
9429         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9431         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
9433 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
9435         * debug/strcpy_chk.c: Improve performance.
9436         * debug/stpcpy_chk.c: Likewise.
9437         * sysdeps/x86_64/strcpy_chk.S: Remove.
9438         * sysdeps/x86_64/stpcpy_chk.S: Remove.
9440         [BZ #18240]
9441         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
9443 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9445         [BZ #15128]
9446         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
9447         ifuncmain8.
9448         (modules-names): Add ifuncmod8.
9449         ($(objpfx)ifuncmain8): New rule.
9450         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
9451         <cpuid.h>.
9452         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
9453         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
9454         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
9455         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
9456         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
9457         * sysdeps/x86_64/dl-trampoline.h: Likewise.
9458         * sysdeps/x86_64/ifuncmain8.c: New file.
9459         * sysdeps/x86_64/ifuncmod8.c: Likewise.
9460         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
9461         Removed.
9462         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
9463         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
9464         Change rtld_savespace_sse to __glibc_unused2.
9465         (RTLD_CHECK_FOREIGN_CALL): Removed.
9466         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
9467         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
9468         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
9470 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9472         * sysdeps/aarch64/bzero.S (__bzero): Remove.
9474 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9476         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
9477         Unconditionally set __fpcr to avoid uninialized warning.
9478         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
9480 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9482         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
9483         is corrupt.
9485         * malloc/arena.c (arena_get2): Drop unused argument.
9486         (arena_lock): Adjust.
9487         (arena_get_retry): Likewise.
9489 2015-08-24  Andreas Schwab  <schwab@suse.de>
9491         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
9492         Don't define.
9493         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9494         (__ASSUME_IPC64): Don't undef.
9495         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
9496         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9497         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9498         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
9499         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
9500         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
9501         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
9502         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
9503         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
9504         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
9505         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
9506         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
9507         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
9508         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
9509         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
9510         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
9511         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
9512         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
9513         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
9514         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
9515         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
9517 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
9519         * manual/Makefile (install): Only build manual when perl is available.
9521 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9523         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
9524         '#undef memcpy' by '#undef memchr'.
9526 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9528         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
9529         memchr not point to the internal __GI_memchr implementation.
9531 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9533         * timezone/Makefile (CFLAGS-zdump.c): Remove
9534         -Wno-strict-prototypes.
9535         (CFLAGS-zic.c): Likewise.
9536         (CFLAGS-ialloc.c): Likewise.
9537         (CFLAGS-scheck.c): Likewise.
9539         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
9540         -Wno-error=undef.
9542 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9544         * i386/i686/multiarch/strcasestr-c.c: Removed.
9545         * x86_64/multiarch/strcasestr.c: Likewise.
9546         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9547         Remove strcasestr.
9549 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9551         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
9553         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
9554         variables for high and low parts before possibly modifying them.
9556 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9558         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
9559         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
9560         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
9561         of "multiarch/init-arch.h".
9562         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
9563         * sysdeps/x86/init-arch.h: This.
9565 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9567         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
9568         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
9570 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
9572         [BZ #17787]
9573         * manual/macros.texi: Add twoexp macro.
9574         * manual/filesys.texi: Fix exponents.
9575         * manual/llio.texi: Likewise.
9576         * manual/stdio.texi: Likewise.
9578 2015-08-20  Florian Weimer  <fweimer@redhat.com>
9580         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
9581         incorrect use.
9583 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9585         [BZ #18370]
9586         * math/s_csqrt.c (__csqrt): Force underflow exception for results
9587         whose real or imaginary part has small absolute value.
9588         * math/s_csqrtf.c (__csqrtf): Likewise.
9589         * math/s_csqrtl.c (__csqrtl): Likewise.
9590         * math/auto-libm-test-in: Add more tests of csqrt.
9591         * math/auto-libm-test-out: Regenerated.
9592         * sysdeps/i386/fpu/libm-test-ulps: Update.
9594 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9596         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
9597         __ppc_set_ppr_very_low): New functions.
9598         * manual/platform.texi: Add documentation about
9599         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
9601 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
9603         * string/stpncpy.c (stpncpy): Improve performance using
9604         __strnlen/memcpy/memset.
9606 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9608         [BZ #18796]
9609         * scripts/test-installation.pl: Don't add -lmvec to build options if
9610         libmvec wasn't built.
9612 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9614         [BZ #14341]
9615         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9616         case when there is a gap between DT_REL and DT_JMPREL sections.
9617         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9618         (LDFLAGS-tst-split-dynreloc): New.
9619         (tst-split-dynreloc-ENV): Likewise.
9620         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9621         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9623 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9625         [BZ #18822]
9626         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9627         attribute_hidden.
9628         (__xstat64_conv): Likewise.
9629         (__xstat32_conv): Likewise.
9631 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9633         [BZ #18822]
9634         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9635         Don't load %ebx when calling __setcontext.  Call __setcontext
9636         with HIDDEN_JUMPTARGET.
9637         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9638         libc_hidden_def.
9640 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9642         * sysdeps/i386/i686/Makefile
9643         [$(subdir) == string] (sysdep_routines): Moved to ...
9644         * sysdeps/i386/Makefile: Here.
9645         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9646         * sysdeps/i386/cacheinfo.c: Here.
9647         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9648         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9649         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9650         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9652 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9654         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9655         __i586__ is defined.
9656         (HAS_I686): Defined to 1 if __i686__ is defined.
9658 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9660         * elf/Makefile [$(have-z-execstack) = yes]
9661         (CPPFLAGS-tst-execstack.c): New variable.
9663         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9664         conditional to [defined UTMPX || _HAVE_UT_TYPE].
9665         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9666         UTMPX || _HAVE_UT_TV].
9667         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9668         UTMPX || _HAVE_UT_TV - 0].
9670 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
9672         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9673         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9674         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9676 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9678         * sysdeps/powerpc/dl-procinfo.c:
9679         (_dl_powerpc_cap_flags): Added missing strings for some
9680         hwcap features.
9681         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9683 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
9685         Port the 0x7efe...feff pattern to GCC 6.
9686         See Steve Ellcey's bug report in:
9687         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9688         * string/memrchr.c (MEMRCHR):
9689         * string/rawmemchr.c (RAWMEMCHR):
9690         * string/strchr.c (strchr):
9691         * string/strchrnul.c (STRCHRNUL):
9692         Rewrite code to avoid issues with signed shift overflow.
9694 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
9696         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9697         whether cpuid is available only if HAS_CPUID is 0.
9698         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9699         (HAS_I586): Likewise.
9700         (HAS_I686): Likewise.
9702 2015-08-18  Zack Weinberg  <zackw@panix.com>
9704         * misc/Versions (libc): Add GLIBC_2.23.
9706 2015-08-18  Alan Modra  <amodra@gmail.com>
9708         [BZ #18421]
9709         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9710         .Lp__global.
9711         (_start): Load %dp via .Lp__global.
9712         [!SHARED]: Use .section .rodata.
9714 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9716         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9717         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9719 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9721         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9722         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9724 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9726         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9727         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9729 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9731         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9732         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9734 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9736         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9737         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9739 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9741         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9742         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9744 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9746         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9748 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9750         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9751         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
9752         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9753         (__ASSUME_LWS_CAS): Delete.
9755 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9757         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9758         * sysdeps/hppa/configure: Regenerated.
9759         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
9760         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
9761         * sysdeps/hppa/nptl/tls.h: Likewise.
9763 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
9765         [BZ #18823]
9766         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
9767         for scaling up small arguments.
9768         * math/s_csqrtf.c (__csqrtf): Likewise.
9769         * math/s_csqrtl.c (__csqrtl): Likewise.
9770         * math/auto-libm-test-in: Add more tests of csqrt.
9771         * math/auto-libm-test-out: Regenerated.
9773 2015-08-17  Andreas Schwab  <schwab@suse.de>
9775         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
9776         version set GLIBC_2.19.
9778 2015-08-16  Zack Weinberg  <zackw@panix.com>
9780         [BZ #18681]
9781         * misc/regexp.h: This interface is no longer supported.
9782         Remove all contents, leaving only an #error directive.
9783         * misc/regexp.c (loc1, loc2, locs, step, advance):
9784         Demote to compatibility symbols.
9786 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
9788         [BZ #18084]
9789         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
9790         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
9791         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9792         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
9793         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
9794         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
9795         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
9796         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
9797         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9799 2015-08-15  Zack Weinberg  <zackw@panix.com>
9801         [BZ #18795]
9802         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
9803         buffer length is known to be too large, not if it's known to be
9804         small enough.
9805         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
9806         overflow at runtime, involving a length parameter, twice: once
9807         with a compile-time constant length parameter, once without.
9809 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
9811         [BZ #18824]
9812         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
9813         scaling x * y up instead of down.
9814         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9815         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9816         * math/auto-libm-test-in: Add more tests of fma.
9817         * math/auto-libm-test-out: Regenerated.
9819 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9821         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9823 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9825         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
9826         unnecessary movq.
9827         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
9828         Likewise.
9830 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
9832         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9833         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
9834         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
9835         and tgamma.
9836         * math/auto-libm-test-out: Regenerated.
9837         * sysdeps/i386/fpu/libm-test-ulps: Update.
9838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9840         [BZ #16520]
9841         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
9842         (__tanh): Force underflow exception for arguments with small
9843         absolute value.
9844         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
9845         (__tanhf): Force underflow exception for arguments with small
9846         absolute value.
9847         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
9848         (__tanhl): Force underflow exception for arguments with small
9849         absolute value.
9850         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
9851         (__tanhl): Force underflow exception for arguments with small
9852         absolute value.
9853         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
9854         (__tanhl): Force underflow exception for arguments with small
9855         absolute value.
9856         * math/auto-libm-test-in: Add more tests of tanh.
9857         * math/auto-libm-test-out: Regenerated.
9858         * sysdeps/i386/fpu/libm-test-ulps: Update.
9860 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9862         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
9863         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
9865 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9867         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
9868         <cpuid.h>.
9870 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9872         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
9873         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
9875 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9877         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
9878         Remove $(objpfx)init-arch.o.
9879         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
9880         init-arch.
9881         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
9882         (INIT_ARCH_EXT): Defined as empty.
9883         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
9884         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
9885         __init_cpu_features call.  Replace HAS_XXX with
9886         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9887         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
9888         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
9889         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
9890         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
9891         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9892         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
9893         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
9894         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9895         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
9896         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
9897         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9898         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
9899         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
9900         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9901         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
9902         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
9903         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9904         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9905         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
9906         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
9907         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9908         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
9909         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
9910         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9911         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
9912         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
9913         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9914         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
9915         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
9916         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9917         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
9918         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
9919         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9920         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
9921         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
9923 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9925         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
9926         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9927         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9928         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9929         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
9930         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
9931         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
9932         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
9933         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
9934         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
9935         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
9936         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
9937         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9938         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9939         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9940         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9941         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9942         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9943         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9944         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9945         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9946         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9947         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9948         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9949         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9950         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9951         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9952         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9953         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9954         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9955         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9956         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9957         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9958         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9959         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9960         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9961         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9962         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9963         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9964         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9965         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9966         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9967         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9969 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9971         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
9972         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9973         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9974         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9975         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9976         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9977         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9978         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
9979         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9980         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9981         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9982         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
9983         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
9984         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
9985         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
9986         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
9987         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
9988         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
9989         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
9990         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
9991         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9992         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
9993         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
9994         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9995         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9996         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
9997         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
9998         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
9999         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10000         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10001         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10002         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10003         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10004         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10005         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10006         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10007         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10008         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10009         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10010         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10011         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10012         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10013         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10015 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10017         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
10018         (dl_platform_init): Call init_cpu_features.
10019         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
10020         * sysdeps/i386/i686/cacheinfo.c
10021         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
10022         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
10023         * sysdeps/i386/i686/multiarch/Versions: Removed.
10024         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
10025         Removed.
10026         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
10027         * sysdeps/unix/sysv/linux/x86/Makefile
10028         (libpthread-sysdep_routines): Remove init-arch.
10029         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
10030         <sysdeps/x86_64/dl-procinfo.c> instead of
10031         sysdeps/generic/dl-procinfo.c>.
10032         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
10033         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
10034         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
10035         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
10036         [$(subdir) == elf] (tests-static): Add
10037         tst-get-cpu-features-static.
10038         * sysdeps/x86/Versions: New file.
10039         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
10040         * sysdeps/x86/cpu-features.c: Likewise.
10041         * sysdeps/x86/cpu-features.h: Likewise.
10042         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
10043         * sysdeps/x86/libc-start.c: Likewise.
10044         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10045         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
10046         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
10047         * sysdeps/x86_64/dl-procinfo.c: Likewise.
10048         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
10049         Assume USE_MULTIARCH is defined and don't check it.
10050         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
10051         (is_amd): Likewise.
10052         (max_cpuid): Likewise.
10053         (intel_check_word): Likewise.
10054         (__cache_sysconf): Don't call __init_cpu_features.
10055         (__x86_preferred_memory_instruction): Removed.
10056         (init_cacheinfo): Don't call __init_cpu_features. Replace
10057         __cpu_features with GLRO(dl_x86_cpu_features).
10058         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
10059         (dl_platform_init): Call init_cpu_features.
10060         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
10061         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
10062         * sysdeps/x86_64/multiarch/Versions: Removed.
10063         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
10064         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
10065         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
10066         Removed.
10067         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
10069 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10071         [BZ #18820]
10072         * libio/Makefile (test-fmemopen-mem): New test.
10073         * libio/test-fmemopen.c (do_bz18820): New test.
10074         * libio/fmemopen.c (__fmemopen): Fix memory leak.
10075         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
10077 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10079         [BZ #16734]
10080         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
10081         (FREE_BUF): Delete.
10082         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
10083         * libio/genops.c (_IO_setb): Use malloc and free directly.
10084         (_IO_default_doallocate, _IO_default_finish): Likewise.
10085         ( _IO_unbuffer_all): Likewise.
10086         ( libc_freeres_fn): Likewise.
10087         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10088         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10089         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
10090         (_IO_wdefault_doallocate): Likewise.
10092 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10094         [BZ #18086]
10095         * sysdeps/posix/nice.c (nice): Restore old errno.
10096         * posix/tst-nice.c (do_test): Add test for BZ #18086.
10098 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
10100         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
10102 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10104         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
10105         __bcopy and add a weak_alias to bcopy.
10106         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
10107         for static build.
10109         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
10110         cleanup macro usage.
10111         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
10112         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
10113         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10114         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
10115         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10116         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
10117         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
10118         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10119         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10120         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
10121         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10122         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
10123         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10124         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
10125         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10126         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
10127         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
10128         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
10129         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10131         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
10132         libc_hidden_def.
10133         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
10135         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
10136         (sysdep_routines): Add strstr-ppc64.
10137         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
10139 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
10141         [BZ #18778]
10142         * elf/Makefile (tests): Add Add tst-nodelete2.
10143         (modules-names): Add tst-nodelete2mod.
10144         (tst-nodelete2mod.so-no-z-defs): New.
10145         ($(objpfx)tst-nodelete2): Likewise.
10146         ($(objpfx)tst-nodelete2.out): Likewise.
10147         (LDFLAGS-tst-nodelete2): Likewise.
10148         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
10149         out of loop through all loaded libraries.
10150         * elf/tst-nodelete2.c: New file.
10151         * elf/tst-nodelete2mod.c: Likewise.
10152         * elf/tst-znodelete-zlib.cc: Delete.
10154 2015-08-11  Andreas Schwab  <schwab@suse.de>
10156         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
10157         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
10158         (__openat64_nocancel): Likewise.
10160 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
10162         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
10163         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
10164         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
10165         * math/auto-libm-test-out: Regenerated.
10166         * sysdeps/i386/fpu/libm-test-ulps: Update.
10167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10169 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10171         [BZ #18790]
10172         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
10173         threshold for returning +/- 1.
10174         * math/auto-libm-test-in: Add more tests of tanh.
10175         * math/auto-libm-test-out: Regenerated.
10176         * sysdeps/i386/fpu/libm-test-ulps: Update.
10178 2015-08-10  Andreas Schwab  <schwab@suse.de>
10180         [BZ #18781]
10181         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
10182         MORE_OFLAGS to oflag.
10183         * io/test-lfs.c (do_test): Test openat64.
10185 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10187         [BZ #18789]
10188         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
10189         smaller threshold for returning the argument.
10190         * math/auto-libm-test-in: Add more tests of sinh.
10191         * math/auto-libm-test-out: Regenerated.
10192         * sysdeps/i386/fpu/libm-test-ulps: Update.
10194 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10196         [BZ #18674]
10197         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
10198         break.
10200 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10202         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
10203         (generated): Don't add $(addprefix z.,$(tzfiles)).
10205 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10207         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
10208         * scripts/sysd-rules.awk: Likewise.
10210 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10212         * iconvdata/tst-tables.sh: Change echo -n to printf.
10213         * nss/db-Makefile: Likewise.
10214         * posix/tst-getconf.sh: Likewise.
10215         * stdio-common/tst-unbputc.sh: Likewise.
10217 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10219         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
10220         MADV_*_PAGES defines behind this feature check.
10222 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
10224         [BZ #18480]
10225         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
10226         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
10227         Define.
10228         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
10229         LOAD_REGS_5, LOAD_REGS_6): Update.
10230         (INTERNAL_SYSCALL): Update using new LOAD defines.
10231         (INTERNAL_SYSCALL_NCS): Likewise.
10232         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
10234 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10236         [BZ #16734]
10237         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
10239 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10241         [BZ #17905]
10242         * catgets/Makefile (tst-catgets-mem): New test.
10243         * catgets/catgets.c (catopen): Don't use unbounded alloca.
10244         * catgets/open_catalog.c (__open_catalog): Likewise.
10245         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
10247 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
10249         [BZ #18787]
10250         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
10251         clobber registers.
10252         (atomic_compare_and_exchange_val_acq): Use register asms to assign
10253         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
10254         Cast return to __typeof (oldval).
10256 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
10258         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
10259         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
10260         and delete sys/syscall.h include.
10262 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
10264         [BZ #16517]
10265         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
10266         (tan): Force underflow exception for arguments with small absolute
10267         value.
10268         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
10269         (__kernel_tanf): Force underflow exception for arguments with
10270         small absolute value.
10271         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
10272         (__kernel_tanl): Force underflow exception for arguments with
10273         small absolute value.
10274         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
10275         (__kernel_tanl): Force underflow exception for arguments with
10276         small absolute value.
10277         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
10278         (__kernel_tanl): Force underflow exception for arguments with
10279         small absolute value.
10280         * math/auto-libm-test-in: Add more tests of tan.
10281         * math/auto-libm-test-out: Regenerated.
10283 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10285         Fix sysdeps/i386/fpu/s_scalbn.S build
10287         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
10289 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
10291         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10293 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10295         Fix gcrt0.o compilation
10297         When static-start-installed-name is different from
10298         start-installed-name, we must not use the shared objects.
10300         * csu/Makefile
10301         (extra-objs): Add gmon-start.o when building shared library and
10302         $(static-start-installed-name) is different from
10303         $(start-installed-name).
10304         $(objpfx)g$(static-start-installed-name): When building shared
10305         library and $(static-start-installed-name) is different from
10306         $(static-start-installed-name), revert to non-shared rule,
10307         i.e. using $(objpfx)% and gmon-start.o.
10309 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
10311         [BZ #16519]
10312         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
10313         (__ieee754_sinh): Force underflow exception for arguments with
10314         small absolute value.
10315         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
10316         (__ieee754_sinhf): Force underflow exception for arguments with
10317         small absolute value.
10318         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
10319         (__ieee754_sinhl): Force underflow exception for arguments with
10320         small absolute value.
10321         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
10322         (__ieee754_sinhl): Force underflow exception for arguments with
10323         small absolute value.
10324         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
10325         (__ieee754_sinhl): Force underflow exception for arguments with
10326         small absolute value.
10327         * math/auto-libm-test-in: Add more tests of sinh.
10328         * math/auto-libm-test-out: Regenerated.
10329         * sysdeps/i386/fpu/libm-test-ulps: Update.
10331 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10333         * libio/oldfileops.c: Include unistd.h.
10335 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
10337         * stdlib/isomac.c: Include ctype.h.
10339 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
10341         * dirent/tst-seekdir.c (main): Converted to ...
10342         (do_test): ... this.
10343         (TEST_FUNCTION): New macro.
10344         Include test-skeleton.c.
10345         * elf/tst-dlmodcount.c (main): Converted to ...
10346         (do_test): ... this.
10347         (TEST_FUNCTION): New macro.
10348         Include test-skeleton.c.
10349         * elf/tst-order-main.c (main): Converted to ...
10350         (do_test): ... this.
10351         (TEST_FUNCTION): New macro.
10352         Include test-skeleton.c.
10353         * elf/tst-pie2.c (main): Converted to ...
10354         (do_test): ... this.
10355         (TEST_FUNCTION): New macro.
10356         Include test-skeleton.c.
10357         * inet/tst-ether_aton.c (main): Converted to ...
10358         (do_test): ... this.
10359         (TEST_FUNCTION): New macro.
10360         Include test-skeleton.c.
10361         * misc/tst-mntent.c (main): Converted to ...
10362         (do_test): ... this.
10363         (TEST_FUNCTION): New macro.
10364         Include test-skeleton.c.
10365         * misc/tst-tsearch.c (main): Converted to ...
10366         (do_test): ... this.
10367         (TEST_FUNCTION): New macro.
10368         Include test-skeleton.c.
10369         * posix/tst-regexloc.c (main): Converted to ...
10370         (do_test): ... this.
10371         (TEST_FUNCTION): New macro.
10372         Include test-skeleton.c.
10373         * resolv/tst-aton.c (main): Converted to ...
10374         (do_test): ... this.
10375         (TEST_FUNCTION): New macro.
10376         Include test-skeleton.c.
10377         * stdio-common/test-fwrite.c (main): Converted to ...
10378         (do_test): ... this.
10379         (TEST_FUNCTION): New macro.
10380         Include test-skeleton.c.
10381         * stdio-common/tst-ferror.c (main): Converted to ...
10382         (do_test): ... this.
10383         (TEST_FUNCTION): New macro.
10384         Include test-skeleton.c.
10385         * stdio-common/tst-printf.c (main): Converted to ...
10386         (do_test): ... this.
10387         (TEST_FUNCTION): New macro.
10388         Include test-skeleton.c.
10389         * stdio-common/tst-printfsz.c (main): Converted to ...
10390         (do_test): ... this.
10391         (TEST_FUNCTION): New macro.
10392         Include test-skeleton.c.
10393         * stdlib/tst-strtod.c (main): Converted to ...
10394         (do_test): ... this.
10395         (TEST_FUNCTION): New macro.
10396         Include test-skeleton.c.
10397         * string/tst-strlen.c (main): Converted to ...
10398         (do_test): ... this.
10399         (TEST_FUNCTION): New macro.
10400         Include test-skeleton.c.
10401         * string/tst-svc.c (main): Converted to ...
10402         (do_test): ... this.
10403         (TEST_FUNCTION): New macro.
10404         Include test-skeleton.c.
10405         * time/tst-strptime.c (main): Converted to ...
10406         (do_test): ... this.
10407         (TEST_FUNCTION): New macro.
10408         Include test-skeleton.c.
10409         * timezone/tst-timezone.c (main): Converted to ...
10410         (do_test): ... this.
10411         (TEST_FUNCTION): New macro.
10412         Include test-skeleton.c.
10414 2015-08-05  Zack Weinberg  <zackw@panix.com>
10416         * misc/regexp.h: Update comments.
10418 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
10420         [BZ #18635]
10421         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
10422         before return label.
10424 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10426         [BZ #18661]
10427         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
10428         when calling __errno_location.
10429         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
10430         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
10432 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10434         [BZ #18661]
10435         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
10436         (__lll_timedwait_tid): Align stack to 16 bytes when calling
10437         __gettimeofday.
10439 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10441         [BZ #18661]
10442         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10443         (__start_context): Don't use pop to restore %rdi so that stack
10444         is aligned to 16 bytes when calling __setcontext.
10446 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10448         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
10449         only for libc.
10450         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10452 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10454         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
10455         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
10456         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
10458 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10460         * string/memccpy.c (memccpy):
10461         Improve performance by using memchr/memcpy/__mempcpy.
10463 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10465         * string/strncpy.c (strncpy):
10466         Improve performance by using __strnlen/memcpy.
10468 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10470         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10471         Optimize to avoid an unnecessary FPCR read.
10473 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10475         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10476         Optimize to reduce FPCR/FPSR accesses.
10478 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10480         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
10481         dead->data[category] != NULL.
10483 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
10485         [BZ #18647]
10486         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
10487         and |x| close to 1, use absolute value of x when computing log.
10488         * math/auto-libm-test-in: Add more tests of pow.
10489         * math/auto-libm-test-out: Regenerated.
10491 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10493         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
10494         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
10495         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
10497 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
10499         [BZ #18525]
10500         * locales/km_KH: Remove timezone definition.
10501         * locales/lo_LA: Likewise.
10502         * locales/my_MM: Likewise.
10503         * locales/nan_TW@latin: Likewise.
10504         * locales/th_TH: Likewise.
10505         * locales/uk_UA: Likewise.
10507 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10509         [BZ #18265]
10510         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
10511         (wcsncat): Likewise.
10512         (wcscmp): Likewise.
10513         (wcsncmp): Likewise.
10515 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10517         * test-skeleton.c (usage): New function.
10518         (main): Call usage when opt is '?'.
10520 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10522         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
10523         before first use.
10525 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10527         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
10528         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
10529         in there too.
10531 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
10533         * version.h (RELEASE): Set to "development".
10534         (VERSION): Set to "2.22.90"
10536         * version.h (RELEASE): Set to "stable".
10537         (VERSION): Set to "2.22"
10538         * include/features.h (__GLIBC_MINOR__): Set to 22.
10540 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
10542         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
10543         Restructure macro to avoid "value computed is not used" warning.
10544         (atomic_compare_and_exchange_val_acq): Likewise.
10546 2015-08-04  Andreas Schwab  <schwab@suse.de>
10548         [BZ #18635]
10549         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
10550         ret.
10551         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
10553 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
10555         * po/pl.po: Updated translation.
10556         * po/uk.po: Likewise.
10557         * po/fi.po: Likewise.
10558         * po/ko.po: Likewise.
10559         * po/ru.po: Likewise.
10560         * po/vi.po: Likewise.
10562 2015-07-31  Zack Weinberg  <zackw@panix.com>
10564         [BZ #18681]
10565         * regexp.h: Add unconditional #warning stating that this header
10566         will be removed soon.  Revise banner comment to match.
10567         (compile): Consistently use ERROR instead of RETURN to report
10568         errors (partial fix for bz#18681).
10569         * regexp.c: Don't include regexp.h. Remove some unnecessary
10570         declarations.
10572 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
10574         * po/libc.pot: Regenerated.
10576 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
10578         [BZ #18740]
10579         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
10580         float-vlen4-arch-ext-cflags): Removed.
10581         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
10582         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
10584 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10586         [BZ #14113]
10587         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
10588         aligned to __aligned__.
10589         (pthread_cond_t, pthread_rwlock_t): Likewise.
10591 2015-07-30  Torvald Riegel  <triegel@redhat.com>
10593         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
10595 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10597         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
10598         (struct sigaction): Change sa_flags from a long to an int, and add
10599         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
10601 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10603         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10604         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10605         sysdeps/generic/sysdep.h include.
10606         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10607         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
10608         sysdeps/hppa/sysdep.h.
10609         (ENTRY, PSEUDO): Undefine before defining.
10611 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10613         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10614         from scratch to use INTERNAL_SYSCALL.
10616 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
10618         [BZ #18078]
10619         * scripts/check-localplt.awk: Support alternate relocations.
10620         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10621         sections.
10622         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10623         malloc entries with + REL R_386_GLOB_DAT.
10624         * sysdeps/x86_64/localplt.data: New file.
10626 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
10628         [BZ #18731]
10629         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10630         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10631         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10633 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10635         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10637 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10639         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10640         directly in terms of __sync_fetch_and_add and delete (int) cast.
10642 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10644         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10645         the -D_ASM_IA64_CURRENT_H flag.
10647 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10649         [BZ #18641]
10650         * pwd/pwd.h (putpwent): Delete __nonnull markings.
10652 2015-07-27  Andreas Schwab  <schwab@suse.de>
10654         * conform/conformtest.pl (checknamespace): Filter out string
10655         literals while tokenizing.
10657 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10659         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10660         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10661         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10663 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10665         * nptl/tst-join7mod.c: Add #include <string.h>.
10667 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10669         * sysdeps/nios2/libm-test-ulps: Update.
10671 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10673         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10674         Fix order of arguments to the rt_sigprocmask syscall.
10675         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10676         Likewise.
10678 2015-07-24  Roland McGrath  <roland@hack.frob.com>
10680         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10682 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10684         [BZ #18457]
10685         * nptl/Makefile (tests): New test case tst-join7.
10686         (modules-names): New test case module tst-join7mod.
10687         * nptl/tst-join7.c: New file.
10688         * nptl/tst-join7mod.c: New file.
10689         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10690         all translation units in libc.so, libpthread.so and rtld.
10692 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10696 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10698         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10699         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10700         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10701         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10702         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10703         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10704         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10705         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10706         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10707         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10708         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10709         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10710         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10711         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10712         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10713         implementation.
10715 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10717         [BZ #17711]
10718         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10719         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10720         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10721         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10722         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10723         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10725 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10727         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10728         instead of just saying load lock in the comments.
10730 2015-07-23  Roland McGrath  <roland@hack.frob.com>
10732         * sysdeps/unix/Subdirs: Moved ...
10733         * sysdeps/posix/Subdirs: ... here.
10734         * login/pty.h (struct termios, struct winsize): Add forward decls.
10735         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10736         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10737         * sysdeps/arm/nacl/libc.abilist: Updated.
10738         * sysdeps/nacl/libutil.abilist: New file.
10740         * bits/signum.h: Update comments to mention 1003.1-2013 too.
10741         (SIGWINCH): New macro.
10743         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10744         * sysdeps/arm/nacl/libc.abilist: Add it.
10746 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10748         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10750 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10752         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10753         Swap __glibc_reserved0 and sa_flags order.
10755 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10757         [BZ #18657]
10758         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
10759         are pending TLS destructor calls.
10760         * include/link.h (struct link_map): Add concurrency note for
10761         L_TLS_DTOR_COUNT.
10762         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10763         Don't touch the link map flag.  Atomically increment
10764         l_tls_dtor_count.
10765         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
10766         Avoid taking the load lock and don't touch the link map flag.
10767         * stdlib/tst-tls-atexit-nodelete.c: New test case.
10768         * stdlib/Makefile (tests): Use it.
10769         * stdlib/tst-tls-atexit.c (do_test): dlopen
10770         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
10771         to allow tst-tls-atexit-nodelete test case to use it.
10773 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10775         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
10776         to bits/types.h.
10777         (msgqnum_t): New typedef.
10778         (msglen_t): Likewise.
10779         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
10780         and msg_qbytes type to msglen_t.
10782 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10784         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
10785         pad0 to __glibc_reserved0.
10786         (struct stat64): Likewise.
10788 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10790         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10791         Change sa_flags from a long to an int and add __glibc_reserved0 before
10792         it for padding.
10794 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10796         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
10797         anonymous by deleting "siginfo" name.
10799 2015-07-21  Roland McGrath  <roland@hack.frob.com>
10801         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
10802         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
10803         rather than __nacl_irt_filename.
10804         * sysdeps/nacl/xstat.c (__xstat): Likewise.
10806         * NEWS: New item for arm-nacl port.
10807         * sysdeps/arm/nacl/libc.abilist: New file.
10808         * sysdeps/nacl/ld.abilist: New file.
10809         * sysdeps/nacl/libBrokenLocale.abilist: New file.
10810         * sysdeps/nacl/libanl.abilist: New file.
10811         * sysdeps/nacl/libcrypt.abilist: New file.
10812         * sysdeps/nacl/libdl.abilist: New file.
10813         * sysdeps/nacl/libm.abilist: New file.
10814         * sysdeps/nacl/libpthread.abilist: New file.
10815         * sysdeps/nacl/libresolv.abilist: New file.
10816         * sysdeps/nacl/librt.abilist: New file.
10818 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
10820         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
10821         __startcontext to initialize the new context.
10822         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
10823         up CFI directive to forbid further backtracing.
10825 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
10827         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
10828         reference.
10829         * charmaps/ANSI_X3.4-1968: Likewise.
10830         * charmaps/BS_4730: Likewise.
10831         * charmaps/BS_VIEWDATA: Likewise.
10832         * charmaps/CP1250: Likewise.
10833         * charmaps/CP1251: Likewise.
10834         * charmaps/CP1252: Likewise.
10835         * charmaps/CP1253: Likewise.
10836         * charmaps/CP1254: Likewise.
10837         * charmaps/CP1255: Likewise.
10838         * charmaps/CP1256: Likewise.
10839         * charmaps/CSN_369103: Likewise.
10840         * charmaps/EBCDIC-DK-NO: Likewise.
10841         * charmaps/GB_1988-80: Likewise.
10842         * charmaps/GREEK-CCITT: Likewise.
10843         * charmaps/GREEK7: Likewise.
10844         * charmaps/INIS-8: Likewise.
10845         * charmaps/ISIRI-3342: Likewise.
10846         * charmaps/ISO_2033-1983: Likewise.
10847         * charmaps/ISO_5427-EXT: Likewise.
10848         * locales/POSIX: Likewise.
10849         * locales/ar_SA: Likewise.
10850         * locales/be_BY: Likewise.
10851         * locales/be_BY@latin: Likewise.
10852         * locales/ca_ES: Likewise.
10853         * locales/cs_CZ: Likewise.
10854         * locales/da_DK: Likewise.
10855         * locales/de_BE: Likewise.
10856         * locales/de_CH: Likewise.
10857         * locales/de_LU: Likewise.
10858         * locales/en_AU: Likewise.
10859         * locales/en_BW: Likewise.
10860         * locales/en_CA: Likewise.
10861         * locales/en_DK: Likewise.
10862         * locales/en_GB: Likewise.
10863         * locales/en_IE: Likewise.
10864         * locales/en_NZ: Likewise.
10865         * locales/en_ZA: Likewise.
10866         * locales/en_ZW: Likewise.
10867         * locales/es_AR: Likewise.
10868         * locales/es_BO: Likewise.
10869         * locales/es_CL: Likewise.
10870         * locales/es_CO: Likewise.
10871         * locales/es_DO: Likewise.
10872         * locales/es_EC: Likewise.
10873         * locales/es_ES: Likewise.
10874         * locales/es_HN: Likewise.
10875         * locales/es_MX: Likewise.
10876         * locales/es_PA: Likewise.
10877         * locales/es_PE: Likewise.
10878         * locales/es_PY: Likewise.
10879         * locales/es_SV: Likewise.
10880         * locales/es_US: Likewise.
10881         * locales/es_UY: Likewise.
10882         * locales/es_VE: Likewise.
10883         * locales/et_EE: Likewise.
10884         * locales/fa_IR: Likewise.
10885         * locales/fo_FO: Likewise.
10886         * locales/fr_CA: Likewise.
10887         * locales/fr_CH: Likewise.
10888         * locales/gv_GB: Likewise.
10889         * locales/he_IL: Likewise.
10890         * locales/hr_HR: Likewise.
10891         * locales/id_ID: Likewise.
10892         * locales/is_IS: Likewise.
10893         * locales/it_CH: Likewise.
10894         * locales/iw_IL: Likewise.
10895         * locales/kl_GL: Likewise.
10896         * locales/ko_KR: Likewise.
10897         * locales/kw_GB: Likewise.
10898         * locales/lg_UG: Likewise.
10899         * locales/lt_LT: Likewise.
10900         * locales/lv_LV: Likewise.
10901         * locales/mi_NZ: Likewise.
10902         * locales/nhn_MX: Likewise.
10903         * locales/nl_BE: Likewise.
10904         * locales/pl_PL: Likewise.
10905         * locales/sk_SK: Likewise.
10906         * locales/sl_SI: Likewise.
10907         * locales/sv_FI: Likewise.
10908         * locales/tl_PH: Likewise.
10909         * locales/tr_TR: Likewise.
10910         * locales/vi_VN: Likewise.
10912 2015-07-21  Khem Raj  <raj.khem@gmail.com>
10914         [BZ #17475]
10915         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
10916         of tu_IN and bh_IN.
10918 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
10920         [BZ #18694]
10921         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
10922         bits/wordsize.h.
10923         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
10925 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10927         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
10928         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
10929         (spawn_thread): New function.
10930         (load): Rename to reg_dtor_and_close.  Move dlopen to...
10931         (do_test): ... here.  Use IS_LOADED to test for its
10932         availability.
10934 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
10936         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10938 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
10940         [BZ #18696]
10941         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
10942         si_addr_bnd.
10943         (si_lower): New.
10944         (si_upper): Likewise.
10946 2015-07-16  David S. Miller  <davem@davemloft.net>
10948         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10950 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10952         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
10953         buffer.
10954         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
10955         fail output information.
10957 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
10960         and strstr-ppc64..
10961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10962         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
10963         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
10964         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
10965         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
10967 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10969         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10970         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10971         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10972         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10974 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10976         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10977         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
10978         rtld_hidden_proto.
10979         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
10981 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10983         * tst-nodelete-opened.c (do_test): Add comment to clarify how
10984         the test can fail.
10986         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
10988         [BZ #18676]
10989         * elf/tst-nodelete-opened.c: New test case.
10990         * elf/tst-nodelete-opened-lib.c: New test case module.
10991         * elf/Makefile (tests, modules-names): Use them.
10992         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
10993         early.
10995 2015-07-15  David S. Miller  <davem@davemloft.net>
10997         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
10998         futex-intenal.h
10999         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
11000         * sysdeps/sparc/sparc64/Makefile: Likewise.
11001         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11002         Remove space from macro define.
11003         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
11005 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
11007         [BZ #17475]
11008         * locale/iso-639.def: Update Bhili and Tulu language codes as
11009         per iso639-3.
11011 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
11013         * elf/tst-leaks1.c (main): Converted to ...
11014         (do_test): ... this.
11015         (TEST_FUNCTION): New macro.
11016         Include test-skeleton.c.
11017         * localedata/tst-langinfo.c (main): Converted to ...
11018         (do_test): ... this.
11019         (TEST_FUNCTION): New macro.
11020         Include test-skeleton.c.
11021         * math/test-fpucw.c (main): Converted to ...
11022         (do_test): ... this.
11023         (TEST_FUNCTION): New macro.
11024         Include test-skeleton.c.
11025         * math/test-tgmath.c (main): Converted to ...
11026         (do_test): ... this.
11027         (TEST_FUNCTION): New macro.
11028         Include test-skeleton.c.
11029         * math/test-tgmath2.c (main): Converted to ...
11030         (do_test): ... this.
11031         (TEST_FUNCTION): New macro.
11032         Include test-skeleton.c.
11033         * setjmp/tst-setjmp.c (main): Converted to ...
11034         (do_test): ... this.
11035         (TEST_FUNCTION): New macro.
11036         Include test-skeleton.c.
11037         * stdio-common/tst-sscanf.c (main): Converted to ...
11038         (do_test): ... this.
11039         (TEST_FUNCTION): New macro.
11040         Include test-skeleton.c.
11041         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
11042         (do_test): ... this.
11043         (TEST_FUNCTION): New macro.
11044         Include test-skeleton.c.
11046         * elf/tst-audit9.c (main): Converted to ...
11047         (do_test): ... this.
11048         (TEST_FUNCTION): New macro.
11049         Include test-skeleton.c.
11051 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
11053         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
11055 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11057         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
11058         New variable.
11060 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11062         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11064 2015-07-14  Roland McGrath  <roland@hack.frob.com>
11066         * sysdeps/generic/dl-fileid.h: New file.
11067         * sysdeps/posix/dl-fileid.h: New file.
11068         * sysdeps/nacl/dl-fileid.h: New file.
11069         * include/link.h: Include <dl-fileid.h>.
11070         (struct link_map): Replace l_dev and l_ino with l_file_id.
11071         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
11072         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
11073         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
11075 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11077         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
11079 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11081         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
11082         Add iff $CXX is set.
11083         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
11084         Likewise.
11085         (tst-nodelete-zmodiff): Likewise.
11086         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
11088 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11090         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
11092 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11094         * sysdeps/aarch64/fpu/math_private.h
11095         (define math_opt_barrier): Add AArch64 version.
11096         (math_force_eval): Likewise.
11098 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11100         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
11102 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11104         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
11105         %ld with %jd and cast to intmax_t.
11106         (do_test_length_zero): Likewise.
11108 2015-07-10  Roland McGrath  <roland@hack.frob.com>
11110         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
11112 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
11114         * sysdeps/tile/libm-test-ulps: Regenerated.
11116         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
11117         Comment out the whole function, not just its body.
11119 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11121         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
11122         locks.
11124         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
11126 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11128         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
11129         (sem_assume_only_signals_cause_futex_EINTR): Remove.
11131 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11133         * sysdeps/nptl/futex-internal.h: New file.
11134         * sysdeps/nacl/futex-internal.h: New file.
11135         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
11136         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
11137         error checking.
11138         (setxid_unmark_thread): Likewise.
11139         (__nptl_setxid): Likewise.
11140         (__wait_lookup_done): Likewise.
11141         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
11142         * nptl/nptl-init.c (sighandler_setxid): Likewise.
11143         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
11144         * nptl/pthread_once.c (clear_once_control): Likewise.
11145         (__pthread_once_slow): Likewise.
11146         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11147         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
11148         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
11149         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11150         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
11151         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
11152         Likewise.
11153         (__pthread_rwlock_rdlock): Likewise.
11154         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11155         Likewise.
11156         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11157         Likewise.
11158         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11159         Likewise.
11160         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
11161         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
11162         Likewise.
11163         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
11164         __ASSUME_PRIVATE_FUTEX check.
11165         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
11166         Check that shared futexes are supported.
11167         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
11168         wrappers with error checking.
11169         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
11170         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
11171         * nptl/pthread_barrierattr_setpshared.c
11172         (pthread_barrierattr_setpshared): Check that shared futexes are
11173         supported.
11174         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
11175         Likewise.
11176         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
11177         Likewise.
11178         * nptl/sem_init.c (futex_private_if_supported): Remove.
11179         (__new_sem_init): Adapt and check that shared futexes are supported.
11180         * nptl/sem_open.c (sem_open): Likewise.
11181         * nptl/sem_post.c (futex_wake): Remove.
11182         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
11183         (do_futex_wait): Use futex wrappers with error checking.
11184         * nptl/sem_wait.c: Include lowlevellock.h.
11185         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
11186         Use futex_supports_pshared.
11187         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
11188         Use futex wrappers with error checking.
11189         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
11190         Likewise.
11191         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
11192         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
11193         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
11194         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
11195         (futex_wake): Likewise.
11196         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
11197         (do_futex_wait): Use futex wrappers with error checking.
11198         (__new_sem_wait_slow): Update EINTR handling.
11199         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
11201 2015-07-09  Martin Sebor  <msebor@redhat.com>
11203         [BZ #18435]
11204         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11205         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
11206         * nptl/Makefile (test-xfail-tst-once5): Define.
11208 2015-07-09  Roland McGrath  <roland@hack.frob.com>
11210         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
11211         * elf/dl-minimal.c: For readability, reorder some definitions and
11212         introduce more page breaks.  Include <stdio.h>.
11213         (__libc_fatal): New function.
11215         * include/unistd.h: Add rtld_hidden_proto for _exit.
11216         * posix/_exit.c: Add rtld_hidden_def.
11217         * sysdeps/mach/hurd/_exit.c: Likewise.
11218         * sysdeps/nacl/_exit.c: Likewise.
11219         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
11220         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
11222 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
11224         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
11225         bndmov encoding with zero displacement.
11227 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11228             H.J. Lu  <hongjiu.lu@intel.com>
11230         [BZ #18134]
11231         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
11232         * sysdeps/i386/configure: Regenerated.
11233         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11234         (_dl_runtime_profile): Save and restore Intel MPX return bound
11235         registers when calling _dl_call_pltexit.  Add
11236         PRESERVE_BND_REGS_PREFIX before return.
11237         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
11238         (LRV_BND1_OFFSET): Likewise.
11239         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
11240         lrv_bnd1.
11241         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
11242         typo in bndmov encoding.
11243         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
11244         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
11245         branch instructions to preserve bounds.
11247 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11250         [GLIBC_2.22]: Add fmemopen.
11252 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11254         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
11255         returns an error, also try to use host port from __mach_host_self for
11256         the __vm_wire call.
11257         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
11259 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11261         [BZ #18400]
11262         [BZ #18648]
11263         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
11264         Fix pr_uid and pr_gid members.
11265         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
11266         definition to elf_greg_t.
11268 2015-07-08  Roland McGrath  <roland@hack.frob.com>
11270         [BZ #18383]
11271         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
11272         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
11273         * sysdeps/arm/configure: Regenerated.
11274         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
11275         (test-xfail-tst-tlsalign-static): Variable removed.
11277         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
11278         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
11279         rather than explicit 'ln -s'.
11281         * resolv/rpc/netdb.h: New file.
11282         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
11284 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11286         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
11287         length buffers.
11288         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11289         test-skeleton.c.
11291         [BZ #6544]
11292         [BZ #11216]
11293         [BZ #12836]
11294         [BZ #13151]
11295         [BZ #13152]
11296         [BZ #14292]
11297         * include/stdio.h (fmemopen): Remove hidden prototype.
11298         (__fmemopen): Add new hidden prototype.
11299         * libio/Makefile: Add oldfmemopen object.
11300         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
11301         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
11302         compliance.
11303         * libio/oldfmemopen.c: New file: old fmemopen implementation for
11304         symbol compatibility.
11305         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
11306         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
11307         fmemopen.
11308         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
11309         on append and read mode.
11310         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
11311         fmemopen.
11312         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
11313         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
11314         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
11315         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
11316         Likewise.
11317         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11318         [GLIBC_2.22]: Likewise.
11319         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
11320         Likewise.
11321         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
11322         Likewise.
11323         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11324         [GLIBC_2.22]: Likewise.
11325         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11326         [GLIBC_2.22]: Likewise.
11327         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11328         [GLIBC_2.22]: Likewise.
11329         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11330         [GLIBC_2.22]: Likewise.
11331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11332         [GLIBC_2.22]: Likewise.
11333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11334         [GLIBC_2.22]: Likewise.
11335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11336         [GLIBC_2.22]: Likewise.
11337         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
11338         Likewise.
11339         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
11340         Likewise.
11341         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
11342         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11343         [GLIBC_2.22]: Likewise.
11344         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11345         [GLIBC_2.22]: Likewise.
11346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11347         [GLIBC_2.22]: Likewise.
11348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11349         [GLIBC_2.22]: Likewise.
11350         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
11351         Likewise.
11352         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
11353         Likewise.
11354         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
11355         Likewise.
11356         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
11357         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
11359 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11361         [BZ #18643]
11362         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
11363         IPV6_PATHMTU, and IPV6_DONTFRAG.
11365 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
11367         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
11368         and _IO_UNBUFFERED.
11369         * libio/oldfileops.c: Likewise.
11370         * libio/wfileops.c: Likewise.
11372 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11374         * nscd/selinux.c: Delete selinux/flask.h include.
11376 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11378         [BZ #18641]
11379         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
11380         (putpwent): Likewise.
11381         (getpwnam): Likewise.
11382         (getpwent_r): Likewise.
11383         (getpwuid_r): Likewise.
11384         (getpwnam_r): Likewise.
11385         (fgetpwent_r): Likewise.
11387 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11389         [BZ #18557]
11390         * inet/rcmd.c (__validuser2_sa): Check user first to
11391         short-circuit host check.
11393 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
11394             Mikhail Ilin  <m.ilin@samsung.com>
11396         [BZ #17833]
11397         * elf/Makefile (tests): Add tst-nodelete.
11398         (modules-names): Add tst-nodelete-uniquemod.
11399         (tst-nodelete-uniquemod.so-no-z-defs): New.
11400         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
11401         (tst-nodelete-zmod.so-no-z-defs): Likewise.
11402         ($(objpfx)tst-nodelete): Likewise.
11403         ($(objpfx)tst-nodelete.out): Likewise.
11404         (LDFLAGS-tst-nodelete): Likewise.
11405         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
11406         * elf/dl-close.c (_dl_close_worker): Add a parameter to
11407         implement forced object deletion.
11408         (_dl_close): Pass false to _dl_close_worker.
11409         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
11410         * elf/tst-nodelete.cc: New file.
11411         * elf/tst-nodeletelib.cc: Likewise.
11412         * elf/tst-znodeletelib.cc: Likewise.
11413         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
11415 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11417         [BZ #18508]
11418         * stdlib/Makefile ($(objpfx)tst-makecontext3):
11419         Depend on $(libdl).
11420         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
11421         is not called infinitely times.
11422         (backtrace_helper): New function.
11423         (trace_arg): New struct.
11424         (st1): Enlarge stack size.
11425         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11426         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
11427         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11428         Likewise.
11430 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11432         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11434 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11436         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
11437         Include sys/types.h instead of bits/types.h.
11438         Remove inclusion of bits/wordsize.h.
11440 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11442         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
11443         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
11444         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
11445         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
11446         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
11447         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
11449 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11451         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
11452         link-defines.sym.
11453         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
11454         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
11455         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
11456         and LR_SIZE.
11457         * sysdeps/i386/link-defines.sym: New file.
11459 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11461         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
11462         (modules-names): Add tst-auditmod3a tst-auditmod3b.
11463         ($(objpfx)tst-audit3): New rule.
11464         ($(objpfx)tst-audit3.out): Likewise.
11465         * sysdeps/i386/tst-audit3.c: New file.
11466         * sysdeps/i386/tst-audit3.h: Likewise.
11467         * sysdeps/i386/tst-auditmod3a.c: Likewise.
11468         * sysdeps/i386/tst-auditmod3b.c: Likewise.
11470 2015-07-07  Torvald Riegel  <triegel@redhat.com>
11472         [BZ #18633]
11473         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
11474         pointer in C code.
11475         (__strcat_c): Likewise.
11476         (__strcat_g): Likewise.
11478 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
11480         [BZ #18592]
11481         * misc/sbrk.c: Set errno to ENOMEM on overflow.
11483 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11485         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
11486         New function.  (__ieee754_sqrtf): New function.
11487         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
11488         New function.
11489         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
11490         New function.
11492 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11494         * sysdeps/ieee754/support.c: Remove unused file.
11496 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11498         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
11499         registers instead of d ones so the layout is kernel abi compatible.
11500         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
11501         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
11502         Likewise.
11504 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11506         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11508 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11510         [BZ #18619]
11511         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
11512         and return argument in case of subnormal argument.
11514 2015-07-01  Martin Sebor  <msebor@redhat.com>
11516         [BZ #18435]
11517         * nptl/Makefile: Add tst-once5.cc.
11518         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11519         Remove macro redefinitions.
11520         * nptl/tst-once5.cc: New test.
11522 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11524         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11526         * sysdeps/arm/libm-test-ulps: Regenerated.
11528         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11529         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11531 2015-06-30  Torvald Riegel  <triegel@redhat.com>
11533         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
11534         lll_lock_wait_private and lll_futex_wake probes.
11536         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11537         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
11538         Likewise.
11539         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
11540         atomic_spin_nop.
11541         * sysdeps/x86_64/bits/atomic.h: Likewise.
11542         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
11543         to atomic_spin_nop and move ...
11544         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11545         ... here and ...
11546         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
11547         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
11548         atomic_spin_nop instead of BUSY_WAIT_NOP.
11549         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
11550         Likewise.
11551         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
11552         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11553         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
11554         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
11555         instead of atomic_delay.
11557 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
11559         [BZ #18613]
11560         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
11561         X_ADJ not X when adjusting exponent.
11562         (__ieee754_gamma_r): Do intermediate computations in
11563         round-to-nearest then adjust overflowing and underflowing results
11564         as needed.
11565         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
11566         of X_ADJ not X when adjusting exponent.
11567         (__ieee754_gammaf_r): Do intermediate computations in
11568         round-to-nearest then adjust overflowing and underflowing results
11569         as needed.
11570         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
11571         log of X_ADJ not X when adjusting exponent.
11572         (__ieee754_gammal_r): Do intermediate computations in
11573         round-to-nearest then adjust overflowing and underflowing results
11574         as needed.  Use 1.0L not 1.0f as numerator of division.
11575         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
11576         log of X_ADJ not X when adjusting exponent.
11577         (__ieee754_gammal_r): Do intermediate computations in
11578         round-to-nearest then adjust overflowing and underflowing results
11579         as needed.  Use 1.0L not 1.0f as numerator of division.
11580         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
11581         of X_ADJ not X when adjusting exponent.
11582         (__ieee754_gammal_r): Do intermediate computations in
11583         round-to-nearest then adjust overflowing and underflowing results
11584         as needed.  Use 1.0L not 1.0f as numerator of division.
11585         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
11586         to auto-libm-test-in.
11587         (tgamma_test): Use ALL_RM_TEST.
11588         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
11589         tests of tgamma with spurious-overflow.
11590         * math/auto-libm-test-out: Regenerated.
11591         * math/gen-libm-have-vector-test.sh: Do not check for START.
11592         * sysdeps/i386/fpu/libm-test-ulps: Update.
11593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11595         [BZ #18612]
11596         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
11597         arguments, just return 0.5 times the argument, with underflow
11598         forced as needed.
11599         * math/auto-libm-test-in: Add more tests of j1.
11600         * math/auto-libm-test-out: Regenerated.
11602         [BZ #16559]
11603         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11604         (__ieee754_j1): Force underflow exception for small results.
11605         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11606         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11607         (__ieee754_j1f): Force underflow exception for small results.
11608         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11609         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11610         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11611         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11612         (__ieee754_j1l): Force underflow exception for small results.
11613         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11614         * math/auto-libm-test-in: Add more tests of j1 and jn.
11615         * math/auto-libm-test-out: Regenerated.
11617         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11618         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11619         (PF_MPLS): Likewise.
11620         (AF_IB): Likewise.
11621         (AF_MPLS): Likewise.
11622         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11623         value and macro.
11624         (MS_RMT_MASK): Include MS_LAZYTIME.
11626 2015-06-26  Mel Gorman  <mgorman@suse.de>
11628         [BZ #18502]
11629         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11630         already minimal.
11632 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
11634         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11635         (DT_MIPS_NUM): Update.
11636         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11637         DT_MIPS_RLD_MAP_REL.
11639 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
11641         [BZ #16559]
11642         [BZ #18602]
11643         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11644         round-to-nearest internally then recompute results that
11645         underflowed to zero in the original rounding mode.
11646         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11647         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11648         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11649         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11650         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11651         * sysdeps/i386/fpu/libm-test-ulps: Update.
11652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11654 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11656         * NEWS: Fixed description of link with vector math library.
11658 2015-06-25  Andreas Schwab  <schwab@suse.de>
11660         [BZ #18549]
11661         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11662         * libio/test-fmemopen.c (do_test): Add test for it.
11664 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11666         [BZ #17841]
11667         * Makeconfig (no-pie-ldflag): New.
11668         (+link): Set to $(+link-pie) if default to PIE.
11669         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11670         * config.make.in (build-pie-default): New.
11671         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
11672         is default.  AC_SUBST.
11673         * configure: Regenerated.
11674         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11676 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11678         * nptl/descr.h (struct pthread): Change type of field setxid_futex
11679         to 'unsigned int'.
11681         * resolv/gai_misc.h (struct waitlist): Change type of field
11682         counterp to 'volatile unsigned int *'.
11683         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11684         FUTEXADDR and OLDVAL.
11685         * resolv/getaddrinfo_a.c (getaddrinfo_a):
11686         Give local variable TOTAL type 'volatile unsigned int'.
11687         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11688         * resolv/gai_suspend.c (gai_suspend):
11689         Give local variable CNTR type 'unsigned int'.
11691         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11692         counterp to 'volatile unsigned int *'.
11693         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11694         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11695         (aio_suspend): Give local variable CNTR type 'unsigned int'.
11696         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11697         Give local variable TOTAL type 'volatile unsigned int'.
11698         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11700 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11702         [BZ #18383]
11703         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11704         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
11705         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11706         comment for i386/x86-64.
11707         (test-xfail-tst-tlsalign-extern-static): Removed.
11709 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11711         * math/test-double.h: New file.
11712         * math/test-float.h: Likewise.
11713         * math/test-ldouble.h: Likewise.
11714         * math/test-math-inline.h: Likewise.
11715         * math/test-math-no-inline.h: Likewise.
11716         * math/test-math-scalar.h: Likewise.
11717         * math/test-math-vector.h: Likewise.
11718         * math/test-vec-loop.h: Remove file.  Contents moved into
11719         test-math-vector.h.
11720         * math/libm-test.inc (MATHCONST): Do not document macro.
11721         * math/test-double.c: Include test-double.h, test-math-no-inline.h
11722         and test-math-scalar.h.
11723         (FUNC): Remove macro.
11724         (FUNC_TEST): Likewise.
11725         (FLOAT): Likewise.
11726         (MATHCONST): Likewise.
11727         (PRINTF_EXPR): Likewise.
11728         (PRINTF_XEXPR): Likewise.
11729         (PRINTF_NEXPR): Likewise.
11730         (TEST_DOUBLE): Likewise.
11731         (TEST_MATHVEC): Likewise.
11732         (__NO_MATH_INLINES): Likewise.
11733         * math/test-float.c: Include test-float.h, test-math-no-inline.h
11734         and test-math-scalar.h.
11735         (FUNC): Remove macro.
11736         (FUNC_TEST): Likewise.
11737         (FLOAT): Likewise.
11738         (MATHCONST): Likewise.
11739         (PRINTF_EXPR): Likewise.
11740         (PRINTF_XEXPR): Likewise.
11741         (PRINTF_NEXPR): Likewise.
11742         (TEST_FLOAT): Likewise.
11743         (TEST_MATHVEC): Likewise.
11744         (__NO_MATH_INLINES): Likewise.
11745         * math/test-idouble.c: Include test-double.h, test-math-inline.h
11746         and test-math-scalar.h.
11747         (FUNC): Remove macro.
11748         (FUNC_TEST): Likewise.
11749         (FLOAT): Likewise.
11750         (MATHCONST): Likewise.
11751         (PRINTF_EXPR): Likewise.
11752         (PRINTF_XEXPR): Likewise.
11753         (PRINTF_NEXPR): Likewise.
11754         (TEST_DOUBLE): Likewise.
11755         (TEST_MATHVEC): Likewise.
11756         (TEST_INLINE): Likewise.
11757         (__NO_MATH_INLINES): Likewise.
11758         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
11759         test-math-scalar.h.
11760         (FUNC): Remove macro.
11761         (FUNC_TEST): Likewise.
11762         (FLOAT): Likewise.
11763         (MATHCONST): Likewise.
11764         (PRINTF_EXPR): Likewise.
11765         (PRINTF_XEXPR): Likewise.
11766         (PRINTF_NEXPR): Likewise.
11767         (TEST_FLOAT): Likewise.
11768         (TEST_MATHVEC): Likewise.
11769         (TEST_INLINE): Likewise.
11770         (__NO_MATH_INLINES): Likewise.
11771         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
11772         and test-math-scalar.h.
11773         (FUNC): Remove macro.
11774         (FUNC_TEST): Likewise.
11775         (FLOAT): Likewise.
11776         (MATHCONST): Likewise.
11777         (PRINTF_EXPR): Likewise.
11778         (PRINTF_XEXPR): Likewise.
11779         (PRINTF_NEXPR): Likewise.
11780         (TEST_LDOUBLE): Likewise.
11781         (TEST_MATHVEC): Likewise.
11782         (TEST_INLINE): Likewise.
11783         (__NO_MATH_INLINES): Likewise.
11784         * math/test-ldouble.c: Include test-ldouble.h,
11785         test-math-no-inline.h and test-math-scalar.h.
11786         (FUNC): Remove macro.
11787         (FUNC_TEST): Likewise.
11788         (FLOAT): Likewise.
11789         (MATHCONST): Likewise.
11790         (PRINTF_EXPR): Likewise.
11791         (PRINTF_XEXPR): Likewise.
11792         (PRINTF_NEXPR): Likewise.
11793         (TEST_LDOUBLE): Likewise.
11794         (TEST_MATHVEC): Likewise.
11795         (__NO_MATH_INLINES): Likewise.
11796         * math/test-double-vlen2.h: Include test-double.h,
11797         test-math-no-inline.h and test-math-vector.h.
11798         (FLOAT): Remove macro.
11799         (FUNC): Likewise.
11800         (MATHCONST): Likewise.
11801         (PRINTF_EXPR): Likewise.
11802         (PRINTF_XEXPR): Likewise.
11803         (PRINTF_NEXPR): Likewise.
11804         (TEST_DOUBLE): Likewise.
11805         (TEST_MATHVEC): Likewise.
11806         (__NO_MATH_INLINES): Likewise.
11807         (CNCT): Likewise.
11808         (CONCAT): Likewise.
11809         (WRAPPER_NAME): Likewise.
11810         (WRAPPER_DECL): Likewise.
11811         (WRAPPER_DECL_ff): Likewise.
11812         (WRAPPER_DECL_fFF): Likewise.
11813         (VECTOR_WRAPPER): Likewise.
11814         (VECTOR_WRAPPER_ff): Likewise.
11815         (VECTOR_WRAPPER_fFF): Likewise.
11816         (VEC_LEN): New macro.
11817         * math/test-double-vlen4.h: Include test-double.h,
11818         test-math-no-inline.h and test-math-vector.h.
11819         (FLOAT): Remove macro.
11820         (FUNC): Likewise.
11821         (MATHCONST): Likewise.
11822         (PRINTF_EXPR): Likewise.
11823         (PRINTF_XEXPR): Likewise.
11824         (PRINTF_NEXPR): Likewise.
11825         (TEST_DOUBLE): Likewise.
11826         (TEST_MATHVEC): Likewise.
11827         (__NO_MATH_INLINES): Likewise.
11828         (CNCT): Likewise.
11829         (CONCAT): Likewise.
11830         (WRAPPER_NAME): Likewise.
11831         (WRAPPER_DECL): Likewise.
11832         (WRAPPER_DECL_ff): Likewise.
11833         (WRAPPER_DECL_fFF): Likewise.
11834         (VECTOR_WRAPPER): Likewise.
11835         (VECTOR_WRAPPER_ff): Likewise.
11836         (VECTOR_WRAPPER_fFF): Likewise.
11837         (VEC_LEN): New macro.
11838         * math/test-double-vlen8.h: Include test-double.h,
11839         test-math-no-inline.h and test-math-vector.h.
11840         (FLOAT): Remove macro.
11841         (FUNC): Likewise.
11842         (MATHCONST): Likewise.
11843         (PRINTF_EXPR): Likewise.
11844         (PRINTF_XEXPR): Likewise.
11845         (PRINTF_NEXPR): Likewise.
11846         (TEST_DOUBLE): Likewise.
11847         (TEST_MATHVEC): Likewise.
11848         (__NO_MATH_INLINES): Likewise.
11849         (CNCT): Likewise.
11850         (CONCAT): Likewise.
11851         (WRAPPER_NAME): Likewise.
11852         (WRAPPER_DECL): Likewise.
11853         (WRAPPER_DECL_ff): Likewise.
11854         (WRAPPER_DECL_fFF): Likewise.
11855         (VECTOR_WRAPPER): Likewise.
11856         (VECTOR_WRAPPER_ff): Likewise.
11857         (VECTOR_WRAPPER_fFF): Likewise.
11858         (VEC_LEN): New macro.
11859         * math/test-float-vlen4.h: Include test-float.h,
11860         test-math-no-inline.h and test-math-vector.h.
11861         (FLOAT): Remove macro.
11862         (FUNC): Likewise.
11863         (MATHCONST): Likewise.
11864         (PRINTF_EXPR): Likewise.
11865         (PRINTF_XEXPR): Likewise.
11866         (PRINTF_NEXPR): Likewise.
11867         (TEST_FLOAT): Likewise.
11868         (TEST_MATHVEC): Likewise.
11869         (__NO_MATH_INLINES): Likewise.
11870         (CNCT): Likewise.
11871         (CONCAT): Likewise.
11872         (WRAPPER_NAME): Likewise.
11873         (WRAPPER_DECL): Likewise.
11874         (WRAPPER_DECL_ff): Likewise.
11875         (WRAPPER_DECL_fFF): Likewise.
11876         (VECTOR_WRAPPER): Likewise.
11877         (VECTOR_WRAPPER_ff): Likewise.
11878         (VECTOR_WRAPPER_fFF): Likewise.
11879         (VEC_LEN): New macro.
11880         * math/test-float-vlen8.h: Include test-float.h,
11881         test-math-no-inline.h and test-math-vector.h.
11882         (FLOAT): Remove macro.
11883         (FUNC): Likewise.
11884         (MATHCONST): Likewise.
11885         (PRINTF_EXPR): Likewise.
11886         (PRINTF_XEXPR): Likewise.
11887         (PRINTF_NEXPR): Likewise.
11888         (TEST_FLOAT): Likewise.
11889         (TEST_MATHVEC): Likewise.
11890         (__NO_MATH_INLINES): Likewise.
11891         (CNCT): Likewise.
11892         (CONCAT): Likewise.
11893         (WRAPPER_NAME): Likewise.
11894         (WRAPPER_DECL): Likewise.
11895         (WRAPPER_DECL_ff): Likewise.
11896         (WRAPPER_DECL_fFF): Likewise.
11897         (VECTOR_WRAPPER): Likewise.
11898         (VECTOR_WRAPPER_ff): Likewise.
11899         (VECTOR_WRAPPER_fFF): Likewise.
11900         (VEC_LEN): New macro.
11901         * math/test-float-vlen16.h: Include test-float.h,
11902         test-math-no-inline.h and test-math-vector.h.
11903         (FLOAT): Remove macro.
11904         (FUNC): Likewise.
11905         (MATHCONST): Likewise.
11906         (PRINTF_EXPR): Likewise.
11907         (PRINTF_XEXPR): Likewise.
11908         (PRINTF_NEXPR): Likewise.
11909         (TEST_FLOAT): Likewise.
11910         (TEST_MATHVEC): Likewise.
11911         (__NO_MATH_INLINES): Likewise.
11912         (CNCT): Likewise.
11913         (CONCAT): Likewise.
11914         (WRAPPER_NAME): Likewise.
11915         (WRAPPER_DECL): Likewise.
11916         (WRAPPER_DECL_ff): Likewise.
11917         (WRAPPER_DECL_fFF): Likewise.
11918         (VECTOR_WRAPPER): Likewise.
11919         (VECTOR_WRAPPER_ff): Likewise.
11920         (VECTOR_WRAPPER_fFF): Likewise.
11921         (VEC_LEN): New macro.
11922         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
11923         test-vec-loop.h.
11924         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11925         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11926         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11927         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11928         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11929         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11930         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11932 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11934         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
11935         (__getlogin_r): ... this.
11937 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11939         [BZ #18594]
11940         * math/s_ccosh.c (__ccosh): Compare with least normal value
11941         instead of comparing class with FP_SUBNORMAL.
11942         * math/s_ccoshf.c (__ccoshf): Likewise.
11943         * math/s_ccoshl.c (__ccoshl): Likewise.
11944         * math/s_cexp.c (__cexp): Likewise.
11945         * math/s_cexpf.c (__cexpf): Likewise.
11946         * math/s_cexpl.c (__cexpl): Likewise.
11947         * math/s_csin.c (__csin): Likewise.
11948         * math/s_csinf.c (__csinf): Likewise.
11949         * math/s_csinh.c (__csinh): Likewise.
11950         * math/s_csinhf.c (__csinhf): Likewise.
11951         * math/s_csinhl.c (__csinhl): Likewise.
11952         * math/s_csinl.c (__csinl): Likewise.
11953         * math/s_ctan.c (__ctan): Likewise.
11954         * math/s_ctanf.c (__ctanf): Likewise.
11955         * math/s_ctanh.c (__ctanh): Likewise.
11956         * math/s_ctanhf.c (__ctanhf): Likewise.
11957         * math/s_ctanhl.c (__ctanhl): Likewise.
11958         * math/s_ctanl.c (__ctanl): Likewise.
11959         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
11960         csin, csinh, ctan and ctanh.
11961         * math/auto-libm-test-out: Regenerated.
11962         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
11963         * sysdeps/i386/fpu/libm-test-ulps: Update.
11964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11966 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11968         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
11969         return value is wrong, print the expected value too.
11971 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11973         [BZ #18585]
11974         * elf/readlib.c (is_gdb_python_file): New.
11975         (process_file): Don't issue errors on filenames with -gdb.py
11976         suffix.
11978 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11980         * math/auto-libm-test-in: Add more tests of csin and csinh.
11981         * math/auto-libm-test-out: Regenerated.
11982         * math/libm-test.inc (csin_test_data): Remove tests moved to
11983         auto-libm-test-in.
11984         (csinh_test_data): Likewise.
11986         [BZ #18593]
11987         * math/s_csin.c (__csin): Negate before rather than after possibly
11988         overflowing multiplication.
11989         * math/s_csinf.c (__csinf): Likewise.
11990         * math/s_csinh.c (__csinh): Likewise.
11991         * math/s_csinhf.c (__csinhf): Likewise.
11992         * math/s_csinhl.c (__csinhl): Likewise.
11993         * math/s_csinl.c (__csinl): Likewise.
11994         * math/auto-libm-test-in: Add some tests of csin and csinh.
11995         * math/auto-libm-test-out: Regenerated.
11996         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
11997         (csinh_test_data): Likewise.
11998         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12000         [BZ #18586]
12001         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
12002         underflow exception for small results.
12004 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12006         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12007         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
12008         variable and included header.
12009         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
12010         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
12011         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
12012         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
12013         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
12014         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12015         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12016         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
12017         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
12018         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
12019         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
12020         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
12021         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
12022         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
12023         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
12024         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
12026 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12028         [BZ #16526]
12029         [BZ #16538]
12030         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
12031         (__sin): Force underflow exception for arguments with small
12032         absolute value.
12033         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
12034         (__kernel_sinf): Force underflow exception for arguments with
12035         small absolute value.
12036         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
12037         (__kernel_sincosl): Force underflow exception for arguments with
12038         small absolute value.
12039         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
12040         (__kernel_sinl): Force underflow exception for arguments with
12041         small absolute value.
12042         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
12043         (__kernel_sincosl): Force underflow exception for arguments with
12044         small absolute value.
12045         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
12046         (__kernel_sinl): Force underflow exception for arguments with
12047         small absolute value.
12048         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
12049         (__kernel_sinl): Force underflow exception for arguments with
12050         small absolute value.
12051         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
12052         (__kernel_sinf): Force underflow exception for arguments with
12053         small absolute value.
12054         * math/auto-libm-test-in: Add more tests of sin and sincos.
12055         * math/auto-libm-test-out: Regenerated.
12057         [BZ #18245]
12058         [BZ #18583]
12059         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
12060         (__kernel_standard_l): Use feholdexcept and fesetenv around
12061         conversion to double instead of special-casing overflow and
12062         underflow.
12063         * math/libm-test.inc (fmod_test_data): Add more tests.
12064         (remainder_test_data): Likewise.
12065         (sqrt_test_data): Likewise.
12067 2015-06-23  Torvald Riegel  <triegel@redhat.com>
12069         [BZ #17403]
12070         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
12071         atomic_read_barrier, atomic_write_barrier): Define.
12072         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
12073         atomic_read_barrier, atomic_write_barrier): Define.
12075 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12077         * math/Makefile [$(PERL) != no]
12078         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
12079         dependency on libm-test.stmp below the inclusion of Rules.
12081 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
12083         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12084         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
12085         and included header.
12086         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
12087         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
12088         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
12089         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
12090         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
12091         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
12092         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12093         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12094         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
12095         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
12096         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
12097         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
12098         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
12099         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
12100         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
12101         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
12102         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
12103         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
12104         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
12106 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12108         [BZ #18371]
12109         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
12110         intermediate but not final result might underflow.
12111         * math/s_csqrtf.c (__csqrtf): Likewise.
12112         * math/s_csqrtl.c (__csqrtl): Likewise.
12113         * math/auto-libm-test-in: Add more tests of csqrt.
12114         * math/auto-libm-test-out: Regenerated.
12115         * sysdeps/i386/fpu/libm-test-ulps: Update.
12117         [BZ #18219]
12118         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
12119         threshold on absolute value of exponent for which scaling is used.
12120         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12121         * math/auto-libm-test-in: Add more tests of exp2.
12122         * math/auto-libm-test-out: Regenerated.
12124 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
12126         [BZ #17977]
12127         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
12128         when initializing interface list, based on the bug analysis
12129         and the patch proposed by Eric Newton.
12130         * resolv/tst-res_hconf_reorder.c: New test.
12131         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
12132         tst-res_hconf_reorder.
12133         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
12134         and $(shared-thread-library).
12135         (tst-res_hconf_reorder-ENV): New variable.
12137         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
12138         in comment.
12140 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
12142         [BZ #16353]
12143         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
12144         (__expm1): Force underflow exception for arguments with small
12145         absolute value.
12146         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
12147         (__expm1f): Force underflow exception for arguments with small
12148         absolute value.
12149         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
12150         (__expm1): Force underflow exception for arguments with small
12151         absolute value.
12152         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
12153         (__expm1f): Force underflow exception for arguments with small
12154         absolute value.
12155         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12156         Check for small arguments before calling __expm1.
12157         * math/auto-libm-test-in: Do not mark underflow exceptions as
12158         possibly missing for bug 16353.
12159         * math/auto-libm-test-out: Regenerated.
12161 2015-06-22  Andreas Schwab  <schwab@suse.de>
12163         [BZ #18513]
12164         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
12165         PTR queries.
12167 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
12169         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
12171         * string/strcoll_l.c: Remove unused struct element idxnow.
12173 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
12175         [BZ #18569]
12176         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
12177         underflow and return argument in case of subnormal argument.
12178         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12179         Likewise.
12180         * math/auto-libm-test-in: Add more tests of expm1.
12181         * math/auto-libm-test-out: Regenerated.
12183         [BZ #16361]
12184         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12185         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12186         tiny results.
12187         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12188         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12189         tiny results.
12190         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
12191         mark underflow exceptions as possibly missing for bug 16361.
12192         * math/auto-libm-test-out: Regenerated.
12194 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
12196         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
12197         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
12198         Remove variable.
12199         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12200         (test-xfail-XOPEN2K8/utmpx.h/conform).
12202         * conform/conformtest.pl ($xerrors): New variable.
12203         (note_error): New function.
12204         (compiletest): New argument $xfail.  Use not_error.
12205         (runtest): Likewise.
12206         (top level): Handle xfail- lines.  Update calls to compiletest and
12207         runtest.  Handle xfail- and optional- in headers listed with
12208         allow-header.
12209         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
12210         (O_EXEC): Likewise.
12211         (O_SEARCH): Likewise.
12212         * conform/data/stropts.h-data (ioctl): Likewise.
12213         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
12214         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
12215         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
12216         (msghdr.msg_controllen): Likewise.
12217         (cmsghdr.cmsg_len): Likewise.
12218         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
12219         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
12220         variable.
12221         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12222         (test-xfail-XPG4/stropts.h/conform): Likewise.
12223         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12224         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12225         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12226         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12227         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12228         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12229         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12230         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12231         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12232         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12233         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12234         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12235         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12236         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12237         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12238         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12239         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12240         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12241         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12243 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12245         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
12246         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
12247         definitions for proper unfolding of __MATHDECL_VEC.
12249 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12251         * benchtests/bench-strcoll.c:
12252         Include string.h.
12253         (main): Remove unused variable res.
12255 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12257         * timezone/Makefile (%/UTC %/Universal):
12258         Generate test-result files for UTC and Universal.
12260 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12262         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12264 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
12266         [BZ #16350]
12267         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
12268         for arguments with small absolute value.
12269         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
12270         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
12271         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
12272         (__asinh): Force underflow exception for arguments with small
12273         absolute value.
12274         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
12275         (__asinhf): Force underflow exception for arguments with small
12276         absolute value.
12277         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
12278         (__asinhl): Force underflow exception for arguments with small
12279         absolute value.
12280         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
12281         (__asinhl): Force underflow exception for arguments with small
12282         absolute value.
12283         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
12284         (__asinhl): Force underflow exception for arguments with small
12285         absolute value.
12286         * math/auto-libm-test-in: Do not mark underflow exceptions as
12287         possibly missing for bug 16350.
12288         * math/auto-libm-test-out: Regenerated.
12290         * include/bits/ipc.h: Remove file.
12291         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
12292         variable.
12293         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12294         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12295         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12296         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12297         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12298         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12299         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12300         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12301         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12303         * math/auto-libm-test-in: Remove spurious underflow allowance for
12304         tests of cexp.
12305         * math/auto-libm-test-out: Regenerated.
12307         [BZ #18558]
12308         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
12309         unconditional definition.
12310         (MCAST_BLOCK_SOURCE): Likewise.
12311         (MCAST_UNBLOCK_SOURCE): Likewise.
12312         (MCAST_LEAVE_GROUP): Likewise.
12313         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12314         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12315         (MCAST_MSFILTER): Likewise.
12316         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
12317         Remove variable.
12318         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12319         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12320         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12321         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12322         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12324 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
12326         * NEWS: Mention addition of x86_64 vector sincosf.
12327         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
12328         * math/test-float-vlen4.h: Likewise.
12329         * math/test-float-vlen8.h: Likewise.
12330         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12331         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
12332         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12333         * sysdeps/x86_64/fpu/Versions: New versions added.
12334         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12335         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12336         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12337         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
12338         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12339         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
12340         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12341         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
12342         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12343         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
12344         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
12345         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
12346         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
12347         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
12348         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
12349         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
12350         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
12351         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12352         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12353         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12354         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12355         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12356         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12357         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12359         * NEWS: Mention addition of x86_64 vector sincos.
12360         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
12361         * math/math.h (__MATHDECL_VEC): New macro.
12362         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
12363         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
12364         declaration under condition.
12365         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
12366         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
12367         TEST_VEC_LOOP change.
12368         * math/test-double-vlen4.h: Likewise.
12369         * math/test-double-vlen8.h: Likewise.
12370         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
12371         * math/test-float-vlen4.h: Likewise.
12372         * math/test-float-vlen8.h: Likewise.
12373         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12374         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
12375         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12376         * sysdeps/x86_64/fpu/Versions: New versions added.
12377         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12378         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12379         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12380         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
12381         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
12382         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
12383         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
12384         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
12385         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
12386         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
12387         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
12388         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
12389         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
12390         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
12391         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
12392         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
12393         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
12394         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12395         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12396         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12397         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12398         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12399         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12400         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12402         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12403         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12404         redirections for powf.
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/svml_s_wrapper_impl.h: Added 2 argument wrappers.
12411         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
12412         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
12413         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
12414         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
12415         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
12416         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
12417         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
12418         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
12419         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
12420         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
12421         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
12422         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
12423         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
12424         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12425         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12426         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12427         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12428         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12429         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12430         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12431         * math/test-float-vlen16.h: Fixed 2 argument macro.
12432         * math/test-float-vlen4.h: Likewise.
12433         * math/test-float-vlen8.h: Likewise.
12434         * NEWS: Mention addition of x86_64 vector powf.
12436 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
12438         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12439         and redefine.
12440         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12441         and redefine.
12442         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
12443         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12444         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12446         [BZ #18553]
12447         * resource/getpriority.c (getpriority): Rename to __getpriority
12448         and define as weak alias of __getpriority.
12449         * resource/setpriority.c (setpriority): Rename to __setpriority
12450         and define as weak alias of __setpriority.
12451         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
12452         __getpriority and define as weak alias of __getpriority.
12453         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
12454         __setpriority and define as weak alias of __setpriority.
12455         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
12456         strong name.
12457         (setpriority): Use __setpriority as strong name.
12458         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
12459         __getpriority and define as weak alias of __getpriority.
12460         * include/sys/resource.h (__getpriority): Declare.  Use
12461         libc_hidden_proto.
12462         (__setpriority): Likewise.
12463         (getpriority): Don't use libc_hidden_proto.
12464         (setpriority): Likewise.
12465         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
12466         getpriority.  Call __setpriority instead of setpriority.
12467         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
12468         Remove variable.
12470         [BZ #18547]
12471         * misc/getttyent.c (getttynam): Rename to __getttynam and define
12472         as weak alias of __getttynam.  Use prototype function definition.
12473         Call __setttyent, __getttyent and __endttyent instead of
12474         setttyent, getttyent and endttyent.
12475         (getttyent): Rename to __getttyent and define as weak alias of
12476         __getttyent.  Call __setttyent instead of setttyent.  Call
12477         __fgets_unlocked instead of fgets_unlocked.
12478         (setttyent): Rename to __setttyent and define as weak alias of
12479         __setttyent.
12480         (endttyent): Rename to __endttyent and define as weak alias of
12481         __endttyent.
12482         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
12483         (__setttyent): Likewise.
12484         (__endttyent): Likewise.
12485         (getttyent): Don't use libc_hidden_proto.
12486         (setttyent): Likewise.
12487         (endttyent): Likewise.
12488         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
12489         __endttyent instead of setttyent, getttyent and endttyent.
12490         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
12491         Remove variable.
12493         [BZ #18546]
12494         * socket/recv.c (__recv): Use libc_hidden_def.
12495         * socket/socket.c (__socket): Likewise.
12496         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12497         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12498         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
12499         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
12500         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
12501         libc_hidden_def.
12502         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
12503         libc_hidden_weak.
12504         * include/sys/socket.h (__socket): Do not use attribute_hidden.
12505         Use libc_hidden_proto.
12506         (__recv): Likewise.
12507         * socket/Versions (libc): Export __recv and __socket at version
12508         GLIBC_PRIVATE.
12509         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
12510         instead of recv.
12511         (init_mq_netlink): Call __socket instead of socket.
12512         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
12513         Remove variable.
12515         [BZ #18545]
12516         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
12517         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
12518         hidden_weak.
12519         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
12520         define as alias of __mq_timedsend.  Use hidden_weak.
12521         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
12522         __mq_timedsend as strong name.
12523         (mq_timedreceive): Use __mq_timedreceive as strong name.
12524         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
12525         (__mq_timedreceive): Likewise.
12526         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
12527         __mq_timedreceive instead of mq_timedreceive.
12528         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
12529         instead of mq_timedsend.
12530         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
12531         Remove variable.
12533         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
12534         hidden_def and hidden_weak instead of libc_hidden_def and
12535         libc_hidden_weak.
12536         (top level): Refer to hidden_def in comment.
12537         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
12538         macro.  Use it instead of libc_hidden_def.
12539         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
12540         specify __GI_* name explicitly.
12541         (mq_timedreceive): Likewise.
12542         (mq_setattr): Likewise.
12544         [BZ #18544]
12545         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
12546         __pthread_barrier_init and define as weak alias of
12547         __pthread_barrier_init.
12548         * sysdeps/sparc/nptl/pthread_barrier_init.c
12549         (pthread_barrier_init): Likewise.
12550         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
12551         __pthread_barrier_wait and define as weak alias of
12552         __pthread_barrier_wait.
12553         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12554         (pthread_barrier_wait): Likewise.
12555         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12556         (pthread_barrier_wait): Likewise.
12557         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
12558         (pthread_barrier_wait): Likewise.
12559         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
12560         (pthread_barrier_wait): Likewise.
12561         * nptl/Versions (libpthread): Export __pthread_barrier_init and
12562         __pthread_barrier_wait at version GLIBC_PRIVATE.
12563         * include/pthread.h (__pthread_barrier_init): Declare.
12564         (__pthread_barrier_wait): Likewise.
12565         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
12566         Call __pthread_barrier_wait instead of pthread_barrier_wait.
12567         (helper_thread): Likewise.
12568         (init_mq_netlink): Call __pthread_barrier_init instead of
12569         pthread_barrier_init.
12571         [BZ #18542]
12572         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
12573         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
12574         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
12575         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
12576         vswscanf.
12577         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
12578         Remove variable.
12580         [BZ #18540]
12581         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
12582         strong alias of _IO_fflush.  Use libc_hidden_def.
12583         * libio/iofflush_u.c (fflush_unlocked): Rename to
12584         __fflush_unlocked and define as weak alias of __fflush_unlocked.
12585         Use libc_hidden_weak.
12586         * include/stdio.h (__fflush_unlocked): Declare.  Use
12587         libc_hidden_proto.
12588         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
12589         fflush_unlocked.
12590         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
12591         Remove variable.
12593         [BZ #18539]
12594         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
12595         define as weak alias of __addseverity.
12596         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
12597         Remove variable.
12598         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12599         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12600         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12602         [BZ #18536]
12603         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12604         (__tfind): Likewise.
12605         (__tdelete): Likewise.
12606         (__twalk): Likewise.
12607         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12608         __twalk to GLIBC_PRIVATE.
12609         * include/search.h (__tsearch): Use libc_hidden_proto.
12610         (__tfind): Likewise.
12611         (__tdelete): Likewise.
12612         (__twalk): Likewise.
12613         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12614         Call __tdelete instead of tdelete.
12615         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12616         tfind.  Call __tsearch instead of tsearch.
12617         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12618         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12619         Remove variable.
12620         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12622         [BZ #18534]
12623         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12624         (dprintf): Define as a weak alias of __dprintf, not a strong
12625         alias.
12626         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
12627         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12628         dprintf.
12629         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12630         Remove variable.
12631         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12632         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12634         [BZ #18533]
12635         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12636         not a strong alias.
12637         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12638         Remove variable.
12640         [BZ #18532]
12641         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12642         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
12643         (in6addr_loopback): Rename to __in6addr_loopback and define as
12644         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
12645         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
12646         libc_hidden_proto.
12647         (__in6addr_any): Likewise.
12648         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12649         in6addr_any.
12650         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12651         variable.
12652         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12654 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12656         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12657         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12658         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12659         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12660         redirections for pow.
12661         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12662         * sysdeps/x86_64/fpu/Versions: New versions added.
12663         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12664         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12665         build of SSE, AVX2 and AVX512 IFUNC versions.
12666         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12667         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12668         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12669         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12670         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12671         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12672         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12673         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12674         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12675         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12676         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12677         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12678         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12679         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12680         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12681         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12682         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12683         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12684         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12685         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12686         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12687         * NEWS: Mention addition of x86_64 vector pow.
12689         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12690         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12691         redirections for expf.
12692         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12693         * sysdeps/x86_64/fpu/Versions: New versions added.
12694         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12695         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12696         build of SSE, AVX2 and AVX512 IFUNC versions.
12697         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12698         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12699         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12700         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12701         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12702         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12703         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12704         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12705         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12706         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12707         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12708         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12709         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12710         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12711         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12712         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12713         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12714         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12715         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12716         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12717         * NEWS: Mention addition of x86_64 vector expf.
12719         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12720         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12721         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12722         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12723         redirections for exp.
12724         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12725         * sysdeps/x86_64/fpu/Versions: New versions added.
12726         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12727         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12728         build of SSE, AVX2 and AVX512 IFUNC versions.
12729         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12730         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12731         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12732         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12733         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12734         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12735         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12736         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12737         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12738         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12739         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12740         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12741         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12742         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12743         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12744         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12745         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12746         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12747         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12748         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12749         * NEWS: Mention addition of x86_64 vector exp.
12751         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12752         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12753         redirections for logf.
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_s_logf16_core.S: New file.
12760         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
12761         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
12762         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
12763         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
12764         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
12765         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
12766         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
12767         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
12768         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
12769         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
12770         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
12771         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
12772         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12773         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12774         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12775         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12776         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12777         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12778         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12779         * NEWS: Mention addition of x86_64 vector logf.
12781         * bits/libm-simd-decl-stubs.h: Added stubs for log.
12782         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
12783         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12784         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12785         redirections for log.
12786         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12787         * sysdeps/x86_64/fpu/Versions: New versions added.
12788         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12789         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12790         build of SSE, AVX2 and AVX512 IFUNC versions.
12791         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
12792         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
12793         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
12794         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
12795         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
12796         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
12797         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
12798         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
12799         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
12800         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
12801         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
12802         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
12803         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
12804         test.
12805         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12806         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12807         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12808         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12809         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12810         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12811         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12812         * NEWS: Mention addition of x86_64 vector log.
12814 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12816         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
12817         cfi_adjust_cfa_offset argument.
12818         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
12819         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
12821         [BZ #18034]
12822         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
12823         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
12824         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
12825         ordering using ldar.
12826         (_dl_tlsdesc_dynamic): Likewise.
12827         (_dl_tlsdesc_return_lazy): Likewise.
12828         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
12829         relaxed atomics instead of volatile and synchronize with release store.
12830         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
12831         volatile.
12832         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12834 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
12836         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12837         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
12838         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12839         * sysdeps/x86_64/fpu/Versions: New versions added.
12840         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12841         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12842         build of SSE, AVX2 and AVX512 IFUNC versions.
12843         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
12844         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
12845         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
12846         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
12847         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
12848         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
12849         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
12850         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
12851         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
12852         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
12853         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
12854         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
12855         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
12856         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12857         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12858         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12859         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12860         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12861         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12862         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12863         * NEWS: Mention addition of x86_64 vector sinf.
12865 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
12867         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
12868         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
12869         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
12870         Remove variable.
12871         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12872         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12874 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12876         [BZ #18530]
12877         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
12878         strong alias of _IO_fputs.  Use libc_hidden_def.
12879         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
12880         and define as weak alias of __fputs_unlocked.  Use
12881         libc_hidden_weak.
12882         * include/stdio.h (__fputs_unlocked): Declare.  Use
12883         libc_hidden_proto.
12884         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
12885         fputs_unlocked.
12887         [BZ #18529]
12888         * resolv/netdb.h [__USE_POSIX]: Change condition to
12889         [__USE_XOPEN2K].
12890         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
12891         not expect.
12892         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
12893         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
12894         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
12895         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
12896         [XPG4 || UNIX98] (AI_ALL): Likewise.
12897         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
12898         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
12899         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
12900         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
12901         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
12902         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
12903         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
12904         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
12905         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
12906         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
12907         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
12908         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
12909         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
12910         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
12911         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
12912         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12913         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12914         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
12915         [XPG4 || UNIX98] (gai_strerror): Likewise.
12916         [XPG4 || UNIX98] (getaddrinfo): Likewise.
12917         [XPG4 || UNIX98] (getnameinfo): Likewise.
12919         [BZ #18528]
12920         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
12921         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
12922         __USE_XOPEN2K8].
12923         (getgrent): Likewise.
12924         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
12925         expect.
12926         [XPG3 || POSIX2008] (endgrent): Likewise.
12927         [XPG3] (setgrent): Likewise.
12928         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
12929         variable.
12930         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12932         [BZ #18527]
12933         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
12934         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
12935         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
12936         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
12937         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
12938         * include/unistd.h (__getlogin_r): Declare.  Use
12939         libc_hidden_proto.
12940         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
12941         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
12942         variable.
12943         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12944         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12945         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12947 2015-06-12  Martin Sebor  <msebor@redhat.com>
12949         [BZ #18512]
12950         * Makerules (check-install-supported): New target.
12951         (install): Add check-install-supported as a dependency.
12952         * manual/install.texi (Installing the C Library): Document
12953         that overriding prefix and exec_prefix is not supported.
12954         Mention DESTDIR.
12955         * INSTALL: Regenerate from the above.
12957 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12959         [BZ #18519]
12960         * posix/Versions (libc): Export __libc_pread at version
12961         GLIBC_PRIVATE.
12962         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
12963         instead of pread.
12964         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
12965         variable.
12967         [BZ #18522]
12968         * misc/efgcvt_r.c
12969         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
12970         (cvt_symbol): Use weak_alias instead of strong_alias.
12971         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
12972         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
12973         Remove variable.
12974         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12975         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12977         [BZ #18520]
12978         * inet/herrno.c (h_errno): Rename to __h_errno.
12979         (__libc_h_errno): Define as alias of __h_errno not h_errno.
12980         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
12981         to __h_errno instead of h_errno.
12982         * nptl/herrno.c (h_errno): Rename to __h_errno.
12983         (__h_errno_location): Refer to __h_errno not h_errno.
12984         * resolv/Versions (h_errno): Rename to __h_errno.
12985         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
12986         Remove variable.
12987         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12989 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
12991         * configure.ac: More strict check for AVX512 assembler support.
12992         * configure: Regenerated.
12994         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
12995         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
12996         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12997         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
12998         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12999         * sysdeps/x86_64/fpu/Versions: New versions added.
13000         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13001         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13002         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13003         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
13004         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
13005         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
13006         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
13007         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
13008         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
13009         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
13010         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
13011         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
13012         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
13013         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
13014         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
13015         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
13016         test.
13017         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13018         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13019         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13020         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13021         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13022         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13023         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13024         * NEWS: Mention addition of x86_64 vector sin.
13026 2015-06-11  Florian Weimer  <fweimer@redhat.com>
13028         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
13029         comment.
13031 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13033         [BZ #18479]
13034         * nptl/pt-interp.c: New file.
13035         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
13036         Add pt-interp.
13037         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
13038         $(common-objpfx)runtime-linker.h.
13040 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
13042         * Makeconfig (+interp): Remove unused variable.
13043         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
13044         only.  Depend on $(common-objpfx)runtime-linker.h instead of
13045         $(elf-objpfx)runtime-linker.h.
13046         ($(elf-objpfx)runtime-linker.h): Rename to
13047         $(common-objpfx)runtime-linker.h and move ...
13048         * Makerules [$(build-shared) = yes]: ... here.
13049         * elf/interp.c: Include <runtime-linker.h> instead of
13050         <elf/runtime-linker.h>.
13052 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13054         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
13055         (__gettimeofday_syscall): Remove vsyscall fallback.
13056         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
13057         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
13058         Add syscall fallback function.
13059         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
13060         if vDSO is not present.
13061         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
13062         fallback function.
13063         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
13064         present.
13065         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
13066         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13068 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
13070         [BZ #18497]
13071         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
13072         of wcscmp.
13073         (wcscmp): Define as weak alias of WCSCMP.
13074         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
13075         wcscoll.
13076         (USE_HIDDEN_DEF): Define.
13077         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
13078         __wcscoll.  Don't use libc_hidden_weak.
13079         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
13080         wcscmp.
13081         * sysdeps/i386/i686/multiarch/wcscmp-c.c
13082         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
13083         __GI_wcscmp.
13084         (weak_alias): Undefine and redefine.
13085         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
13086         __wcscmp and define as weak alias of __wcscmp.
13087         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
13088         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
13089         (__wcscoll): Likewise.
13090         (wcscmp): Don't use libc_hidden_proto.
13091         (wcscoll): Likewise.
13092         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
13093         wcscoll.
13094         * posix/regexec.c (check_node_accept_bytes): Likewise.
13095         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
13096         variable.
13097         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13098         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13100         [BZ #18507]
13101         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
13102         __fstatvfs and define as weak alias of __fstatvfs.  Use
13103         libc_hidden_weak.
13104         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
13105         and define as weak alias of __statvfs.  Use libc_hidden_weak.
13106         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
13107         Define as alias of __fstatvfs, not fstatvfs.
13108         (fstatvfs64): Likewise.
13109         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
13110         Define as alias of __statvfs, not statvfs.
13111         (statvfs64): Likewise.
13112         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
13113         Remove variable.
13115 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13118         (HAVE_GETCPU_VSYSCALL): Define.
13119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13120         (HAVE_GETCPU_VSYSCALL): Likewise.
13121         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
13122         * sysdeps/unix/sysv/linux/sched_getcpu.c
13123         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
13124         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
13125         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
13126         prototype.
13127         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13128         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
13129         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
13130         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
13131         Define.
13132         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
13133         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13134         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
13135         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13137 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
13139         * sysdeps/x86_64/fpu/Makefile: New file.
13140         * sysdeps/x86_64/fpu/Versions: New file.
13141         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
13142         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
13143         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
13144         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
13145         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
13146         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
13147         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
13148         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
13149         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
13150         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
13151         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
13152         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
13153         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
13154         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13155         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13156         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
13157         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
13158         * sysdeps/x86_64/configure.ac: Options for libmvec build.
13159         * sysdeps/x86_64/configure: Regenerated.
13160         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
13161         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
13162         * manual/install.texi (Configuring and compiling): Document
13163         --disable-mathvec.
13164         * INSTALL: Regenerated.
13165         * NEWS: Mention addition of libmvec and x86_64 vector cos.
13167         * math/Makefile: Added rules for vector tests.
13168         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
13169         declaration under condition.
13170         * math/test-double-vlen2.h: New file.
13171         * math/test-double-vlen4.h: New file.
13172         * math/test-double-vlen8.h: New file.
13173         * math/test-vec-loop.h: Added initialization macro.
13174         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
13175         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
13176         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
13177         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
13178         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
13179         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
13180         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
13181         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
13182         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
13183         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
13184         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
13186         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13187         * sysdeps/x86_64/fpu/Versions: New versions added.
13188         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
13189         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
13190         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
13191         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
13192         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
13193         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
13194         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
13195         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
13196         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
13197         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
13198         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
13199         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
13200         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
13201         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13202         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13203         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13204         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
13205         * NEWS: Mention addition of x86_64 vector cosf.
13207         * math/Makefile: Added CFLAGS for new tests.
13208         * math/test-float-vlen16.h: New file.
13209         * math/test-float-vlen4.h: New file.
13210         * math/test-float-vlen8.h: New file.
13211         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
13212         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
13213         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13214         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
13215         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
13216         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
13217         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
13218         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
13219         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
13220         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
13221         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
13223 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
13225         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
13226         * locale/programs/ld-ctype.c: Likewise.
13228 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13230         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
13231         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
13232         bit_ZMM16_31_state): New macro.
13233         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13234         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
13236 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
13238         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
13240 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
13242         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
13244 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
13246         [BZ #18498]
13247         * libio/memstream.c (open_memstream): Rename to __open_memstream
13248         and define as weak alias of __open_memstream.
13249         * include/stdio.h (__open_memstream): Declare.  Use
13250         libc_hidden_proto.
13251         (open_memstream): Don't use libc_hidden_proto.
13252         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
13253         open_memstream.
13254         * posix/getopt.c (_getopt_internal_r): Likewise.
13255         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
13256         variable.
13257         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13258         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13259         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13261         [BZ #18496]
13262         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
13263         instead of wcrtomb.
13265         [BZ #18483]
13266         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
13267         [__USE_XOPEN2K8].  Remove redundant #endif.
13268         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
13269         Remove redundant #if.
13270         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
13271         Remove variable.
13272         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13273         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13275         [BZ #18495]
13276         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
13277         (__iswlower): Likewise.
13278         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
13279         (__iswlower): Likewise.
13280         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
13281         instead of towlower.
13282         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
13283         instead of iswlower.  Call __towupper instead of towupper.
13284         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
13285         instead of iswalnum.
13287 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13289         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
13290         errors to stderr.
13292 2015-06-05  Florian Weimer  <fweimer@redhat.com>
13294         [BZ #15661]
13295         [BZ #17322]
13296         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13297         Check for overflow properly.  Check for O_APPEND.  Ignore large
13298         file system block sizes.  Add comments about problems.
13299         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
13300         * manual/filesys.texi (Storage Allocation): New node.
13302 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13304         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
13305         cancellable syscalls.
13306         (SYS_ify): Add guard to no redefine it.
13307         (INLINE_SYSCALL): Likewise.
13308         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
13309         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
13310         SYSCALL_CANCEL instead.
13311         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
13312         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13313         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13314         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13315         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13316         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
13317         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
13318         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
13319         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13320         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13321         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
13322         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
13323         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
13324         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
13325         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
13326         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13327         Likewise.
13328         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13329         (__libc_pread64): Likewise.
13330         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
13331         (__libc_preadv): Likewise.
13332         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
13333         (__libc_readv64): Likewise.
13334         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13335         (__libc_pwrite): Likewise.
13336         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13337         (__libc_pwrite64): Likewise.
13338         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
13339         (__libc_pwritev): Likewise.
13340         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
13341         (__libc_pwritev64): Likewise.
13342         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
13343         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13344         (sync_file_range): Likewise.
13345         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
13346         Likewise.
13347         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
13348         Likewise.
13349         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13350         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13351         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13352         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13353         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13354         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13355         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13356         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
13357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13358         Likewise.
13359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13360         (__libc_read64): Likewise.
13361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
13362         Likewise.
13363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
13364         Likewise.
13365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
13366         Likewise.
13367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
13368         Likewise.
13369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13370         (__libc_pread64): Likewise.
13371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
13372         Likewise.
13373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13374         (__libc_pwrite64): Likewise.
13375         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
13376         (sync_file_range): Likewise.
13377         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
13378         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13379         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13380         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
13381         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
13382         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13383         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13384         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
13385         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
13386         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13387         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13388         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13389         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13390         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13391         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
13392         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13393         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13394         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13395         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13396         Likewise.
13397         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
13398         Likewise.
13399         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
13400         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
13401         Likewise.
13402         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
13403         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
13404         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
13405         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
13406         Likewise.
13407         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
13408         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
13409         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
13410         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
13411         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
13413 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
13415         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
13416         Include dl-vdso.
13417         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
13418         Use VDSO routines for gettimeofday, clock_gettime if
13419         available.
13420         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
13421         Declare VDSO symbols.
13422         * sysdeps/unix/sysv/linux/arm/sysdep.h:
13423         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
13424         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13425         * sysdeps/unix/sysv/linux/arm/Versions: Add
13426         __vdso_clock_gettime.
13428 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13430         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
13431         be an inline implementation regardless of library is built within.
13432         (open_not_cancel_2): Likewise.
13433         (__read_nocancel): Likewise.
13434         (__write_nocancel): Likewise.
13435         (openat_not_cancel): Likewise.
13436         (openat_not_cancel_3): Likewise.
13437         (openat64_not_cancel): Likewise.
13438         (openat64_not_cancel_3): Likewise.
13439         (__close_nocancel): Likewise.
13440         (pause_not_cancel): Likewise.
13441         (nanosleep_not_cancel): Likewise.
13442         (sigsuspend_not_cancel): Likewise.
13444 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13446         [BZ #14958]
13447         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
13448         wake-up.
13449         (__pthread_rwlock_rdlock_slow): Likewise.
13450         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13451         Likewise.
13452         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13453         Likewise.
13454         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
13455         * nptl/tst-rwlock16.c: New file.
13456         * nptl/Makefile (tests): Add new test.
13458 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13460         [BZ #18324]
13461         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
13462         missing wake-up of readers.
13463         * nptl/tst-rwlock15.c: New file.
13464         * nptl/Makefile (tests): Add new test.
13466 2015-06-03  Roland McGrath  <roland@hack.frob.com>
13468         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
13469         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
13470         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
13471         and __nacl_supply_interface_rtld.
13472         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
13473         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
13474         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
13475         Add __nacl_supply_interface_rtld.
13476         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
13478 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13480         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
13481         isfinite.
13482         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13483         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
13485 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13487         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
13488         __signbit* with standard C99 macros.
13489         * math/e_exp10l.c: Likewise.
13490         * math/e_exp2l.c: Likewise.
13491         * math/e_scalb.c: Likewise.
13492         * math/e_scalbf.c: Likewise.
13493         * math/e_scalbl.c: Likewise.
13494         * math/s_ldexp.c: Likewise.
13495         * math/s_ldexpf.c: Likewise.
13496         * math/s_ldexpl.c: Likewise.
13497         * math/w_atan2.c: Likewise.
13498         * math/w_atan2f.c: Likewise.
13499         * math/w_atan2l.c: Likewise.
13500         * math/w_cosh.c: Likewise.
13501         * math/w_coshf.c: Likewise.
13502         * math/w_coshl.c: Likewise.
13503         * math/w_exp10.c: Likewise.
13504         * math/w_exp10f.c: Likewise.
13505         * math/w_exp10l.c: Likewise.
13506         * math/w_exp2.c: Likewise.
13507         * math/w_exp2f.c: Likewise.
13508         * math/w_exp2l.c: Likewise.
13509         * math/w_fmod.c: Likewise.
13510         * math/w_fmodf.c: Likewise.
13511         * math/w_fmodl.c: Likewise.
13512         * math/w_hypot.c: Likewise.
13513         * math/w_hypotf.c: Likewise.
13514         * math/w_hypotl.c: Likewise.
13515         * math/w_jnl.c: Likewise.
13516         * math/w_lgamma.c: Likewise.
13517         * math/w_lgamma_r.c: Likewise.
13518         * math/w_lgammaf.c: Likewise.
13519         * math/w_lgammaf_r.c: Likewise.
13520         * math/w_lgammal.c: Likewise.
13521         * math/w_lgammal_r.c: Likewise.
13522         * math/w_pow.c: Likewise.
13523         * math/w_powf.c: Likewise.
13524         * math/w_powl.c: Likewise.
13525         * math/w_remainder.c: Likewise.
13526         * math/w_remainderf.c: Likewise.
13527         * math/w_remainderl.c: Likewise.
13528         * math/w_scalb.c: Likewise.
13529         * math/w_scalbf.c: Likewise.
13530         * math/w_scalbl.c: Likewise.
13531         * math/w_scalbln.c: Likewise.
13532         * math/w_scalblnf.c: Likewise.
13533         * math/w_scalblnl.c: Likewise.
13534         * math/w_sinh.c: Likewise.
13535         * math/w_sinhf.c: Likewise.
13536         * math/w_sinhl.c: Likewise.
13537         * math/w_tgamma.c: Likewise.
13538         * math/w_tgammaf.c: Likewise.
13539         * math/w_tgammal.c: Likewise.
13540         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13541         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
13542         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13543         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13544         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13545         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13546         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13547         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13548         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13549         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13550         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13551         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13552         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13553         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13554         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13555         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13556         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13557         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13558         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13559         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13560         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13561         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13562         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13563         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13564         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13565         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13566         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
13567         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13568         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13569         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13570         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
13571         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
13572         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
13573         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
13574         * stdio-common/printf_fp.c: Likewise.
13575         * stdio-common/printf_fphex.c: Likewise.
13576         * stdio-common/printf_size.c: Likewise.
13578 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
13580         [BZ #18470]
13581         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
13582         strnlen.
13583         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
13584         Remove variable.
13585         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13586         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13587         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13588         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13589         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13590         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13591         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13592         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13593         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13594         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13596         [BZ #18468]
13597         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
13598         weak alias of __wmemchr.  Use libc_hidden_weak.
13599         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
13600         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
13601         instead of wmemchr.
13603 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13605         [BZ #18383]
13606         * elf/tst-tlsalign-extern.c: New file.
13607         * elf/tst-tlsalign-extern-static.c: New file.
13608         * elf/tst-tlsalign-vars.c: New file.
13609         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13610         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13611         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13612         ($(objpfx)tst-tlsalign-extern-static): Likewise.
13613         (test-xfail-tst-tlsalign-extern-static): New variable.
13615 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
13617         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13618         Use variable name _sc_err instead of err.
13619         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13620         instead of ret.
13621         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13622         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13623         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13624         (INLINE_SYSCALL): Likewise.
13626         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13627         * include/string.h (__strnlen): Use libc_hidden_proto.
13628         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13629         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13630         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13631         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13632         (libc_hidden_def): Undefine and redefine.
13633         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13634         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13635         __GI_strnlen.
13636         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13637         libc_hidden_def.
13638         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13640         [BZ #18469]
13641         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13642         weak alias of __towlower.  Use libc_hidden_weak.
13643         (towupper): Rename to __towupper and define as weak alias of
13644         __towupper.  Use libc_hidden_weak.
13645         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
13646         (__towupper): Likewise.
13647         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13648         __towlower instead of towlower.
13650 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13652         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13653         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13655 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13657         * sysdeps/aarch64/libm-test-ulps: Update.
13659 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13661         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13662         Define.
13663         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13664         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13665         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13666         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13667         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13668         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13669         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13671 2015-06-01  Martin Sebor  <msebor@redhat.com>
13673         [BZ #18116]
13674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13675         (__setcontext): Use extended four-operand version of mtsf whenever
13676         possible.
13677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13678         (__novec_swapcontext): Likewise.
13680 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13682         * benchtests/scripts/compare_bench.py: New file.
13683         * benchtests/scripts/import_bench.py (mean): New function.
13684         (split_list): Likewise.
13685         (do_for_all_timings): Likewise.
13686         (compress_timings): Likewise.
13688         * benchtests/scripts/import_bench.py: New file.
13689         * benchtests/scripts/validate_benchout.py: Import import_bench
13690         instead of jsonschema.
13691         (validate_bench): Remove function.
13692         (main): Use import_bench.
13694 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
13696         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13697         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13699 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13703 2015-05-28  Roland McGrath  <roland@hack.frob.com>
13705         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13706         set THREAD_SELF->tid to a magic value and futex-wake it.
13707         Pass its address to the thread_exit system call.
13708         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13709         bit is clear.
13710         * sysdeps/nacl/lowlevellock.h: New file.
13711         * sysdeps/nacl/lll_timedwait_tid.c: New file.
13713         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13714         Add TIMEOUT to current time, don't subtract it.
13716 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
13718         [BZ #2981]
13719         [BZ #18422]
13720         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13721         ($(objpfx)tst-audit2.out): Also depend on
13722         $(objpfx)tst-auditmod9b.so.
13723         * elf/tst-audit2.c: Include <dlfcn.h>.
13724         (calloc_called): New.
13725         (calloc): Allow to be called more than once.
13726         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13728 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
13730         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13731         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13733 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
13735         * stdlib/monetary.h: Fix comment.
13737 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
13739         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13740         Avoid using variables in #defines that might cause shadowing.
13741         (INTERNAL_VSYSCALL_CALL): Likewise.
13743 2015-05-26  Roland McGrath  <roland@hack.frob.com>
13745         * sysdeps/nacl/lll_timedlock_wait.c: New file.
13747         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13748         * nptl/lll_timedlock_wait.c: ... to this new file.
13749         * nptl/Makefile (libpthread-routines): Add it.
13750         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13751         * nptl/lll_timedwait_tid.c: ... to this new file.
13752         * nptl/Makefile (libpthread-routines): Add it.
13753         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13754         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13755         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13756         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13757         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13758         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
13759         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
13760         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
13761         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
13762         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
13764 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13766         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
13767         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13768         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13769         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
13770         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13771         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13772         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13773         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13774         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13775         * sysdeps/unix/sysv/linux/tile/sysdep.h
13776         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13777         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
13778         using vDSO syscall macro.
13780 2015-05-26  Andriy Rysin  <arysin@gmail.com>
13782         [BZ #17293]
13783         * uk_UA: Fix sorting order for Ukrainian locale
13785 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
13787         * stdlib/monetary.h: Fix comment.
13789 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13791         [BZ #18234]
13792         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
13793         st_mtim and st_ctim members.
13794         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
13795         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
13796         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
13797         (struct stat64): Likewise.
13798         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
13799         (struct stat64): Likewise.
13800         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
13801         (struct stat64): Likewise.
13803 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13805         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
13806         Define and include sysdep-vdso.h.
13807         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
13808         Likewise.
13809         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
13810         Likewise.
13811         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
13812         Define with VDSO_SYMBOL and use PTR_MANGLE.
13813         (__vdso_clock_gettime): Likewise.
13814         (__vdso_clock_getres): Likewise.
13815         (_libc_vdso_platform_setup): Likewise.
13816         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13817         Likewise.
13818         (_libc_vdso_platform_setup): Likewise.
13819         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
13820         Likewise.
13821         (__vdso_clock_gettime): Likewise.
13822         (__vdso_clock_getres): Likewise.
13823         (__vdso_get_tbfreq): Likewise.
13824         (__vdso_getcpu): Likewise.
13825         (__vdso_time): Likewise.
13826         (__vdso_sigtramp_rt64): Likewise.
13827         (__vdso_signtramp32): Likewise.
13828         (__vdso_sigtramp_rt32): Likewise.
13829         (_libc_vdso_platform_setup): Likewise.
13830         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
13831         Likewise.
13832         (__vdso_clock_gettime): Likewise.
13833         (__vdso_clock_getres): Likewise.
13834         (_libc_vdso_platform_setup): Likewise.
13835         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
13836         Likewise.
13837         (__vdso_clock_gettime): Likewise.
13838         (_libc_vdso_platform_setup): Likewise.
13839         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13840         Likewise.
13841         (__vdso_getcpu): Likewise.
13842         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
13843         Use VDSO_SYMBOL macro to define.
13844         (__vdso_clock_gettime): Likewise.
13845         (__vdso_clock_getres): Likewise.
13846         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
13847         Likewise.
13848         (__vdso_clock_gettime): Likewise.
13849         (__vdso_clock_getres): Likewise.
13850         (__vdso_get_tbfreq): Likewise.
13851         (__vdso_getcpu): Likewise.
13852         (__vdso_time): Likewise.
13853         (__vdso_sigtramp_rt64): Likewise.
13854         (__vdso_signtramp32): Likewise.
13855         (__vdso_sigtramp_rt32): Likewise.
13856         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
13857         Likewise.
13858         (__vdso_clock_gettime): Likewise.
13859         (__vdso_clock_getres): Likewise.
13860         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
13861         Likewise.
13862         (__vdso_clock_gettime): Likewise.
13863         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13864         Likewise.
13865         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
13866         macro.
13867         (INTERNAL_VSYSCALL): Likewise.
13868         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
13869         Remove macro.
13870         (INTERNAL_VSYSCALL): Likewise.
13871         (INTERNAL_VSYSCALL_NCS): Likewise.
13872         (INTERNAL_VSYSCALL_CALL): New macro.
13873         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13874         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
13875         Likewise.
13876         (INTERNAL_VSYSCALL): Likewise.
13877         (INTERNAL_VSYSCALL_NCS): Likewise.
13878         (INTERNAL_VSYSCALL_CALL): New macro.
13879         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13881         (INLINE_VSYSCALL): Remove macro.
13882         (INTERNAL_VSYSCALL): Remove macro.
13883         (INTERNAL_VSYSCALL_NCS): Remove macro.
13884         (INTERNAL_VSYSCALL_CALL): New macro.
13885         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
13886         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
13887         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13888         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
13889         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13891         (INLINE_VSYSCALL): Remove macro.
13892         (INTERNAL_VSYSCALL): Likewise.
13893         (INTERNAL_VSYSCALL_NCS): Likewise.
13894         (INTERNAL_VSYSCALL_CALL): New macro.
13895         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
13896         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
13897         PTR_DEMANGLE on vDSO pointer.
13898         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13899         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
13900         macro.
13901         (INTERNAL_SYSCALL): Likewise.
13902         (INTERNAL_VSYSCALL_NCS): Remove macro.
13903         (INTERNAL_VSYSCALL_CALL): New macro.
13904         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
13905         Remove macro.
13906         (INTERNAL_VSYSCALL): Likewise.
13907         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
13908         sysdep-vdso.h instead of libc-vdso.h.
13909         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
13910         definition.
13911         (INLINE_VSYSCALL): Likewise.
13912         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
13913         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
13914         definition.
13915         (INLINE_VSYSCALL): Likewise.
13916         (INTERNAL_VSYSCALL): Likewise.
13917         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13918         * sysdeps/unix/sysv/linux/timespec_get.c
13919         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13920         (timespec_get): Use ANSI prototype.
13921         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
13922         and definition for Linux.
13924 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13926         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
13927         * include/libc-symbols.h: libmvec_hidden_* macro series added.
13929 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13931         [BZ #2981]
13932         [BZ #18410]
13933         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
13934         for missing DT_PLTRELSZ.
13936 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13938         Remove obsolete aliases that broke 'locale -a'
13939         [BZ #18412]
13940         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
13941         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
13942         breaking some applications that use 'locale -a' output.
13943         Change the encoding of this file from Latin-1 to ASCII to avoid
13944         other potential problems with people grepping this file.
13946 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13948         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
13949         -fasynchronous-unwind-tables.
13950         (CFLAGS-sendto.c): Likewise.
13951         (CFLAGS-sendmsg.c): Likewise.
13952         (CFLAGS-connect.c): Likewise.
13953         (CFLAGS-recvmsg.c): Likewise.
13954         (CFLAGS-recvfrom.c): Likewise.
13955         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
13956         (SOCKETCALL): New macro: non-cancellable socketcall.
13957         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
13958         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
13959         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
13960         * sysdeps/unix/sysv/linux/accept.c: New file.
13961         * sysdeps/unix/sysv/linux/bind.c: Likewise.
13962         * sysdeps/unix/sysv/linux/connect.c: Likewise.
13963         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
13964         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
13965         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
13966         * sysdeps/unix/sysv/linux/listen.c: Likewise.
13967         * sysdeps/unix/sysv/linux/recv.c: Likewise.
13968         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
13969         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13970         * sysdeps/unix/sysv/linux/send.c: Likewise.
13971         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13972         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
13973         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
13974         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
13975         * sysdeps/unix/sysv/linux/socket.c: Likewise.
13976         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
13977         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
13978         prototype.
13979         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
13980         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13981         instead of __internal_xxx function.
13982         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
13983         prototype.
13984         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
13985         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13986         instead of __internal_xxx function.
13987         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
13988         prototype.
13989         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
13990         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13991         instead of __internal_xxx function.
13992         * sysdeps/unix/sysv/linux/accept.S: Remove file.
13993         * sysdeps/unix/sysv/linux/bind.S: Likewise.
13994         * sysdeps/unix/sysv/linux/connect.S: Likewise.
13995         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
13996         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
13997         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
13998         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
13999         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
14000         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
14001         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
14002         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
14003         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14004         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
14005         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
14006         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
14007         * sysdeps/unix/sysv/linux/listen.S: Likewise.
14008         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
14009         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
14010         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
14011         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
14012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
14013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
14014         * sysdeps/unix/sysv/linux/recv.S: Likewise.
14015         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
14016         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
14017         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
14018         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14019         * sysdeps/unix/sysv/linux/send.S: Likewise.
14020         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
14021         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
14022         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
14023         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
14024         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
14025         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
14026         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
14027         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
14028         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
14029         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
14030         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
14031         socketcall is implemented in GLIBC.
14033 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14035         * soft-fp/fmadf4.c: Include <libc-internal.h>.
14036         (__fma): Ignore uninitialized warnings around packing.
14037         * soft-fp/fmasf4.c: Include <libc-internal.h>.
14038         (__fmaf): Ignore uninitialized warnings around packing.
14039         * soft-fp/fmatf4.c: Include <libc-internal.h>.
14040         (__fmal): Ignore uninitialized warnings around packing.
14042         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
14043         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14044         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
14045         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14047         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
14048         switch statement into default case.
14049         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
14051         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
14052         a conditional in forcing "inexact".
14053         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14054         Likewise.
14056 2015-05-22  Roland McGrath  <roland@hack.frob.com>
14058         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14059         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
14060         for each INTERNAL_SYSCALL use.
14062 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14064         [BZ #438]
14065         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
14066         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
14067         variable.
14069         [BZ #18444]
14070         * string/basename.c (basename): Rename to __basename and define as
14071         weak alias of __basename.  Use libc_hidden_weak.
14072         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
14073         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
14074         __basename instead of basename.
14075         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
14076         Remove variable.
14077         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14079 2015-05-18  Florian Weimer  <fweimer@redhat.com>
14081         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
14082         (_IO_JUMPS_FILE_plus): New.
14083         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
14084         _IO_CAST_FIELD_ACCESS.
14085         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
14086         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
14087         * libio/freopen.c (freopen): Likewise.
14088         * libio/freopen64.c (freopen64): Likewise.
14089         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
14090         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
14091         * libio/iofwide.c (_IO_fwide): Likewise.
14092         * libio/memstream.c (open_memstream): Likewise.
14093         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14094         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14095         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14097 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
14099         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
14100         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
14101         NADJ.
14102         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
14103         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
14104         NADJ.
14105         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
14106         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
14107         NADJ.
14109         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
14110         (p == 4) case.
14112         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
14113         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
14114         Remove variable.
14115         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14116         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14117         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14119 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14121         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
14122         Adjust jump table label generation macros.
14124 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14126         * stdio-common/vfprintf.c (vfprintf): Move local variables
14127         args_malloced, specs, specs_malloced, and the code after
14128         do_positional to the printf_positional function.
14129         (printf_positional): New function.
14131 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14133         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
14134         function.
14135         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
14136         STEP4_TABLE, process_arg): Move macro definitions
14137         out of the vfprintf function.  (Cosmetic change only.)
14139 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
14141         * benchtests/Makefile (stdio-common-bench): Define.
14142         (benchset): Add stdio-common-bench.
14143         * sprintf-inputs: New file.
14144         * sprintf-source.c: New file.
14146 2015-05-21  Andreas Schwab  <schwab@suse.de>
14148         [BZ #13028]
14149         [BZ #17053]
14150         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
14151         of struct __res_state.
14152         * resolv/res_send.c (__libc_res_nsend): Likewise.
14153         (get_nsaddr): New function.
14154         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
14155         statp directly.
14157 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
14159         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
14160         -D_POSIX_C_SOURCE=199506L.
14162         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
14164         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
14165         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
14166         Do not mention otherwise.
14167         [POSIX] (_XOPEN_VERSION): Do not expect.
14168         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
14169         [POSIX] (_POSIX2_C_BIND): Likewise.
14170         [POSIX] (_POSIX2_VERSION): Likewise.
14171         [POSIX] (_XOPEN_XPG2): Likewise.
14172         [POSIX] (_XOPEN_XPG3): Likewise.
14173         [POSIX] (_XOPEN_XPG4): Likewise.
14174         [POSIX] (_XOPEN_UNIX): Likewise.
14175         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
14176         [POSIX] (_POSIX_BARRIERS): Likewise.
14177         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
14178         [POSIX] (_POSIX_CPUTIME): Likewise.
14179         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
14180         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
14181         [POSIX] (_POSIX_SHELL): Likewise.
14182         [POSIX] (_POSIX_SPAWN): Likewise.
14183         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
14184         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
14185         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
14186         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
14187         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
14188         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
14189         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
14190         [POSIX] (_XBS5_LP64_OFF64): Likewise.
14191         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
14192         [POSIX] (_POSIX_TIMEOUTS): Likewise.
14193         [POSIX] (_POSIX2_PBS): Likewise.
14194         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
14195         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
14196         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
14197         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
14198         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
14199         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
14200         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
14201         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
14202         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
14203         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
14204         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
14205         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
14206         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
14207         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
14208         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
14209         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
14210         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
14211         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
14212         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
14213         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
14214         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
14215         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
14216         [POSIX] (_SC_2_C_BIND): Likewise.
14217         [POSIX] (_SC_2_C_VERSION): Likewise.
14218         [POSIX] (_SC_2_PBS): Likewise.
14219         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
14220         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
14221         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
14222         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
14223         [POSIX] (_SC_2_PBS_TRACK): Likewise.
14224         [POSIX] (_SC_ATEXIT_MAX): Likewise.
14225         [POSIX] (_SC_BARRIERS): Likewise.
14226         [POSIX] (_SC_BASE): Likewise.
14227         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
14228         [POSIX] (_SC_DEVICE_IO): Likewise.
14229         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
14230         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
14231         [POSIX] (_SC_FD_MGMT): Likewise.
14232         [POSIX] (_SC_FIFO): Likewise.
14233         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
14234         [POSIX] (_SC_FILE_LOCKING): Likewise.
14235         [POSIX] (_SC_FILE_SYSTEM): Likewise.
14236         [POSIX] (_SC_IOV_MAX): Likewise.
14237         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
14238         [POSIX] (_SC_NETWORKING): Likewise.
14239         [POSIX] (_SC_PAGE_SIZE): Likewise.
14240         [POSIX] (_SC_PASS_MAX): Likewise.
14241         [POSIX] (_SC_PIPE): Likewise.
14242         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
14243         [POSIX] (_SC_REGEXP): Likewise.
14244         [POSIX] (_SC_SHELL): Likewise.
14245         [POSIX] (_SC_SIGNALS): Likewise.
14246         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
14247         [POSIX] (_SC_SPIN_LOCKS): Likewise.
14248         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
14249         [POSIX] (_SC_USER_GROUPS): Likewise.
14250         [POSIX] (_SC_USER_GROUPS_R): Likewise.
14251         [POSIX] (_SC_STREAMS): Likewise.
14252         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
14253         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
14254         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
14255         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
14256         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
14257         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
14258         [POSIX] (_PC_FILESIZEBITS): Likewise.
14259         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
14260         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
14261         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
14262         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
14263         [POSIX] (uid_t): Likewise.
14264         [POSIX] (gid_t): Likewise.
14265         [POSIX] (off_t): Likewise.
14266         [POSIX] (pid_t): Likewise.
14267         [POSIX] (cuserid): Allow.
14268         (_SC_2_CHAR_TERM): Require constant.
14269         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
14270         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
14271         variable.
14273 2015-05-20  Roland McGrath  <roland@hack.frob.com>
14275         * sysdeps/nacl/pthread-pids.h: New file.
14276         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
14277         (create_thread): Use __nacl_get_tid to initialize PD->tid.
14279         * nptl/pthread-pids.h: New file.
14280         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
14281         * nptl/nptl-init.c: Include <pthread-pids.h>.
14282         (__pthread_initialize_minimal_internal):
14283         Call __pthread_initialize_pids instead of set_tid_address syscall.
14285         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
14286         * sysdeps/posix/usleep.c: ... here.
14288 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14290         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
14291         call_pselect6 object.
14292         [$(subdir) = io]: Remove call_sync_file_range object.
14293         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
14294         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
14295         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
14296         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
14298 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
14300         * math/s_cproj.c: Add include "math_private.h".
14301         * math/s_cprojf.c: Likewise.
14302         * math/s_cprojl.c: Likewise.
14304 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
14306         [BZ #18244]
14307         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
14308         high mantissa bit when testing whether P is a NaN.
14309         * math/libm-test.inc (remainder_test_data): Add more tests.
14310         (remquo_test_data): Likewise.
14312         [BZ #18049]
14313         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
14314         below -32, return the argument, with underflow if subnormal.
14315         * math/auto-libm-test-in: Add more tests of atanh.
14316         * math/auto-libm-test-out: Regenerated.
14318 2015-05-19  Roland McGrath  <roland@hack.frob.com>
14320         [BZ #18434]
14321         * nptl/tst-sem15.c: New file.
14322         * nptl/Makefile (tests): Add it.
14323         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
14324         s/<</>>/ to fix typo in EOVERFLOW check.
14325         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
14327 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14329         * manual/strings.texi (envz_remove): Fix typo in safety
14330         annotations.
14332 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
14333             Steve Ellcey  <sellcey@imgtec.com>
14335         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
14336         in order to avoid strict alias warnings.
14337         (iruserok_af): Ditto for ra.
14339 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
14341         [BZ #17581]
14342         * malloc/hooks.c
14343         (magicbyte): Convert to a function and avoid returning 0x01.
14344         (mem2mem_check): Avoid using a length byte equal to the magic byte.
14345         (mem2chunk_check): Fix unsigned comparisons to zero.
14346         Hoist defs of sz and magic.
14348 2015-05-19  Richard Henderson  <rth@redhat.com>
14350         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
14352         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14354 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14356         [BZ #16159]
14357         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
14358         * malloc/arena.c (arena_lock): Check if arena is corrupt.
14359         (reused_arena): Find a non-corrupt arena.
14360         (heap_trim): Pass arena to unlink.
14361         * malloc/hooks.c (malloc_check_get_size): Pass arena to
14362         malloc_printerr.
14363         (top_check): Likewise.
14364         (free_check): Likewise.
14365         (realloc_check): Likewise.
14366         * malloc/malloc.c (malloc_printerr): Add arena argument.
14367         (unlink): Likewise.
14368         (munmap_chunk): Adjust.
14369         (ARENA_CORRUPTION_BIT): New macro.
14370         (arena_is_corrupt): Likewise.
14371         (set_arena_corrupt): Likewise.
14372         (sysmalloc): Use mmap if there are no usable arenas.
14373         (_int_malloc): Likewise.
14374         (__libc_malloc): Don't fail if arena_get returns NULL.
14375         (_mid_memalign): Likewise.
14376         (__libc_calloc): Likewise.
14377         (__libc_realloc): Adjust for additional argument to
14378         malloc_printerr.
14379         (_int_free): Likewise.
14380         (malloc_consolidate): Likewise.
14381         (_int_realloc): Likewise.
14382         (_int_memalign): Don't touch corrupt arenas.
14383         * malloc/tst-malloc-backtrace.c: New test case.
14385         * Makefile (summarize-tests): Fix return value on success.
14387         * manual/string.texi (Envz Functions): Add envz_remove.
14389 2015-05-18  Roland McGrath  <roland@hack.frob.com>
14391         * sysdeps/posix/opendir.c: Include <stdbool.h>.
14392         (invalid_name): New function, broken out of ...
14393         (__opendirat): ... here.  Call it.
14394         (need_isdir_precheck): New function, broken out of ...
14395         (__opendirat): ... here.  Call it.
14396         Use __fxstatat64, not __xstatat64.
14397         (opendir_oflags): New function, broken out of ...
14398         (__opendirat): ... here.  Call it.
14399         (opendir_tail): New function, broken out of ...
14400         (__opendirat): ... here.  Call it.
14401         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
14402         opendir_tail, rather than punting to __opendirat.
14403         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
14405 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14407         * .gitignore: Ignore generated *.pyc.
14409 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
14411         * include/stdio.h: Define __need_wint_t.
14412         * test-skeleton.c: Avoid `for' loop initial declaration.
14413         * nptl/tst-initializers1.c: Use test-skeleton.c.
14415 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14417         [BZ #18418]
14418         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
14420 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14422         [BZ #16352]
14423         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
14424         (__ieee754_atanh): Force underflow exception for results with
14425         small absolute value.
14426         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
14427         (__ieee754_atanhf): Force underflow exception for results with
14428         small absolute value.
14429         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
14430         (__ieee754_atanh): Force underflow exception for results with
14431         small absolute value.
14432         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
14433         (__ieee754_atanhf): Force underflow exception for results with
14434         small absolute value.
14435         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
14436         (__ieee754_atanhl): Force underflow exception for results with
14437         small absolute value.
14438         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
14439         (__ieee754_atanhl): Force underflow exception for results with
14440         small absolute value.
14441         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
14442         (__ieee754_atanhl): Force underflow exception for results with
14443         small absolute value.
14444         * math/auto-libm-test-in: Do not allow missing underflow
14445         exceptions from atanh.
14446         * math/auto-libm-test-out: Regenerated.
14448         [BZ #18221]
14449         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
14450         2**-28 as threshold for returning x or +/- 1/x.
14451         * math/auto-libm-test-in: Add more tests of tan.
14452         * math/auto-libm-test-out: Regenerated.
14454         [BZ #18220]
14455         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14456         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
14457         * math/auto-libm-test-in: Add another test of lgamma.
14458         * math/auto-libm-test-out: Regenerated.
14460 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
14462         * stdio-common/printf_fp.c (___printf_fp): Use abs.
14463         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
14464         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
14465         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
14466         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
14467         (ADD2A): Use fabs.  (SUB2A): Use fabs.
14468         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
14469         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
14470         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
14471         (log1): Use fabs.  (my_log2): Use fabs.
14472         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
14473         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
14474         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
14475         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
14476         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
14477         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
14478         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
14479         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
14480         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
14481         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
14482         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
14484 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14486         [BZ #18217]
14487         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
14488         as threshold for returning 1 - x.
14489         * math/auto-libm-test-in: Add more tests of erfc.
14490         * math/auto-libm-test-out: Regenerated.
14492 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
14494         [BZ #18196]
14495         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
14496         threshold for large arguments.
14497         * math/auto-libm-test-in: Add another test of atan.
14498         * math/auto-libm-test-out: Regenerated.
14500         [BZ #16339]
14501         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
14502         (__log1p): Force underflow exception for results with small
14503         absolute value.
14504         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
14505         (__log1pf): Force underflow exception for results with small
14506         absolute value.
14507         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
14508         (__log1p): Force underflow exception for results with small
14509         absolute value.
14510         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
14511         (__log1pf): Force underflow exception for results with small
14512         absolute value.
14513         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
14514         (__log1pl): Force underflow exception for results with small
14515         absolute value.
14516         * math/auto-libm-test-in: Do not allow missing underflow
14517         exceptions from log1p.
14518         * math/auto-libm-test-out: Regenerated.
14520 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
14521             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14523         [BZ #16704]
14524         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
14526 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
14528         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
14529         (libmvec): New variable.
14530         * configure.ac: Added option for mathvec build.
14531         * configure: Regenerated.
14532         * mathvec/Depend: New file.
14533         * mathvec/Makefile: New file.
14534         * shlib-versions: Added libmvec.
14535         * math/Makefile: Added rule for libm.so installation.
14537         * bits/math-vector.h: New file.
14538         * bits/libm-simd-decl-stubs.h: New header.
14539         * math/Makefile (headers): Added new header
14540         libm-simd-decl-stubs.h.
14541         * math/math.h (__MATHCALL_VEC): New macro.
14543         * math/gen-libm-have-vector-test.sh: Script generates series of macros
14544         for conditions in testing functions.
14545         * math/Makefile: Added call of libm-have-vector-test.sh.
14546         * math/libm-test.inc (HAVE_VECTOR): New macros.
14548         * math/libm-test.inc: START refactored.
14549         * math/test-double.c (TEST_MATHVEC): Add define.
14550         * math/test-float.c: Likewise.
14551         * math/test-idouble.c: Likewise.
14552         * math/test-ifloat.c: Likewise.
14553         * math/test-ildoubl.c: Likewise.
14554         * math/test-ldouble.c: Likewise.
14555         * sysdeps/generic/math-tests-arch.h
14556         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
14557         architecture check.
14559         * math/test-double.c (FUNC_TEST): New macro.
14560         * math/test-float.c: Likewise.
14561         * math/test-idouble.c: Likewise.
14562         * math/test-ifloat.c: Likewise.
14563         * math/test-ildoubl.c: Likewise.
14564         * math/test-ldouble.c: Likewise.
14565         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
14567 2015-05-13  Roland McGrath  <roland@hack.frob.com>
14569         * sysdeps/nacl/fdopendir.c: New file.
14571         * dirent/scandir-tail.c: New file.
14572         * dirent/scandir64-tail.c: New file.
14573         * dirent/Makefile (routines): Add them.
14574         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
14575         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
14576         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
14577         [!SCANDIR] (SCANDIR_TAIL): New macro.
14578         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
14579         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
14580         (SCANDIRAT): Macro removed.
14581         (SCANDIR_TAIL): New macro.
14582         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
14583         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
14584         (SCANDIRAT): Just call __opendirat and __scandir_tail.
14585         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
14586         (READDIR): Macro removed.
14587         (SCANDIR_TAIL): New macro.
14588         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
14589         (SCANDIR_TAIL): New macro.
14591         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
14592         * dirent/scandir-cancel.c: ... to this new file.
14593         * dirent/Makefile (routines): Add it.
14594         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
14595         * sysdeps/unix/sysv/linux/i386/scandir64.c
14596         (SKIP_SCANDIR_CANCEL): Macro removed.
14597         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
14599         * dirent/tst-scandir.c: New file.
14600         * dirent/tst-scandir64.c: New file.
14601         * dirent/Makefile (tests): Add them.
14603 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14605         [BZ #18409]
14606         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14608 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14610         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14611         list.
14613 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
14615         * benchtests/bench-strcoll.c: New benchmark.
14616         * benchtests/Makefile: Generate locales and run benchmark.
14617         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14618         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14619         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14620         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14621         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14622         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14623         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14624         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14625         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14626         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14627         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14628         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14629         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14630         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14631         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14632         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14633         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14634         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14635         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14636         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14637         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14638         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14639         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14640         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14642 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
14644         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14645         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14647 2015-05-12  Roland McGrath  <roland@hack.frob.com>
14649         * posix/uname-values.h: New file.
14650         * posix/uname.c: Include that instead of <config-name.h>.
14651         * sysdeps/nacl/uname-values.h: New file.
14652         * sysdeps/arm/nacl/uname-values.h: New file.
14654 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
14656         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14657         splitting into fields.
14659 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
14661         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14662         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14663         * locale/localeinfo.h: Add enum collation_encoding_type.
14664         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14665         * programs/ld-collate.c (collate_output): Add encoding type info.
14666         * string/strcoll_l.c (STRDIFF): New function.
14667         * (STRCOLL): Use STRDIFF to skip over equal prefix.
14668         * wcsmbs/wcscoll_l.c: Define STRDIFF.
14670 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
14672         [BZ #18397]
14673         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14674         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
14675         <fpu_control.h> instead of <math/fpu_control.c>.
14676         * sysdeps/mips/mips32/fpu/Makefile: New file.
14678 2015-05-11  Andreas Schwab  <schwab@suse.de>
14680         [BZ #18007]
14681         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14682         nss_endgrent.
14683         (_nss_compat_endgrent): Call nss_endgrent.
14684         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14685         nss_endpwent.
14686         (_nss_compat_endpwent): Call nss_endpwent.
14687         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14688         needent, call nss_setspent only if non-zero.
14689         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14690         (internal_endspent): Don't call nss_endspent.
14691         (_nss_compat_endspent): Call nss_endspent.
14692         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14693         Remove.  All uses removed.
14694         (internal_setent): Remove parameter stayopen, add parameter
14695         stream.  Use it instead of global variable.
14696         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14697         (internal_endent, internal_getent): Add parameter stream.  Use it
14698         instead of global variable.
14699         (CONCAT(_nss_files_end,ENTNAME))
14700         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14701         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
14702         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
14703         uses removed.
14704         (internal_setent, internal_endent): Add parameter stream.  Use it
14705         instead of global variable.
14706         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14707         stream.
14708         (get_next_alias): Add parameter stream.
14709         (_nss_files_getaliasent_r): Pass global stream.
14710         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
14711         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14712         (_nss_files_gethostbyname4_r): Pass local stream to
14713         internal_setent, internal_getent and internal_endent.  Remove
14714         locking.
14716 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14718         * tst-strfmon1.c (tests): Update expected currency symbol.
14720 2015-05-08  Roland McGrath  <roland@hack.frob.com>
14722         * sysdeps/nacl/gethostname.c: New file.
14724 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
14726         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14727         and sinh.
14728         * math/auto-libm-test-out: Regenerated.
14729         * sysdeps/i386/fpu/libm-test-ulps: Update.
14730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14732 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
14734         [BZ #18125]
14735         * stdlib/tst-setcontext3.c: New file.
14736         * stdlib/tst-setcontext3.sh: New file.
14737         * stdlib/Makefile (tests): Add tst-setcontext3.
14738         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14739         to verify test program created output file.
14740         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14741         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14742         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14743         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14745 2015-05-06  Roland McGrath  <roland@hack.frob.com>
14747         [BZ #18383]
14748         * elf/tst-tlsalign.c: New file.
14749         * elf/tst-tlsalign-static.c: New file.
14750         * elf/tst-tlsalign-lib.c: New file.
14751         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14752         (tests-static): Add tst-tlsalign-static.
14753         (modules-names): Add tst-tlsalign-lib.
14754         (test-xfail-tst-tlsalign): New variable.
14755         (test-xfail-tst-tlsalign-static): New variable.
14757         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14758         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
14760 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
14762         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
14763         csqrt, erfc, sin and sincos.
14764         * math/auto-libm-test-out: Regenerated.
14765         * sysdeps/i386/fpu/libm-test-ulps: Update.
14766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14768 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14770         * sysdeps/aarch64/libm-test-ulps: Update.
14772 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
14774         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
14775         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
14776         * math/auto-libm-test-out: Regenerated.
14777         * sysdeps/i386/fpu/libm-test-ulps: Update.
14778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14780 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14782         [BZ #18265]
14783         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
14784         (wcsncpy): Likewise.
14786 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14788         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14789         Assume __ASSUME_FALLOCATE is always true.
14790         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14791         (__posix_fallocate64_l64): Likweise.
14792         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14793         (posix_fallocate): Likewise.
14794         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
14795         (__posix_fallocate64_l64): Likewise.
14796         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14797         [!__ASSUME_FALLOCATE]: Add comment.
14799 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14801         * sysdeps/unix/sysv/linux/i386/Makefile
14802         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
14803         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
14804         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
14805         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14806         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14807         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
14808         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
14810 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
14812         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
14813         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
14814         tgamma.
14815         * math/auto-libm-test-out: Regenerated.
14816         * sysdeps/i386/fpu/libm-test-ulps: Update.
14817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14819 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14821         * math/auto-libm-test-in: Add more tests of tgamma.
14822         * math/auto-libm-test-out: Regenerated.
14823         * sysdeps/i386/fpu/libm-test-ulps: Update.
14824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14826         * math/auto-libm-test-in: Add more tests of tanh.
14827         * math/auto-libm-test-out: Regenerated.
14828         * sysdeps/i386/fpu/libm-test-ulps: Update.
14829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14831         * math/auto-libm-test-in: Add more tests of tan.
14832         * math/auto-libm-test-out: Regenerated.
14833         * sysdeps/i386/fpu/libm-test-ulps: Update.
14834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14836         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
14837         * math/auto-libm-test-out: Regenerated.
14838         * sysdeps/i386/fpu/libm-test-ulps: Update.
14839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14841         * math/auto-libm-test-in: Add another test of pow.
14842         * math/auto-libm-test-out: Regenerated.
14843         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14845         * math/auto-libm-test-in: Add more tests of lgamma.
14846         * math/auto-libm-test-out: Regenerated.
14847         * sysdeps/i386/fpu/libm-test-ulps: Update.
14848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14850         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
14851         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
14858         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
14859         Elf64_Chdr structs and ELFCOMPRESS constants.
14861 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14863         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
14864         expm1.
14865         * math/auto-libm-test-out: Regenerated.
14866         * sysdeps/i386/fpu/libm-test-ulps: Update.
14867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14869         * math/auto-libm-test-in: Add more tests of erf and erfc.
14870         * math/auto-libm-test-out: Regenerated.
14871         * sysdeps/i386/fpu/libm-test-ulps: Update.
14872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14874 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14876         * config.h.in (HAVE_AARCH64_BE): Add.
14878 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
14880         * math/auto-libm-test-in: Add more tests of csqrt.
14881         * math/auto-libm-test-out: Regenerated.
14882         * sysdeps/i386/fpu/libm-test-ulps: Update.
14883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14885         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14886         * math/auto-libm-test-out: Regenerated.
14887         * sysdeps/i386/fpu/libm-test-ulps: Update.
14888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14890         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
14892 2015-04-29  Roland McGrath  <roland@hack.frob.com>
14894         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
14895         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
14897         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
14898         (euidaccess, eaccess): Define as weak aliases.
14900         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
14901         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
14902         but __suseconds_t is often 'long int' so some sources assume that
14903         type is being used (e.g. they use %ld to print tv_usec).
14905 2015-04-29  Florian Weimer  <fweimer@redhat.com>
14907         [BZ #18007]
14908         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
14909         (CVE-2014-8121)
14910         * nss/tst-nss-getpwent.c: New file.
14911         * nss/Makefile (tests): Add new test.
14913 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
14915         [BZ #18346]
14916         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
14917         exponents less than 48 as cases where high part of mantissa needs
14918         examining to determine whether argument is integral.
14919         * math/libm-test.inc (round_test_data): Add more tests.
14921 2015-04-28  Mark Wielaard  <mjw@redhat.com>
14923         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
14925 2015-04-27  David S. Miller  <davem@davemloft.net>
14927         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
14928         __tls_get_addr.
14929         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14931 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
14933         [BZ#18333]
14934         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
14936 2015-04-27  Florian Weimer  <fweimer@redhat.com>
14938         [BZ#18333]
14939         * time/tzset.c (parse_tzname): Return error on memory allocation
14940         failure.
14941         * test-skeleton.c (struct temp_name_list): Change type of name
14942         member to non-const.
14943         (add_temp_file): Create a copy of the file name.
14944         (delete_temp_files): Deallocate memory.
14945         (create_temp_file): Add comment.
14947 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14949         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
14950         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
14952 2015-04-24  Roland McGrath  <roland@hack.frob.com>
14954         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
14955         * sysdeps/arm/configure: Regenerated.
14957 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14959         [BZ #17715]
14960         * time/tzfile.c (__tzfile_read): Check for large values of
14961         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
14962         * time/tzset.c (__tzstring_len): New function, based on the old
14963         __tzstring function.
14964         (__tzstring): Call __tzstring_len.
14965         (parse_tzname): New helper function extracted from
14966         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
14967         the input string.
14968         (parse_offset): New helper function extracted from
14969         __tzset_parse_tz.  Replace switch with fallthrough with
14970         initialization before sscanf.
14971         (parse_rule): Likewise.
14972         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
14973         new-style function definition.
14974         * timezone/Makefile (tests): Add tst-tzset.
14975         (tst-tzset.out): Dependencies on time zone files.
14976         (tst-tzset-ENV): Set TZDIR.
14977         (testdata/XT%): Copy crafted time zone files.
14978         * timezone/README: Mention crafted time zone files.
14979         * timezone/testdata/XT1, timezone/testdata/XT2,
14980         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
14981         files.
14982         * timezone/tst-tzset.c: New test.
14984 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14986         * Makeconfig (+gccwarn): Remove -Winline.
14988 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14990         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
14992 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14994         * NEWS: Mention sysconf() cache information support for s390.
14995         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
14997 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
14999         * math/k_casinh.c (__kernel_casinh): Use __copysign.
15000         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
15001         (__nearbyint): Likewise.
15002         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
15003         (copysignl): Likewise.
15005 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
15007         [BZ #18287]
15008         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
15009         based on padding.  (CVE-2015-1781)
15011 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15013         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
15014         libc-vdso.h.
15015         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
15016         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
15017         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
15018         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15019         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15020         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
15021         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
15022         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15023         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15024         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
15025         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15026         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15027         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15028         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
15029         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15030         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
15031         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
15032         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
15033         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
15034         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
15035         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
15036         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
15037         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
15039 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
15041         * stdlib/setenv.c (__add_to_environ):
15042         Dump core quickly if setenv (..., NULL, ...) is called.
15043         This time, do it the right way, and pacify GCC with a pragma.
15045 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15047         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
15048         IMAP->l_prev cannot be null, and #if out the code for the contrary
15049         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
15050         believe that NS (&_dl_ns[NSID]) could point outside the array.
15052         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
15053         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
15054         before using NSID as an index.
15056 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
15058         [BZ #17825]
15059         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
15060         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
15061         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15063 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15065         Add preliminary port to Google Native Client on ARM.
15066         * abi-tags (.*-.*-nacl.*): New entry.
15067         * sysdeps/arm/nacl: New directory.
15068         * sysdeps/nacl: New directory.
15070 2015-04-16  David S. Miller  <davem@davemloft.net>
15072         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
15073         lowlevellock-futex.h
15075 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
15077         * sysdeps/tile/configure.ac: New file.
15078         * sysdeps/tile/configure: Regenerated.
15080 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15082         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
15083         conditionals for weak_alias and libc_hidden_weak.
15084         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
15085         libc_hidden_weak and weak_alias.
15086         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
15087         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
15088         and weak_alias for static one.
15090 2015-04-15  David S. Miller  <davem@davemloft.net>
15092         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15094 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15096         [BZ #18206]
15097         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
15098           Use signed comparision instead of substraction to avoid
15099           overflow bug.
15100         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
15101           Take the sign of ret.
15102         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
15103           Do not expect precise return values. Only the sign matters.
15104         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
15105         * wcsmbs/test-wcsncmp.c: New File.
15106         * string/test-strncmp.c: Add wcsncmp support.
15108 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15110         [BZ #6792]
15111         * math/w_log1p.c: New file.
15112         * math/w_log1pf.c: Likewise.
15113         * math/w_log1pl.c: Likewise.
15114         * math/Makefile (libm-calls): Add w_log1p.
15115         * math/s_log1pl.c (log1pl): Remove weak_alias.
15116         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
15117         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
15118         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
15119         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
15120         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
15121         [NO_LONG_DOUBLE] (log1pl): Likewise.
15122         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
15123         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
15124         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
15125         (log1p): Remove long_double_symbol.
15126         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
15127         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
15128         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
15129         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
15130         remove weak_alias for corresponding log1p function.
15131         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
15132         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15133         * sysdeps/ia64/fpu/w_log1p.c: New file.
15134         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
15135         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
15136         * math/libm-test.inc (log1p_test_data): Add errno expectations.
15138 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
15140         [BZ #18247]
15141         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
15142         decimal exponent by 1.
15143         * stdlib/tst-strtod-round-data: Add more tests.
15144         * stdlib/tst-strtod-round.c (tests): Regenerated.
15146 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
15148         * math/auto-libm-test-in: Add more tests of clog and clog10.
15149         * math/auto-libm-test-out: Regenerated.
15150         * sysdeps/i386/fpu/libm-test-ulps: Update.
15151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15153 2015-04-09  Roland McGrath  <roland@hack.frob.com>
15155         * Makeconfig (module-cppflags): Exclude all .v.i files.
15156         (skip-module-cppflags): Variable removed.
15158         * configure.ac (libc_config_ok): Initialize before reading
15159         preconfigure scripts, not after.
15160         * configure: Regenerated.
15162         * test-skeleton.c (TIMEOUT): Move #define to top level.
15163         (main): Grok environment variable TEST_DIRECT.  If set, print
15164         test expectation details into that file and then behave as if
15165         given --direct.
15167 2015-04-09  Florian Weimer  <fweimer@redhat.com>
15169         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
15170         warning on 32-bit.
15172 2015-04-08  David S. Miller  <davem@davemloft.net>
15174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15176 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15178         * math/auto-libm-test-in: Add more tests of atanh.
15179         * math/auto-libm-test-out: Regenerated.
15180         * sysdeps/i386/fpu/libm-test-ulps: Update.
15181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15183         * math/auto-libm-test-in: Add more tests of atan.
15184         * math/auto-libm-test-out: Regenerated.
15185         * sysdeps/i386/fpu/libm-test-ulps: Update.
15186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15188 2015-04-08  Florian Weimer  <fweimer@redhat.com>
15190         * elf/pldd.c (main): Rewrite to use struct
15191         scratch_buffer instead of extend_alloca.
15192         * elf/pldd-xx.c (find_maps): Likewise.
15193         * grp/initgroups.c: Include <scratch_buffer.h> instead of
15194         <alloca.h>.
15195         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
15196         scratch_buffer instead of extend_alloca.
15197         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
15198         grp/compat-initgroups.c.
15199         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
15200         Rewrite to use struct scratch_buffer instead of extend_alloca.
15201         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
15202         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15204 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15206         * math/auto-libm-test-in: Add more tests of cbrt.
15207         * math/auto-libm-test-out: Regenerated.
15208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15210         * math/auto-libm-test-in: Add more tests of cabs.
15211         * math/auto-libm-test-out: Regenerated.
15212         * sysdeps/i386/fpu/libm-test-ulps: Update.
15213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15215         [BZ #18210]
15216         [BZ #18211]
15217         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
15218         (__ieee754_atan2): Set FE_TONEAREST mode for internal
15219         computations.
15220         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
15221         clog10.
15222         * math/auto-libm-test-out: Regenerated.
15223         * sysdeps/i386/fpu/libm-test-ulps: Update.
15224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15226         [BZ #18197]
15227         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
15228         (atan): Set FE_TONEAREST mode for internal computations.
15229         * math/auto-libm-test-in: Add more tests of atan.
15230         * math/auto-libm-test-out: Regenerated.
15232 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
15234         [BZ #17930]
15235         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
15237 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15239         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
15241 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15243         * include/scratch_buffer.h: New file.
15244         * malloc/scratch_buffer_grow.c: Likewise.
15245         * malloc/scratch_buffer_grow_preserve.c: Likewise.
15246         * malloc/scratch_buffer_set_array_size.c: Likewise.
15247         * malloc/tst-scratch_buffer.c: Likewise.
15248         * malloc/Makefile (routines): Add scratch_buffer_grow.
15249         (tests): Add test case.
15250         * malloc/Versions (GLIBC_PRIVATE): Export
15251         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
15252         __libc_scratch_buffer_set_array_size.
15254 2015-04-06  Richard Henderson  <rth@redhat.com>
15256         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
15257         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15259         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
15260         unsigned int before printing.
15262 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15264         [BZ #17596]
15265         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
15266         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15268 2015-04-02  Florian Weimer  <fweimer@redhat.com>
15270         * include/libc-internal.h (libc_max_align_t): Define.
15272 2015-04-02  Andreas Schwab  <schwab@suse.de>
15274         [BZ #16850]
15275         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
15277 2015-04-02  Mel Gorman  <mgorman@suse.de>
15279         [BZ #17195]
15280         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
15281         as well as the main arena.
15283 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15285         [BZ #18185]
15286         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
15287         sharing L2 cache to 2 for Silvermont/Knights Landing.
15289 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15291         [BZ #17711]
15292         * config.make.in (have-protected-data): New.
15293         * configure.ac: Check linker support for protected data symbol.
15294         * configure: Regenerated.
15295         * elf/Makefile (modules-names): Add tst-protected1moda and
15296         tst-protected1modb if $(have-protected-data) is yes.
15297         (tests): Add tst-protected1a and tst-protected1b if
15298         $(have-protected-data) is yes.
15299         ($(objpfx)tst-protected1a): New.
15300         ($(objpfx)tst-protected1b): Likewise.
15301         (tst-protected1modb.so-no-z-defs): Likewise.
15302         * elf/tst-protected1a.c: New file.
15303         * elf/tst-protected1b.c: Likewise.
15304         * elf/tst-protected1mod.h: Likewise.
15305         * elf/tst-protected1moda.c: Likewise.
15306         * elf/tst-protected1modb.c: Likewise.
15308 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15310         [BZ #17711]
15311         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
15312         indicates it is called from do_lookup_x on relocation against
15313         protected data, skip the data definion in the executable from
15314         copy reloc.
15315         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
15316         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
15317         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
15318         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
15319         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
15320         otherwise to 0.
15321         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15322         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
15323         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
15324         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15325         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
15326         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
15328 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
15330         * sysdeps/nptl/pthread.h: Remove duplicate definition of
15331         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
15333 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
15335         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
15336         THREAD_SETMEM_NC.
15337         * sysdeps/x86_64/nptl/tls.h: Ditto.
15339 2015-03-27  Roland McGrath  <roland@hack.frob.com>
15341         * dlfcn/tststatic.c (main): Converted to ...
15342         (do_test): ... this.
15343         (TEST_FUNCTION): New macro.
15344         Include test-skeleton.c.
15346 2015-03-26  Alan Modra  <amodra@gmail.com>
15348         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
15349         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
15350         zero for undefined weak.
15351         (elf_machine_plt_conflict): Similarly.
15353 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15355         * math/auto-libm-test-in: Add more tests of acosh, asinh and
15356         atanh.
15357         * math/auto-libm-test-out: Regenerated.
15358         * sysdeps/i386/fpu/libm-test-ulps: Update.
15359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15361         * math/auto-libm-test-in: Add another test of asin.
15362         * math/auto-libm-test-out: Regenerated.
15363         * sysdeps/i386/fpu/libm-test-ulps: Update.
15364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15366         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
15367         Remove macro.
15368         (LLL_EBX_REG): Likewise.
15369         (LLL_ENTER_KERNEL): Likewise.
15371         * math/auto-libm-test-in: Add more tests of asin.
15372         * math/auto-libm-test-out: Regenerated.
15373         * sysdeps/i386/fpu/libm-test-ulps: Update.
15374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15376         [BZ #18138]
15377         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
15378         libc_do_syscall_args): New structure.
15379         (INTERNAL_SYSCALL_MAIN_0): New macro.
15380         (INTERNAL_SYSCALL_MAIN_1): Likewise.
15381         (INTERNAL_SYSCALL_MAIN_2): Likewise.
15382         (INTERNAL_SYSCALL_MAIN_3): Likewise.
15383         (INTERNAL_SYSCALL_MAIN_4): Likewise.
15384         (INTERNAL_SYSCALL_MAIN_5): Likewise.
15385         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
15386         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
15387         Replace conditional definitions by conditional definitions of ....
15388         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
15389         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
15390         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
15391         (libpthread-sysdep_routines): Add libc-do-syscall.
15392         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
15393         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
15394         to __NR_futex not 240.
15396 2015-03-25  Alan Modra  <amodra@gmail.com>
15398         * NEWS: Advertise TLS optimization.
15399         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
15400         (DT_PPC_NUM): Increment.
15401         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
15402         (CHECK_STATIC_TLS): Use here.
15403         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
15404         TLS descriptors.
15405         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15406         * sysdeps/powerpc/dl-tls.c: New file.
15407         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
15408         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
15409         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
15410         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
15411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
15412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15415 2015-03-25  Alan Modra  <amodra@gmail.com>
15417         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
15418         for overlapping .opd entries" to "support...".
15419         * sysdeps/powerpc/powerpc64/configure: Regenerate
15421 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15423         * math/auto-libm-test-in: Add more tests of acos.
15424         * math/auto-libm-test-out: Regenerated.
15425         * sysdeps/i386/fpu/libm-test-ulps: Update.
15426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15428         * math/auto-libm-test-in: Add more tests of expm1.
15429         * math/auto-libm-test-out: Regenerated.
15430         * sysdeps/i386/fpu/libm-test-ulps: Update.
15431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15433 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
15435         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15436         * math/auto-libm-test-out: Regenerated.
15437         * sysdeps/i386/fpu/libm-test-ulps: Update.
15438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15440         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15443         * math/auto-libm-test-in: Add more tests of log2.
15444         * math/auto-libm-test-out: Regenerated.
15445         * sysdeps/i386/fpu/libm-test-ulps: Update.
15446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15448 2015-03-23  Roland McGrath  <roland@hack.frob.com>
15450         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
15451         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
15452         _IO_IS_APPENDING bit in READ_WRITE instead.
15454 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15456         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15457         (__determine_cpumask_size): Replace extend_alloca with a
15458         variable-length array.  Do not treat res == 0 as an error.
15460 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15462         [BZ #18100]
15463         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
15464         and integer overflow.
15465         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
15466         (main): Add integer overflow tests.
15467         * manual/pattern.texi (Calling Wordexp): Document additional use
15468         for WRDE_SYNTAX.
15470 2015-03-23  Alan Modra  <amodra@gmail.com>
15472         * config.h.in: Remove HAVE_ASM_PPC_REL16.
15473         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
15474         and false branch of conditional.
15475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15476         Likewise.
15478 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
15480         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
15481         libc-modules.h
15482         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
15483         unused declaration of _hurd_intr_rpc_msg_in_trap.
15484         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
15485         defined instead of whether it is non-zero.
15486         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
15487         input constraint instead of both input and output constraint.  Use ecx
15488         clobber instead of %ecx.
15489         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
15490         mutex_unlock): Use a statement expression instead of an expression list.
15491         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
15492         type to vm_size_t instead of vm_address_t.
15493         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
15494         defined instead of whether it is non-zero.
15495         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
15496         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
15497         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
15498         comparisons with mapaddr.
15499         * nscd/nscd-client.h: Include <time.h>.
15500         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
15501         9th parameter to __vm_region instead of int.
15502         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
15503         * scripts/check-local-headers.sh (exclude): Add device/,
15504         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
15505         cthreads.h.
15507 2015-03-19  Roland McGrath  <roland@hack.frob.com>
15509         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
15510         to account for alignment padding.
15511         * sysdeps/arm/memmove.S: Likewise.
15513 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
15515         * sysdeps/unix/sysv/linux/generic/README: New file.
15517 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
15519         [BZ #18138]
15520         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
15521         (futex_abstimed_wait)
15522         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
15523         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
15524         of lll_futex_timed_wait.
15526 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
15528         [BZ #17542]
15529         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
15531 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
15533         [BZ #17090]
15534         [BZ #17620]
15535         [BZ #17621]
15536         [BZ #17628]
15537         * NEWS: Update.
15538         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
15539         entries with Static TLS too.  Skip entries past the end of the
15540         allocated DTV, from Alan Modra.
15541         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
15542         Static TLS DTV entry set up from...
15543         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
15544         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
15545         * nptl/allocatestack.c (init_one_static_tls): ... and here...
15546         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
15547         for Static TLS.
15548         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
15549         that the slot we find is associated with the given map before
15550         using its generation count.
15551         * nptl_db/db_info.c: Include ldsodefs.h.
15552         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
15553         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
15554         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
15555         (link_map::l_tls_offset): New struct field.
15556         (dtv_t::counter): Likewise.
15557         (rtld_global): New struct.
15558         (_rtld_global): New rtld variable.
15559         (dl_tls_dtv_slotinfo_list): New rtld global field.
15560         (dtv_slotinfo_list): New struct.
15561         (dtv_slotinfo): Likewise.
15562         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
15563         (td_lookup): Rename to...
15564         (td_mod_lookup): ... this.  Use new mod parameter instead of
15565         LIBPTHREAD_SO.
15566         * nptl_db/td_thr_tlsbase.c: Include link.h.
15567         (dtv_slotinfo_list, dtv_slotinfo): New functions.
15568         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
15569         addresses even if the DTV is out of date or missing them.
15570         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
15571         index zero-length arrays.
15572         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
15573         (td_lookup): Make it a macro implemented in terms of...
15574         (td_mod_lookup): ... this declaration.
15575         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
15576         (DB_MAIN_VARIABLE): Likewise.
15578 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15580         [BZ #18134]
15581         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15583 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
15585         * stdlib/setenv.c (__add_to_environ): Revert previous change.
15587 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15589         [BZ #18128]
15590         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
15591         (atomic_add, atomic_increment_and_test)
15592         (atomic_decrement_and_test): Fix 64-bit arithmetic.
15594 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
15596         * stdlib/setenv.c (__add_to_environ):
15597         Dump core quickly if setenv (..., NULL, ...) is called.
15599 2015-03-13  Roland McGrath  <roland@hack.frob.com>
15601         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
15602         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15603         all the necessary asm magic in one place.
15604         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15605         using those.
15607 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
15609         [BZ #14906]
15610         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15611         traced file mtime. Use consistent log message.
15612         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15613         (register_traced_file): Call install_watches. Always set mtime.
15614         (invalidate_cache): Iterate over all trace files. Call install_watches.
15615         (inotify_check_files): Don't inline. Handle watching parent
15616         directories and configuration file movement in and out.
15617         (handle_inotify_events): New function.
15618         (main_loop_poll): Call handle_inotify_events.
15619         (main_loop_epoll): Likewise.
15620         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15621         (struct traced_file): Use array of inotify fds. Add parent directory,
15622         and basename.
15623         (struct database_dyn): Remove unused file_mtime.
15624         (init_traced_file): New inline function.
15625         (define_traced_file): New macro.
15626         * nss/nss_db/db-init.c: Use define_traced_file.
15627         (_nss_db_init): Use init_traced_file.
15628         * nss/nss_files/files-init.c: Use define_traced_file.
15629         (_nss_files_init): Use init_traced_file.
15631 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
15633         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15634         [_LIBC]: Do not include <stdlib.h>.
15635         [!_LIBC] (abort): Remove declaration.
15636         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15637         _FP_STATIC_ASSERT instead of conditionally calling abort.
15638         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15639         (_FP_EXTEND_CNAN): Likewise.
15640         (FP_TRUNC): Likewise.
15641         (__FP_CLZ): Likewise.
15642         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15644 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
15646         * manual/string.texi (XPG basename): Fix prototype.
15648 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15650         [BZ #18080]
15651         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15652         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15653         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15654         (__setcontext): Likewise.
15655         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15656         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15657         Call rt_sigprocmask syscall one time to set new signal mask
15658         and retrieve the current signal mask instead of two calls.
15659         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15660         (__swapcontext): Likewise.
15661         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15662         * stdlib/tst-setcontext2.c: New file.
15664 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15666         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15668 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
15670         [BZ #18093]
15671         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15672         the wrong size.
15674 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15676         [BZ #18043]
15677         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15679 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15681         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15682         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15683         Remove define.
15684         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15685         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15686         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15687         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15688         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15689         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15690         define.
15691         * nptl_db/td_symbol_list.c (td_lookup): Remove
15692         HAVE_ASM_GLOBAL_DOT_NAME code.
15693         * sysdeps/powerpc/powerpc64/configure.ac: Remove
15694         HAVE_ASM_GLOBAL_DOT_NAME check.
15695         * sysdeps/powerpc/powerpc64/configure: Regenerate.
15696         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15697         (DOT_LABEL): Remove define.
15698         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15699         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15700         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15701         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15702         (__TLS_GET_ADDR): Likewise.
15703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15704         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15706 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
15708         [BZ #18111]
15709         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15710         (_FPU_SETCW): Initialize cw from fpsr before storing.
15711         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15712         (fesetexceptflag): Rewrite using fpu_control.h.
15713         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15715 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
15717         [BZ #18110]
15718         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15719         asms.
15720         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15722 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
15724         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15725         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15726         abort.
15727         (_FP_FMA): Likewise.
15728         (_FP_DIV): Likewise.
15730 2015-03-10  Roland McGrath  <roland@hack.frob.com>
15732         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15733         with 0 in that case.
15734         * Makefile (summarize-tests): New canned sequence, factored out of
15735         commands for targets tests and xtests.  Display summary lines that
15736         don't start with PASS: or XFAIL: rather than ones that do start with
15737         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
15738         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15739         do start with ERROR: or FAIL:.
15740         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15741         (except for [$(build-shared) = yes]).
15742         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15743         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15744         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15745         * nptl/Makefile: Revert 2015-03-04 changes.
15746         [$(CXX) empty] (tests-unsupported): New variable.
15747         * debug/Makefile: Likewise.
15749         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15750         gnulib file.  Replace __attribute with __attribute__ throughout.
15752 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
15754         * sysdeps/hppa/fpu/libm-test-ulps: Update.
15756 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15758         [BZ #18104]
15759         * math/auto-libm-test-in: Add another test of pow.
15760         * math/auto-libm-test-out: Regenerated.
15762 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15764         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
15765         $(config-cflags-nofma).
15767 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15769         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
15770         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
15771         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
15772         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
15773         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
15774         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
15775         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
15776         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
15777         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
15778         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
15779         Add comment on closing #endif.
15781 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15783         * posix/wordexp.c (CHAR_IN_SET): New macro.
15784         (parse_param): Use it.
15786 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15788         * sysdeps/powerpc/fpu/libm-test-ulps: update.
15790 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15792         [BZ #18043]
15793         * posix/wordexp.c (parse_param): Fix buffer overflow.
15794         * posix/wordexp-test.c (test_case): Add test case.
15796 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15798         [BZ #18042]
15799         * posix/wordexp.c (parse_backtick): Fix off-by-one.
15800         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
15802 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15804         [BZ #18043]
15805         * posix/wordexp-test.c (test_case): Add test for BZ #18043
15806         (do_bz18043): Delete.
15807         (at_page_end): New.
15808         (testit): Refactor to have words at the edge of unreadable page.
15810 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15812         [BZ #16734]
15813         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
15814         Cleanup read-only streams as well.
15815         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
15817 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15819         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
15820         <bits/libc-lockP.h>
15822 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
15824         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
15825         on [__KERNEL__].
15826         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
15827         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
15828         * soft-fp/op-common.h (_FP_DECL): Likewise.
15830 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15832         * elf/ifuncdep2.c (global): Replace
15833         __attribute__((visibility("protected"))) with
15834         asm (".protected global").
15835         * elf/ifuncmod1.c (global): Likewise.
15836         * elf/ifuncmod5.c (global): Likewise.
15838 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
15840         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
15841         <asm/sfp-machine.h> instead of <sfp-machine.h>.
15843 2015-03-06  Roland McGrath  <roland@hack.frob.com>
15845         * manual/install.texi (Configuring and compiling):
15846         Document test-wrapper-env-only.
15847         * INSTALL: Regenerated.
15849 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15851         [BZ #18043]
15852         * posix/wordexp.c (parse_param): Fix buffer overflow.
15853         * posix/wordexp-test.c (do_bz18043): Add test case.
15855 2015-03-06  Vincent Bernat  <vincent@bernat.im>
15857         * time/tst-strptime2.c (do_test): Ensure failing tests are
15858         reported correctly.
15859         * time/tst-strptime3.c (do_test): Likewise.
15861 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
15863         Fix aio_error thread-safety.
15864         * sysdeps/pthread/aio_error.c: New file
15865         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
15866         synchronization.
15868 2015-03-06  Florian Weimer  <fweimer@redhat.com>
15870         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
15871         (group_number, vfprintf): Use it.
15872         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
15873         (JUMP, REF): Use it.
15874         (WORK_BUFFER_SIZE): New enum constant.
15875         (process_arg, vfprintf): Use it.
15877 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
15879         * manual/errno.texi (Error Messages): Complete example function
15880         by adding missing #define.
15881         (program_invocation_name): Add statement indicating GNU
15882         extension and reference which header file declares the variable.
15883         (program_invocation_short_name): Likewise.
15885 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
15887         * manual/errno.texi (Error Messages): Delete strerror ISO C89
15888         compatibility note.
15890 2015-03-05  Roland McGrath  <roland@hack.frob.com>
15892         * Makeconfig (test-wrapper-env-only): New variable.
15893         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
15894         then use that with $(test-wrapper-env-only) rather than using
15895         $(test-wrapper-env) $(run-program-env) $($*-ENV).
15897 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15899         [BZ #18082]
15900         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
15901         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
15902         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
15903         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
15904         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
15905         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
15906         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
15907         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
15908         Likewise.
15909         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
15910         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
15911         Likewise.
15912         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
15913         Likewise.
15914         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
15915         Likewise.
15916         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
15917         Likewise.
15918         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
15919         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
15920         Likewise.
15921         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
15922         Likewise.
15923         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
15924         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
15926 2015-03-04  Roland McGrath  <roland@hack.frob.com>
15928         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
15929         (ETH_ALEN): New macro.
15930         (struct ether_addr): Use it for length of ether_addr_octet.
15932         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
15933         (setdb): Don't call __nss_configure_lookup for "rpc".
15934         (do_test): Don't call test_rpc.
15935         (output_rpcent, test_rpc): Functions moved ...
15936         * sunrpc/test-rpcent.c: ... to this new file.
15937         * sunrpc/Makefile (tests): Add it.
15939         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
15940         __xpg_sigpause.
15941         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
15942         * nptl/tst-signal6.c: Likewise.
15943         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
15944         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
15946         * configure.ac (libc_cv_cxx_link_ok): New check.
15947         Reset CXX to empty if it fails to link.
15948         * configure: Regenerated.
15949         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
15950         bug-atexit3-lib only if $(CXX) is nonempty.
15951         * nptl/Makefile (tests): Likewise for tst-cancel24.
15952         (tests, tests-static): Likewise for tst-cancel24-static.
15953         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
15954         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
15955         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
15956         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
15958 2015-03-04  Andreas Schwab  <schwab@suse.de>
15960         [BZ #17631]
15961         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
15962         for non-GCC compilers.
15963         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15964         Likewise.
15966 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15968         [BZ #17776]
15969         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
15970         integer before bitwise and assembly operations.
15971         (feclearexcept): Likewise.
15972         * math/test-fenvinline.c: New file.
15973         * math/Makefile: Add test-fenvinline test.
15975 2015-03-03  Alan Modra  <amodra@gmail.com>
15977         [BZ #16512]
15978         * scripts/localplt.awk: Strip off symbol version.
15979         * NEWS: Mention bug fix.
15981 2015-03-02  Roland McGrath  <roland@hack.frob.com>
15983         * sysdeps/pthread/timer_routines.c
15984         (timer_free_list, thread_free_list, thread_active_list): Make static.
15986 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
15988         [BZ #17779]
15989         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15990         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15991         Undefine.
15992         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15993         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15994         Likewise.
15995         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15996         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15997         Likewise.
15999 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
16001         [BZ #18036]
16002         * posix/fnmatch_loop.c (END): Detect invalid pattern.
16003         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
16005 2015-03-02  Andreas Schwab  <schwab@suse.de>
16007         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
16008         variable name.
16010 2015-03-02  Florian Weimer  <fweimer@redhat.com>
16012         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
16013         Return error status.
16015 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
16017         [BZ #15969]
16018         * locale/findlocale.c (_nl_find_locale): Introduce const
16019         version of loc_name and drop unsafe type casts.
16021 2015-02-27  Roland McGrath  <roland@hack.frob.com>
16023         * dlfcn/tststatic2.c (main): Converted to ...
16024         (do_test): ... this.
16025         (TEST_FUNCTION): New macro.
16026         Include test-skeleton.c.
16028 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
16030         [BZ #17711]
16031         * elf/Makefile (tests): Add vismain only if PIE is enabled.
16032         (tests-pie): Add vismain.
16033         (CFLAGS-vismain.c): New.
16034         * elf/vismain.c: Add comments for PIE requirement.
16036 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16038         [BZ #18046]
16039         [BZ #18047]
16040         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
16041         0x1p-56L as threshold for just returning the argument.
16042         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
16043         0x1p-32L as threshold for just returning the argument.
16044         * math/auto-libm-test-in: Add more tests of atanh.
16045         * math/auto-libm-test-out: Regenerated.
16046         * sysdeps/i386/fpu/libm-test-ulps: Update.
16047         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
16049 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16051         * string/bcopy.c (bcopy): Call memmove for performance.
16053 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16055         * string/bzero.c (__bzero): Call memset for performance.
16057 2015-02-27  John David Anglin  <dave.anglin@bell.net>
16059         [BZ #18068]
16060         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
16061         to 00100000.
16063 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16065         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
16067 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16069         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
16070         (__kernel_standard): Use CSTR macro when setting exc.name.
16071         * sysdeps/ieee754/Makefile [$(subdir) = math]
16072         (CFLAGS-k_standard.c): Remove variable.
16074         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
16075         setting p and q from "else if" to "else".
16076         (qzero): Likewise.
16077         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
16078         (qone): Likewise.
16079         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
16080         (qzerof): Likewise.
16081         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
16082         (qonef): Likewise.
16083         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
16084         (qzero): Likewise.
16085         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
16086         (qone): Likewise.
16088         [BZ #18038]
16089         [BZ #18039]
16090         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
16091         return pi/2 for arguments below 0x1p-113L.
16092         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
16093         return pi/2 for arguments below 0x1p-106L.
16094         * math/auto-libm-test-in: Add more tests of acos.
16095         * math/auto-libm-test-out: Regenerated.
16097         [BZ #16351]
16098         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
16099         (MO): New macro.
16100         (__ieee754_asin): Force underflow exception for results with small
16101         absolute value.
16102         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
16103         (MO): New macro.
16104         (__ieee754_asinf): Force underflow exception for results with
16105         small absolute value.
16106         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
16107         (__ieee754_asin): Force underflow exception for results with small
16108         absolute value.
16109         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
16110         (__ieee754_asinf): Force underflow exception for results with
16111         small absolute value.
16112         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
16113         (__ieee754_asinl): Force underflow exception for results with
16114         small absolute value.
16115         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
16116         (__ieee754_asinl): Force underflow exception for results with
16117         small absolute value.
16118         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
16119         (__ieee754_asinl): Force underflow exception for results with
16120         small absolute value.
16121         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16122         Include <math.h>.
16123         * math/auto-libm-test-in: Do not mark underflow exceptions as
16124         possibly missing for bug 16351.
16125         * math/auto-libm-test-out: Regenerated.
16127         [BZ #18030]
16128         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
16129         of power of 2 down when low part has opposite sign.
16130         * math/libm-test.inc (logb_test_data): Add more tests.
16132 2015-02-26  Andreas Schwab  <schwab@suse.de>
16134         [BZ #18032]
16135         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
16136         over collating symbol inside a bracket expression.  Minor cleanup.
16137         * posix/tst-fnmatch3.c (do_test): Add test case.
16139 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16141         [BZ #18029]
16142         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
16143         Adjust exponent of power of 2 down when low part has opposite
16144         sign.
16145         * math/libm-test.inc (ilogb_test_data): Add more tests.
16147 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
16149         [BZ #15969]
16150         * locale/findlocale.c (_nl_find_locale): Fix constness error in
16151         the previous change.
16153         [BZ #15969]
16154         * locale/findlocale.c (_nl_find_locale): Retry archive search
16155         after alias expansion.
16157 2015-02-25  Roland McGrath  <roland@hack.frob.com>
16159         * iconv/tst-iconv3.c (main): Converted to ...
16160         (do_test): ... this.
16161         (TEST_FUNCTION): New macro.
16162         Include test-skeleton.c.
16164         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
16165         (convert): Make function static.
16166         (test_unalign): Likewise.  Add const to argument pointee types.
16167         (main): Replace with static function do_test.
16168         Print "Succeeded." only if RET is zero.
16169         (TEST_FUNCTION): New macro.
16170         Include test-skeleton.c.
16172         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
16173         returns a null pointer.
16175 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16177         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
16178         to __memcpy_ppc only for static builds.
16180 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
16182         [BZ #18020]
16183         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
16184         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
16185         * math/auto-libm-test-in: Add more tests of asinh.
16186         * math/auto-libm-test-out: Regenerated.
16187         * sysdeps/i386/fpu/libm-test-ulps: Update.
16188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16190 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
16192         [BZ #15850]
16193         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
16194         and ip6_mtuinfo definitions here.
16195         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
16196         in this define too.  Update comment.
16198 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
16200         * elf/sprof.c (load_shobj): Tweak error message to match others.
16202 2015-02-24  Kevin Easton  <kevin@guarana.org>
16204         [BZ #16145] (partial fix)
16205         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
16206         to reduce lock contention.
16208 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
16210         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
16211         (struct timex): Update time comment.
16212         (ADJ_SETOFFSET): Define.
16214 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16216         [BZ #18019]
16217         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16218         2**56 not 2**28 as threshold for log (2x) formula.
16219         * math/auto-libm-test-in: Add more tests of acosh.
16220         * math/auto-libm-test-out: Regenerated.
16221         * sysdeps/i386/fpu/libm-test-ulps: Update.
16222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16224 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16226         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
16227         parenthesis around the buf assignment.
16228         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
16230 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16232         [BZ #16783]
16233         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
16234         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
16235         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
16236         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16237         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16238         * math/libm-test.inc (scalb_test_data): Add more tests.
16240 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16242         [BZ #17916]
16243         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
16244         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
16246 2015-02-24  Eric Rannaud  <e@nanocritical.com>
16248         [BZ #17523]
16249         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
16250         * io/bits/fcntl2.h (open): Use it.
16251         (openat): Likewise.
16252         * io/open.c (__libc_open): Likewise.
16253         * io/open64.c (__libc_open64): Likewise.
16254         * io/open64_2.c (__open64_2): Likewise.
16255         * io/open_2.c (__open_2): Likewise.
16256         * io/openat.c (__openat): Likewise.
16257         * io/openat64.c (__openat64): Likewise.
16258         * io/openat64_2.c (__openat64_2): Likewise.
16259         * io/openat_2.c (__openat_2): Likewise.
16260         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
16261         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16262         * sysdeps/posix/open64.c (__libc_open64): Likewise.
16263         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16264         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16265         (__open_nocancel): Likewise.
16266         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16267         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16268         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
16270 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16272         [BZ #14841]
16273         * resolv/gethnamaddr.c (getanswer): Skip logging if
16274         RES_USE_DNSSEC is set.
16275         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16277 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16279         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
16281 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
16283         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16284         201304L, for Unicode 7.
16286 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
16288         [BZ #17836]
16289         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
16290         shared library.  Add gmon-start.os otherwise.
16291         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
16292         $(objpfx)gmon-start.os if builing shared library.
16293         ($(objpfx)g$(static-start-installed-name)): Likewise.
16295 2015-02-23  Andreas Schwab  <schwab@suse.de>
16297         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
16299 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16301         [BZ #17269]
16302         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
16303         (enlarge_userbuf): Likewise.
16305 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
16307         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
16308         * math/atest-exp.c (TIMEOUT): Adjust to 200.
16309         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
16310         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
16312 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
16314         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
16315         expression inside statement expression.
16317 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16319         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
16320         <sysdeps/nptl/lowlevellock.h> and remove macros and
16321         functions that are now defined there.
16322         (SYS_futex): Remove.
16323         (lll_compare_and_swap): Remove.
16324         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
16326 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
16328         [BZ #17999]
16329         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
16330         instead of scandirat.
16331         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
16332         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
16333         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
16334         __scandirat.
16335         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
16336         (__scandirat): Declare.  Use libc_hidden_proto.
16337         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
16338         Remove variable.
16339         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16341 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16343         [BZ #15319]
16344         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
16345         (MO): New macro.
16346         (__ieee754_atan2): For results with small absolute value, force
16347         underflow exception and remove excess range and precision from
16348         return value.
16349         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
16350         (MO): New macro.
16351         (__ieee754_atan2f): For results with small absolute value, force
16352         underflow exception and remove excess range and precision from
16353         return value.
16354         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
16355         (MO): New macro.
16356         (__atan): For results with small absolute value, force underflow
16357         exception and remove excess range and precision from return value.
16358         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
16359         (MO): New macro.
16360         (__atanf): For results with small absolute value, force underflow
16361         exception and remove excess range and precision from return value.
16362         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
16363         <math.h>.
16364         (__ieee754_atan2): Force underflow exception for results with
16365         small absolute value.
16366         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
16367         <math_private.h>.
16368         (atan): Force underflow exception for results with small absolute
16369         value.
16370         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
16371         (__atanf): Force underflow exception for results with small
16372         absolute value.
16373         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
16374         <math.h>.
16375         (__atanl): Force underflow exception for results with small
16376         absolute value.
16377         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
16378         (__atanl): Force underflow exception for results with small
16379         absolute value.
16380         * sysdeps/x86/fpu/bits/mathinline.h
16381         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
16382         (__ieee754_atan2): Only define inline for long double.
16383         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16384         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
16385         * math/auto-libm-test-in: Do not mark underflow exceptions as
16386         possibly missing for bug 15319.  Add more tests of atan2.
16387         * math/auto-libm-test-out: Regenerated.
16388         * math/libm-test.inc (casin_test_data): Do not mark underflow
16389         exceptions as possibly missing for bug 15319.
16390         (casinh_test_data): Likewise.
16391         * sysdeps/i386/fpu/libm-test-ulps: Update.
16393 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
16395         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
16396         * sysdeps/mips/bits/endian.h: Fix comments.
16398 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16400         [BZ #17996]
16401         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
16402         (hdestroy_r): Likewise.
16403         (hsearch_r): Likewise.
16404         (__hcreate_r): Declare and use libc_hidden_proto.
16405         (__hdestroy_r): Likewise.
16406         (__hsearch_r): Likewise.
16407         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
16408         (hcreate): Call __hcreate_r instead of hcreate_r.
16409         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
16410         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
16411         as weak alias of __hcreate_r.
16412         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
16413         __hdestroy_r.
16414         (hsearch_r): Rename to __hsearch_r and define as weak alias of
16415         __hsearch_r.
16416         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
16417         Remove variable.
16418         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16419         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16420         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16421         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16423 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16425         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
16426         arena_lock into a single arena_get.
16428 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
16430         * dl-reloc.c: Inlucde libc-internal.h.
16431         (_dl_try_allocate_static_tls): Call ALIGN_UP.
16432         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
16433         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
16434         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
16435         (grow_heap): Likewise.
16436         * malloc/malloc.c: Include libc-internal.h.
16437         (do_check_malloc): Call powerof2.
16438         (sysmalloc): Use pagesize. Call ALIGN_UP.
16439         (systrim): Use pagesize.
16440         (mremap_chunk): Use pagesize. Call ALIGN_UP.
16441         (__libc_valloc): Use pagesize.
16442         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
16444 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16446         [BZ #17991]
16447         * include/sys/resource.h (__getrlimit64): Declare.  Use
16448         libc_hidden_proto.
16449         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
16450         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
16451         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
16452         getrlimit64.
16453         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
16454         __getrlimit64.
16455         [!getrlimit64] (getrlimit64): Define as weak alias of
16456         __getrlimit64.  Use libc_hidden_weak.
16457         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
16458         using __getrlimit64 not __new_getrlimit64.
16459         (__GI_getrlimit64): Likewise.
16460         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
16461         Likewise.
16462         (__GI_getrlimit64): Likewise.
16463         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
16464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
16465         (getrlimit): Add __getrlimit64 alias.
16466         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
16467         Likewise.
16468         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
16469         Remove variable.
16470         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16471         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16473 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
16475         * libio/fileops.c: Add missing sys/mman.h
16476         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
16478 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16480         * manual/math.texi (Errors in Math Functions): Clarify goals
16481         regarding inexact and underflow exceptions.
16483 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16485         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
16486         * sysdeps/mips/memset.S: Ditto.
16488 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16490         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
16492 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16494         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
16495         (__v1longjmp): Remove versioned symbol.
16496         (__v1siglongjmp): Remove alias and versioned symbol.
16497         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
16498         (__v2siglongjmp): Likewise.
16500 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16502         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
16504 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
16506         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
16508 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16510         [BZ #17987]
16511         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
16512         zero result does not depend on the sign resulting from
16513         subtraction.
16514         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16515         Likewise.
16516         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16517         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16518         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16519         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16520         * math/libm-test.inc (remquo_test_data): Add more tests.
16522 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
16524         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
16525         Problem reported by J William Piggott.
16527 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16529         [BZ #17978]
16530         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
16531         products 4 * y and 2 * y where those would overflow.
16532         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16533         Likewise.
16534         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16535         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16536         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16537         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16538         * math/libm-test.inc (remquo_test_data): Add more tests.
16540         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
16542         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
16543         [defined _COMPILING_NEWLIB].
16544         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
16545         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
16547         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
16548         [!defined __mips_isa_rev || __mips_isa_rev < 6].
16550 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16552         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
16553         acquired.
16555 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
16557         [BZ #17792]
16558         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
16559         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
16560         HOST_STACK_END_ADDR): Likewise.
16562 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
16564         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
16565         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
16566         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
16568 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16570         * sysdeps/generic/c++-types.data: New file.
16571         * sysdeps/generic/ld.abilist: New file.
16572         * sysdeps/generic/libBrokenLocale.abilist: New file.
16573         * sysdeps/generic/libanl.abilist: New file.
16574         * sysdeps/generic/libc.abilist: New file.
16575         * sysdeps/generic/libcrypt.abilist: New file.
16576         * sysdeps/generic/libdl.abilist: New file.
16577         * sysdeps/generic/libm.abilist: New file.
16578         * sysdeps/generic/libpthread.abilist: New file.
16579         * sysdeps/generic/libresolv.abilist: New file.
16580         * sysdeps/generic/librt.abilist: New file.
16582 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16584         [BZ #17569]
16585         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16586         Compute absolute value of x as modified by fmod, not original
16587         value of x.
16588         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
16589         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
16590         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
16591         RUN_TEST_ffI_f1_mod8.
16592         (remquo_test_data): Add more tests.
16594 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16596         * sysdeps/init_array/pt-crti.S: New file.
16598 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16600         [BZ #17967]
16601         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
16602         __builtin_fmaf instead of relying on contraction of a * b + c.
16604 2015-02-12  J William Piggott  <elseifthen@gmx.com>
16606         [BZ #17969]
16607         * manual/time.texi: correct the zoneinfo path in the TZ Variable
16608         node.
16610 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16612         [BZ #17964]
16613         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16614         __builtin_fma instead of relying on contraction of a * b + c.
16616 2015-02-12  Roland McGrath  <roland@hack.frob.com>
16618         * Makeconfig (ASFLAGS): Add -Werror=undef.
16619         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16620         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16621         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16623         * Makeconfig (after-link): New variable.
16624         (+link-pie, +link-pie-tests): Use it.
16625         (+link-static, +link-static-tests): Likewise.
16626         (+link, +link-tests): Likewise.
16627         * Makerules (build-module, build-module-asneeded): Likewise.
16628         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16629         Likewise.
16630         * elf/Makefile ($(objpfx)ld.so): Likewise.
16632 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
16634         [BZ #17965]
16635         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16636         both struct timeval and struct timespec.
16638 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16640         [BZ #16560]
16641         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16642         and redefine.
16643         (__ieee754_exp2l): Do not multiply small fractional parts by
16644         M_LN2l.
16645         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16646         small argument.
16647         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16648         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16649         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16650         * math/auto-libm-test-in: Add more tests of exp2.
16651         * math/auto-libm-test-out: Regenerated.
16653 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16655         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16656         unaligned path.
16658 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16660         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16661         little endian.
16663 2015-02-12  Andreas Schwab  <schwab@suse.de>
16665         [BZ #15790]
16666         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16667         Filter out elision flags from value returned in kind.
16668         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16669         * nptl/tst-pthread-mutexattr.c: New file.
16671 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16673         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16674         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16675         into gnu-gnu, and update comment to refer to abi-tags.
16677 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
16679         [BZ #15467]
16680         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16681         (__sincos): Set errno to EDOM for infinite argument.
16682         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16683         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16684         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16685         (__sincosl): Set errno to EDOM for infinite argument.
16686         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16687         (__sincosl): Set errno to EDOM for infinite argument.
16688         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16689         (__sincosl): Set errno to EDOM for infinite argument.
16690         * math/libm-test.inc (sincos_test_data): Test errno setting.
16692 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
16694         * string/strxfrm_l.c: Remove #define STRCMP.
16695         * string/strcoll_l.c: Remove #define STRLEN.
16696         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16697         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16699 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
16701         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16702         * sysdeps/mips/mips32/sfp-machine.h: ... here.
16703         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16704         * sysdeps/mips/mips64/Makefile: ... here.
16705         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16706         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16707         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16708         * sysdeps/mips/mips64/sfp-machine.h: ... here.
16709         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16710         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16711         * sysdeps/mips/mips64/n64/Implies: Likewise.
16713 2015-02-10  Roland McGrath  <roland@hack.frob.com>
16715         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16716         <sys/time.h>, <string.h>, and <errno.h>.
16717         (dest_offset, dest_address, value, zero): Remove unused variables.
16718         (ldouble): Remove typedef.
16719         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16720         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
16721         1).  Fix code style.
16722         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16723         (check): Function removed.
16724         (CHECK): New macro.
16725         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
16726         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16727         Don't call set_sigaction_FP and remove_sigaction_FP here.
16728         (ldouble_test): Just use 'long double' as macro argument, no need for
16729         the 'ldouble' typedef.
16730         (do_test): Set up SIGFPE handler at start, using plain signal rather
16731         than sigaction.  Fix code style.
16733 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
16735         [BZ #17949]
16736         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16737         jump label.
16739 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16741         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16742         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16744         * sysdeps/powerpc/configure.ac: Remove file.
16745         * sysdeps/powerpc/configure: Likewise.
16747         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16748         [sysdep_routines]: Remove wordcopy-power6 object.
16749         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16750         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16751         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16752         (__memmove_ppc32): Likewise.
16753         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16754         file.
16755         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16756         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16757         Remove preprocessor.
16759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16760         [sysdep_routines]: Remove wide chars objects.
16761         [wcsmbs]: New rule for wide char objects.
16763         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16764         Remove wordcopy-power6 obejct.
16765         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
16766         Use local call for wordcopy and memcpy symbols.
16767         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
16768         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
16769         implementation for loader.
16770         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
16772         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16773         Remove wordcopy-power7 object.
16774         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
16775         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
16776         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
16777         (_wordcopy_fwd_dest_aligned): Likewise.
16778         (_wordcopy_bwd_aligned): Likewise.
16779         (_wordcopy_bwd_dest_aligned): Likewise.
16781         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
16782         Rewrite to call __memmove_ppc instead of include default
16783         implementation.
16785         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16786         Remove wide chars objects.
16787         [wcsmbs]: New rule for wide char objects.
16789 2015-02-09  Andreas Schwab  <schwab@suse.de>
16791         [BZ #17912]
16792         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16793         in terms of __O_DIRECTORY.
16795 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16797         * time/getdate.c: Include <stdbool.h>.
16798         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
16799         call PTR_MANGLE.
16800         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
16801         PTR_DEMANGLE.
16803 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
16805         Add ersatz _Static_assert on older C hosts
16806         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
16807         pre-C11 C platform that is not known to support _Static_assert.
16809 2015-02-07  Richard Braun  <rbraun@sceen.net>
16811         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
16812         sigstate.
16813         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
16815 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16817         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
16818         priority against unexistent AIO_PRIO_DELTA_MAX.
16819         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
16820         instead of int.
16821         * misc/fchflags.c (fchflags): Likewise.
16822         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
16823         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
16824         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16825         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
16826         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
16827         Declare macros.
16828         [__USE_MISC] (chflags, fchflags): Declare functions.
16829         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
16830         EINVAL when nfds is greater than FD_SETSIZE.
16831         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
16832         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
16833         45.
16834         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
16835         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
16836         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
16837         MACH_RCV_TIMED_OUT.
16838         * hurd/hurd/signal.h (_hurd_self_sigstate,
16839         _hurd_critical_section_lock, _hurd_critical_section_unlock):
16840         Explicit casts from void *.
16841         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
16842         * abi-tags: Rename gnu-gnu os into gnu.
16844         [BZ #4719]
16845         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
16846         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
16847         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
16848         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
16849         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
16850         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
16852         [BZ #17944]
16853         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
16854         duplicates ADDR->sun_path with sockaddr LEN limitation.
16855         * sysdeps/mach/hurd/connect.c: Include <string.h>
16856         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
16857         * sysdeps/mach/hurd/sendmsg.c: Likewise.
16858         * sysdeps/mach/hurd/sendto.c: Likewise.
16859         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
16860         implementing it by hand.
16862 2015-02-06  Roland McGrath  <roland@hack.frob.com>
16864         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
16865         Use sfi_breg on ldr.
16866         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
16867         Likewise.
16869         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
16870         it's defined.
16871         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
16872         Test SIGSETXID only if it's defined.
16874         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
16876         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
16877         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
16879         * nptl/tst-align2.c: Moved ...
16880         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
16881         * nptl/Makefile (tests): Remove tst-align2.
16882         * sysdeps/unix/sysv/linux/Makefile
16883         [$(subdir) = nptl] (tests): Add tst-align-clone.
16884         * nptl/tst-getpid1.c: Moved ...
16885         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
16886         * nptl/tst-getpid2.c: Moved ...
16887         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
16888         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
16889         * sysdeps/unix/sysv/linux/Makefile
16890         [$(subdir) = nptl] (tests): ... here.
16891         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
16892         * sysdeps/unix/sysv/linux/Makefile
16893         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
16895         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
16896         Drop trailing \n from perror argument.  Use return rather than exit.
16898         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
16899         on [SA_SIGINFO].
16900         * nptl/tst-cancel21.c (do_test): Likewise.
16901         * debug/tst-backtrace6.c: Include <signal.h> first thing.
16902         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
16903         [!SA_SIGINFO]: Make it a stub test.
16905         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
16906         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
16908         * posix/tst-getlogin.c: Move to ...
16909         * login/tst-getlogin.c: ... here.
16910         * posix/Makefile (tests): Move tst-getlogin to ...
16911         * login/Makefile (tests): ... here.
16913         * libio/tst-atime.c (do_test): Move local variables SV and E
16914         inside [ST_NOATIME] conditional.
16916         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
16918         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
16920         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
16921         (wait_code): New function replaces macro.
16922         Call nanosleep rather than syscall.
16924         * nptl/pt-system.c: Rewritten.  Put everything under
16925         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16926         Use IFUNC to redirect when possible.
16928         * nptl/pt-longjmp.c: Rewritten.  Put everything under
16929         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16930         Use IFUNC to redirect when possible.
16932         * nptl/pt-fork.c: Rewritten.  Put everything under
16933         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16934         Use IFUNC to redirect when possible.
16935         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
16937         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
16938         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
16939         unconditionally nowadays.  This included the only reference to
16940         __vdso_clock_gettime that appears outside libc proper.
16941         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
16942         Remove version set (containing only __vdso_clock_gettime).
16943         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16944         Add attribute_hidden.
16945         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16946         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
16947         libc_hidden_data_def.
16948         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16949         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16951         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
16952         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
16953         setrpcent, and getrpcport to ...
16954         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
16955         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
16956         getrpcbynumber_r, and getrpcent_r to ...
16957         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
16958         * inet/getrpcbyname.c: Moved ...
16959         * sunrpc/getrpcbyname.c: ... here.
16960         * inet/getrpcbyname_r.c: Moved ...
16961         * sunrpc/getrpcbyname_r.c: ... here.
16962         * inet/getrpcbynumber.c: Moved ...
16963         * sunrpc/getrpcbynumber.c: ... here.
16964         * inet/getrpcbynumber_r.c: Moved ...
16965         * sunrpc/getrpcbynumber_r.c: ... here.
16966         * inet/getrpcent.c: Moved ...
16967         * sunrpc/getrpcent.c: ... here.
16968         * inet/getrpcent_r.c: Moved ...
16969         * sunrpc/getrpcent_r.c: ... here.
16970         * inet/Makefile (routines): Move those to ...
16971         * sunrpc/Makefile (routines): ... here.
16972         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
16973         the $(subdirs) list.
16974         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
16975         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
16976         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
16977         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
16979         * elf/Makefile (routines): Include $(all-dl-routines), not just
16980         $(dl-routines).
16981         (rtld-routines): Likewise.  Use = rather than :=.
16982         * sysdeps/aarch64/Makefile [$(subdir) = elf]
16983         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
16984         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
16985         * sysdeps/arm/Makefile: Likewise.
16986         * sysdeps/i386/Makefile: Likewise.
16987         * sysdeps/x86_64/Makefile: Likewise.
16988         * sysdeps/hppa/Makefile [$(subdir) = elf]
16989         (sysdep_routines, sysdep-rtld-routines): Don't add
16990         $(sysdep-dl-routines) to these.
16991         * sysdeps/ia64/Makefile: Likewise.
16992         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
16993         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
16994         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
16995         Don't add dl-static to these; sysdep-dl-routines alone is enough.
16996         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
16997         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
16998         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
16999         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
17000         * sysdeps/powerpc/Makefile [$(subdir) = elf]
17001         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
17002         these; sysdep-dl-routines alone is enough.
17004 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
17006         [BZ #17932]
17007         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
17008         where multiplication results in zero and third argument is finite
17009         and nonzero.
17010         * math/auto-libm-test-in: Add more tests of fma.
17011         * math/auto-libm-test-out: Regenerated.
17013         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
17014         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
17015         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
17016         (_FP_CMP_EQ): Likewise.
17017         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
17019         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
17020         extra argument CHECK_NAN.  Redefine as wrapper around
17021         _FP_EXTEND_CNAN.
17023 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
17025         * version.h (RELEASE): Set to "stable".
17026         (VERSION): Set to "2.21"
17027         * include/features.h (__GLIBC_MINOR__): Set to 21.
17029         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
17031 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17032             Paul Eggert  <eggert@cs.ucla.edu>
17034         [BZ #16618]
17035         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
17036         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
17037         size in bytes. Store needed elements in wpmax. Use needed size
17038         in bytes for extend_alloca.
17040 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
17042         * manual/install.texi: Latest tested versions are GCC 4.9.2,
17043         binutls 2.25, and texinfo 5.2.
17044         * INSTALL: Regenerate.
17045         * sysdeps/nios2/configure: Regenerate.
17046         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
17047         * manual/contrib.texi: Update.
17048         * po/be.po: Update.
17049         * po/bg.po: Update.
17050         * po/ca.po: Update.
17051         * po/cs.po: Update.
17052         * po/da.po: Update.
17053         * po/de.po: Update.
17054         * po/el.po: Update.
17055         * po/eo.po: Update.
17056         * po/es.po: Update.
17057         * po/fi.po: Update.
17058         * po/fr.po: Update.
17059         * po/gl.po: Update.
17060         * po/hr.po: Update.
17061         * po/hu.po: Update.
17062         * po/ia.po: Update.
17063         * po/id.po: Update.
17064         * po/it.po: Update.
17065         * po/ja.po: Update.
17066         * po/ko.po: Update.
17067         * po/lt.po: Update.
17068         * po/nb.po: Update.
17069         * po/nl.po: Update.
17070         * po/pl.po: Update.
17071         * po/pt_BR.po: Update.
17072         * po/ru.po: Update.
17073         * po/rw.po: Update.
17074         * po/sk.po: Update.
17075         * po/sl.po: Update.
17076         * po/sv.po: Update.
17077         * po/tr.po: Update.
17078         * po/uk.po: Update.
17079         * po/vi.po: Update.
17080         * po/zh_CN.po: Update.
17081         * po/zh_TW.po: Update.
17083         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
17084         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
17085         * sysdeps/hppa/dl-irel.h: Remove #warning.
17086         * sysdeps/hppa/entry.h: Provide prototype for
17087         __canonicalize_funcptr_for_compare and cast argument.
17088         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
17089         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
17090         * sysdeps/hppa/sotruss-lib.c: New file.
17091         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
17092         (atomic_compare_and_exchange_val_acq): Use __typeof__.
17093         (atomic_compare_and_exchange_bool_acq): Likewise.
17094         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
17095         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
17097         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
17098         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
17099         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
17101 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
17103         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
17104         called function in non-PIC case.
17106 2015-01-31  David S. Miller  <davem@davemloft.net>
17108         * sysdeps/sparc/sparc32/bits/atomic.h
17109         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
17110         unlock not after it.
17111         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
17112         volatile register usage warnings from the compiler.
17114         * sysdeps/sparc/nptl/sem_init.c: Delete.
17115         * sysdeps/sparc/nptl/sem_post.c: Delete.
17116         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
17117         * sysdeps/sparc/nptl/sem_wait.c: Delete.
17118         * sysdeps/sparc/sparc32/sem_init.c: New file.
17119         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
17120         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
17121         padding explicitly initialized.
17122         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
17123         padding for in-semaphore spinlock.
17124         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
17125         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
17126         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
17127         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
17128         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
17129         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
17130         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
17131         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
17132         version.
17133         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
17134         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
17136 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
17138         [BZ #17801]
17139         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17140         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
17141         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
17142         New.
17143         (index_AVX_Fast_Unaligned_Load): Likewise.
17144         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
17145         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
17146         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
17147         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
17148         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
17149         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
17150         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
17151         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
17152         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
17154 2015-01-29  Andreas Schwab  <schwab@suse.de>
17156         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
17158 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
17160         [BZ #17892]
17161         * nscd/nscd_stat.c (send_stats): Initialize DATA.
17163 2015-01-28  Martin Sebor  <msebor@redhat.com>
17165         * math/README.libm-test: Clarify. Add "How to read the test output."
17167 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
17169         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
17170         Define to 0.
17172 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
17174         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
17175         (__HAVE_64B_ATOMICS): Define to 0.
17177 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17179         [BZ #17885]
17180         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
17181         value to set as new flag.
17183         [BZ #16576]
17184         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
17185         and use _ARCH_PPCSQ instead.
17186         (__ieee754_sqrt): Likewise.
17187         (__ieee754_sqrtf): Likewise.
17188         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
17189         _ARCH_PPCSQ is defined.
17190         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
17191         fsqrt instruction.
17192         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
17193         _ARCH_PPCSQ is defined.
17194         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
17195         fsqrts instruction.
17196         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
17198 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17200         * iconv/loop.c: Suppress array out of bound warning caused by GCC
17201         bug (GCC BZ #64739).
17203 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
17205         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
17206         Mark _retval as used.
17207         (lll_futex_wake_unlock): Likewise.
17208         (lll_futex_timed_wait_requeue_pi): Likewise.
17210         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17211         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
17212         register variables.
17214         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
17215         libm_hidden_def.
17217         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
17218         (__bswap_64): Mark as __always_inline.
17220 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
17222         [BZ #15378]
17223         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
17224         when none of the search directories exist.
17226 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17228         [BZ #17869]
17229         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
17230         power8 in .machine directive.
17232         [BZ #17868]
17233         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
17234         set dependency from opd value.
17236 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17238         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17239         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
17240         architecture.
17242 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17244         [BZ #17870]
17245         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
17246         with uint64_t.
17247         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
17248         (uint64_t) 1.
17249         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
17250         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
17251         Replace 1UL with (uint64_t) 1.
17252         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
17253         int with uint64_t.
17255 2015-01-23  Roland McGrath  <roland@hack.frob.com>
17257         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
17258         (if_freenameindex): Likewise.
17260         * resource/getrlimit64.c: Add missing libc_hidden_def.
17262 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
17264         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
17265         __label__.
17266         (_FP_FMA): Likewise.
17267         (_FP_TO_INT_ROUND): Likewise.
17268         (_FP_FROM_INT): Likewise.
17270 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17272         [BZ #16418]
17273         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17274         Make code racy and cancel safe.
17276 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
17278         * sysdeps/arm/unwind-resume.h: Fix copyright year.
17279         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
17280         attribution.
17282         * pwd/tst-getpw.c: Rewrite.
17284         [BZ #17702]
17285         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
17286         (modules-names): Add moddummy1 and moddummy2.
17287         ($(objpfx)tst-rec-dlopen): Define.
17288         * dlfcn/moddummy1.c: New file.
17289         * dlfcn/moddummy2.c: New file.
17290         * dlfcn/tst-rec-dlopen.c: New file.
17291         * elf/dl-cache.c (_dl_load_cache_lookup):
17292         Return char*. Copy result with alloca/strcpy/strdup.
17293         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
17294         returns char*. Free cached. If not saving realname
17295         free cached.
17296         * elf/dl-open.c (dl_open_worker): Do not assert that
17297         _r_debug->r_state is RT_CONSISTENT.
17298         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
17299         returns char*.
17301 2015-01-21  Torvald Riegel  <triegel@redhat.com>
17302             Carlos O'Donell  <carlos@redhat.com>
17304         [BZ #12674]
17305         * nptl/sem_waitcommon.c: New file.
17306         * nptl/sem_wait.c: Include sem_waitcommon.c.
17307         (__sem_wait_cleanup, do_futex_wait): Remove.
17308         (__new_sem_wait): Adapt.
17309         (__new_sem_trywait): New function.
17310         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
17311         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
17312         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
17313         (sem_timedwait): Adapt.
17314         * nptl/sem_post.c (__new_sem_post): Adapt.
17315         (futex_wake): New function.
17316         (__old_sem_post): Add release MO fence.
17317         * nptl/sem_open.c (sem_open): Adapt.
17318         * nptl/sem_init.c (__new_sem_init): Adapt.
17319         (futex_private_if_supported): New function.
17320         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
17321         (__old_sem_getvalue): Add using previous code.
17322         * sysdeps/nptl/internaltypes.h: Adapt.
17323         * nptl/tst-sem13.c (do_test): Adapt.
17324         * nptl/tst-sem11.c (main): Adapt.
17325         * nptl/sem_trywait.c: Remove.
17326         * nptl/DESIGN-sem.txt: Remove.
17327         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
17328         (gen-as-const-headers): Remove structsem.sym.
17329         * nptl/structsem.sym: Remove.
17330         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
17331         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
17332         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
17333         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
17334         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
17335         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
17336         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
17337         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
17338         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
17339         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
17340         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
17341         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
17342         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
17343         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
17344         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
17345         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
17346         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
17347         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
17348         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
17349         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
17350         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
17351         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
17353 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
17355         * INSTALL: Regenerated.
17357         * po/libc.pot: Regenerated.
17359 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
17360             Sandra Loosemore  <sandra@codesourcery.com>
17361             Andrew Jenner  <andrew@codesourcery.com>
17362             Joseph Myers  <joseph@codesourcery.com>
17363             Nathan Sidwell  <nathan@codesourcery.com>
17365         * NEWS: Mention new Nios II port.
17366         * sysdeps/nios2/Implies: New file.
17367         * sysdeps/nios2/Makefile: New file.
17368         * sysdeps/nios2/Subdirs: New file.
17369         * sysdeps/nios2/Versions: New file.
17370         * sysdeps/nios2/__longjmp.S: New file.
17371         * sysdeps/nios2/abort-instr.h: New file.
17372         * sysdeps/nios2/backtrace.c: New file.
17373         * sysdeps/nios2/bits/endian.h: New file.
17374         * sysdeps/nios2/bits/fenv.h: New file.
17375         * sysdeps/nios2/bits/link.h: New file.
17376         * sysdeps/nios2/bits/setjmp.h: New file.
17377         * sysdeps/nios2/bsd-_setjmp.S: New file.
17378         * sysdeps/nios2/bsd-setjmp.S: New file.
17379         * sysdeps/nios2/configure: New generated file.
17380         * sysdeps/nios2/configure.ac: New file.
17381         * sysdeps/nios2/crti.S: New file.
17382         * sysdeps/nios2/crtn.S: New file.
17383         * sysdeps/nios2/dl-init.c: New file.
17384         * sysdeps/nios2/dl-machine.h: New file.
17385         * sysdeps/nios2/dl-sysdep.h: New file.
17386         * sysdeps/nios2/dl-tls.h: New file.
17387         * sysdeps/nios2/dl-trampoline.S: New file.
17388         * sysdeps/nios2/gccframe.h: New file.
17389         * sysdeps/nios2/gmp-mparam.h: New file.
17390         * sysdeps/nios2/jmpbuf-offsets.h: New file.
17391         * sysdeps/nios2/jmpbuf-unwind.h: New file.
17392         * sysdeps/nios2/ldsodefs.h: New file.
17393         * sysdeps/nios2/libc-tls.c: New file.
17394         * sysdeps/nios2/libm-test-ulps: New file.
17395         * sysdeps/nios2/machine-gmon.h: New file.
17396         * sysdeps/nios2/math-tests.h: New file.
17397         * sysdeps/nios2/math_private.h: New file.
17398         * sysdeps/nios2/memusage.h: New file.
17399         * sysdeps/nios2/nptl/Makefile: New file.
17400         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
17401         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
17402         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
17403         * sysdeps/nios2/nptl/pthreaddef.h: New file.
17404         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
17405         * sysdeps/nios2/nptl/tls.h: New file.
17406         * sysdeps/nios2/preconfigure: New file.
17407         * sysdeps/nios2/s_fma.c: New file.
17408         * sysdeps/nios2/s_fmaf.c: New file.
17409         * sysdeps/nios2/setjmp.S: New file.
17410         * sysdeps/nios2/sfp-machine.h: New file.
17411         * sysdeps/nios2/sotruss-lib.c: New file.
17412         * sysdeps/nios2/stackguard-macros.h: New file.
17413         * sysdeps/nios2/stackinfo.h: New file.
17414         * sysdeps/nios2/start.S: New file.
17415         * sysdeps/nios2/sysdep.h: New file.
17416         * sysdeps/nios2/tls-macros.h: New file.
17417         * sysdeps/nios2/tst-audit.h: New file.
17418         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
17419         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
17420         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
17421         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
17422         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
17423         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
17424         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
17425         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
17426         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
17427         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
17428         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
17429         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
17430         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
17431         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
17432         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
17433         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
17434         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
17435         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
17436         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
17437         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
17438         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
17439         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
17440         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
17441         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
17442         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
17443         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
17444         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
17445         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
17446         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
17447         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
17448         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
17449         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
17450         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
17451         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
17452         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
17453         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
17454         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
17455         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
17456         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
17457         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
17458         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
17459         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
17460         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
17461         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
17463 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17465         [BZ #17844]
17466         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
17467         (getutent): Use weak_alias in non SHARED case
17468         and default_symbol_version in SHARED case.
17469         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
17470         (getutent_r, pututline): Likewise.
17471         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
17472         (getutid): Likewise.
17473         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
17474         (getutid_r): Likewise.
17475         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
17476         (getutline): Likewise.
17477         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
17478         (getutline_r): Likewise.
17479         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
17480         (updwtmp): Likewise.
17482 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17484         [BZ #17848]
17485         * sysdeps/s390/s390-32/memcmp.S
17486         (memcmp_g5): Rename to __memcmp_g5.
17487         * sysdeps/s390/s390-32/memcpy.S
17488         (memcpy_g5): Rename to __memcpy_g5.
17489         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17490         (memcpy_mvcle) Rename to __memcpy_mvcle.
17491         * sysdeps/s390/s390-32/memset.S
17492         (memset_g5): Rename to __memset_g5.
17493         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17494         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17495         and use prefixed functions.
17496         * sysdeps/s390/s390-32/multiarch/memcmp.S
17497         (memcmp_z196): Rename to __memcmp_z196.
17498         (memcmp_z10): Rename to __memcmp_z10.
17499         (memcmp): Set alias to __memcmp_g5.
17500         (bcmp): Set alias to __memcmp_g5.
17501         * sysdeps/s390/s390-32/multiarch/memcpy.S
17502         (memcpy_z196): Rename to __memcpy_z196.
17503         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17504         (memcpy_z10): Rename to __memcpy_z10.
17505         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17506         (memcpy): Set alias to __memcpy_g5.
17507         * sysdeps/s390/s390-32/multiarch/memset.S
17508         (memset_z196): Rename to __memset_z196.
17509         Jump to __memset_mvcle instead of memset_mvcle.
17510         (memset_z10): Rename to __memset_z10.
17511         Jump to __memset_mvcle instead of memset_mvcle.
17512         (memset_mvcle) Rename to __memset_mvcle.
17513         (memset): Set alias to __memset_g5.
17514         * sysdeps/s390/s390-64/memcmp.S
17515         (memcmp_z900): Rename to __memcmp_z900.
17516         * sysdeps/s390/s390-64/memcpy.S
17517         (memcpy_z900): Rename to __memcpy_z900.
17518         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17519         (memcpy_mvcle) Rename to __memcpy_mvcle.
17520         * sysdeps/s390/s390-64/memset.S
17521         (memset_z900): Rename to __memset_z900.
17522         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
17523         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17524         and use prefixed functions.
17525         * sysdeps/s390/s390-64/multiarch/memcmp.S
17526         (memcmp_z196): Rename to __memcmp_z196.
17527         (memcmp_z10): Rename to __memcmp_z10.
17528         (memcmp): Set alias to __memcmp_z900.
17529         (bcmp): Set alias to __memcmp_z900.
17530         * sysdeps/s390/s390-64/multiarch/memcpy.S
17531         (memcpy_z196): Rename to __memcpy_z196.
17532         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17533         (memcpy_z10): Rename to __memcpy_z10.
17534         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17535         (memcpy): Set alias to __memcpy_z900.
17536         * sysdeps/s390/s390-64/multiarch/memset.S
17537         (memset_z196): Rename to __memset_z196.
17538         Jump to __memset_mvcle instead of memset_mvcle.
17539         (memset_z10): Rename to __memset_z10.
17540         Jump to __memset_mvcle instead of memset_mvcle.
17541         (memset_mvcle) Rename to __memset_mvcle.
17542         (memset): Set alias to __memset_z900.
17544 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
17546         [BZ #17748]
17547         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
17548         __fesetenv instead of fesetenv.
17550 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17552         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
17553         macro.
17555 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17557         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
17558         regression on LE.
17560         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
17561         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
17562         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17563         strncmp-power8 object.
17564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17565         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
17566         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
17567         * NEWS: Update.
17569 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17570             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17572         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
17573         trailing byte check.
17575 2015-01-13  David S. Miller  <davem@davemloft.net>
17577         * include/signal.h (__sigreturn): Guard with __USE_MISC.
17579 2015-01-13  Roland McGrath  <roland@hack.frob.com>
17581         * login/logout.c (logout): Use memset rather than bzero.
17582         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
17583         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
17584         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
17585         (_gethtbyaddr): Likewise.
17586         * locale/programs/simple-hash.c (bcopy): Macro removed.
17588 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17590         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17591         Add strcmp-power8 object.
17592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17593         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
17594         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
17595         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
17596         __strcmp_power8 implementation.
17597         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
17598         * NEWS: Update.
17600         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17601         Add strncpy-power8 and stpncpy-power8 objects.
17602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17603         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17604         implementations.
17605         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17606         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17607         __stpncpy_power8 implementation.
17608         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17609         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17610         __strncpy_power8 implementation.
17611         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17612         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17613         * NEWS: Update.
17615         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17616         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17617         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17619         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17620         strncat-power8 object.
17621         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17622         __strcat_power8 implementation.
17623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17624         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17625         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17626         optimized strcat for power8.
17628         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17629         strcpy-power8 and stpcpy-power8 objects.
17630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17631         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17632         implementations.
17633         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17634         multiarch stpcpy implementation for POWER8.
17635         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17636         multiarch strcpy implementation for POWER8.
17637         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17638         __strcpy_power8 function.
17639         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17640         stpcpy for POWER8.
17641         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17642         strcpy for POWER8.
17643         * NEWS: Update.
17645 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
17647         [BZ #16009]
17648         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17649         weights and rules. Use do_xfrm_cached if data fits in cache,
17650         do_xfrm otherwise.  Moved former main loop to...
17651         * (do_xfrm_cached): New function.
17652         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17653         find_idx, find_position and stack_push.
17654         * (find_idx): New function.
17655         * (find_position): Likewise.
17656         * localedata/sort-test.sh: Added test run for do_xfrm.
17657         * localedata/xfrm-test.c (main): Added command line option
17658         -nocache to run the test with strings that are too large for
17659         the STRXFRM cache.
17661 2015-01-13  Torvald Riegel  <triegel@redhat.com>
17663         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17664         variable to lll_futex_wake call, not the value itself.
17666 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
17668         [BZ #17803]
17669         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17670         twom64.  Adjust value to 0x1p-64L.
17671         (__scalblnl): Only return standard underflowing result for K <=
17672         -64 not K <= -63; adjust exponent for underflowing result by 64
17673         not 63.
17674         * math/libm-test.inc (scalbn_test_data): Add more tests.
17675         (scalbln_test_data): Likewise.
17677         [BZ #17834]
17678         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17679         0x1p63L.
17680         (__scalblnl): Get new exponent of adjusted subnormal value from ES
17681         not HX.
17682         * math/libm-test.inc (scalbn_test_data): Add more tests.
17683         (scalbln_test_data): Likewise.
17685 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17686             Stefani Seibold  <stefani@seibold.net>
17688         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17689         (sysdep_routines): Add dl-vdso here, ...
17690         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17691         (sysdep_routines): ... not here.
17692         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17693         fallback when vDSO is not presented.
17694         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17695         Define with libc_hidden_proto/libc_hidden_data_def definitions.
17696         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17697         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17698         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17699         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17700         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17701         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17702         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17703         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17704         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
17705         fallback configurable symbol when vDSO is not available.
17706         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17707         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
17708         be able to redefine fallback symbol when vDSO is not available.
17709         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17710         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17712 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17714         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17715         (TLS_INIT_TP): Add tm_capable initialization.
17716         (TLS_DEFINE_INIT_TP): Likewise.
17717         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17718         TCB.
17719         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17720         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17721         calculation.
17722         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17723         transactoion is lock elision is built and TCB tm_capable is set.
17724         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17726         (INTERNAL_SYSCALL_NCS): Likewise.
17727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17728         (INTERNAL_SYSCALL_NCS): Likewise.
17729         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17731         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17732         for powerpc.
17733         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17734         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17735         and remove it for 32 bits case.
17736         [pthread_rwlock_t] (__rwelision): New field for lock elision.
17737         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17738         initialization.
17739         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17740         Disable lock elision with rdlocks if elision is not available.
17742         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17743         (sysdep_routines): Add lock elision objects.
17744         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17745         [pthread_mutex_t] (__spins): Rework to add lock elision field.
17746         [pthread_mutex_t] (__elision): Add field.
17747         [__PTHREAD_SPINS]: Adjust to init lock elision field.
17748         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17749         elision definitions for powerpc.
17750         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17751         implementation of lock elision for powerpc.
17752         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17753         implementation of timed lock elision for powerpc.
17754         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17755         implementation of trylock with lock elision for powerpc.
17756         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17757         implementaion of unlock for lock elision for powerpc.
17758         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
17759         automatic enable lock elision for mutexes.
17760         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
17761         transaction execution definitions for powerpc.
17762         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
17763         definitions.
17764         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
17765         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
17766         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
17767         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
17768         * NEWS: Update.
17770 2015-01-09  Roland McGrath  <roland@hack.frob.com>
17772         * sysdeps/posix/shm-directory.c: Use <> rather than ""
17773         for #include of <shm-directory.h>.
17775 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
17777         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
17778         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
17780 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
17782         [BZ #17791]
17783         * NEWS: Mention bug fix.
17784         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
17785         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17786         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
17788 2015-01-09  Torvald Riegel <triegel@redhat.com>
17790         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
17792 2015-01-09  Torvald Riegel <triegel@redhat.com>
17794         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
17796 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17798         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
17799         pointer and cast to uintptr_t.
17801 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17803         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
17804         removed.
17805         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
17807 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17809         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
17810         of 0.
17812 2015-01-08  Roland McGrath  <roland@hack.frob.com>
17814         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
17815         <nptl/pthreadP.h> instead.
17816         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17818         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
17819         already defined.
17820         [__SIGRTMIN] (init): Function removed.
17821         [__SIGRTMIN] (initialized): Variable removed.
17822         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
17823         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
17824         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
17825         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
17826         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
17827         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
17828         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
17829         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
17830         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
17831         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17832         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
17833         * sysdeps/nptl/allocrtsig.c: New file.
17834         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
17835         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
17836         * sysdeps/generic/testrtsig.h: File removed.
17838         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
17839         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
17841         * nptl/nptl-init.c (pthread_functions): Conditionalize
17842         .ptr__nptl_setxid initialization on [SIGSETXID].
17844         * sysdeps/nptl/sys/procfs.h: New file.
17845         * nptl_db/Makefile (headers): Add it.
17846         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
17848         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
17849         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
17850         * nptl/pthread_attr_setaffinity.c: Include it.
17851         * nptl/pthread_setattr_default_np.c: Likewise.
17852         * nptl/check-cpuset.h: New file.
17854 2015-01-08  Richard Henderson  <rth@redhat.com>
17856         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
17857         (CFLAGS-tst-execstack-prog.c): Likewise.
17858         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
17860 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
17861             Sandra Loosemore  <sandra@codesourcery.com>
17862             Andrew Jenner  <andrew@codesourcery.com>
17863             Joseph Myers  <joseph@codesourcery.com>
17864             Nathan Sidwell  <nathan@codesourcery.com>
17866         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
17867         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
17868         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
17869         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
17870         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
17871         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
17872         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
17873         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
17874         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
17875         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
17876         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
17877         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
17878         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
17879         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
17880         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
17881         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
17882         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
17884 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17886         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
17887         timespec struct member in syscall macro.
17888         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17889         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
17890         first timeval struct member in syscall macro.
17891         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
17893 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
17895         [BZ #17748]
17896         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
17897         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
17898         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
17899         __feupdateenv and define as weak alias of __feupdateenv.  Use
17900         libm_hidden_weak.
17901         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
17902         libm_hidden_def.
17903         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
17904         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
17905         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17906         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
17907         libm_hidden_def.
17908         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
17909         __feupdateenv and define as weak alias of __feupdateenv.  Use
17910         libm_hidden_weak.
17911         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
17912         libm_hidden_def.
17913         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
17914         __feupdateenv and define as weak alias of __feupdateenv.  Use
17915         libm_hidden_weak.
17916         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
17917         libm_hidden_def.
17918         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17919         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17920         (__feupdateenv): Likewise.
17921         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
17922         __feupdateenv and define as weak alias of __feupdateenv.  Use
17923         libm_hidden_weak.
17924         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17925         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
17926         libm_hidden_def.
17927         * sysdeps/tile/math_private.h (__feupdateenv): New inline
17928         function.
17929         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
17930         libm_hidden_def.
17931         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
17932         __feupdateenv instead of feupdateenv.
17933         (default_libc_feupdateenv_test): Likewise.
17934         (libc_feresetround_ctx): Likewise.
17936 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17938         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
17939         prototype.
17941 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
17943         * posix/regcomp.c (parse_bracket_exp): Initialize type to
17944         COLL_SYM in a couple of places to avoid uninitialized variable
17945         wanings on tilegx gcc 4.8.2.
17947 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17949         * sysdeps/aarch64/strcpy.S: New file.
17950         * sysdeps/aarch64/stpcpy.S: New file.
17951         * NEWS: Updated.
17953 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17955         * sysdeps/aarch64/strrchr.S: New file.
17956         * NEWS: Updated.
17958 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
17960         [BZ #17658]
17961         * stdlib/setenv.c: Fix memory leak when setting large,
17962         duplicate string.
17964 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
17966         [BZ #17273]
17967         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
17968         and tabs from buffer before parsing fstab entry.
17969         * misc/tst-mntent.c (main): Add test for mount entry with
17970         trailing spaces and tabs.
17972 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
17974         [BZ #17748]
17975         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
17976         * math/fesetround.c (fesetround): Rename to __fesetround and
17977         define as weak alias of __fesetround.  Use libm_hidden_weak.
17978         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
17979         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
17980         * sysdeps/arm/fesetround.c (fesetround): Likewise.
17981         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
17982         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
17983         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
17984         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
17985         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
17986         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
17987         __fesetround_inline.
17988         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
17989         __fesetround_inline instead of __fesetround.
17990         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
17991         __fesetround and define as weak alias of __fesetround.  Use
17992         libm_hidden_weak.  Call __fesetround_inline instead of
17993         __fesetround.
17994         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
17995         __fesetround and define as weak alias of __fesetround.  Use
17996         libm_hidden_weak.
17997         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
17998         Likewise.
17999         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
18000         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18001         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
18002         * sysdeps/tile/math_private.h (__fesetround): New inline function.
18003         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
18004         __fesetround and define as weak alias of __fesetround.  Use
18005         libm_hidden_weak.
18006         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
18007         __fesetround instead of fesetround.
18008         (default_libc_feholdexcept_setround): Likewise.
18009         (libc_feholdsetround_ctx): Likewise.
18010         (libc_feholdsetround_noex_ctx): Likewise.
18012         [BZ #17748]
18013         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
18014         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
18015         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18016         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18017         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18018         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
18019         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18020         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18021         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18022         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18023         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18024         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18025         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18026         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18027         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
18028         libm_hidden_def.
18029         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
18030         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
18031         Likewise.
18032         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18033         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18034         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18035         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18036         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
18037         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18038         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18039         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
18040         __fesetenv instead of fesetenv.
18041         (libc_feresetround_noex_ctx): Likewise.
18042         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18043         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18044         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
18045         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18046         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18047         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18048         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18049         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18050         (__feupdateenv): Likewise.
18051         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18052         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18053         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18054         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
18056 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18058         [BZ #17806]
18059         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
18060         addresses have been freed.
18062 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18064         * resolv/res_init.c (__res_vinit): Improve comments about nserv
18065         and nservall.
18067 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
18069         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
18070         Clean up check_pf allocation pattern. addresses
18072 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18074         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
18075         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
18076         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
18077         * nptl/pthread_exit.c (__pthread_exit): Likewise.
18078         * nptl/pthread_join.c (pthread_join): Likewise.
18079         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18080         * sysdeps/posix/waitid.c (__waitid): Likewise.
18081         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18082         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18083         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18084         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18085         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18086         Likewise.
18087         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18088         (__libc_pread64): Likewise.
18089         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18090         (__libc_pwrite): Likewise.
18091         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18092         (__libc_pwrite64): Likewsie.
18093         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18094         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18095         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18096         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18097         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18098         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18099         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18101         Likewise.
18102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18103         (__libc_pread64): Likewise.
18104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
18105         Likewise.
18106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18107         (__libc_pwrite64): Likewise.
18108         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18109         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18110         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
18111         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
18112         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18113         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18114         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
18115         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18116         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18117         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18118         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
18119         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18120         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18121         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
18122         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18123         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18124         Likewise.
18126 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18128         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
18129         (CFLAGS-test-double.c): Likewise.
18130         (CFLAGS-test-ldouble.c): Likewise.
18131         (CPPFLAGS-test-ifloat.c): Likewise.
18132         (CPPFLAGS-test-idouble.c): Likewise.
18133         (CPPFLAGS-test-ildoubl.c): Likewise.
18134         (CFLAGS-test-test-fenv.c): Remove variable.
18135         (CFLAGS-test-misc.c): Likewise.
18137 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
18139         [BZ #17797]
18140         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
18141         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
18142         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
18143         CLOCKS_PER_SEC == 1000000.
18144         * time/clocktest.c (main): Replace %ld with %jd and cast to
18145         intmax_t.
18147 2015-01-05  Roland McGrath  <roland@hack.frob.com>
18149         * sysdeps/generic/unwind-resume.h: New file.
18150         * sysdeps/gnu/unwind-resume.c: Include it.
18151         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
18152         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
18153         argument list.
18154         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
18155         global rather than static.
18156         (_Unwind_Resume): Update user.
18157         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
18158         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
18159         rather than static.  Add __attribute__ ((cold)).
18160         (_Unwind_Resume, __gcc_personality_v0): Update callers.
18161         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18162         * sysdeps/arm/arm-unwind-resume.S: New file.
18163         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
18164         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
18165         * sysdeps/arm/Makefile [$(subdir) = csu]
18166         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
18167         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18168         Add rt-arm-unwind-resume.
18169         [$(subdir) = nptl]
18170         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18171         Add pt-arm-unwind-resume.
18172         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
18173         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
18175 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18177         [BZ #17748]
18178         * include/fenv.h (__feholdexcept): Declare.  Use
18179         libm_hidden_proto.
18180         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
18181         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
18182         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18183         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
18184         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
18185         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
18186         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
18187         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18188         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
18189         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
18190         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18191         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
18192         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
18193         (feholdexcept): Likewise.
18194         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18195         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18196         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18197         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18198         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
18199         __feholdexcept instead of feholdexcept.
18200         (default_libc_feholdexcept_setround): Likewise.
18202 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18204         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
18205         to avoid using stl/str to align destination.
18207 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18209         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
18211 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18213         [BZ #17796]
18214         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
18215         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
18216         Define as weak alias not strong alias.
18218 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18220         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
18221         bltzal with addiupc.
18222         (RTLD_START): Ditto.
18224 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
18226         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
18227         for __vdso_* functions in declarations.
18228         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
18229         definitions.
18230         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
18231         INTERNAL_VSYSCALL): Use struct return types to check for error.
18233         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
18234         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
18235         function with cast from llround().
18236         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
18237         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18238         Define.
18240 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18242         [BZ #17793]
18243         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
18244         Define as weak alias not strong alias.
18246         [BZ #17635]
18247         * ctype/ctype-c99.c: New file.  isblank implementation moved from
18248         ...
18249         * ctype/ctype-extn.c: ... here.
18250         (__isblank_l): Move to ...
18251         * ctype/ctype-c99_l.c: ... here.  New file.
18252         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
18253         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
18254         Remove variable.
18255         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18256         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18257         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18258         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18259         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18261         [BZ #17777]
18262         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
18263         (posix_fadvise64): Define as weak alias not strong alias.
18264         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18265         (posix_fallocate64): Likewise.
18266         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
18267         Remove variable.
18268         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18269         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18270         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18271         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18272         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18274 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
18276         [BZ #16191]
18277         * NEWS: Mention bug fix.
18278         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
18279         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
18280         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
18281         (HOST_STACK_END_ADDR): Likewise.
18283 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18285         [BZ #17748]
18286         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
18287         * math/fegetround.c (fegetround): Rename to __fegetround and
18288         define as weak alias of __fegetround.  Use libm_hidden_weak.
18289         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
18290         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
18291         * sysdeps/arm/fegetround.c (fegetround): Likewise.
18292         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
18293         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18294         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
18295         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
18296         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
18297         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18298         Undefine after rather than before function definition; use
18299         parentheses around function name in definition.
18300         (__fegetround): Also undefine macro after function definition.
18301         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
18302         __fegetround and define as weak alias of __fegetround.  Use
18303         libm_hidden_weak.  Do not undefine as macro.
18304         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18305         Likewise.
18306         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
18307         __fegetround and define as weak alias of __fegetround.  Use
18308         libm_hidden_weak.
18309         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18310         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18311         * sysdeps/tile/math_private.h (__fegetround): New inline function.
18312         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
18313         __fegetround and define as weak alias of __fegetround.  Use
18314         libm_hidden_weak.
18315         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
18316         __fegetround instead of fegetround.
18318         [BZ #17782]
18319         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
18320         Condition macro definition on [__USE_MISC].
18322         [BZ #17781]
18323         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18324         (struct sigaction): Change type of sa_flags field to int.
18326         [BZ #17780]
18327         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
18328         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
18329         __glibc_reserved0.
18331         * nptl/version.c (banner): Use single year in copyright notice.
18333         * NEWS: Update copyright dates.
18334         * catgets/gencat.c (print_version): Likewise.
18335         * csu/version.c (banner): Likewise.
18336         * debug/catchsegv.sh: Likewise.
18337         * debug/pcprofiledump.c (print_version): Likewise.
18338         * debug/xtrace.sh (do_version): Likewise.
18339         * elf/ldconfig.c (print_version): Likewise.
18340         * elf/ldd.bash.in: Likewise.
18341         * elf/pldd.c (print_version): Likewise.
18342         * elf/sotruss.sh: Likewise.
18343         * elf/sprof.c (print_version): Likewise.
18344         * iconv/iconv_prog.c (print_version): Likewise.
18345         * iconv/iconvconfig.c (print_version): Likewise.
18346         * locale/programs/locale.c (print_version): Likewise.
18347         * locale/programs/localedef.c (print_version): Likewise.
18348         * login/programs/pt_chown.c (print_version): Likewise.
18349         * malloc/memusage.sh (do_version): Likewise.
18350         * malloc/memusagestat.c (print_version): Likewise.
18351         * malloc/mtrace.pl: Likewise.
18352         * manual/libc.texinfo: Likewise.
18353         * nptl/version.c (banner): Likewise.
18354         * nscd/nscd.c (print_version): Likewise.
18355         * nss/getent.c (print_version): Likewise.
18356         * nss/makedb.c (print_version): Likewise.
18357         * posix/getconf.c (main): Likewise.
18358         * scripts/test-installation.pl: Likewise.
18359         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18361 2015-01-02  Will Newton  <will.newton@linaro.org>
18363         * sysdeps/arm/armv7/configure: Removed.
18364         * sysdeps/arm/armv7/configure.ac: Likewise.
18366 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18368         * All files with FSF copyright notices: Update copyright dates
18369         using scripts/update-copyrights.
18370         * intl/plural.c: Regenerated.
18371         * locale/programs/charmap-kw.h: Likewise.
18372         * locale/programs/locfile-kw.h: Likewise.
18374 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18376         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
18378 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18380         [BZ #17748]
18381         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
18382         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18383         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18384         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18385         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18386         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
18387         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18388         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
18389         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18390         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18391         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18392         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18393         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18394         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18395         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
18396         libm_hidden_def.
18397         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
18398         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
18399         Likewise.
18400         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18401         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18402         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18403         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18404         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
18405         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18406         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18407         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
18408         __fegetenv instead of fegetenv.
18409         (libc_feholdsetround_noex_ctx): Likewise.
18411 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18413         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
18414         (Elf_MIPS_ABIFlags_v0): New structure.
18415         (EF_MIPS_FP64): Define.
18416         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
18417         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
18418         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
18419         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
18420         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
18421         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
18422         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
18423         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
18424         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
18425         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
18426         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
18427         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
18428         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
18429         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
18430         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
18431         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
18432         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
18433         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
18434         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
18435         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
18436         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
18437         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
18438         field.
18439         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
18440         EF_MIPS_FP64.
18441         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
18442         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
18443         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
18444         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
18445         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
18446         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
18447         * sysdeps/mips/tst-abi-interlink.c: Likewise.
18448         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
18449         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
18450         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
18451         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
18452         record the current FP ABI extension.
18453         (mips-mode-switch): Define to show if kernel headers support mode
18454         switching.
18455         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18456         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
18457         supported SYSV ABI version to 3.
18458         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
18459         feature.
18461 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18462             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18464         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
18465         path.
18466         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
18468 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18470         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
18471         __fegetround and redefine to call __fegetround.  Remove condition
18472         on [!__NO_MATH_INLINES].
18473         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
18474         function.
18475         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
18476         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18477         Remove macro.
18478         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
18479         instead of <fenv_libc.h>.
18480         (__llrintl): Call fegetround instead of __fegetround.
18481         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
18482         instead of <fenv_libc.h>.
18483         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18484         (__lrintl): Call fegetround instead of __fegetround.
18485         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
18486         instead of <fenv_libc.h>.
18487         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18488         (__rintl): Call fegetround instead of __fegetround.
18490 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18492         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
18493         arrays.
18495 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18497         [BZ #17775]
18498         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
18499         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
18500         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
18502 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18504         * sysdeps/i386/tls-macros.h: Include <features.h>.
18505         (TLS_LE): Use non-PIC version for GCC >= 5.0.
18506         (TLS_IE): Likewise.
18507         (TLS_LD): Likewise.
18508         (TLS_GD): Likewise.
18509         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
18510         define for GCC >= 5.0.
18512 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
18514         * math/test-fenv.c (test_single_exception, set_single_exc,
18515         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
18516         feexcp_mask_test, feenable_test, fe_single_test): Add
18517         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
18518         case where they are not used.
18519         * math/libm-test.inc: Likewise.
18520         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
18521         unused in the absence of FP rounding/exception support.
18522         * stdio-common/tst-printf-round.c: Likewise.
18523         * stdlib/tst-strtod-round.c: Likewise.
18524         * stdlib/tst-strtod-underflow.c: Likewise.
18526 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
18528         [BZ #17723]
18529         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
18530         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
18531         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18532         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18533         libm_hidden_weak.
18534         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
18535         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18536         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
18537         libm_hidden_def.
18538         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18539         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18540         libm_hidden_weak.
18541         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
18542         Likewise.
18543         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
18544         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18545         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18546         libm_hidden_weak.
18547         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18548         libm_hidden_def.
18549         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18550         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
18551         (__feraiseexcept): Likewise.
18552         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18553         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18554         libm_hidden_weak.
18555         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18556         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18557         libm_hidden_def.
18558         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
18559         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
18560         Use libm_hidden_def.
18561         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
18562         libm_hidden_def.
18563         (feraiseexcept): Define as weak not strong alias.  Use
18564         libm_hidden_weak.
18565         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
18566         New inline function.  Factored out of ...
18567         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
18568         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
18569         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
18570         feraiseexcept.
18571         * math/w_acos.c (__acos): Likewise.
18572         * math/w_asin.c (__asin): Likewise.
18573         * math/w_ilogb.c (__ilogb): Likewise.
18574         * math/w_j0.c (y0): Likewise.
18575         * math/w_j1.c (y1): Likewise.
18576         * math/w_jn.c (yn): Likewise.
18577         * math/w_log.c (__log): Likewise.
18578         * math/w_log10.c (__log10): Likewise.
18579         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
18580         * sysdeps/aarch64/fpu/math_private.h
18581         (libc_feupdateenv_test_aarch64): Likewise.
18582         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18583         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
18584         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
18585         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18586         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18587         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18588         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
18589         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18590         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18591         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18593 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18595         [BZ #17732]
18596         * io/test-utime.c (main): Replace %ld with %jd and cast to
18597         intmax_t.
18598         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
18599         * nptl/tst-mutex5.c: Include <stdint.h>.
18600         (do_test): Replace %ld with %jd and cast to intmax_t.
18601         * posix/tst-regex.c (run_test): Likewise.
18602         (run_test_backwards): Likewise.
18603         * rt/tst-clock.c: Include <stdint.h>.
18604         (clock_test): Replace %ld with %jd and cast to intmax_t.
18605         * rt/tst-cpuclock1.c: Include <stdint.h>.
18606         (do_test): Replace %lu with %ju and cast to uintmax_t.
18607         * rt/tst-cpuclock2.c: Include <stdint.h>.
18608         (do_test): Replace %lu with %ju and cast to uintmax_t.
18609         * rt/tst-mqueue1.c: Include <stdint.h>.
18610         (check_attrs): Replace %ld with %jd and cast to intmax_t.
18611         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18612         intmax_t.
18613         * rt/tst-mqueue4.c (do_test): Likewise.
18614         * rt/tst-timer4.c: Include <stdint.h>.
18615         (check_ts): Replace %ld with %jd and cast to intmax_t.
18616         (do_test): Likewise.
18617         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18618         and cast to intmax_t.
18619         * sysdeps/pthread/tst-timer.c (main): Likewise.
18620         * time/clocktest.c (main): Likewise.
18621         * time/tst-posixtz.c (do_test): Likewise.
18622         * timezone/tst-timezone.c (main): Likewise.
18624 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18625             H.J. Lu  <hongjiu.lu@intel.com>
18627         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18628         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18629         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18630         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18631         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18632         version if bit_Fast_Unaligned_Load is set.
18633         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18634         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18635         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18636         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18637         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18638         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18639         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18640         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18641         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18642         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18643         to 4.
18644         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18645         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18646         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18647         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18649 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
18651         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18652         instead of #if to avoid a Wundef warning.
18653         * stdlib/tst-limits.c (do_test): Likewise.
18655         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18656         parallel other exception macros.
18657         (fegetenv): Convert from macro to extern inline so that it applies
18658         retroactively to inline functions already seen by the compiler.
18659         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18661         * posix/Makefile (before-compile): Use $(objpfx) for
18662         posix-conf-vars-def.h.
18664 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18666         * posix/getconf.c (main): Use size_t for type of I.
18667         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18668         NSPEC.
18670         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18671         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18672         * posix/posix-envs.def: Likewise.
18673         * sysdeps/posix/sysconf.c: Likewise.
18674         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18675         (specs): Remove array.
18676         * scripts/gen-posix-conf-vars.awk: Support generation of specs
18677         array.
18679         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18680         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18681         (__sysconf): Use CONF_IS_* macros.
18683         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18684         ($(objpfx)posix-conf-vars-def.h): New target.
18685         * posix/posix-conf-vars.list: New file.
18686         * posix/posix-conf-vars.h: New file.
18687         * posix/confstr.c: Include posix-conf-vars.h.
18688         (confstr): Use CONF_IS_* macros.
18689         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
18690         CONF_IS_* macros.
18691         * scripts/gen-posix-conf-vars.awk: New file.
18693 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
18695         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18696         fegetround): Add no-op macros to avoid linknamespace issues.
18698         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18699         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18701         * sysdeps/unix/sysv/linux/tile/sysdep.h
18702         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18703         assembly-specific section to avoid a redefinition warning.
18705         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18706         long before casting to pointer to avoid a cast warning.
18708 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
18710         * sysdeps/tile/tilegx/Implies: New file.
18712 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
18714         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18716 2014-12-23  Florian Weimer  <fweimer@redhat.com>
18718         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18720 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18722         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18723         not define.
18724         * sysdeps/unix/sysv/linux/utimes.c: Do not include
18725         <kernel-features.h>.
18726         (__utimes) [__NR_utimes]: Make code unconditional.
18727         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18728         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18729         (__ASSUME_UTIMES): Do not undefine.
18730         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18731         (__ASSUME_UTIMES): Likewise.
18732         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18733         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18734         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18735         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18737 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18739         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18741 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
18743         [BZ #17747]
18744         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18745         alias to weak alias for j0l, y0l.
18746         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18747         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18749         [BZ #17746]
18750         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18751         conversion.
18753 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18755         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18756         to zero if not already defined.
18758 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18760         [BZ #17724]
18761         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
18762         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
18763         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
18764         (char *) casts added.
18765         * sysdeps/ieee754/k_standardf.c: New file.
18766         * sysdeps/ieee754/k_standardl.c: Likewise.
18767         * math/Makefile (libm-support): Remove k_standard.
18768         (libm-calls): Add k_standard.
18770 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18772         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18773         Optimize to avoid an unnecessary FPCR read.
18775 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18777         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18778         Optimize to reduce FPCR/FPSR accesses.
18780 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18782         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
18783         Call libc_fetestexcept_aarch64.
18785 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18787         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
18788         Call libc_fesetround_aarch64.
18790 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18792         [BZ #17733]
18793         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
18794         (__bind): Do not define as weak alias.
18795         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
18796         define.
18797         (__getsockname): Do not define as weak alias.
18799 2014-12-22  Will Newton  <will.newton@linaro.org>
18801         * manual/install.texi: Document that we require bison 2.7
18802         or above.
18803         * INSTALL: Regenerate.
18804         * configure.ac: Use AC_CHECK_PROG_VER instead of
18805         AC_PATH_PROG when checking for bison and check for
18806         version 2.7 or above.
18807         * configure: Regenerate.
18809 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
18811         [BZ #17745]
18812         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
18813         * sysdeps/tile/ffsll.c (ffsll): To here.
18815         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
18817 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18819         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
18820         if not defined.
18821         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
18822         definition.
18823         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18824         hidden ___tls_get_addr.
18825         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18826         hidden __tls_get_addr.
18827         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
18828         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
18829         Likewise.
18831 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
18833         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
18834         _dl_init call.
18836 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18838         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
18839         from "call _dl_init@PLT".
18840         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
18842 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
18844         * manual/search.texi: (Array Sort Function): Clarify stable sorting
18845         guarantees.
18847 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
18849         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
18851 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18853         [BZ #17744]
18854         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
18855         strnlen.
18857 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18859         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
18860         of multu on MIPSr6.
18861         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
18862         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
18863         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
18864         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
18865         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
18867 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18869         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
18870         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
18871         (PTR_SUBU): Use subu for mips32r6/mips64r6.
18872         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
18873         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
18874         mips32r6/mips64r6.
18875         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
18877 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
18879         * string/strncat.c (STRNCAT): Simplify implementation.
18881 2014-12-19  David S. Miller  <davem@davemloft.net>
18883         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
18884         access the quad as both a long double and as a series of 4 words.
18886         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
18887         link_map->l_info array access.
18889 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18891         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
18893         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
18894         * math/atest-exp2.c (TIMEOUT): Likewise.
18895         * math/atest-sincos.c (TIMEOUT): Likewise.
18897 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18899         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
18900         -Wno-error with -fno-builtin-lround.
18902 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18904         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
18905         Contains futex constants and functions moved over from ...
18906         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
18907         <lowlevellock-futex.h>.
18908         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18909         (lll_timedwait_tid): Add comments and parentheses around macro
18910         arguments.
18912 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18914         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
18915         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
18916         (__lll_private_flag): Remove.
18917         (lll_futex_wait): Likewise.
18918         (lll_futex_timed_wait): Likewise.
18919         (lll_futex_wake): Likewise.
18920         (lll_futex_requeue): Likewise.
18921         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18922         (__lll_timedwait_tid): Spell out argument names.
18923         (lll_timedwait_tid): Add comments and parentheses around macro
18924         arguments.
18925         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
18926         LLL_SHARED and LLL_PRIVATE usable from assembly code.
18928 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18930         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
18931         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18932         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18933         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
18934         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
18935         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
18936         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
18937         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
18938         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
18939         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
18940         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
18941         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
18942         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
18943         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
18944         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
18945         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
18946         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
18947         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
18948         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
18950 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18952         * sysdeps/x86_64/x32/Makefile: New file.
18954 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18956         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
18957         1L with (mp_limb_t) 1.
18959 2014-12-17  Roland McGrath  <roland@hack.frob.com>
18961         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
18962         * nptl/libc_pthread_init.c: ... here.
18963         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
18964         * nptl/register-atfork.c: ... here.
18966         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
18967         Use pthread_sigmask rather than INTERNAL_SYSCALL.
18968         Use assert_perror to check its return value.
18969         (__gai_create_helper_thread): Likewise.
18971         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
18973         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
18975 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
18977         [BZ #17725]
18978         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
18979         __profil_counter.
18980         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
18981         Likewise.
18982         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
18983         Likewise.
18984         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
18985         Likewise.
18986         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
18987         (profil_counter): Likewise.
18988         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
18989         (profil_counter): Likewise.
18990         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
18991         Likewise.
18992         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
18993         Likewise.
18994         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
18995         (profil_counter): Likewise.
18996         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
18997         Likewise.
18998         [!__profil_counter] (profil_counter): Define as weak alias of
18999         __profil_counter.
19000         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
19001         (profil_counter): Rename to __profil_counter.
19002         [!__profil_counter] (profil_counter): Define as weak alias of
19003         __profil_counter.
19004         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
19005         (profil_counter): Rename to __profil_counter.
19006         [!__profil_counter] (profil_counter): Define as weak alias of
19007         __profil_counter.
19008         * sysdeps/posix/profil.c: Update comment referring to
19009         profil_counter.
19010         (__profil): Use __profil_counter instead of profil_counter.
19011         * sysdeps/posix/sprofil.c (profil_counter): Rename to
19012         __profil_counter.  Use __profil_counter_ushort and
19013         __profil_counter_uint in definitions.
19014         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
19015         instead of profil_counter_uint and profil_counter_ushort.
19017         [BZ #17722]
19018         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
19019         define as weak alias of __inet_makeaddr.
19020         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
19021         as weak alias of __inet_addr.
19022         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
19023         as weak alias of __inet_pton.  Use libc_hidden_weak.
19024         * include/arpa/inet.h (__inet_pton): Declare.  Use
19025         libc_hidden_proto.
19026         (inet_makeaddr): Don't use libc_hidden_proto.
19027         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
19028         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
19029         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
19030         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
19031         Remove variable.
19032         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19033         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19035 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
19037         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
19039 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19041         * stdio-common/bug-vfprintf-nargs.c (do_test):
19042         Cast value to intptr_t to avoid format warning
19043         for usage with PRIdPTR printing macro.
19045 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19047         * libio/tst-widetext.c (do_test):
19048         Use format type %td instead of %Zd for ptrdiff_t
19049         in order to avoid format warning.
19051 2014-12-17  Andreas Schwab  <schwab@suse.de>
19053         * nscd/mem.c (gc): Add size_t cast to match printf format.
19055 2014-12-16  Roland McGrath  <roland@hack.frob.com>
19057         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
19058         (init): Apply PTR_MANGLE to pointers before storing them.
19059         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
19060         before using them.
19062 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
19064         [BZ #17719]
19065         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
19066         define as weak alias of __memrchr.
19067         (__memrchr): Do not define as strong alias of memrchr.
19068         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
19069         Remove variable.
19070         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19071         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19072         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19074         [BZ #17717]
19075         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
19076         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
19077         (if_indextoname): Rename to __if_indextoname and define as weak
19078         alias of __if_indextoname.  Use libc_hidden_weak.
19079         (if_freenameindex): Rename to __if_freenameindex and define as
19080         weak alias of __if_freenameindex.
19081         (if_nameindex): Rename to __if_nameindex and define as weak alias
19082         of __if_nameindex.
19083         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
19084         __if_nametoindex and define as weak alias of __if_nametoindex.
19085         Use libc_hidden_weak.
19086         (if_freenameindex): Rename to __if_freenameindex and define as
19087         weak alias of __if_freenameindex.
19088         (if_nameindex): Rename to __if_nameindex and define as weak alias
19089         of __if_nameindex.
19090         (if_indextoname): Rename to __if_indextoname and define as weak
19091         alias of __if_indextoname.  Use libc_hidden_weak.
19092         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
19093         __if_nametoindex and define as weak alias of __if_nametoindex.
19094         Use libc_hidden_weak.
19095         (if_freenameindex): Rename to __if_freenameindex and define as
19096         weak alias of __if_freenameindex.  Use libc_hidden_weak.
19097         (if_nameindex_netlink): Use __if_freenameindex instead of
19098         if_freenameindex.
19099         (if_nameindex): Rename to __if_nameindex and define as weak alias
19100         of __if_nameindex.  Use libc_hidden_weak.
19101         (if_indextoname): Rename to __if_indextoname and define as weak
19102         alias of __if_indextoname.  Use libc_hidden_weak.
19103         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
19104         libc_hidden_proto.
19105         [!_ISOMAC] (__if_freenameindex): Likewise.
19106         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
19107         if_nametoindex.
19108         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
19109         variable.
19110         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19111         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19112         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19113         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19114         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19115         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19116         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19118         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
19119         Remove variable.
19120         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19121         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19123 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19125         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
19126         subscript above bounds'
19128         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
19129         bounds.
19131 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
19133         * libio/tst-fopenloc.c: Use test-skeleton.c.
19135         * stdlib/tst-bsearch.c: Use test-skeleton.c.
19136         (entry): Rename to ITEM.
19137         (do_test, comp): Adjust.
19139         * stdio-common/tst-fseek.c: Use test-skeleton.c.
19141 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19143         * string/tester.c: Include <libc-internal.h>.
19144         (test_memset): Ignore -Wmemset-transposed-args.
19146 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19148         * misc/tst-mntent2.c (do_test): Fix warning.
19150 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19152         * elf/tst-unique4lib.cc(a): Mark as used.
19154 2014-12-16  Florian Weimer  <fweimer@redhat.com>
19156         [BZ #17630]
19157         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
19158         names.
19160 2014-12-16  Allan McRae  <allan@archlinux.org>
19162         * stdio-common/Makefile (tests): Re-add bug26.
19164 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
19166         [BZ #17657]
19167         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
19168         static array.
19170 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
19172         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
19173         (__lll_lock_wait): Likewise.
19174         (__lll_timedlock_wait): Likewise.
19175         (__lll_timedwait_tid): Likewise.
19176         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
19177         (__lll_robust_timedlock_wait): Likewise.
19178         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
19179         (lll_cond_trylock): Likewise.
19180         (__lll_lock): Likewise.
19181         (__lll_robust_lock): Likewise.
19182         (__lll_cond_lock): Likewise.
19183         (lll_robust_cond_lock): Likewise.
19184         (__lll_timedlock): Likewise.
19185         (__lll_robust_timedlock): Likewise.
19186         (__lll_unlock): Likewise.
19187         (__lll_robust_unlock): Likewise.
19188         (lll_wait_tid): Likewise.
19189         (lll_timedwait_tid): Likewise.
19191 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19193         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
19195 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19197         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
19199 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19201         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
19202         * stdio-common/tst-sprintf.c: Likewise.
19204 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19206         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
19208 2014-12-15  Jeff Law  <law@redhat.com>
19210         [BZ #16617]
19211         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
19212         on the heap.  (CVE-2012-3406)
19213         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
19214         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
19215         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
19217 2014-12-15  Will Newton  <will.newton@linaro.org>
19219         * manual/install.texi: Bump required version of texinfo
19220         to 4.7 from 4.5.
19221         * INSTALL: Regenerated.
19222         * configure.ac: Check for makeinfo version 4.7 and above.
19223         * configure: Regenerated.
19225 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19227         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
19228         PREFIX, string constant to insert between directory and name.
19229         * sysdeps/posix/shm_open.c: Update caller.
19230         * sysdeps/posix/shm_unlink.c: Likewise.
19231         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
19232         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
19233         (SEM_SHM_PREFIX): New macro.
19234         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
19235         [$(have-thread-library) = no].
19236         * nptl/Makefile (libpthread-routines): Add shm-directory.
19237         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
19238         * sysdeps/nptl/shm-directory.h: New file.
19239         * sysdeps/posix/shm-directory.c
19240         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
19241         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19242         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
19243         INTERNAL_SYSCALL.
19244         (__where_is_shmfs): Function removed.
19245         (mountpoint, defaultmount, defaultdir, __namedsem_once):
19246         Variables removed.
19247         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
19248         Use SHM_GET_NAME.
19249         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
19251         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
19252         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
19253         unconditional for use inside libpthread.
19254         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
19256 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19258         * nptl/pthread_getaffinity.c: New file.
19259         * nptl/pthread_setaffinity.c: New file.
19260         * nptl/pthread_getname.c: New file.
19261         * nptl/pthread_setname.c: New file.
19263         * nptl/pthread_create.c (START_THREAD_DEFN)
19264         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
19266 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19267             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19269         * resolv/res_send.c (send_vc): Disable warning resplen may
19270         be used uninitialized.
19272 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19274         * nptl/tst-mutex6.c
19275         (ATTR_NULL): New define checks ATTR against NULL.
19276         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
19277         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
19279 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
19281         [BZ #17581]
19282         * malloc/hooks.c
19283         (mem2mem_check): Revert my previous change.
19284         (malloc_check_get_size): Revert my previous change.
19285         (mem2chunk_check): Revert my previous change.
19287 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19289         * sysdeps/posix/shm-directory.c: New file.
19290         * sysdeps/posix/shm-directory.h: New file.
19291         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
19292         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
19293         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
19294         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
19295         Transmute EPERM to EACCES.
19296         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
19297         from ...
19298         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
19299         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
19301 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19303         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
19304         pointer and cast to uintptr_t.
19305         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
19306         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
19307         Add cast to avoid warning.
19308         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
19310 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19312         * nptl/semaphore.h: Move to ...
19313         * sysdeps/pthread/semaphore.h: ... here.
19314         * Makefile (installed-headers): Change nptl/semaphore.h to
19315         sysdeps/pthread/semaphore.h.
19317 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19319         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
19320         generated error format strings.
19322         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
19323         -Wformat-extra-args warnings for scanf formats.
19324         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
19325         test of zero-length format (duh).
19326         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
19327         corner-case scanf format test.
19328         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
19329         generated fprintf format string.
19330         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
19331         corner-case sprintf format tests.
19332         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
19333         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
19334         -Wformat-extra-args warnings throughout.
19335         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
19336         (CFLAGS-scanf4.c): Likewise.
19337         (CFLAGS-scanf7.c): Likewise.
19338         (CFLAGS-tst-sprintf.c): Likewise.
19339         (CFLAGS-tst-printf.c): Likewise.
19340         (CFLAGS-tst-printfsz.c): Likewise.
19342 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19344         * include/cpio.h: New file.
19345         * include/fmtmsg.h: Likewise.
19347         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
19348         corresponding format argument to size_t.
19349         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
19350         arguments.
19351         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
19352         corresponding format argument to size_t.
19353         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
19354         arguments.
19355         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
19356         corresponding format argument to size_t.
19357         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
19358         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
19359         (CFLAGS-tst-mbswcs2.c): Likewise.
19360         (CFLAGS-tst-mbswcs3.c): Likewise.
19361         (CFLAGS-tst-mbswcs4.c): Likewise.
19362         (CFLAGS-tst-mbswcs5.c): Likewise.
19363         (CFLAGS-tst-trans.c): Likewise.
19365 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19367         * posix/regexbug1.c (main): Use "%s" format with regerror results,
19368         rather than assuming they won't contain any '%'s.
19370 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
19372         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
19373         inhibit_loop_to_libcall to avoid recursive calls.
19374         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
19375         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
19377 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19379         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
19380         prototype.
19382 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19384         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
19385         integer value instead of boolean.
19387 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19389         * malloc/malloc.c: Fix powerof2 check.
19391 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19393         * locale/programs/locfile.h (maybe_swap_uint32):
19394         Remove inline and add unused attribute.
19396 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19398         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19399         Truncating assembler expression to a .long expression.
19401 2014-12-11  Andreas Schwab  <schwab@suse.de>
19403         * elf/rtld.c (struct map_args): Constify str member.
19404         (do_preload): Constify fname argument.
19406 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19408         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
19409         constants definition.
19411 2014-12-11  Andreas Schwab  <schwab@suse.de>
19413         [BZ #16657]
19414         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
19415         FORCE_ELISION instead of DO_ELISION.
19416         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
19417         Remove.
19418         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
19419         Likewise.
19421         * iconvdata/gconv-modules: Remove duplicate entry.
19423 2014-12-11  Will Newton  <will.newton@linaro.org>
19425         Merge gettext 0.19.3 into intl/.
19427         This involves a number of cosmetic changes to comments
19428         and ANSI function definitions and prototypes throughout
19429         all the files. The gettext copyright header is used but
19430         with the date ranges taken from the glibc copy.
19432         * NEWS: Add gettext merge to 2.21.
19433         * intl/bindtextdom.c: Switch to gettext copyright.
19434         Use ANSI definitions and prototypes.
19435         Use gl_* locking primitives rather than __libc_* ones.
19436         Use __builtin_expect rather than __glibc_likely/unlikely.
19437         * intl/dcgettext.c: Switch to gettext copyright.
19438         Use ANSI definitions and prototypes.
19439         * intl/dcigettext.c: Switch to gettext copyright.
19440         Use ANSI definitions and prototypes.
19441         (INTDIV0_RAISES_SIGFPE): New define.
19442         Use gl_* locking primitives rather than __libc_* ones.
19443         Include eval-plural.h instead of plural-eval.c.
19444         Use __builtin_expect rather than __glibc_likely/unlikely.
19445         * intl/dcngettext.c: Switch to gettext copyright.
19446         Use ANSI definitions and prototypes.
19447         * intl/dgettext.c: Likewise.
19448         * intl/dngettext.c: Likewise.
19449         * intl/plural-eval.c: Renamed to...
19450         * intl/eval-plural.h: ...this.
19451         * intl/explodename.c: Switch to gettext copyright.
19452         Use ANSI definitions and prototypes.
19453         (_nl_explode_name): Use strchr instead of __rawmemchr.
19454         * intl/finddomain.c: Switch to gettext copyright.
19455         Use ANSI definitions and prototypes.
19456         Use gl_* locking primitives rather than __libc_* ones.
19457         (_nl_find_domain): Use malloc rather than alloca for
19458         allocation of temporary locale name.
19459         * intl/gettext.c: Switch to gettext copyright.
19460         Use ANSI definitions and prototypes.
19461         * intl/gettextP.h: Switch to gettext copyright.
19462         Use ANSI definitions and prototypes.
19463         Use gl_* locking primitives rather than __libc_* ones.
19464         * intl/gmo.h: Switch to gettext copyright.
19465         (struct sysdep_string): Move struct segment_pair outside of
19466         struct definition.
19467         * intl/hash-string.c: Use ANSI definitions and prototypes.
19468         * intl/hash-string.h: Switch to gettext copyright.
19469         Use ANSI definitions and prototypes.
19470         * intl/l10nflist.c: Switch to gettext copyright.
19471         Use ANSI definitions and prototypes.
19472         (_nl_normalize_codeset): Avoid integer overflow.
19473         * intl/loadinfo.h: Switch to gettext copyright.
19474         Use ANSI definitions and prototypes.
19475         (LIBINTL_DLL_EXPORTED): New define.
19476         (PATH_SEPARATOR): New define.
19477         * intl/loadmsgcat.c: Switch to gettext copyright.
19478         * intl/localealias.c: Switch to gettext copyright.
19479         Use ANSI definitions and prototypes.
19480         (_nl_expand_alias): Use PATH_SEPARATOR.
19481         * intl/ngettext.c: Switch to gettext copyright.
19482         Use ANSI definitions and prototypes.
19483         * intl/plural-exp.c: Likewise.
19484         * intl/plural-exp.h: Switch to gettext copyright.
19485         Use ANSI definitions and prototypes.
19486         (struct expression): Move definition of enum operator outside
19487         of struct definition.
19488         * intl/plural.c: Regenerate.
19489         * intl/plural.y: Switch to gettext copyright.
19490         Use ANSI definitions and prototypes.
19491         Port to bison 3.0.
19492         * intl/textdomain.c: Switch to gettext copyright.
19493         Use ANSI definitions and prototypes.
19494         Use gl_* locking primitives rather than __libc_* ones.
19496 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
19498         * debug/warning-nop.c: Add used atrribute.
19500 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19502         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
19504         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
19505         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
19506         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
19508 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19509             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19511         [BZ #17634]
19512         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
19513         Undefine after defining function.  Define as weak alias of
19514         __wcschr.  Use libc_hidden_weak.
19515         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
19516         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
19517         (libc_hidden_def): Also define __GI___wcschr alias.
19518         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
19519         __wcschr and define as weak alias of __wcschr.
19520         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
19521         __wcschr.
19522         [!WCSCHR] (DEFAULT_WCSCHR): Define.
19523         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
19524         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
19525         libc_hidden_weak.  Do not use libc_hidden_def.
19526         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
19527         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
19528         __GI___wcschr alias.
19529         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
19530         [IS_IN (libc)] (wcschr): Define as macro expanding to
19531         __redirect_wcschr.
19532         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
19533         [IS_IN (libc)] (__wcschr_power6): Likewise.
19534         [IS_IN (libc)] (__wcschr_power7): Likewise.
19535         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
19536         instead of wcschr.
19537         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
19538         __libc_wcschr.
19539         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
19540         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
19541         __wcschr and define as weak alias of __wcschr.  Use
19542         libc_hidden_builtin_def.
19543         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
19544         as weak alias of __wcschr.  Use libc_hidden_weak.
19545         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
19546         wcschr.
19547         * time/era.c (_nl_init_era_entries): Likewise.
19548         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
19549         variable.
19550         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19551         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19553 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19555         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
19556         format for long int variable.
19558 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
19560         [BZ #10672]
19561         * manual/search.texi: (Array Sort Function): Remove claim how to make
19562         qsort stable.
19564 2014-12-10  Andreas Schwab  <schwab@suse.de>
19566         [BZ #12847]
19567         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
19568         user-controlled locks.
19570 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
19572         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
19573         register.
19575 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19577         * configure.ac (--disable-werror): New configure option.
19578         (enable_werror): New AC_SUBST.
19579         * configure: Regenerated.
19580         * config.make.in (enable-werror): New variable.
19581         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
19582         -Wno-error=undef.
19583         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
19584         * manual/install.texi (Configuring and compiling): Document
19585         --disable-werror.
19586         * INSTALL: Regenerated.
19587         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
19588         (CFLAGS-tst-chk2.c): Likewise.
19589         (CFLAGS-tst-chk3.c): Likewise.
19590         (CFLAGS-tst-chk4.cc): Likewise.
19591         (CFLAGS-tst-chk5.cc): Likewise.
19592         (CFLAGS-tst-chk6.cc): Likewise.
19593         (CFLAGS-tst-lfschk1.c): Likewise.
19594         (CFLAGS-tst-lfschk2.c): Likewise.
19595         (CFLAGS-tst-lfschk3.c): Likewise.
19596         (CFLAGS-tst-lfschk4.cc): Likewise.
19597         (CFLAGS-tst-lfschk5.cc): Likewise.
19598         (CFLAGS-tst-lfschk6.cc): Likewise.
19600         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
19601         (main): Disable -Wdeprecated-declarations around calls to
19602         register_printf_function.
19604         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19605         (do_test): Disable -Wdiv-by-zero around some calls to
19606         fwrite_unlocked and fread_unlocked.
19608         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19609         (DIAG_POP_NEEDS_COMMENT): Likewise.
19610         (_DIAG_STR1): Likewise.
19611         (_DIAG_STR): Likewise.
19612         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19613         * stdio-common/bug21.c: Include <libc-internal.h>.
19614         (do_test): Disable -Wformat around call to sscanf.
19615         * stdio-common/scanf14.c: Include <libc-internal.h>.
19616         (main): Disable -Wformat around some calls to scanf functions.
19618 2014-12-09  Torvald Riegel  <triegel@redhat.com>
19620         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19622 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19624         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19625         stack variable alignment.
19627 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
19629         [BZ #17682]
19630         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19631         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19632         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19633         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19634         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19635         __getrlimit instead of getrlimit.
19636         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19637         __gettimeofday instead of gettimeofday.
19638         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19639         Likewise.
19640         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19641         Likewise.
19642         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19643         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19644         Remove variable.
19645         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19646         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19648 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19650         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19651         for wide-character tests.
19653 2014-12-04  Roland McGrath  <roland@hack.frob.com>
19655         * io/openat64.c: #include <libc-internal.h>
19656         (__openat64): Prototypify.  Use ignore_value on MODE.
19657         * io/openat.c: Likewise.
19658         * misc/reboot.c: #include <libc-internal.h>
19659         (reboot): Prototypify.  Use ignore_value on HOWTO.
19660         * misc/ptrace.c: #include <libc-internal.h>
19661         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
19663 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
19665         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19666         XPG4, UNIX98 and XOPEN2K.
19667         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19668         Remove variable.
19669         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19671 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19673         * libio/fileops.c: Use ISO C style for function definitions.
19674         * libio/iofopen.c: Likewise.
19675         * libio/wfileops.c: Likewise.
19677         [BZ #17653]
19678         * libio/fileops.c (_IO_new_file_underflow): Unset cached
19679         offset on EOF.
19680         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19681         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19682         (fgets_func): Function pointer to fgets and fgetws.
19683         (do_ftell_test): Add test to verify ftell value after read
19684         EOF.
19685         (do_test): Set fgets_func.
19687         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19688         O_TRUNC flag for w and w+ modes.
19689         (do_rewind_test): Likewise.
19690         (do_ftell_test): Likewise.
19691         (do_write_test): Likewise.
19693         [BZ #17647]
19694         * libio/fileops.c (do_ftell): Seek only when there are
19695         unflushed writes.
19696         * libio/wfileops.c (do_ftell_wide): Likewise.
19697         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19698         test case.
19699         (do_one_test): Call it.
19701 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
19703         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19704         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19705         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19706         Remove variable.
19707         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19708         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19709         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19711 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19713         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19714         Remove variable.
19715         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19717         [BZ #17668]
19718         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19719         as weak alias of __getifaddrs.  Use libc_hidden_weak.
19720         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19721         __freeifaddrs.  Use libc_hidden_weak.
19722         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19723         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
19724         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19725         __freeifaddrs.  Use libc_hidden_weak.
19726         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19727         __getifaddrs and define as weak alias of __getifaddrs.  Use
19728         libc_hidden_weak.
19729         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19730         __freeifaddrs.  Use libc_hidden_weak.
19731         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19732         Remove variable.
19733         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19734         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19736 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19738         [BZ #17601]
19739         * sysdeps/mips/start.S (__start): Use indirect jump to call
19740         __libc_start_main.
19742 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19744         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19746         * nptl/tst-mutex1.c: Include <stdbool.h>.
19747         [!ATTR] (ATTR_NULL): New macro.
19748         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19749         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19750         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19752         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19753         to char *.
19755         [BZ #17665]
19756         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19757         Change conditional to [__USE_MISC].
19759         [BZ #17664]
19760         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
19761         fgets_unlocked.
19762         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
19763         __fgets_unlocked.
19764         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
19765         fgets_unlocked.
19766         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
19767         Remove variable.
19768         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19769         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19770         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19771         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19772         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19773         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19774         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19775         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19776         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19778         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
19780 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19782         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19783         Remove strpbrk objects.
19784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19785         (__libc_ifunc_impl_list): Remove strpbrk implementation.
19786         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
19787         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
19788         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
19789         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
19791         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19792         Remove strcspn objects.
19793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19794         (__libc_ifunc_impl_list): Remove strcspn implementation.
19795         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
19796         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
19797         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
19798         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
19800         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19801         Remove strspn objetcs.
19802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19803         (__libc_ifunc_impl_list): Remove strspn implementation.
19804         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
19805         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19806         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
19807         * sysdeps/powerpc/powerpc64/strspn.S: New file.
19809 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
19811         [BZ #17581]
19812         * malloc/hooks.c
19813         (mem2mem_check): Add a terminator to the chain of checking blocks.
19814         (malloc_check_get_size): Use it here.
19815         (mem2chunk_check): Ditto.
19817 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19819         * sysdeps/powerpc/powerpc64/strtok.S: New file.
19820         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
19822 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
19824         * bits/ioctl-types.h: Indent preprocessor directives correctly.
19826         * nptl/nptl-init.c: Include libc-internal.h.
19827         (__pthread_initialize_minimal_internal): Use ROUND_UP.
19829         * elf/ldconfig.c (search_dir): Expand comment.
19831 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
19833         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
19834         variable.
19835         (linknamespace-symlist-stdlibs-tests): Likewise.
19836         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
19837         instead of $(objpfx)symlist-stdlibs.
19838         (linknamespace-libs-isoc): New variable.
19839         (linknamespace-libs): Use $(linknamespace-libs-isoc).
19840         (linknamespace-libs-ISO): New variable.
19841         (linknamespace-libs-ISO99): Likewise.
19842         (linknamespace-libs-ISO11): Likewise.
19843         (linknamespace-libs-XPG3): Likewise.
19844         (linknamespace-libs-XPG4): Likewise.
19845         (linknamespace-libs-POSIX): Likewise.
19846         (linknamespace-libs-UNIX98): Likewise.
19847         (linknamespace-libs-XOPEN2K): Likewise.
19848         (linknamespace-libs-POSIX2008): Likewise.
19849         (linknamespace-libs-XOPEN2K8): Likewise.
19850         ($(objpfx)symlist-stdlibs): Replace by
19851         $(linknamespace-symlist-stdlibs-tests).  Use
19852         $(linknamespace-libs-$*) as set of libraries.
19853         ($(linknamespace-header-tests)): Update dependencies.  Use
19854         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
19855         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
19856         * conform/linknamespace.pl: Remove comment about considering
19857         definitions of symbols from irrelevant libraries.
19859 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
19861         [BZ #13862]
19862         * elf/dl-tls.c: Include <atomic.h>.
19863         (oom): Remove #ifdef SHARED/#endif.
19864         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
19865         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
19866         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
19867         big enough.
19868         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
19869         * nptl/Makefile (tests): Add tst-stack4.
19870         (modules-names): Add tst-stack4mod.
19871         ($(objpfx)tst-stack4): New.
19872         (tst-stack4mod.sos): Likewise.
19873         ($(objpfx)tst-stack4.out): Likewise.
19874         ($(tst-stack4mod.sos)): Likewise.
19875         (clean): Likewise.
19876         * nptl/tst-stack4.c: New file.
19877         * nptl/tst-stack4mod.c: Likewise.
19879 2014-11-27  J. Brown  <jb999@gmx.de>
19881         * sysdeps/x86/bits/string.h: Add recent CPUs.
19883 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19885         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
19886         sigblock.
19888         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
19889         feof.
19891         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
19892         variable.
19894 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19896         * nscd/connections.c: Include libc-internal.h because of macro
19897         usage ignore_value.
19899 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19901         * string/bits/string3.h (__warn_memset_zero_len): Don't
19902         declare for gcc newer than 5.0.
19903         (memset): Don't test for zero-length __LEN for gcc newer than
19904         5.0.
19906 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19908         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
19909         size_t for %zu format.
19911         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
19912         difference, not %ju.
19914 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19916         * include/libc-internal.h (ignore_value): New macro.
19917         * nscd/connections.c (restart): Wrap calls to setuid and setgid
19918         with ignore_value.
19920         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
19921         definition.
19923         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
19924         pthread_cleanup_push to void *.
19926         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
19927         Undefine.
19929         [BZ #16619]
19930         [BZ #16740]
19931         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
19932         instead of 1L << 52.
19934         * libio/bug-rewind.c (do_test): Check fwscanf return values.
19935         * libio/bug-rewind2.c (do_test): Likewise.
19937         * debug/test-stpcpy_chk-ifunc.c: Remove file.
19938         * debug/test-strcpy_chk-ifunc.c: Likewise.
19939         * wcsmbs/test-wcschr-ifunc.c: Likewise.
19940         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19941         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19942         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19943         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19944         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19945         * Rules [$(multi-arch) = no] (tests): Do not filter out
19946         $(tests-ifunc).
19947         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
19948         * debug/Makefile (tests-ifunc): Remove variable.
19949         (tests): Do not add $(tests-ifunc).
19950         * wcsmbs/Makefile (tests-ifunc): Remove variable.
19951         (tests): Do not add $(tests-ifunc).
19952         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
19953         [TEST_IFUNC]: Remove conditionals.
19954         * string/test-string.h (TEST_IFUNC): Remove macro.
19955         [TEST_IFUNC]: Remove conditionals.
19957         * string/test-strchr.c [!WIDE] (L): New macro.
19958         [WIDE] (L): Likewise.
19959         (check1): Use CHAR instead of char.  Use L on string and character
19960         constants.
19962 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
19964         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
19965         tests.
19966         * sysdeps/powerpc/bits/atomic.h
19967         (__arch_atomic_exchange_and_add_32_acq): Add definition.
19968         (__arch_atomic_exchange_and_add_32_rel): Likewise.
19969         (atomic_exchange_and_add_acq): Likewise.
19970         (atomic_exchange_and_add_rel): Likewise.
19971         * sysdeps/powerpc/powerpc32/bits/atomic.h
19972         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19973         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19974         * sysdeps/powerpc/powerpc64/bits/atomic.h
19975         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19976         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19978 2014-11-26  Torvald Riegel  <triegel@redhat.com>
19980         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
19981         Change synchronization of __sched_fifo_min_prio and
19982         __sched_fifo_max_prio.
19983         * nptl/pthread_mutexattr_getprioceiling.c
19984         (pthread_mutexattr_getprioceiling): Likewise.
19985         * nptl/pthread_mutexattr_setprioceiling.c
19986         (pthread_mutexattr_setprioceiling): Likewise.
19987         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19988         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
19989         Likewise.
19991 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19993         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
19994         void.
19996 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19998         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
19999         third argument const.
20001 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
20003         fnmatch: work around GCC compiler warning bug with uninit var
20004         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
20005         This works around a bug with x86-64 GCC 4.9.2 and earlier
20006         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
20007         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
20008         used uninitialized in this function [-Wmaybe-uninitialized]".
20010 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20012         * posix/bug-regex31.c (main): Return RES not 0.
20014 2014-11-25  Anton Blanchard <anton@samba.org>
20016         * sysdeps/powerpc/bits/atomic.h
20017         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
20019 2014-11-24  Sterling Augustine  <saugustine@google.com>
20021         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
20023 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
20025         [BZ #17608]
20026         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
20028 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
20030         [BZ #17633]
20031         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
20032         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
20033         variable.
20034         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20035         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20037 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20039         * string/strncpy.c (strncpy): Improve performance by using memset.
20041 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20043         * string/strcpy.c (strcpy):
20044         Improve performance by using strlen and memcpy.
20046 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
20048         * string/strcoll_l.c (get_next_seq): __always_inline.
20049         * string/strcoll_l.c (do_compare): __always_inline.
20051 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20053         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
20054         defined.
20055         * include/mqueue.h: Likewise.
20056         * include/stdlib.h: Likewise.
20058         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
20059         (get_null_defines): Adjust.
20060         * sunrpc/Makefile: Adjust comment.
20061         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
20062         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
20063         (CFLAGS-interp.c): Likewise.
20064         (CFLAGS-ldconfig.c): Likewise.
20065         (CPPFLAGS-.os): Likewise.
20066         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20067         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20068         * extra-modules.mk (extra-modules.mk): Likewise.
20069         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
20070         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
20071         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
20072         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
20073         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
20074         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
20075         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
20076         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
20077         * iconvdata/Makefile (CPPFLAGS): Likewise.
20078         (cpp-srcs-left): Add libof for all iconvdata routines.
20079         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
20080         * include/assert.h: Likewise.
20081         * include/ctype.h: Likewise.
20082         * include/errno.h: Likewise.
20083         * include/libc-symbols.h: Likewise.
20084         * include/math.h: Likewise.
20085         * include/netdb.h: Likewise.
20086         * include/resolv.h: Likewise.
20087         * include/stdio.h: Likewise.
20088         * include/stdlib.h: Likewise.
20089         * include/string.h: Likewise.
20090         * include/sys/stat.h: Likewise.
20091         * include/wctype.h: Likewise.
20092         * intl/l10nflist.c: Likewise.
20093         * libidn/idn-stub.c: Likewise.
20094         * libio/libioP.h: Likewise.
20095         * nptl/libc_multiple_threads.c: Likewise.
20096         * nptl/pthreadP.h: Likewise.
20097         * posix/regex_internal.h: Likewise.
20098         * resolv/res_hconf.c: Likewise.
20099         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
20100         * sysdeps/arm/memmove.S: Likewise.
20101         * sysdeps/arm/sysdep.h: Likewise.
20102         * sysdeps/generic/_itoa.h: Likewise.
20103         * sysdeps/generic/symbol-hacks.h: Likewise.
20104         * sysdeps/gnu/errlist.awk: Likewise.
20105         * sysdeps/gnu/errlist.c: Likewise.
20106         * sysdeps/i386/i586/memcpy.S: Likewise.
20107         * sysdeps/i386/i586/memset.S: Likewise.
20108         * sysdeps/i386/i686/memcpy.S: Likewise.
20109         * sysdeps/i386/i686/memmove.S: Likewise.
20110         * sysdeps/i386/i686/mempcpy.S: Likewise.
20111         * sysdeps/i386/i686/memset.S: Likewise.
20112         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20113         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20114         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
20115         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
20116         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20117         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20118         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
20119         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20120         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20121         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20122         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20123         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20124         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20125         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20126         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20127         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20128         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
20129         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
20130         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
20131         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20132         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20133         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20134         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20135         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20136         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20137         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20138         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
20139         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20140         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
20141         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20142         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20143         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20144         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20145         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20146         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20147         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20148         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20149         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20150         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20151         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20152         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20153         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20154         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20155         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20156         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20157         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20158         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
20159         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
20160         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20161         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20162         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20163         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
20164         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
20165         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20166         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20167         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
20168         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20169         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
20170         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
20171         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20172         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20173         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20174         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
20175         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20176         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20177         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
20178         * sysdeps/posix/closedir.c: Likewise.
20179         * sysdeps/posix/opendir.c: Likewise.
20180         * sysdeps/posix/readdir.c: Likewise.
20181         * sysdeps/posix/rewinddir.c: Likewise.
20182         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
20183         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
20184         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20185         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20186         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20187         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
20188         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
20189         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
20190         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
20191         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
20192         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
20193         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
20194         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
20195         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
20196         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
20197         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
20198         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
20199         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
20200         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
20201         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
20202         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
20203         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
20204         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
20205         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
20206         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
20207         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
20208         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
20209         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
20210         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
20211         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
20212         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
20213         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
20214         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
20215         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
20216         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
20217         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
20218         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20219         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20220         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
20221         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
20222         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
20223         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
20224         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
20225         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20226         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20227         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
20228         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
20229         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
20230         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
20231         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
20232         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
20233         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
20234         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20235         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
20236         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
20237         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
20238         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
20239         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
20240         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
20241         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
20242         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20243         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
20244         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20245         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
20246         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
20247         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20248         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
20249         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
20250         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
20251         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
20252         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20253         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
20254         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
20255         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
20256         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
20257         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
20258         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
20259         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
20260         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20261         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
20262         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
20263         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20264         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
20265         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
20266         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20267         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
20268         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
20269         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20270         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20271         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20272         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
20273         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
20274         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
20275         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20276         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20277         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
20278         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20279         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20280         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
20281         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
20282         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20283         * sysdeps/unix/alpha/sysdep.S: Likewise.
20284         * sysdeps/unix/alpha/sysdep.h: Likewise.
20285         * sysdeps/unix/make-syscalls.sh: Likewise.
20286         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20287         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20288         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20289         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
20290         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20291         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20292         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
20293         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20294         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20295         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
20296         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20297         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20298         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20299         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20300         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20301         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20302         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20303         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20304         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20305         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20306         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20307         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20308         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20309         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20310         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20311         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20312         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20315         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
20316         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20317         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20318         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20319         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20320         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20321         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20322         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20323         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20324         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20325         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20326         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20327         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20328         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20329         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20330         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20331         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20332         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20333         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20334         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20335         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20336         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20337         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20338         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20339         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20340         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
20341         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20342         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20343         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20344         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
20345         * sysdeps/x86_64/memcpy.S: Likewise.
20346         * sysdeps/x86_64/memmove.c: Likewise.
20347         * sysdeps/x86_64/memset.S: Likewise.
20348         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
20349         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20350         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20351         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
20352         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20353         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20354         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20355         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20356         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20357         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20358         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20359         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20360         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
20361         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20362         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20363         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
20364         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20365         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20366         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20367         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20368         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
20369         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20370         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20371         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20372         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20373         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20374         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20375         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
20376         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20377         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20378         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
20379         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20380         * sysdeps/x86_64/strcmp.S: Likewise.
20382         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
20384         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
20385         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
20386         * elf/rtld-Rules: Likewise.
20387         * elf/setup-vdso.h: Likewise.
20388         * include/assert.h: Likewise.
20389         * include/bits/stdlib-float.h: Likewise.
20390         * include/errno.h: Likewise.
20391         * include/sys/stat.h: Likewise.
20392         * include/unistd.h: Likewise.
20393         * sysdeps/aarch64/setjmp.S: Likewise.
20394         * sysdeps/alpha/setjmp.S: Likewise.
20395         * sysdeps/arm/__longjmp.S: Likewise.
20396         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
20397         * sysdeps/arm/setjmp.S: Likewise.
20398         * sysdeps/arm/sysdep.h: Likewise.
20399         * sysdeps/generic/_itoa.h: Likewise.
20400         * sysdeps/generic/dl-sysdep.h: Likewise.
20401         * sysdeps/generic/ldsodefs.h: Likewise.
20402         * sysdeps/i386/dl-tls.h: Likewise.
20403         * sysdeps/i386/setjmp.S: Likewise.
20404         * sysdeps/m68k/setjmp.c: Likewise.
20405         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
20406         * sysdeps/mach/hurd/opendir.c: Likewise.
20407         * sysdeps/posix/getcwd.c: Likewise.
20408         * sysdeps/posix/opendir.c: Likewise.
20409         * sysdeps/posix/profil.c: Likewise.
20410         * sysdeps/powerpc/dl-procinfo.h: Likewise.
20411         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20412         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20413         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20414         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20415         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
20416         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20417         * sysdeps/s390/dl-tls.h: Likewise.
20418         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20419         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20420         * sysdeps/sh/sh3/setjmp.S: Likewise.
20421         * sysdeps/sh/sh4/setjmp.S: Likewise.
20422         * sysdeps/unix/alpha/sysdep.h: Likewise.
20423         * sysdeps/unix/arm/sysdep.S: Likewise.
20424         * sysdeps/unix/i386/sysdep.S: Likewise.
20425         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20426         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20427         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20428         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20429         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20430         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20431         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20432         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20433         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20434         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20435         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20436         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20437         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20440         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20441         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20442         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20443         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20444         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20445         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20446         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20447         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20448         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20449         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20450         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20451         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20452         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20453         * sysdeps/x86_64/setjmp.S: Likewise.
20455         * include/math.h: Use IS_IN instead of IS_IN_libm.
20456         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
20457         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20458         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20459         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
20460         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20461         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20462         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20463         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20464         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20465         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20466         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
20467         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
20468         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
20469         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
20470         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
20471         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
20472         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
20473         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
20474         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
20475         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
20476         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
20477         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
20478         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
20479         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
20480         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
20481         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
20482         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
20483         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
20484         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
20485         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
20486         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
20487         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20488         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20490         Likewise.
20491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
20492         Likewise.
20493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
20494         Likewise.
20495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
20496         Likewise.
20497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
20498         Likewise.
20499         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20500         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
20501         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20502         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20503         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20504         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
20506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
20507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
20508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
20509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
20510         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
20511         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
20512         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20513         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20514         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20515         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20516         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20517         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20518         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20519         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
20520         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
20521         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
20522         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
20523         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
20524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20525         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
20527         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
20528         * nptl/pthreadP.h: Likewise.
20529         * nptl_db/structs.def: Likewise.
20530         * sysdeps/arm/sysdep.h: Likewise.
20531         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20532         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20533         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
20534         * sysdeps/unix/alpha/sysdep.h: Likewise.
20535         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20536         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20537         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20538         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20539         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20540         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20541         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20542         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20543         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20544         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20545         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20546         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20547         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20548         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20551         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20552         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20553         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20554         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20555         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20556         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20557         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20558         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20559         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
20560         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20562         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
20563         * nptl/pthreadP.h: Likewise.
20564         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20565         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20566         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20567         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20568         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20569         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20570         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20571         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20572         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20573         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20574         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20575         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20577         Likewise.
20578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20579         Likewise.
20580         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20581         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20582         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20583         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20584         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20585         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20586         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20587         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20589         * dlfcn/dladdr.c: Use IS_IN.
20590         * dlfcn/dladdr1.c: Likewise.
20591         * dlfcn/dlclose.c: Likewise.
20592         * dlfcn/dlerror.c: Likewise.
20593         * dlfcn/dlinfo.c: Likewise.
20594         * dlfcn/dlmopen.c: Likewise.
20595         * dlfcn/dlopen.c: Likewise.
20596         * dlfcn/dlsym.c: Likewise.
20597         * dlfcn/dlvsym.c: Likewise.
20599         * include/ifaddrs.h: Use IS_IN.
20600         * inet/check_pf.c: Likewise.
20601         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20602         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20604         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20605         IS_IN_ldconfig.
20606         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20607         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20609         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20610         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20611         IS_IN (libc).
20613         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20615         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20616         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20617         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20618         * include/libc-symbols.h (IS_IN_LIB): New macro.
20619         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20620         * include/netdb.h: Likewise.
20621         * include/stap-probe.h: Remove all uses of IN_LIB.
20623         * Makeconfig (module-cppflags-real): Define MODULE_NAME
20624         instead of IN_MODULE.
20625         * include/libc-symbols.h (IN_MODULE): Define using
20626         MODULE_NAME.
20627         (PASTE_NAME, PASTE_NAME1): New macros.
20628         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20629         of IN_LIB.
20630         (STAP_PROBE_ASM): Likewise.
20632 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20634         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20635         __mach_init in dlopened libc.
20637 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
20639         * sysdeps/arm/preconfigure.ac: Delete EABI check.
20640         * sysdeps/arm/preconfigure: Regenerate.
20642 2014-11-21  Roland McGrath  <roland@hack.frob.com>
20644         * nptl/pthread_create.c (__pthread_create_2_1): Set
20645         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20646         when copying values from IATTR into PD.
20648 2014-11-21  Will Newton  <will.newton@linaro.org>
20649             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
20651         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20652         Refactor inline-asm.  Also add comment.
20654         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20655         ElfW macro instead of hardcoded Elf64 types.
20656         (la_aarch64_gnu_pltenter): Likewise.
20657         * sysdeps/aarch64/dl-machine.h
20658         (elf_machine_runtime_setup): Use ElfW(Addr).
20660         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20661         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20662         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20663         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20664         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20665         (R_AARCH64_TLS_DTPMOD64): Rename to ..
20666         (R_AARCH64_TLS_DTPMOD): This.
20667         (R_AARCH64_TLS_DTPREL64): Rename to ...
20668         (R_AARCH64_TLS_DTPREL): This.
20669         (R_AARCH64_TLS_TPREL64): Rename to ...
20670         (R_AARCH64_TLS_TPREL): This.
20671         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20672         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20673         R_AARCH64_TLS_TPREL64.
20674         (elf_machine_rela): Likewise.
20676 2014-11-21  Torvald Riegel  <triegel@redhat.com>
20678         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20679         by setting it to 0.  64b atomics are not supported currently.
20681 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20683         [BZ #16469]
20684         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20685         search domain names.
20687 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20689         [BZ #16469]
20690         * NEWS: Update.
20691         * resolv/res_query.c (__libc_res_nquerydomain): Retain
20692         trailing dot.
20693         * posix/tst-getaddrinfo5.c: New.
20694         * posix/Makefile (tests): Add it.
20696 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20698         [BZ #14498]
20699         * NEWS: Fixed.
20700         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20701         after parsing line but before break_if_match.
20702         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20703         if there is a protocol mismatch.
20705 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20707         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20708         because the potential race is on the user-supplied stream.
20710 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20712         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20713         string literal if not passed a buffer.
20714         * manual/job.texi (ctermid): Update reasoning, note deviation
20715         from posix, suggest mtasurace when not passed a buffer, for
20716         future non-preliminary safety notes.
20718 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20720         * manual/users.texi (cuserid): Fix MT-Safety note for the case
20721         of not passing it a buffer.
20722         Reported by Peng Haitao.
20724 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20726         * manual/Makefile ($(objpfx)stamp-summary): Require
20727         check-safety.sh to pass.
20728         * manual/check-safety.sh: Wish for verification that every
20729         @deftypefn and @deftypefun is followed by a @safety remark.
20731 2014-11-20  Roland McGrath  <roland@hack.frob.com>
20733         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20735         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20736         PTHREAD_CANCEL_ASYNCHRONOUS.
20737         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20738         send SIGCANCEL.
20740         * nptl/default-sched.h: New file.
20741         * sysdeps/unix/sysv/linux/default-sched.h: New file.
20742         * nptl/pthread_create.c: Include it.
20743         (__pthread_create_2_1): Use collect_default_sched instead of making
20744         Linux syscalls here directly.
20746 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20748         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20749         __pthread_once): Use C11 atomics.
20751 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20753         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20755 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20757         * include/atomic.h (__atomic_link_error, __atomic_check_size,
20758         atomic_thread_fence_acquire, atomic_thread_fence_release,
20759         atomic_thread_fence_seq_cst, atomic_load_relaxed,
20760         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
20761         atomic_compare_exchange_weak_relaxed,
20762         atomic_compare_exchange_weak_acquire,
20763         atomic_compare_exchange_weak_release,
20764         atomic_exchange_acquire, atomic_exchange_release,
20765         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
20766         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
20767         atomic_fetch_and_acquire,
20768         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
20770 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20772         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
20773         USE_ATOMIC_COMPILER_BUILTINS): Define.
20774         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
20775         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20776         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
20777         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20778         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
20779         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20780         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
20781         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20782         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
20783         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20784         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
20785         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20786         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
20787         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20788         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20789         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20790         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20791         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20792         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20793         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20794         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
20795         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20796         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20797         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20798         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
20799         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20800         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20801         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20802         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
20803         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20804         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
20805         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20806         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
20807         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20808         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20809         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20810         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
20811         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20812         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
20813         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20815 2014-11-19  Roland McGrath  <roland@hack.frob.com>
20817         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
20818         the sched_priority value here.  It was already checked when the user
20819         called pthread_attr_setschedparam.
20821         * nptl/tst-bad-schedattr.c: New file.
20822         * nptl/Makefile (tests): Add it.
20824 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
20825             Florian Weimer  <fweimer@redhat.com>
20826             Joseph Myers  <joseph@codesourcery.com>
20827             Adam Conrad  <adconrad@0c3.net>
20828             Andreas Schwab  <schwab@suse.de>
20829             Brooks  <bmoses@google.com>
20831         [BZ #17625]
20832         * wordexp-test.c (__dso_handle): Add prototype.
20833         (__register_atfork): Likewise.
20834         (__app_register_atfork): New function.
20835         (registered_forks): New global.
20836         (register_fork): New function.
20837         (test_case): Add 3 new tests for WRDE_CMDSUB.
20838         (main): Call __app_register_atfork.
20839         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
20840         fork count is non-zero fail the test.
20841         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
20842         is set.
20843         (parse_dollars): Remove check for WRDE_NOCMD.
20844         (parse_dquote): Likewise.
20846 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20848         * Makeconfig (built-modules): List non-library modules to be
20849         built.
20850         (module-cppflags): Include libc-modules.h for
20851         everything except shlib-versions.v.i.
20852         (CPPFLAGS): Use it.
20853         (before-compile): Add libc-modules.h.
20854         ($(common-objpfx)libc-modules.h,
20855         $(common-objpfx)libc-modules.stmp): New targets.
20856         (common-generated): Add libc-modules.h and libc-modules.stmp.
20857         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
20858         * include/libc-symbols.h: Don't include libc-modules.h.
20859         * include/libc-modules.h: Remove file.
20860         * scripts/gen-libc-modules.awk: New script to generate
20861         libc-modules.h.
20862         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
20863         Depend on libc-modules.stmp.
20865         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
20867         * Makeconfig (in-module): Get value of libof set for the
20868         translation unit.
20869         (CPPFLAGS): Use $(in-module).
20870         * Makerules: Don't suffix routine names for nonlib.
20871         * include/libc-modules.h: New file.
20872         * include/libc-symbols.h: Include libc-modules.h
20873         (IS_IN): New macro to replace IS_IN_* macros.
20874         * elf/Makefile: Set libof-* for each routine.
20875         * elf/rtld-Rules: Likewise.
20876         * extra-modules.mk: Likewise.
20877         * iconv/Makefile: Likewise.
20878         * iconvdata/Makefile: Likewise.
20879         * locale/Makefile: Likewise.
20880         * malloc/Makefile: Likewise.
20881         * nss/Makefile: Likewise.
20882         * sysdeps/gnu/Makefile: Likewise.
20883         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
20884         * sysdeps/unix/sysv/linux/Makefile: Likewise.
20885         * sysdeps/s390/s390-64/Makefile: Likewise.
20886         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
20887         CPPFLAGS for nscd instead of nonlib.
20889 2014-11-18  Roland McGrath  <roland@hack.frob.com>
20891         * nptl/createthread.c: New file.
20893         * nptl/createthread.c: Moved ...
20894         * sysdeps/unix/sysv/linux/createthread.c: ... here.
20896         * nptl/createthread.c: Add proper top-line comment.
20897         (do_clone): Folded into ...
20898         (create_thread): ... here.  Take new arguments STOPPED_START and
20899         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
20900         increment __nptl_threads, do event-reporting logic, do
20901         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
20902         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
20903         resource cleanup if sched_setaffinity or sched_setscheduler fails,
20904         just send SIGCANCEL.
20905         * nptl/pthread_create.c: Forward-declare create_thread before
20906         including createthread.c.
20907         (start_thread): Use new macro START_THREAD_DEFN to replace defining
20908         declaration, and new macro START_THREAD_SELF to replace argument.
20909         Remove return statement.
20910         (report_thread_creation): New function.
20911         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
20912         synchronization logic, and __nptl_nthreads increment here, around
20913         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
20914         PD->parent_cancelhandling here, before create_thread.  When
20915         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
20916         __deallocate_stack, and ENOMEM translation here.
20918 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
20920         [BZ #17616]
20921         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
20922         (mptwo): Rename to __mptwo.
20923         (__inv): Use __mptwo instead of mptwo.
20924         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
20925         (mptwo): Rename to __mptwo.
20926         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
20927         of mpone and __mptwo instead of mptwo.
20928         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
20929         instead of mpone.
20930         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20931         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
20932         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
20933         of mpone and __mptwo instead of mptwo.
20934         (__mpranred): Use __mpone instead of mpone.
20935         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
20936         variable.
20937         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20938         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20939         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20940         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20941         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20942         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20943         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20944         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20945         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20946         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20947         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20948         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20949         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20950         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20951         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20952         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20953         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20954         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20955         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20957 2014-11-18  Tom de Vries  <tom@codesoucery.com>
20959         * manual/signal.texi (Primitives Interrupted by Signals): In section,
20960         replace BSD Handler xref with BSD Signal Handling.
20962 2014-11-17  Richard Henderson  <rth@redhat.com>
20964         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
20965         (_FP_PACK_RAW_2): Remove.
20966         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
20967         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
20968         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
20969         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
20970         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
20971         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
20972         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
20973         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
20974         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
20975         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
20976         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
20977         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
20978         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
20979         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
20980         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
20981         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
20983 2014-11-14  Roland McGrath  <roland@hack.frob.com>
20985         * signal/signal.h [__USE_MISC]
20986         (struct sigvec): Remove type.
20987         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
20988         (sigvec): Remove declaration.
20989         * sysdeps/posix/sigvec.c: Moved ...
20990         * signal/sigvec.c: ... here, replacing old file.
20991         (struct sigvec): New type, copied from old signal.h definition.
20992         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
20993         (__sigvec): Convert definition to prototype.
20994         (sigvec): Replace weak_alias with compat_symbol.
20995         * signal/Versions (libc: GLIBC_2.21): New version set.
20996         * include/signal.h: Remove __sigvec declaration.
20997         * sysdeps/unix/bsd/sigvec.c: Remove file.
20998         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
20999         * manual/signal.texi (BSD Handler): Remove subsection.
21000         Move siginterrupt up to ...
21001         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
21002         (Blocking in BSD): Fold subsection into its parent.
21003         * NEWS: Mention sigvec removal.
21005 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21007         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
21008         (DLA_FMS): Make definition conditional only on [__FMA4__].
21009         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
21010         definition.
21012         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
21013         Make definition conditional only on [PROF].
21014         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
21015         definition.
21016         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
21017         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
21019         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
21020         !__GNUC__].
21021         * include/signal.h (__sigpause): Move declaration above call to
21022         libc_hidden_proto.
21023         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
21024         variable.
21025         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21026         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21028 2014-11-14  David S. Miller  <davem@davemloft.net>
21030         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
21031         Define before including <string/memcpy.c> and <string/mempcpy.c>.
21033 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21035         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
21036         * configure: Regenerated.
21037         * manual/install.texi (Tools for Compilation): Document a
21038         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
21039         compiler verified to work.
21040         * INSTALL: Regenerated.
21042         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
21043         redeclare with asm name.
21044         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
21045         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
21046         including <string.h>.
21047         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21048         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
21049         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21050         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
21051         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21052         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21053         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21055 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
21057         * stdlib/strtol.c (__strtol): Use prototype definition.
21059         [BZ #17594]
21060         * stdlib/strtol.c (SYM__): New macro.
21061         (SYM__1): Likewise.
21062         (__strtol): Likewise.
21063         (strtol): Rename to __strtol and define as weak alias of
21064         __strtol.  Use libc_hidden_weak.
21066 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21068         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
21069         Use numbered labels in inline assembly.
21071 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21073         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
21074         Add setjmp LIBC_PROBE.
21075         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
21076         Likewise.
21077         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
21078         Add longjmp, longjmp_target LIBC_PROBE.
21079         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
21080         Likewise.
21082 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21084         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21085         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
21086         to get rid of unused variable warning.
21088 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21090         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
21091         Check for unwind_backtrace ==  NULL only in SHARED case.
21092         (__backchain_backtrace): Compile only in SHARED case.
21093         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
21094         Likewise.
21095         (__backchain_backtrace): Declare as static.
21097 2014-11-12  Roland McGrath  <roland@hack.frob.com>
21099         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
21100         (__libc_multiple_threads_ptr): Variable moved ...
21101         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
21103 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
21105         * conform/GlibcConform.pm: New file.
21106         * conform/conformtest.pl: Use GlibcConform module.
21107         * conform/linknamespace.pl: New file.
21108         * conform/list-header-symbols.pl: Likewise.
21109         * conform/Makefile (linknamespace-symlists-base): New variable.
21110         (linknamespace-symlists-tests): Likewise.
21111         (linknamespace-header-base): Likewise.
21112         (linknamespace-header-tests): Likewise.
21113         (tests-special): Add new tests.
21114         ($(linknamespace-symlists-tests)): New rule.
21115         (linknamespace-libs): New variable.
21116         ($(objpfx)symlist-stdlibs): New rule.
21117         ($(linknamespace-header-tests)): Likewise.
21118         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
21119         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
21120         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
21121         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
21122         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
21123         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
21124         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
21125         (test-xfail-ISO/math.h/linknamespace): Likewise.
21126         (test-xfail-ISO/signal.h/linknamespace): Likewise.
21127         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
21128         (test-xfail-ISO/time.h/linknamespace): Likewise.
21129         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21130         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
21131         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21132         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21133         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21134         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21135         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21136         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21137         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21138         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21139         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21140         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21141         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21142         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
21143         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
21144         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21145         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
21146         (test-xfail-XPG3/search.h/linknamespace): Likewise.
21147         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
21148         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21149         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
21150         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21151         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21152         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
21153         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21154         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21155         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
21156         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
21157         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21158         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
21159         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21160         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21161         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21162         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21163         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
21164         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
21165         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
21166         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
21167         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21168         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
21169         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21170         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
21171         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21172         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21173         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21174         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
21175         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
21176         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21177         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21178         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
21179         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21180         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21181         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
21182         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21183         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21184         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21185         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21186         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21187         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21188         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21189         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21190         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21191         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
21192         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21193         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21194         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21195         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
21196         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21197         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21198         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
21199         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21200         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21201         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21202         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21203         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21204         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21205         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
21206         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
21207         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21208         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
21209         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21210         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
21211         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21212         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21213         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21214         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
21215         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21216         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21217         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21218         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
21219         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
21220         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
21221         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21222         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21223         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21224         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21225         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
21226         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
21227         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21228         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21229         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21230         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21231         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21232         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21233         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21234         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21235         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21236         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21237         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
21238         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21239         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21240         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
21241         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21242         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21243         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21244         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21245         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21246         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21247         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21248         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21249         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21250         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21251         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21252         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21253         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21254         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21255         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
21256         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21257         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21258         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21259         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21260         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21261         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
21262         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21263         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21264         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21265         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21266         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21267         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21268         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21269         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21270         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21271         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21272         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21273         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21274         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21275         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
21276         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21277         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21278         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21280         [BZ #17589]
21281         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
21282         of fgets_unlocked.
21284         [BZ #17585]
21285         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
21286         (memmem): Rename to __memmem and define as weak alias of
21287         __memmem.  Use libc_hidden_weak.
21288         (__memmem): Use libc_hidden_def.
21289         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
21290         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
21291         memmem.
21293         [BZ #17582]
21294         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
21295         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
21296         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
21297         and define as weak alias of __fgets_unlocked.  Use
21298         libc_hidden_weak.
21299         (__fgets_unlocked): Use libc_hidden_def.
21300         * include/stdio.h (__fgets_unlocked): Declare.  Use
21301         libc_hidden_proto.
21302         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
21303         __fgets_unlocked instead of fgets_unlocked.
21304         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
21305         (GET_NPROCS_CONF_PARSER): Likewise.
21306         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
21307         (GET_NPROCS_CONF_PARSER): Likewise.
21309         [BZ #17574]
21310         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
21311         weak alias of __wmemset.  Use libc_hidden_weak.
21312         (__wmemset): Use libc_hidden_def.
21313         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
21314         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
21315         of wmemset.
21317         [BZ #17573]
21318         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
21319         with asm name __mempcpy.
21320         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
21322         [BZ #17572]
21323         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
21324         and define as weak alias of __rawmemchr.
21325         (__rawmemchr): Do not define as strong alias of rawmemchr.
21327         [BZ #17571]
21328         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
21329         alias of __qsort_r.
21330         (qsort): Call __qsort_r instead of qsort_r.
21331         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
21332         (__qsort_r): Declare.  Call libc_hidden_proto.
21333         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
21334         instead of qsort_r.
21335         * nscd/gai.c (__qsort_r): Define to qsort_r.
21336         * posix/tst-rfc3484.c (__qsort_r): Likewise.
21337         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
21338         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
21340         [BZ #17570]
21341         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
21342         define as weak alias of __malloc_info.
21344         [BZ #17584]
21345         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
21346         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21347         (__rewinddir): Use libc_hidden_def.
21348         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
21349         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21350         (__rewinddir): Use libc_hidden_def.
21351         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
21352         weak alias of __rewinddir.  Don't use libc_hidden_def.
21353         (__rewinddir): Use libc_hidden_def.
21354         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
21355         (__rewinddir): Use libc_hidden_proto.
21356         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
21357         rewinddir.
21358         (__getcwd): Use __rewinddir instead of rewinddir.
21360         [BZ #17583]
21361         * libio/fileno.c (fileno): Rename to __fileno and define as weak
21362         alias of __fileno.  Use libc_hidden_weak.
21363         (__fileno): Use libc_hidden_def.
21364         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
21365         * libio/ftello.c (ftello): Rename to __ftello and define as weak
21366         alias of __ftello.
21367         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
21368         __ftello.
21369         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
21370         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
21371         libc_hidden_def.
21372         (fread_unlocked): Don't use libc_hidden_ver.
21373         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
21374         and define as weak alias of __fread_unlocked.  Don't use
21375         libc_hidden_def.
21376         (__fread_unlocked): Use libc_hidden_def.
21377         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
21378         (ftello): Don't use libc_hidden_proto.
21379         (__ftello): Declare.  Use libc_hidden_proto.
21380         (fread_unlocked): Don't use libc_hidden_proto.
21381         (__fread_unlocked): Declare.  Use libc_hidden_proto.
21382         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
21383         and __ftello instead of fileno, fread_unlocked and ftello.
21385 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21387         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
21388         GOT12.
21389         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21390         Likewise.
21391         (_dl_start_user): Likewise.
21392         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
21394 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
21395             Siddhesh Poyarekar  <siddhesh@redhat.com>
21397         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
21398         Move argv and envp down instead of moving argc up.
21399         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
21401 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
21403         [BZ #17506]
21404         * test-skeleton.c (main): Return successful if one of
21405         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
21406         * string/tst-strcoll-overflow.c: Define expected status.
21408 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
21410         [BZ #17475]
21411         * locale/iso-639.def: Define Bhili and Tulu language codes.
21413 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
21415         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
21417 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
21419         [BZ #17555]
21420         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
21422 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21424         * configure.ac: Updated check of minimal required version to
21425         2.22.
21426         * manual/install.texi (Tools for Compilation): Updated version
21427         number.
21428         * configure: Regenerated.
21429         * INSTALL: Likewise.
21431 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
21433         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
21434         __tls_get_addr.
21436 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
21438         * include/sys/wait.h (__libc_waitpid): Remove declaration.
21439         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
21440         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21441         libc_hidden_weak.
21442         (waitpid): Define as alias of __waitpid.
21443         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
21444         __waitpid.
21445         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21446         libc_hidden_weak.
21447         (waitpid): Define as alias of __waitpid.
21448         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
21449         __libc_waitpid alias.
21450         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
21451         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
21452         Likewise.
21453         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
21454         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
21455         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
21456         alias.
21457         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
21458         __waitpid.
21459         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21460         libc_hidden_weak.
21461         (waitpid): Define as alias of __waitpid.
21463 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
21465         * manual/llio.texi: Add comment that write safety has been
21466         fixed in Linux.
21468         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
21469         (localplt-build-dso): Add elf/ld.so.
21470         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
21471         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
21472         and free for ld.so.
21473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
21474         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
21475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
21476         Likewise.
21477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21478         Likewise.
21479         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
21480         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
21481         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
21482         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
21483         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21484         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
21485         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
21486         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
21487         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21488         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
21489         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21491 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
21493         [BZ #14132]
21494         * include/libc-symbols.h (INTUSE): Remove macro.
21495         (INTDEF): Likewise.
21496         (INTVARDEF): Likewise.
21497         (_INTVARDEF): Likewise.
21498         (INTDEF2): Likewise.
21499         (INTVARDEF2): Likewise.
21500         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
21501         rtld_hidden_def instead of INTVARDEF.
21502         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
21503         (_dl_starting_up_internal): Remove declaration.
21504         (_dl_starting_up): Use rtld_hidden_proto.
21505         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
21506         declaration.
21507         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
21508         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
21509         _dl_starting_up.
21510         * elf/dl-writev.h (_dl_writev): Likewise.
21511         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
21512         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
21513         _dl_starting_up_internal.
21515 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21517         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21518         test-skeleton.c.
21520 2014-11-05  Will Newton  <will.newton@linaro.org>
21522         * benchtests/Makefile: (bench-malloc): Add malloc thread
21523         scalability benchmark.
21524         * benchtests/bench-malloc-threads.c: New file.
21526 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
21528         * sysdeps/aarch64/strchrnul.S: New file.
21530 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21532         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
21533         definition.
21534         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21535         Likwise.
21536         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21537         Likewise.
21538         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21539         Likewise.
21540         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21541         Likewise.
21542         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21543         Likewise.
21545 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
21547         * catgets/test-gencat.c: Use test-skeleton.c.
21548         * catgets/tst-catgets.c: Likewise.
21549         * csu/tst-empty.c: Likewise.
21550         * elf/tst-audit2.c: Likewise.
21551         * elf/tst-global1.c: Likewise.
21552         * elf/tst-pathopt.c: Likewise.
21553         * elf/tst-piemod1.c: Likewise.
21554         * elf/tst-tls10.c: Likewise.
21555         * elf/tst-tls11.c: Likewise.
21556         * elf/tst-tls12.c: Likewise.
21557         * gnulib/tst-gcc.c: Likewise.
21558         * iconvdata/tst-e2big.c: Likewise.
21559         * iconvdata/tst-loading.c: Likewise.
21560         * iconv/tst-iconv1.c: Likewise.
21561         * iconv/tst-iconv2.c: Likewise.
21562         * inet/test-inet6_opt.c: Likewise.
21563         * inet/tst-gethnm.c: Likewise.
21564         * inet/tst-network.c: Likewise.
21565         * inet/tst-ntoa.c: Likewise.
21566         * intl/tst-codeset.c: Likewise.
21567         * intl/tst-gettext2.c: Likewise.
21568         * intl/tst-gettext3.c: Likewise.
21569         * intl/tst-ngettext.c: Likewise.
21570         * intl/tst-translit.c: Likewise.
21571         * io/test-stat.c: Likewise.
21572         * libio/test-fmemopen.c: Likewise.
21573         * libio/tst-freopen.c: Likewise.
21574         * libio/tst-sscanf.c: Likewise.
21575         * libio/tst-ungetwc1.c: Likewise.
21576         * libio/tst-ungetwc2.c: Likewise.
21577         * libio/tst-widetext.c: Likewise.
21578         * localedata/tst-ctype.c: Likewise.
21579         * localedata/tst-digits.c: Likewise.
21580         * localedata/tst-leaks.c: Likewise.
21581         * localedata/tst-mbswcs1.c: Likewise.
21582         * localedata/tst-mbswcs2.c: Likewise.
21583         * localedata/tst-mbswcs3.c: Likewise.
21584         * localedata/tst-mbswcs4.c: Likewise.
21585         * localedata/tst-mbswcs5.c: Likewise.
21586         * localedata/tst-setlocale.c: Likewise.
21587         * localedata/tst-trans.c: Likewise.
21588         * localedata/tst-wctype.c: Likewise.
21589         * localedata/tst-xlocale1.c: Likewise.
21590         * login/tst-grantpt.c: Likewise.
21591         * malloc/tst-calloc.c: Likewise.
21592         * malloc/tst-malloc.c: Likewise.
21593         * malloc/tst-mallocstate.c: Likewise.
21594         * malloc/tst-mcheck.c: Likewise.
21595         * malloc/tst-mtrace.c: Likewise.
21596         * malloc/tst-obstack.c: Likewise.
21597         * math/atest-exp2.c: Likewise.
21598         * math/atest-exp.c: Likewise.
21599         * math/atest-sincos.c: Likewise.
21600         * math/test-matherr.c: Likewise.
21601         * math/test-misc.c: Likewise.
21602         * math/test-powl.c: Likewise.
21603         * math/tst-definitions.c: Likewise.
21604         * misc/tst-dirname.c: Likewise.
21605         * misc/tst-efgcvt.c: Likewise.
21606         * misc/tst-fdset.c: Likewise.
21607         * misc/tst-hsearch.c: Likewise.
21608         * misc/tst-mntent2.c: Likewise.
21609         * nptl/tst-sem7.c: Likewise.
21610         * nptl/tst-sem8.c: Likewise.
21611         * nptl/tst-sem9.c: Likewise.
21612         * nss/test-netdb.c: Likewise.
21613         * posix/tst-fnmatch.c: Likewise.
21614         * posix/tst-getlogin.c: Likewise.
21615         * posix/tst-gnuglob.c: Likewise.
21616         * posix/tst-mmap.c: Likewise.
21617         * pwd/tst-getpw.c: Likewise.
21618         * resolv/tst-inet_ntop.c: Likewise.
21619         * rt/tst-timer.c: Likewise.
21620         * stdio-common/test-fseek.c: Likewise.
21621         * stdio-common/test-popen.c: Likewise.
21622         * stdio-common/test-vfprintf.c: Likewise.
21623         * stdio-common/tst-cookie.c: Likewise.
21624         * stdio-common/tst-fileno.c: Likewise.
21625         * stdio-common/tst-gets.c: Likewise.
21626         * stdio-common/tst-obprintf.c: Likewise.
21627         * stdio-common/tst-perror.c: Likewise.
21628         * stdio-common/tst-sprintf2.c: Likewise.
21629         * stdio-common/tst-sprintf3.c: Likewise.
21630         * stdio-common/tst-sprintf.c: Likewise.
21631         * stdio-common/tst-swprintf.c: Likewise.
21632         * stdio-common/tst-tmpnam.c: Likewise.
21633         * stdio-common/tst-unbputc.c: Likewise.
21634         * stdio-common/tst-wc-printf.c: Likewise.
21635         * stdlib/tst-environ.c: Likewise.
21636         * stdlib/tst-fmtmsg.c: Likewise.
21637         * stdlib/tst-limits.c: Likewise.
21638         * stdlib/tst-rand48-2.c: Likewise.
21639         * stdlib/tst-rand48.c: Likewise.
21640         * stdlib/tst-random2.c: Likewise.
21641         * stdlib/tst-random.c: Likewise.
21642         * stdlib/tst-strtol.c: Likewise.
21643         * stdlib/tst-strtoll.c: Likewise.
21644         * stdlib/tst-tls-atexit.c: Likewise.
21645         * stdlib/tst-xpg-basename.c: Likewise.
21646         * string/test-ffs.c: Likewise.
21647         * string/tst-bswap.c: Likewise.
21648         * string/tst-inlcall.c: Likewise.
21649         * string/tst-strtok.c: Likewise.
21650         * string/tst-strxfrm.c: Likewise.
21651         * sysdeps/x86_64/tst-audit10.c: Likewise.
21652         * sysdeps/x86_64/tst-audit3.c: Likewise.
21653         * sysdeps/x86_64/tst-audit4.c: Likewise.
21654         * sysdeps/x86_64/tst-audit5.c: Likewise.
21655         * time/tst-ftime_l.c: Likewise.
21656         * time/tst-getdate.c: Likewise.
21657         * time/tst-mktime3.c: Likewise.
21658         * time/tst-mktime.c: Likewise.
21659         * time/tst-posixtz.c: Likewise.
21660         * time/tst-strptime2.c: Likewise.
21661         * time/tst-strptime3.c: Likewise.
21662         * wcsmbs/tst-btowc.c: Likewise.
21663         * wcsmbs/tst-mbrtowc.c: Likewise.
21664         * wcsmbs/tst-mbsrtowcs.c: Likewise.
21665         * wcsmbs/tst-wchar-h.c: Likewise.
21666         * wcsmbs/tst-wcpncpy.c: Likewise.
21667         * wcsmbs/tst-wcrtomb.c: Likewise.
21668         * wcsmbs/tst-wcsnlen.c: Likewise.
21669         * wcsmbs/tst-wcstof.c: Likewise.
21671 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
21673         [BZ #14132]
21674         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21675         INTDEF.
21676         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21677         declaration.
21678         (_dl_mcount): Use rtld_hidden_proto.
21679         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21680         _dl_mcount.
21681         * elf/rtld.c (_rtld_global_ro): Likewise.
21683         [BZ #14132]
21684         * elf/dl-init.c (_dl_init): Don't use INTDEF.
21685         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21686         of _dl_init_internal.
21687         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21688         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21689         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21690         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21691         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21692         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21693         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21694         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21695         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21696         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21697         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21698         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21699         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21700         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21701         * sysdeps/tile/dl-start.S (_start): Likewise.
21702         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21703         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21705         [BZ #14132]
21706         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21707         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21708         (rtld_progname): Make macro definition unconditional.
21709         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21710         INTDEF.
21711         (dlmopen_doit): Do not use INTUSE with _dl_argv.
21712         (dl_main): Likewise.
21713         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21714         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21715         instead of _dl_argv_internal.
21716         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21717         __GI__dl_argv instead of INTUSE(_dl_argv).
21718         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21719         __GI__dl_argv instead of _dl_argv_internal.
21721         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21722         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21723         macro.
21724         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21725         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21726         New macro.
21727         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21728         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21729         macro.
21730         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21731         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21733 2014-11-04  Andreas Schwab  <schwab@suse.de>
21735         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21737 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21739         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21740         mtvsrd instruction in binary form.
21742 2014-11-03  Andreas Schwab  <schwab@suse.de>
21744         [BZ #17522]
21745         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21746         for less than MB_LEN_MAX use a local buffer of that size.
21747         * libio/tst-fputws.c: New file.
21748         * libio/Makefile (tests): Add tst-fputws.
21750 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
21752         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21753         the size of the fpu_fr.fpu_dregs[] array.
21755 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
21757         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21758         (__nanosleep): Do not define as alias.
21759         (nanosleep): Define as alias of __nanosleep.
21760         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
21761         __libc_nanosleep name.
21763 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21765         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
21766         install.texi in comment.
21768 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21770         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
21771         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
21772         ... add here and use lwsync or sync ...
21773         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
21774         ... and add here using lwsync.
21776 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21778         * elf/dl-machine-reject-phdr.h: New file.
21779         * elf/dl-load.c: #include that.
21780         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
21781         if that returned true.
21783 2014-10-31  Roland McGrath  <roland@hack.frob.com>
21785         [BZ #17496]
21786         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
21787         gen-as-const-headers chunk.  Add a big scare comment after the last
21788         safe place to touch before-compile.
21790 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21792         * manual/install.texi (Tools for Compilation): Update autoconf
21793         version requirements.
21794         * INSTALL: Regenerated.
21796         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
21797         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
21798         (__libc_pselect): Likewise.
21800         [BZ #14138]
21801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
21802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21806 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21808         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
21809         correct barrier instruction.
21810         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
21811         Likewise.
21812         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
21813         Likewise.
21815 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21817         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
21818         after defining inlines.  Instead, just use parens to defeat macro
21819         expansion of __isctype in its declaration.
21821 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21823         * include/sys/uio.h (__libc_readv): Remove declaration.
21824         (__libc_writev): Likewise.
21825         * misc/readv.c (__libc_readv): Rename to __readv.
21826         (__readv): Do not define as alias.
21827         (readv): Define as alias of __readv.
21828         * misc/writev.c (__libc_writev): Rename to __writev.
21829         (__writev): Do not define as alias.
21830         (writev): Define as alias of __writev.
21831         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
21832         (__readv): Do not define as alias.
21833         (readv): Define unconditionally as alias of __readv.
21834         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
21835         (__writev): Do not define as alias.
21836         (writev): Define unconditionally as alias of __writev.
21837         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
21838         name.
21839         (writev): Do not define __libc_writev name.
21841 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21843         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
21844         (convert_charseq): New function, broken out of ...
21845         (use_from_charmap): ... here.  Call it.
21846         (use_to_charmap): Use convert_charseq and free instead of duplicating
21847         its code with a variable-length stack struct.
21849 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21851         * include/fcntl.h (__libc_creat): Remove declaration.
21852         * io/creat.c (__libc_creat): Rename to creat.
21853         (creat): Do not define as alias.
21854         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
21855         of creat instead of __libc_creat.
21856         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
21857         to creat.
21858         (creat): Do not define as alias.
21859         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
21860         __libc_creat.
21861         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
21862         __libc_creat name.
21863         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
21864         Likewise.
21866 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
21868         * manual/llio.texi: Add comments discussing why write() may be
21869         considered MT-unsafe on Linux.
21871 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
21873         * dl-load.c (local_strdup): Remove.
21874         (expand_dynamic_string_token): Use __strdup.
21875         (decompose_rpath): Likewise.
21876         (_dl_map_object): Likewise.
21878 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
21880         [BZ #14132]
21881         * sysdeps/generic/unwind-dw2-fde.c
21882         (__register_frame_info_bases_internal): Do not declare.
21883         (__register_frame_info_table_bases_internal): Likewise.
21884         (__deregister_frame_info_bases_internal): Likewise.
21885         (__register_frame_info_bases): Declare and use hidden_proto before
21886         definition.  Use hidden_def instead of INTDEF.
21887         (__register_frame_info_table_bases): Likewise.
21888         (__deregister_frame_info_bases): Likewise.
21889         (__register_frame_info): Do not use INTUSE.
21890         (__register_frame): Likewise.
21891         (__register_frame_info_table): Likewise.
21892         (__register_frame_table): Likewise.
21893         (__deregister_frame_info): Likewise.
21894         (__deregister_frame): Likewise.
21896 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
21898         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21899         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
21900         not undefine.
21901         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
21902         Likewise.
21903         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
21904         Likewise.
21906 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
21908         [BZ #14138]
21909         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
21910         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
21911         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
21912         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
21913         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
21914         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
21915         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
21916         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
21917         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
21918         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
21919         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
21920         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
21921         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
21922         syscall.
21923         (setfsuid): Likewise.
21924         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
21925         (setfsuid): Likewise.
21926         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
21927         (setfsuid): Likewise.
21928         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
21929         Likewise.
21930         (setfsuid): Likewise.
21931         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
21932         (setfsuid): Likewise.
21933         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
21934         Likewise.
21935         (setfsuid): Likewise.
21937 2014-10-27  Andreas Schwab  <schwab@suse.de>
21939         [BZ #17501]
21940         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
21941         check for Slow_SSE4_2 feature bit.
21942         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
21943         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21944         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
21945         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
21947 2014-10-24  Roland McGrath  <roland@hack.frob.com>
21949         * configure.ac: Validate compiler version with a empirical test of
21950         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
21951         $CC -v output.
21952         * configure: Regenerated.
21954         * inet/htons.c (htons): Prototypify.
21955         * inet/htonl.c (htonl): Likewise.
21957 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21959         * string/strncat.c (strncat): Improve performance by using strlen.
21961 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21963         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
21965 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21967         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
21968         Call libc_fetestexcept_aarch64.
21970 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21972         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
21973         Call libc_feholdexcept_aarch64.
21975 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21977         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
21978         Call get_rounding_mode.
21980 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21982         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21983         Simplify logic.
21985 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21987         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
21988         Simplify logic.
21990 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
21992         [BZ #14138]
21993         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
21994         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
21995         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
21996         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
21997         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
21998         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
21999         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
22000         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22001         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
22002         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
22003         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22004         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
22005         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
22006         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
22007         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
22008         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
22009         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
22010         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
22011         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
22012         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
22013         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
22014         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
22015         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
22016         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
22017         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
22018         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
22019         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
22020         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
22021         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
22022         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
22023         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
22024         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
22025         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
22026         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
22027         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
22028         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
22029         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
22030         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
22031         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
22032         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
22033         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
22034         syscall.
22035         (geteuid): Likewise.
22036         (getgid): Likewise.
22037         (getuid): Likewise.
22038         (getresgid): Likewise.
22039         (getresuid): Likewise.
22040         (getgroups): Likewise.
22041         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
22042         (geteuid): Likewise.
22043         (getgid): Likewise.
22044         (getuid): Likewise.
22045         (getresgid): Likewise.
22046         (getresuid): Likewise.
22047         (getgroups): Likewise.
22048         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
22049         (geteuid): Likewise.
22050         (getgid): Likewise.
22051         (getuid): Likewise.
22052         (getresgid): Likewise.
22053         (getresuid): Likewise.
22054         (getgroups): Likewise.
22055         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
22056         Likewise.
22057         (geteuid): Likewise.
22058         (getgid): Likewise.
22059         (getuid): Likewise.
22060         (getresgid): Likewise.
22061         (getresuid): Likewise.
22062         (getgroups): Likewise.
22063         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
22064         (geteuid): Likewise.
22065         (getgid): Likewise.
22066         (getuid): Likewise.
22067         (getresgid): Likewise.
22068         (getresuid): Likewise.
22069         (getgroups): Likewise.
22070         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
22071         Likewise.
22072         (geteuid): Likewise.
22073         (getgid): Likewise.
22074         (getuid): Likewise.
22075         (getgroups): Likewise.
22077         [BZ #14138]
22078         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
22079         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
22080         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
22081         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22082         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
22083         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
22084         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
22085         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
22086         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
22087         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
22088         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
22089         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
22090         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
22091         __chown.
22092         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
22093         (lchown): Likewise.
22094         (fchown): Likewise.
22095         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
22096         Likewise.
22097         (lchown): Likewise.
22098         (fchown): Likewise.
22099         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
22100         (lchown): Likewise.
22101         (fchown): Likewise.
22102         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
22103         Likewise.
22104         (lchown): Likewise.
22105         (fchown): Likewise.
22107 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22109         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
22110         Simplify logic.
22112 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22114         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22115         Cleanup logic.
22117 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22119         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22120         Remove unused include.
22122 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22124         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
22125         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
22126         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
22127         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
22129 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
22130             Helge Deller <deller@gmx.de>
22132         [BZ #17508]
22133         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
22134         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
22135         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
22137 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
22139         [BZ #14132]
22140         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
22141         Remove macro definition.
22142         (__ashrdi3_v_glibc20): Likewise.
22143         (__lshrdi3_v_glibc20): Likewise.
22144         (__cmpdi2_v_glibc20): Likewise.
22145         (__ucmpdi2_v_glibc20): Likewise.
22146         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
22147         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22148         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22149         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22150         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22151         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
22153 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22155         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
22156         old GNU extension [0] syntax.
22157         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
22158         alloca rather than an array member with variable length.
22159         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
22160         * nscd/nscd.c (invalidate_db): New function, broken out of ...
22161         (parse_opt): ... here.  Likewise use alloca there.
22162         Validate the -i argument before checking for rootness.
22163         (send_shutdown): New function, broken out of ...
22164         (parse_opt): ... here.
22166 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22168         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
22169         macro to get at the _rt_local_ro field.
22170         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
22171         ([PIC] case) or _dl_hwcap ([!PIC] case).
22172         * sysdeps/arm/setjmp.S: Likewise.
22174         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
22175         * sysdeps/arm/configure.ac: New check to define it.
22176         * sysdeps/arm/configure: Regenerated.
22177         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
22178         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
22179         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
22180         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
22181         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
22182         Use move/movt pair instead of a load.
22183         (LDST_GLOBAL): Macro removed.
22184         (LDR_GLOBAL): New macro replaces it.
22185         (LDR_HIDDEN): New macro.
22186         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
22187         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
22189         * setjmp/tst-setjmp-static.c: New file.
22190         * setjmp/Makefile (tests): Add it.
22191         (tests-static): New variable.
22193 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
22195         [BZ #17485]
22196         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
22198 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
22200         [BZ #14132]
22201         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
22203 2014-10-21  Roland McGrath  <roland@hack.frob.com>
22205         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
22207 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22209         * io/fts.c (dirent_not_directory): New function.
22210         (fts_build): Call it.
22212 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22214         * nptl/version.c (__nptl_main): Use normal __write rather than
22215         INTERNAL_SYSCALL.
22216         (banner): Update copyright years.
22218         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
22219         gettimeofday.
22220         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22221         * nptl/pthread_cond_timedwait.c: Likewise.
22222         * nptl/pthread_mutex_timedlock.c: Likewise.
22223         * nptl/sem_timedwait.c: Likewise.
22225         * sysdeps/nptl/bits/libc-lock.h
22226         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22227         (__libc_lock_init_recursive): Return void, not 0.
22228         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
22229         (__libc_rwlock_init): Likewise.
22230         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
22232 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22234         [BZ #15215]
22235         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
22236         (__pthread_once_slow): ... here.
22237         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
22238         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
22240 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22242         [BZ #15215]
22243         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
22244         __PTHREAD_ONCE_FORK_GEN_INCR): New.
22245         * sysdeps/nptl/fork.c (__libc_fork): Use them.
22246         * nptl/pthread_once.c (__pthread_once): Likewise.
22247         Update comments.
22249 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
22251         [BZ #14138]
22252         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
22253         name.
22254         (writev): Use __libc_writev as strong name.
22255         * sysdeps/unix/sysv/linux/readv.c: Remove file.
22256         * sysdeps/unix/sysv/linux/writev.c: Likewise.
22258 2014-10-17  Roland McGrath  <roland@hack.frob.com>
22260         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
22262         * sysdeps/i386/nptl/tls.h
22263         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
22264         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
22265         New macros.
22266         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
22267         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
22268         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
22269         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
22270         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
22271         Call CHECK_THREAD_SYSINFO instead of doing an assert.
22273         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22274         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
22275         on [__NR_futex].
22276         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
22277         broken out of ...
22278         (__pthread_mutex_init): ... here.  Call it.
22279         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
22280         Conditionalize PI cases on [__NR_futex].
22281         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
22282         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
22283         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22285         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
22286         conditional on [SIGSETXID].
22287         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
22288         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
22289         is defined.  Likewise for SIGSETXID.
22290         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
22291         Conditionalize definitions on [SIGSETXID].
22292         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
22293         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
22294         unblocking on [SIGCANCEL].
22296         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
22297         [__NR_set_robust_list].
22299 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22301         * string/strcoll_l.c (get_next_seq): Fix up formatting.
22302         (do_compare): Likewise.
22304 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
22306         [BZ #15884]
22307         * string/strcoll_l.c: Don't include stdio.h.
22308         (coll_seq): Remove members idxarr and rulearr.
22309         (get_next_seq_cached): Remove function.
22310         (get_next_seq): Likewise.
22311         (get_next_seq_nocache): Rename to get_next_seq.
22312         (do_compare): Remove function.
22313         (do_compare_nocache): Rename to do_compare.
22314         (STRCOLL): Remove weight and rules cache.
22316 2014-10-16  Roland McGrath  <roland@hack.frob.com>
22318         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
22319         * sysdeps/arm/sfp-machine.h: ... to here.
22320         * sysdeps/arm/Implies: Remove arm/soft-fp.
22322 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
22324         * conform/data/sys/utsname.h-data (*_t): Allow.
22325         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
22326         [POSIX] (WEXITED): Do not expect constant.
22327         [POSIX] (WSTOPPED): Likewise.
22328         [POSIX] (WNOHANG): Likewise.
22329         [POSIX] (WNOWAIT): Likewise.
22330         [POSIX] (siginfo_t): Do not expect type or elements.
22331         [POSIX] (pid_t): Do not expect type.
22332         [POSIX] (signal.h): Do not allow header.
22333         [POSIX] (sys/resource.h): Likewise.
22334         [POSIX] (si_*): Do not allow pattern.
22335         [POSIX] (W*): Likewise.
22336         [POSIX] (P_*): Likewise.
22337         [POSIX] (BUS_*): Likewise.
22338         [POSIX] (CLD_*): Likewise.
22339         [POSIX] (FPE_*): Likewise.
22340         [POSIX] (ILL_*): Likewise.
22341         [POSIX] (POLL_*): Likewise.
22342         [POSIX] (SEGV_*): Likewise.
22343         [POSIX] (SI_*): Likewise.
22344         [POSIX] (TRAP_*): Likewise.
22345         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
22346         variable.
22348 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22350         [BZ #12926]
22351         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
22352         infinite loop when __recvmsg returns 0.
22354 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
22356         * CANCEL-FCT-WAIVE: Remove file.
22357         * CANCEL-FILE-WAIVE: Likewise.
22359         [BZ #14132]
22360         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
22361         instead of INTVARDEF.
22362         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22363         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
22364         rtld_hidden_data_def instead of INTVARDEF.
22365         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22366         * elf/dl-deps.c (expand_dst): Likewise.
22367         * elf/dl-load.c (_dl_dst_count): Likewise.
22368         (_dl_dst_substitute): Likewise.
22369         (decompose_rpath): Likewise.
22370         (_dl_init_paths): Likewise.
22371         (open_path): Likewise.
22372         (_dl_map_object): Likewise.
22373         * elf/rtld.c (dl_main): Likewise.
22374         (process_dl_audit): Likewise.
22375         (process_envvars): Likewise.
22376         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
22377         Remove declaration.
22378         (__libc_enable_secure): Use rtld_hidden_proto.
22380 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22382         * elf/dl-load.c
22383         (add_path): New function broken out of _dl_rtld_di_serinfo.
22384         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
22386 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22388         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
22389         parentheses around macro arguments.
22390         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
22391         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
22392         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
22393         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
22394         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
22395         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22396         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22397         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
22398         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
22399         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
22400         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
22401         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
22402         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
22403         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
22404         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
22405         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
22406         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
22407         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
22408         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
22409         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
22410         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
22411         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
22412         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
22413         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22414         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22415         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
22416         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
22417         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
22418         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
22419         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
22420         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
22421         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
22422         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
22423         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
22424         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
22425         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
22426         Likewise.
22427         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
22428         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22429         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22430         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
22431         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
22432         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
22433         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
22434         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
22435         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
22436         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
22437         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
22438         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
22439         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
22440         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
22441         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
22442         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22443         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22444         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
22445         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
22446         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
22447         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
22448         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
22449         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
22450         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
22451         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
22452         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
22453         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
22454         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
22455         (_FP_FRAC_SRS_1): Likewise.
22456         (_FP_FRAC_CLZ_1): Likewise.
22457         (_FP_MUL_MEAT_1_imm): Likewise.
22458         (_FP_MUL_MEAT_1_wide): Likewise.
22459         (_FP_MUL_MEAT_1_hard): Likewise.
22460         (_FP_SQRT_MEAT_1): Likewise.
22461         (_FP_FRAC_ASSEMBLE_1): Likewise.
22462         (_FP_FRAC_DISASSEMBLE_1): Likewise.
22463         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
22464         (__FP_CLZ_2): Likewise.
22465         (_FP_MUL_MEAT_2_wide): Likewise.
22466         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22467         (_FP_MUL_MEAT_2_gmp): Likewise.
22468         (_FP_MUL_MEAT_2_120_240_double): Likewise.
22469         (_FP_SQRT_MEAT_2): Likewise.
22470         (_FP_FRAC_ASSEMBLE_2): Likewise.
22471         (_FP_FRAC_DISASSEMBLE_2): Likewise.
22472         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
22473         (_FP_FRAC_CLZ_4): Likewise.
22474         (_FP_MUL_MEAT_4_wide): Likewise.
22475         (_FP_MUL_MEAT_4_gmp): Likewise.
22476         (_FP_SQRT_MEAT_4): Likewise.
22477         (_FP_FRAC_ASSEMBLE_4): Likewise.
22478         (_FP_FRAC_DISASSEMBLE_4): Likewise.
22479         * soft-fp/op-common.h (_FP_CMP): Likewise.
22480         (_FP_CMP_EQ): Likewise.
22481         (_FP_CMP_UNORD): Likewise.
22482         (_FP_TO_INT): Likewise.
22483         (_FP_FROM_INT): Likewise.
22484         [!__FP_CLZ] (__FP_CLZ): Likewise.
22485         (_FP_DIV_HELP_imm): Likewise.
22486         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
22487         Likewise.
22488         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
22489         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
22490         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
22491         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
22492         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
22493         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22494         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22495         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
22496         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
22497         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
22498         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
22499         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
22500         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
22501         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
22502         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
22503         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
22504         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
22505         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
22506         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
22507         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
22508         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
22509         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
22510         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
22511         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22512         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22513         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
22514         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
22515         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
22516         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
22517         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
22518         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
22519         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
22520         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
22521         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
22522         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
22523         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
22524         (FP_UNPACK_RAW_SP): Likewise.
22525         (FP_PACK_RAW_S): Likewise.
22526         (FP_PACK_RAW_SP): Likewise.
22527         (FP_UNPACK_S): Likewise.
22528         (FP_UNPACK_SP): Likewise.
22529         (FP_UNPACK_SEMIRAW_S): Likewise.
22530         (FP_UNPACK_SEMIRAW_SP): Likewise.
22531         (FP_PACK_S): Likewise.
22532         (FP_PACK_SP): Likewise.
22533         (FP_PACK_SEMIRAW_S): Likewise.
22534         (FP_PACK_SEMIRAW_SP): Likewise.
22535         (_FP_SQRT_MEAT_S): Likewise.
22536         (FP_CMP_S): Likewise.
22537         (FP_CMP_EQ_S): Likewise.
22538         (FP_CMP_UNORD_S): Likewise.
22539         (FP_TO_INT_S): Likewise.
22540         (FP_FROM_INT_S): Likewise.
22542         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
22544         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
22545         (FP_EX_INVALID_IMZ): Likewise.
22546         (FP_EX_INVALID_IMZ_FMA): Likewise.
22547         (FP_EX_INVALID_ISI): Likewise.
22548         (FP_EX_INVALID_ZDZ): Likewise.
22549         (FP_EX_INVALID_IDI): Likewise.
22550         (FP_EX_INVALID_SQRT): Likewise.
22551         (FP_EX_INVALID_CVI): Likewise.
22552         (FP_EX_INVALID_VC): Likewise.
22553         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
22554         "invalid" exceptions.
22555         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
22556         (_FP_ADD_INTERNAL): Likewise.
22557         (_FP_MUL): Likewise.
22558         (_FP_FMA): Likewise.
22559         (_FP_DIV): Likewise.
22560         (_FP_CMP_CHECK_NAN): Likewise.
22561         (_FP_SQRT): Likewise.
22562         (_FP_TO_INT): Likewise.
22563         (FP_EXTEND): Likewise.
22565 2014-10-09  Allan McRae  <allan@archlinux.org>
22567         * po/fr.po: Update French translation from translation project.
22569 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22571         [BZ #14132]
22572         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
22573         of INTDEF.
22574         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
22575         (__cxa_atexit): Use libc_hidden_proto.
22576         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
22578         [BZ #14132]
22579         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
22580         declaration.
22581         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
22582         [!_ISOMAC] (__iswspace_l_internal): Likewise.
22583         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
22584         [!_ISOMAC] (__iswctype_internal): Likewise.
22585         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
22586         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
22587         alias.
22588         (fcntl): Remove __fcntl_internal alias.
22589         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22590         __connect_internal alias.
22591         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
22592         Likewise.
22594         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
22595         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
22596         FP_DENORM_ZERO.
22597         (_FP_CHECK_FLUSH_ZERO): New macro.
22598         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
22599         (_FP_CMP): Likewise.
22600         (_FP_CMP_EQ): Likewise.
22601         (_FP_TO_INT): Do not set inexact for subnormal arguments if
22602         FP_DENORM_ZERO.
22603         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22604         (FP_TRUNC): Likewise.
22606         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22607         treated as invalid conversion, not as normal exponent.
22609         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22610         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
22611         (_FP_CMP_EQ): Likewise.
22612         (_FP_CMP_UNORD): Likewise.
22613         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22614         (FP_CMP_EQ_D): Likewise.
22615         (FP_CMP_UNORD_D): Likewise.
22616         * soft-fp/extended.h (FP_CMP_E): Likewise.
22617         (FP_CMP_EQ_E): Likewise.
22618         (FP_CMP_UNORD_E): Likewise.
22619         * soft-fp/quad.h (FP_CMP_Q): Likewise.
22620         (FP_CMP_EQ_Q): Likewise.
22621         (FP_CMP_UNORD_Q): Likewise.
22622         * soft-fp/single.h (FP_CMP_S): Likewise.
22623         (FP_CMP_EQ_S): Likewise.
22624         (FP_CMP_UNORD_S): Likewise.
22625         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22626         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22627         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22628         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22629         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22630         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22631         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22632         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22633         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22634         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22635         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22636         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22637         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22638         to FP_CMP_Q.
22639         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22640         FP_CMP_Q.
22641         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22642         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22643         FP_CMP_EQ_Q.
22644         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22645         FP_CMP_Q.
22646         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22647         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22648         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22649         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22650         FP_CMP_EQ_Q.
22651         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22652         FP_CMP_Q.
22653         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22654         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22655         FP_CMP_EQ_Q.
22656         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22657         FP_CMP_Q.
22658         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22659         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22660         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22661         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22662         FP_CMP_EQ_Q.
22664         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22665         a subnormal result, set the underflow exception if trapping on
22666         underflow is enabled.
22667         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22668         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22669         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22670         redefine to 0.
22671         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22672         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22673         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22674         * soft-fp/extendxftf2.c (__extendxftf2): Use
22675         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22677         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22678         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22679         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22680         FP_HANDLE_EXCEPTIONS.
22681         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22682         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22683         FP_HANDLE_EXCEPTIONS.
22684         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22685         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22686         FP_HANDLE_EXCEPTIONS.
22687         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22688         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22689         FP_HANDLE_EXCEPTIONS.
22691 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
22693         [BZ #14132]
22694         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22695         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22696         use INTUSE.
22697         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22698         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22699         Remove alias.
22700         (__adjtimex): Define using libc_hidden_ver.
22701         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22702         Remove declaration.
22703         (ntp_gettime): Call __adjtimex directly.
22704         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22705         Remove declaration.
22706         (ntp_gettimex): Call __adjtimex directly.
22707         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22708         __adjtimex_internal alias.
22710 2014-10-08  Roland McGrath  <roland@hack.frob.com>
22712         [BZ #17460]
22713         * nscd/nscd.c (more_help): Rewrite list of tables collection
22714         using xstrdup and asprintf.
22716         * nscd/nscd_conf.c: Remove local xstrdup declaration.
22718 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22719             Roland McGrath  <roland@hack.frob.com>
22721         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22722         (do_lookup_unique): ... local function 'enter' here; update callers.
22724 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
22726         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22727         compat_symbol calls on [SHARED].
22728         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22729         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22730         Remove.
22731         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22732         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22733         (oldsetrlimit): Remove.
22734         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22736         (lchown): New syscall entry.
22737         (oldsetrlimit): Remove.
22738         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22739         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22740         (oldsetrlimit): Remove.
22741         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22743         [BZ #14138]
22744         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22745         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22746         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22747         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22748         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22749         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22750         (fchown): Likewise.
22751         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22752         (fchown): Likewise.
22753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22754         Likewise.
22756 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22758         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
22759         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
22760         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
22761         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22762         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
22763         Likewise.
22764         (__old_sem_post): Likewise.
22766 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
22768         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
22769         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
22770         HAVE_CLOCK_GETTIME_VSYSCALL macros.
22771         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
22772         Use INLINE_VSYSCALL macro.
22773         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
22774         __vdso_clock_gettime.
22775         * sysdeps/unix/sysv/linux/tile/init-first.c
22776         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22777         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
22778         __vdso_clock_gettime.
22780         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
22781         to set up frame more cleanly.
22783         * sysdeps/tile/memcmp.c: New file.
22785         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22787         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
22788         * sysdeps/tile/tilegx/strcasestr.c: New file.
22789         * sysdeps/tile/tilegx/strnlen.c: New file.
22790         * sysdeps/tile/tilegx/strstr.c: New file.
22792         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
22794 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
22796         * nptl/tst-setuid3.c: Write errors to stdout.
22798 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22800         * elf/dl-deps.c
22801         (preload): New functions broken out of _dl_map_object_deps.
22802         (_dl_map_object_deps):  Remove a nested function. Update call sites.
22804 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
22806         [BZ #14138]
22807         * sysdeps/unix/sysv/linux/execve.c: Remove file.
22808         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
22810 2014-10-01  Steve Ellcey  <sellcey@mips.com>
22812         * sysdeps/mips/strcmp.S: New.
22814 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
22816         [BZ #14138]
22817         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
22818         (linkat): Likewise.
22819         (mkdirat): Likewise.
22820         (readlinkat): Likewise.
22821         (renameat): Likewise.
22822         (symlinkat): Likewise.
22823         (unlinkat): Likewise.
22824         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
22825         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
22826         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
22827         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
22828         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
22829         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
22830         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
22832 2014-09-30  Will Newton  <will.newton@linaro.org>
22834         * math/math.h: Define long double math functions if
22835         _LIBC_TEST is defined.
22836         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
22838         * localedata/Makefile: Move assignment to tests-special
22839         into an ifdef testing run-built-tests.
22840         * timezone/Makefile: Likewise.
22842 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
22844         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
22845         with $(BASH) not $(SHELL).
22847 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
22848             Matthew LeGendre  <legendre1@llnl.gov>
22850         [BZ #17411]
22851         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
22852         l_reloc_result.
22854 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22856         * stdio-common/printf_fp.c
22857         (hack_digit): New function, broken out of ...
22858         (__printf_fp): ... local function here.  Update call sites.
22859         hack_digit now takes an additional parameter that is a pointer
22860         to a struct of the referenced locals.  Those locals moved inside
22861         the struct and references updated.
22863 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
22865         * aclocal.m4: Require autoconf 2.69.
22866         * configure: Regenerated.
22867         * sysdeps/aarch64/configure: Likewise.
22868         * sysdeps/alpha/configure: Likewise.
22869         * sysdeps/arm/armv7/configure: Likewise.
22870         * sysdeps/arm/configure: Likewise.
22871         * sysdeps/ia64/configure: Likewise.
22872         * sysdeps/mach/configure: Likewise.
22873         * sysdeps/mips/configure: Likewise.
22874         * sysdeps/s390/configure: Likewise.
22875         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
22876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
22878         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
22879         file.
22880         * sysdeps/ia64/configure.ac: Likewise.
22882 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
22884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
22885         specify symbol version for ld.so.  Do not include entry for
22886         libpthread.
22887         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22888         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22889         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22891         [BZ #14171]
22892         * Makeconfig [$(build-shared) = yes]
22893         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
22894         makefiles.
22895         [$(build-shared) = yes && $(soversions.mk-done) = t]
22896         ($(common-objpfx)gnu/lib-names.h): Remove rule.
22897         [$(build-shared) = yes && $(soversions.mk-done) = t]
22898         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
22899         to Makerules.
22900         [$(build-shared) = yes && $(soversions.mk-done) = t]
22901         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
22902         here.
22903         [$(build-shared) = yes && $(soversions.mk-done) = t]
22904         (common-generated): Don't append gnu/lib-names.h and
22905         gnu/lib-names.stmp here.
22906         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
22907         (lib-names-h-abi): New variable.
22908         [$(build-shared) = yes && $(soversions.mk-done) = t]
22909         (lib-names-stmp-abi): Likewise.
22910         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22911         abi-variants] (before-compile): Append
22912         $(common-objpfx)$(lib-names-h-abi).
22913         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22914         abi-variants] (common-generated): Append gnu/lib-names.h.
22915         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22916         abi-variants] (install-others-nosubdir): Depend on
22917         $(inst_includedir)/$(lib-names-h-abi).
22918         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22919         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
22920         [$(build-shared) = yes && $(soversions.mk-done) = t]
22921         ($(common-objpfx)$(lib-names-h-abi)): New rule.
22922         [$(build-shared) = yes && $(soversions.mk-done) = t]
22923         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
22924         [$(build-shared) = yes && $(soversions.mk-done) = t]
22925         (common-generated): Append $(lib-names-h-abi) and
22926         $(lib-names-stmp-abi).
22927         * scripts/lib-names.awk: Do not handle multi being set.
22928         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
22929         Remove variable.
22930         (abi-lp64_be-ld-soname): Likewise.
22931         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
22932         Likewise.
22933         (abi-hard-ld-soname): Likewise.
22934         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
22935         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
22936         Remove variable.
22937         (abi-o32_hard-ld-soname): Likewise.
22938         (abi-o32_soft_2008-ld-soname): Likewise.
22939         (abi-o32_hard_2008-ld-soname): Likewise.
22940         (abi-n32_soft-ld-soname): Likewise.
22941         (abi-n32_hard-ld-soname): Likewise.
22942         (abi-n32_soft_2008-ld-soname): Likewise.
22943         (abi-n32_hard_2008-ld-soname): Likewise.
22944         (abi-n64_soft-ld-soname): Likewise.
22945         (abi-n64_hard-ld-soname): Likewise.
22946         (abi-n64_soft_2008-ld-soname): Likewise.
22947         (abi-n64_hard_2008-ld-soname): Likewise.
22948         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
22949         Likewise.
22950         (abi-64-v2-ld-soname): Likewise.
22951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
22952         ld.so entries.
22953         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
22954         variable.
22955         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
22956         entry.
22957         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
22958         variable.
22959         (abi-64-ld-soname): Likewise.
22960         (abi-x32-ld-soname): Likewise.
22961         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
22962         entry.
22963         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22965 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
22967         [BZ #14138]
22968         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
22969         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
22970         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
22971         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
22972         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
22973         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
22974         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
22975         syscall entry for GLIBC_2.2 symbol version.
22976         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
22977         Likewise.
22978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22979         (setrlimit): Likewise.
22980         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
22981         Likewise.
22983 2014-09-23  Will Newton  <will.newton@linaro.org>
22985         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
22986         _LINUX_ARM_SYSDEP_H include guard too.
22987         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
22988         define.
22990 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22992         * sysdeps/unix/sysv/linux/eventfd.c:
22993         Make first argument unsigned.
22994         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
22995         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
22997 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
22999         * socket/recvmmsg.c (recvmmsg): Drop const argument.
23000         * socket/sys/socket.h: Likewise.
23001         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
23003 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23005         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
23007 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
23009         * time/tst-ftime.c: New test.
23010         * time/Makefile (tests): Add tst-ftime.
23012 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
23014         * soft-fp/extended.h: Fix comment formatting.
23015         * soft-fp/op-1.h: Likewise.
23016         * soft-fp/op-2.h: Likewise.
23017         * soft-fp/op-4.h: Likewise.
23018         * soft-fp/op-8.h: Likewise.
23019         * soft-fp/op-common.h: Likewise.
23020         * soft-fp/soft-fp.h: Likewise.
23022         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
23024 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
23026         [BZ #6652]
23027         * Makeconfig (soversions-default-setname): Remove variable.
23028         ($(common-objpfx)soversions.i): Don't pass default_setname to
23029         soversions.awk.
23030         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
23031         oldest_abi to abi-versions.awk.
23032         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
23033         * config.make.in (oldest-abi): Remove variable.
23034         * configure.ac (--enable-oldest-abi): Remove configure option.
23035         * configure: Regenerated.
23036         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
23037         text.
23038         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
23039         * scripts/soversions.awk: Do not handle default_setname variable.
23040         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
23041         variable.
23042         * sysdeps/mach/hurd/configure: Regenerated.
23043         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
23044         variable.
23045         * sysdeps/unix/sysv/linux/configure: Regenerated.
23047 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23049         * elf/Makefile (CFLAGS-interp.c): Remove.
23050         ($(elf-objpfx)runtime-linker.h): Generate header with linker
23051         path string.
23052         * elf/interp.c: Include generated runtime-linker.h
23054         * Makerules (lib%.so): Don't include $(+interp) in
23055         prerequisites.
23056         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
23057         * dlfcn/eval.c: Remove file.
23059         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
23060         macros.
23062         [BZ #17266]
23063         * misc/sys/cdefs.h: Define __extern_always_inline for clang
23064         4.2 and newer.
23066         [BZ #17370]
23067         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
23069 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23070             Jakub Jelinek  <jakub@redhat.com>
23072         [BZ #17266]
23073         * libio/stdio.h: Check definition of __fortify_function
23074         instead of __extern_always_inline to include bits/stdio2.h.
23075         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
23076         check if __extern_always_inline is defined.
23077         [__USE_MISC || __USE_XOPEN]: Likewise.
23078         [__USE_ISOC99] Likewise.
23079         * misc/sys/cdefs.h (__fortify_function): Define only if
23080         __extern_always_inline is defined.
23081         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
23082         __extern_always_inline and __extern_inline only for g++-4.3
23083         and newer or a compatible gcc.
23085 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
23087         [BZ #17371]
23088         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23089         last change to handle zero prefix length.
23091 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23093         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
23094         _SC_REGEX_VERSION.
23096         * posix/getconf.c (vars): Add _POSIX_IPV6 and
23097         _POSIX_RAW_SOCKETS.
23099 2014-09-13  Allan McRae  <allan@archlinux.org>
23101         * po/ru.po: Update Russian translation from translation project.
23103 2014-09-12  Roland McGrath  <roland@hack.frob.com>
23105         * locale/programs/locale.c (show_locale_vars): Inline local function
23106         into its sole call site.  Clean up some style nits.
23107         (print_item): New function, broken out of ...
23108         (show_info): ... local function here.  Clean up style nits.
23110         * locale/programs/ld-ctype.c (set_one_default): New function, broken
23111         out of ...
23112         (set_class_defaults): ... local function set_default here.
23113         Define set_default as a macro locally to pass constant parameters.
23114         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
23115         rather than a shared local.
23117         * stdlib/rpmatch.c (try): New function, broken out of ...
23118         (rpmatch): ... local function here.  Also, prototypify definition.
23120 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
23122         * scripts/soversions.awk: Do not handle configuration names.
23123         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
23124         vendor and os variables to soversions.awk.
23125         * configure.ac: Do not modify gnu-* host_os.
23126         * configure: Regenerated
23127         * shlib-versions: Remove first column with configuration names.
23128         * nptl/shlib-versions: Likewise.
23129         * nptl_db/shlib-versions: Likewise.
23130         * sysdeps/hppa/shlib-versions: Likewise.
23131         * sysdeps/m68k/shlib-versions: Likewise.
23132         * sysdeps/mach/hurd/shlib-versions: Likewise.
23133         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
23134         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
23135         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
23136         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
23137         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
23138         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
23139         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
23140         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
23141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23142         Likewise.
23143         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23144         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23145         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23146         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23147         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23148         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
23149         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23150         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23153         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
23154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23155         Regenerated.
23156         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
23157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23158         Condition symbol version definitions on [HAVE_ELFV2_ABI].
23160         * shlib-versions: Remove OS-specific entries.  Moved to files in
23161         sysdeps.
23162         * sysdeps/mach/hurd/shlib-versions: New file.
23163         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23165         * nptl/shlib-versions: Remove architecture-specific entries.
23166         Moved to files in sysdeps.
23167         * shlib-versions: Likewise.
23168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
23169         file.
23170         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23171         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23172         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23173         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23175         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
23176         (UDP_NO_CHECK6_RX): Likewise.
23178 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23180         * sysdeps/posix/sysconf.c (__sysconf): Spell
23181         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
23183 2014-08-12  Florian Weimer  <fweimer@redhat.com>
23185         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
23186         loading.
23187         * iconv/Versions (__gconv_transliterate): Export for use from
23188         gconv modules.
23189         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
23190         (struct __gconv_trans_data, __gconv_trans_fct,
23191         __gconv_trans_context_fct, __gconv_trans_query_fct,
23192         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
23193         definitions.
23194         (struct __gconv_step_data): Remove __trans member.
23195         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
23196         longer hidden.  Remove unused trans_data argument.
23197         * iconv/gconv_int.h (struct trans_struct): Remove definition.
23198         (__gconv_translit_find): Remove declaration.
23199         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
23200         prototype.
23201         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
23202         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
23203         trans_data argument.  Add hidden definition.
23204         (__gconv_translit_find): Remove.
23205         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
23206         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
23207         * iconv/skeleton.c: Remove transliteration initialization.
23208         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
23209         __gconv_step_data initialization.
23210         * libio/iofwide.c (__libio_translit_): Remove.
23211         (_IO_fwide): Adjust struct __gconv_step_data initialization.
23212         * wcsmbs/btowc.c (__btowc): Likewise.
23213         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23214         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23215         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23216         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23217         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
23218         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23219         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23220         * wcsmbs/wctob.c (wctob): Likewise.
23222 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23224         [BZ #16194]
23225         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
23226         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
23227         register usage.
23228         * sysdeps/x86/Makefile: Adjust.
23230 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23231             Roland McGrath  <roland@hack.frob.com>
23233         * locale/weight.h: Add include guard.
23234         (findidx): Make static rather than auto; take new parameters
23235         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
23236         * locale/weightwc.h: Likewise.
23237         * posix/fnmatch_loop.c
23238         (FCT): Change type of EXTRA from int32_t to wint_t.
23239         Don't include either header inside the function.
23240         Call FINDIDX rather than findidx, and pass new arguments.
23241         #undef FINDIDX at the end of the file.
23242         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
23243         FINDIDX before including fnmatch_loop.c for the non-wide version.
23244         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
23245         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
23246         for the wide version.
23247         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
23248         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
23249         Pass new arguments to findidx.
23250         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
23251         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
23252         Don't #include it inside the function.  Pass new arguments to findidx.
23253         * posix/regex_internal.h
23254         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
23255         (re_string_elem_size_at): Don't #include it inside the function.
23256         Pass new arguments to findidx.
23257         * string/strcoll_l.c: #include WEIGHT_H at top level.
23258         (get_next_seq): Don't #include it inside the function.
23259         Pass new arguments to findidx.
23260         (get_next_seq_nocache): Likewise.
23261         * string/strxfrm_l.c: #include WEIGHT_H at top level.
23262         (STRXFRM): Don't #include it inside the function.
23263         Pass new arguments to findidx.
23265 2014-09-11  Florian Weimer  <fweimer@redhat.com>
23267         [BZ #17344]
23268         * malloc/malloc.c (unlink): Turn asserts into a call to
23269         malloc_printerr.
23271 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
23273         [BZ #17370]
23274         * libio/wfileops (do_ftell_wide): Free OUT.
23276 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
23278         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
23280 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23282         [BZ #17363]
23283         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
23284         group if the current group is empty.
23286 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23288         * benchtests/bench-memset.c (test_main): Add more test from size
23289         from 32 to 512 bytes.
23290         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23291         Add POWER8 memset object.
23292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23293         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
23294         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
23295         implementation.
23296         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
23297         Likewise.
23298         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
23299         multiarch POWER8 memset optimization.
23300         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
23301         POWER8 memset optimization.
23303         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23304         Remove bzero multiarch objects.
23305         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
23306         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
23307         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
23308         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
23309         Remove define.
23310         [__bzero]: Redefine to specific name.
23311         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23312         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23313         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
23314         define.
23315         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23316         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23318 2014-09-10  Florian Weimer  <fweimer@redhat.com>
23320         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
23321         warnings into errors.
23323         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
23324         __cxa_thread_atexit_impl prototype.
23326 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23328         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
23329         Fix capitalization of error message.
23331 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23333         * sysdeps/mips/preconfigure: Modify ABI tests.
23335 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
23337         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
23339 2014-09-07  Roland McGrath  <roland@hack.frob.com>
23340             Carlos O'Donell  <carlos@systemhalted.org>
23342         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
23343         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
23344         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
23345         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
23346         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
23347         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
23348         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
23349         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
23350         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
23351         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
23352         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
23353         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
23354         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
23355         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
23356         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
23357         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
23358         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
23359         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
23360         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
23361         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
23362         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
23363         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
23364         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
23365         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
23366         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
23367         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
23368         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
23369         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
23370         Deconditionalize the code that was previously under [RESET_PID].
23371         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
23372         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
23373         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
23374         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
23375         include sysdep.h.
23377 2014-09-08  Allan McRae  <allan@archlinux.org>
23379         * version.h (RELEASE): Set to "development".
23380         (VERSION): Set to "2.20.90"
23382 2014-09-07  Allan McRae  <allan@archlinux.org
23384         * version.h (RELEASE): Set to "stable".
23385         (VERSION): Set to "2.20"
23386         * include/features.h (__GLIBC_MINOR__): Set to 20.
23388         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
23389         Liebler.
23391         * po/ko.po: Update Korean translation from translation project.
23393 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
23395         [BZ #17354]
23396         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
23397         macro for handling signed relocations.
23399 2014-09-03  Florian Weimer  <fweimer@redhat.com>
23401         [BZ #17325]
23402         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
23403         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
23404         assert.
23405         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
23406         * iconvdata/ibm935.c (BODY): Likewise.
23407         * iconvdata/ibm937.c (BODY): Likewise.
23408         * iconvdata/ibm939.c (BODY): Likewise.
23409         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
23410         assert.
23411         * iconvdata/Makefile (iconv-test.out): Pass module list to test
23412         script.
23413         * iconvdata/run-iconv-test.sh: New test loop for checking for
23414         decoder crashers.
23416 2014-09-02  Khem Raj  <raj.khem@gmail.com>
23418         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
23419         libm_hidden_ver.
23421 2014-09-01  Allan McRae  <allan@archlinux.org>
23423         * po/eo.po: Update Esperanto translation from translation project.
23425         * po/ca.po: Update Catalan translation from translation project.
23427 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23429         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
23430         __proc_dostop call.
23432 2014-08-27  Mark Wielaard  <mjw@redhat.com>
23434         [BZ #17319]
23435         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
23436         to call set_thread_area instead of hand written asm.
23437         (__NR_set_thread_area): Removed define.
23438         (TLS_FLAG_WRITABLE): Likewise.
23439         (__ASSUME_SET_THREAD_AREA): Remove check.
23440         (TLS_EBX_ARG): Remove define.
23441         (TLS_LOAD_EBX): Likewise.
23443 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23445         Simplify atomicity of socket creation in bind.
23447         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
23448         looking up the name after linking the file.
23450 2014-08-27  Allan McRae  <allan@archlinux.org>
23452         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23454 2014-08-26  Florian Weimer  <fweimer@redhat.com>
23456         [BZ #17187]
23457         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
23458         trans_compare, open_translit, __gconv_translit_find):
23459         Remove module loading code.
23461 2014-08-26  Allan McRae  <allan@archlinux.org>
23463         * po/vi.po: Update Vietnamese translation from translation project.
23465         * po/uk.po: Update Ukrainian translation from translation project.
23467         * po/fr.po: Update French translation from translation project.
23469         * po/ru.po: Update Russian translation from translation project.
23471         * po/pl.po: Update Polish translation from translation project.
23473         * po/cs.po: Update Czech translation from translation project.
23475         * po/de.po: Update German translation from translation project.
23477         * po/bg.po: Update Bulgarian translation from translation project.
23479         * po/sv.po: Update Sweedish translation from translation project.
23481         * po/nl.po: Update Dutch translation from translation project.
23483         * po/es.po: Update Spanish translation from translation project.
23485 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23487         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
23489         * catgets/Makefile (CPPFLAGS-gencat): Remove.
23490         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
23491         (CPPFLAGS-iconvconfig): Likewise.
23492         * timezone/Makefile (CPPFLAGS-zic): Likewise.
23494         * include/libc-symbols.h: Remove unnecessary check for
23495         NOT_IN_libc.
23496         * nptl/pthreadP.h: Likewise.
23497         * sysdeps/aarch64/setjmp.S: Likewise.
23498         * sysdeps/alpha/setjmp.S: Likewise.
23499         * sysdeps/arm/sysdep.h: Likewise.
23500         * sysdeps/i386/setjmp.S: Likewise.
23501         * sysdeps/m68k/setjmp.c: Likewise.
23502         * sysdeps/posix/getcwd.c: Likewise.
23503         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23504         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23505         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23506         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23507         * sysdeps/sh/sh3/setjmp.S: Likewise.
23508         * sysdeps/sh/sh4/setjmp.S: Likewise.
23509         * sysdeps/unix/alpha/sysdep.h: Likewise.
23510         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23511         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23512         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23513         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23516         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23517         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23518         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23519         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23520         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23521         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23522         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23523         * sysdeps/x86_64/setjmp.S: Likewise.
23525 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
23527         [BZ #17263]
23528         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
23529         <stdint.h>.
23530         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
23531         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
23533 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23535         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
23537         [BZ #17262]
23538         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
23539         and __x86_64__ when disabling x87 inline functions.
23541 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23543         [BZ #17259]
23544         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
23545         asm statement with __cpuid_count.
23547 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
23549         * configure.ac: Change __ehdr_start code to dereference the struct.
23550         Run readelf on the output to look for relocations.
23551         * configure: Regenerated.
23553 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
23555         [BZ #17261]
23556         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
23557         value to 0.
23558         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
23560 2014-08-12  Roland McGrath  <roland@hack.frob.com>
23562         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
23564 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
23566         [BZ #16892]
23567         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
23568         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
23570 2014-08-12  Sean Anderson  <seanga2@gmail.com>
23572         * malloc/malloc.c: Fix typo in comment.
23574 2014-08-09  Allan McRae  <allan@archlinux.org>
23576         * Regenerate libc.po.
23578 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
23580         * intl/tst-gettext2.sh: Check every lang file for creation.
23582 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23584         * sysdeps/aarch64/fpu/math_private.h
23585         (libc_feholdsetround_noex_aarch64_ctx): New function.
23587 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23589         * sysdeps/arm/armv6/strcpy.S (strcpy):
23590         Fix performance issue in misaligned cases.
23592 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23594         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
23595         Move definition from termios.h.
23596         (struct termio): Likewise.
23597         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23598         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23599         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23600         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23601         Likewise.
23602         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23603         Move definition to ioctl-types.h
23604         (struct termio): Likewise.
23605         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23606         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23607         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23608         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23609         Likewise.
23611 2014-08-05  Richard Henderson  <rth@redhat.com>
23613         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23614         exceptions.
23615         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23616         Add fraiseexcpt.
23617         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23618         Use __feraiseexcept.
23619         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23620         Protect libm symbols with IS_IN_libm.
23622         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23624 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
23626         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23628 2014-08-04  Will Newton  <will.newton@linaro.org>
23630         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23631         file.
23633 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
23635         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23636         variants for each function.
23638 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23640         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23641         appended ...
23642         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23643         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23644         appended ...
23645         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23646         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23647         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23648         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23649         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23650         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23651         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23652         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23653         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23654         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23655         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23656         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23657         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23658         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23659         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23660         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23661         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23662         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23663         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23664         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23665         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23666         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23667         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23668         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23669         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23670         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23671         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23672         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23673         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23674         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23675         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23676         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23677         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23678         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23679         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23680         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23681         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23682         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23683         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23684         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23685         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23686         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23687         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23688         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23689         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23690         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23691         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23692         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23693         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23694         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23695         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23696         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23697         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23698         Update #include.
23699         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23700         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23702 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23704         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23705         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23706         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23707         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23708         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23709         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23711 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23713         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23714         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23715         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23716         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23718 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23720         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23721         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23722         (__libc_vfork): Define function under this name.
23723         (__vfork): Define as an alias.
23724         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23725         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23727 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23729         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23730         that was previously under [RESET_PID].
23731         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23733 2014-08-04  Andreas Schwab  <schwab@suse.de>
23735         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23737 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
23739         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23740         (main): Likewise.
23742 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23744         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23746 2014-08-01  Richard Henderon  <rth@redhat.com>
23748         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23749         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23750         typo in exact zero test.
23751         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23752         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23753         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23755 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23757         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
23758         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23759         * sysdeps/arm/sysdep.h: ... here.
23760         [!__ASSEMBLER__]: Include <stdint.h>.
23762 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23764         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
23765         (HAVE_WCTYPE_H): Likewise.
23766         (HAVE_ISWCTYPE): Likewise.
23767         (ENABLE_NLS): Likewise.
23768         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
23769         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
23771         * posix/regex_internal.c: Check if DEBUG is defined and is
23772         set.
23774         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
23775         (HAVE_MBSRTOWCS): Likewise.
23776         * posix/fnmatch.c: Include string.h unconditionally.
23778 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23780         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
23781         reversal.
23783 2014-07-31  Roland McGrath  <roland@hack.frob.com>
23785         * sysdeps/generic/safe-fatal.h: New file.
23786         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
23787         * nptl/forward.c: Include it.
23788         (__pthread_unwind): Use __safe_fatal as default action, rather
23789         than a bogus use of INTERNAL_SYSCALL that could never work.
23791         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
23792         * configure.ac (libc_cv_builtin_trap): New test.
23793         * configure: Regenerated.
23794         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
23795         (ABORT_INSTRUCTION): Define using __builtin_trap.
23797         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
23798         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
23799         * sysdeps/nptl/nptl-signals.h: New file.
23800         * nptl/pthreadP.h: Include <nptl-signals.h>.
23802 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23804         * sysdeps/s390/s390-64/utf16-utf32-z9.c
23805         (ONE_DIRECTION): Define.
23806         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23807         (ONE_DIRECTION): Define.
23808         * sysdeps/s390/s390-64/utf8-utf32-z9.c
23809         (ONE_DIRECTION): Define.
23811 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23813         * sysdeps/s390/Makefile: Delete file.
23814         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
23815         * sysdeps/s390/__longjmp.c: Delete file.
23816         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23817         Remove fields __flags and __reserved.
23818         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
23819         and add versioning.
23820         * sysdeps/s390/rtld-__longjmp.c: Delete file.
23821         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
23822         * sysdeps/s390/rtld-setjmp.S: Likewise.
23823         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
23824         * sysdeps/s390/s390-32/__longjmp.c: ... here.
23825         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
23826         * sysdeps/s390/s390-32/setjmp.S: ... here.
23827         Add versioning.
23828         (__sigsetjmp): Remove setting __flags field.
23829         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
23830         * sysdeps/s390/s390-64/__longjmp.c: ... here.
23831         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
23832         * sysdeps/s390/s390-64/setjmp.S: ... here.
23833         Add versioning.
23834         (__sigsetjmp): Remove setting __flags field.
23835         * sysdeps/s390/setjmp.S: Delete file.
23836         * sysdeps/s390/sigjmp.c: Likewise.
23837         * sysdeps/s390/v1-longjmp.c: Likewise.
23838         * sysdeps/s390/v1-setjmp.h: Likewise.
23839         * sysdeps/s390/v1-sigjmp.c: Likewise.
23840         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
23841         Remove v1-longjmp_chk.
23842         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
23843         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
23844         Include debug/longjmp_chk.c and add versioning.
23845         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
23846         Include nptl/pt-longjmp.c and add versioning.
23847         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
23848         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
23849         Include __longjmp.c.
23850         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23851         Move to ...
23852         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
23853         (__getcontext): Remove setting __flags field.
23854         Add versioning.
23855         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23856         Don't restore upper high grps.
23857         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
23858         Likewise.
23859         (__swapcontext): Remove setting uc_flags field.
23860         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
23861         Delete file.
23862         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23863         Include __longjmp.c.
23864         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23865         Move to ...
23866         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
23867         (__getcontext): Remove setting __flags field.
23868         Add versioning.
23869         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
23870         (__swapcontext): Remove setting uc_flags field.
23871         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
23872         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
23873         Remove fields uc_high_gprs and __reserved.
23874         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
23875         New file with reverted content.
23876         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
23877         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
23878         Regenerated.
23879         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
23880         Regenerated.
23882 2014-07-31  Andreas Schwab  <schwab@suse.de>
23884         * config.h.in (HAVE_IFUNC): Define to 0.
23885         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
23886         definedness.
23888 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
23890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23891         memmove-avx-unaligned, memcpy-avx-unaligned and
23892         mempcpy-avx-unaligned.
23893         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23894         Add tests for AVX memcpy functions.
23895         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
23896         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
23897         memcpy_chk.
23898         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
23899         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
23900         memmove_chk.
23901         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
23902         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
23903         mempcpy_chk.
23904         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
23905         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
23906         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
23908 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23910         [BZ #17213]
23911         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
23912         powerpc64le.
23914 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
23916         [BZ #16839]
23917         * manual/llio.texi: Add section about open file description locks.
23918         * manual/examples/ofdlocks.c: Example of open file description
23919         lock usage.
23920         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
23921         F_OFD_SETLK, and F_OFD_SETLKW.
23923 2014-07-23  Allan McRae  <allan@archlinux.org>
23925         * po/es.po: Update Spanish translation from translation project.
23927 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
23929         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
23931 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
23933         [BZ #17078]
23934         * sysdeps/arm/dl-machine.h (elf_machine_rela)
23935         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
23936         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
23938 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
23940         [BZ #17088]
23941         * math/fesetenv.c (__fesetenv)
23942         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
23943         * math/feupdateenv.c (__feupdateenv)
23944         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
23946         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
23947         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23948         (__ASSUME_SOCKETCALL): Do not define.
23950         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
23951         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
23952         (__ASSUME_SOCKETCALL): Do not define.
23953         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
23954         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23955         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23956         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23957         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23958         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
23959         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23960         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23962         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
23963         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
23964         (__ASSUME_SOCKETCALL): Do not define.
23965         (__ASSUME_IPC64): Define unconditionally.
23966         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23967         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23968         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23969         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23970         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
23971         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23972         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
23973         Likewise.
23975         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
23976         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
23977         (__ASSUME_SOCKETCALL): Do not define.
23978         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
23979         (__ASSUME_FUTEX_LOCK_PI): Likewise.
23980         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23981         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23982         (__ASSUME_REQUEUE_PI): Define unconditionally.
23983         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
23984         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23985         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23986         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
23987         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23988         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23990         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
23991         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
23992         (__ASSUME_SOCKETCALL): Do not define.
23993         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
23994         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23995         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23996         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
23997         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23998         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24000         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
24001         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
24002         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24003         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
24004         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24005         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
24006         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24007         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
24008         (__ASSUME_GETCPU_SYSCALL): Likewise.
24010         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
24011         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
24012         cases for individual architectures.
24013         * sysdeps/gnu/configure: Regenerated.
24014         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
24015         LIBC_SLIBDIR_RTLDDIR.
24016         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
24017         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
24018         LIBC_SLIBDIR_RTLDDIR.
24019         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
24020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
24021         LIBC_SLIBDIR_RTLDDIR.
24022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24023         Regenerated.
24024         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
24025         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
24026         file.
24027         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
24028         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
24029         file.
24030         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
24031         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
24032         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
24033         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
24035         * sysdeps/aarch64/shlib-versions: Move to ...
24036         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
24037         * sysdeps/alpha/shlib-versions: Move to ...
24038         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
24039         * sysdeps/arm/shlib-versions: Move to ...
24040         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
24041         * sysdeps/hppa/shlib-versions: Move all contents except for
24042         libgcc_s entry to ...
24043         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
24044         entry from ...
24045         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
24046         * sysdeps/ia64/shlib-versions: Move to ...
24047         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
24048         entry from ...
24049         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
24050         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
24051         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
24052         * sysdeps/microblaze/shlib-versions: Move to ...
24053         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
24054         * sysdeps/mips/shlib-versions: Move to ...
24055         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
24056         entry from ...
24057         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
24058         * sysdeps/tile/shlib-versions: Move to ...
24059         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
24060         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
24061         from ...
24062         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
24063         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
24064         entry from ...
24065         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
24067 2014-07-17  Will Newton  <will.newton@linaro.org>
24069         * sysdeps/arm/bits/atomic.h
24070         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
24071         (__arch_compare_and_exchange_bool_16_int): Likewise.
24072         (__arch_compare_and_exchange_bool_64_int): Likewise.
24074         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
24075         into an #else block.
24077 2014-07-16  Roland McGrath  <roland@hack.frob.com>
24079         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
24080         just Linux configurations.  Test empirically that the compiler sets
24081         __ARM_EABI__, rather than using the tuple to decide.
24082         * sysdeps/arm/preconfigure: Regenerated.
24083         * sysdeps/unix/sysv/linux/arm/configure: File removed.
24084         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
24085         contents appended ...
24086         * sysdeps/arm/configure.ac: ... here.
24087         * sysdeps/arm/configure: Regenerated.
24089 2014-07-15  Roland McGrath  <roland@hack.frob.com>
24091         * nptl/pthread_kill.c: New file.
24092         * nptl/pthread_sigmask.c: New file.
24093         * nptl/pthread_sigqueue.c: New file.
24095         * sysdeps/nptl/lowlevellock.h: New file.
24096         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
24097         * sysdeps/nptl/lowlevellock-futex.h: New file.
24099         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
24100         Remove dead declarations.
24102 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
24104         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
24105         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
24106         config-cflags-avx2.
24107         * sysdeps/x86_64/configure.ac: Likewise.
24108         * sysdeps/i386/configure: Regenerated.
24109         * sysdeps/x86_64/configure: Likewise.
24110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24111         memset-avx2 only if config-cflags-avx2 is yes.
24112         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24113         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
24114         defined.
24115         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
24116         only if HAVE_AVX2_SUPPORT is defined.
24117         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24119 2014-07-14  Alan Modra  <amodra@gmail.com>
24121         [BZ #17153]
24122         * elf/elf.h (DT_PPC64_NUM): Correct value.
24123         * NEWS: Add to fixed bug list.
24125 2014-07-13  Jim Meyering  <meyering@fb.com>
24127         [BZ 17150]
24128         regex: don't deref NULL upon heap allocation failure
24129         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
24130         failure in one more place.
24131         To trigger the segfault, configure grep -with-included-regex,
24132         build it, and run these commands:
24133         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
24135 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
24137         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24139 2014-07-11  Richard Henderson  <rth@redhat.com>
24141         * sysdeps/aarch64/libm-test-ulps: Update.
24143 2014-07-10  Florian Weimer  <fweimer@redhat.com>
24145         [BZ #17135]
24146         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
24147         * nptl/allocatestack.c (__nptl_setxid_error): New function.
24148         (__nptl_setxid): Initialize error member.  Call
24149         __nptl_setxid_error.
24150         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
24151         * nptl/descr.h (struct xid_command): Add error member.
24152         * nptl/tst-setuid3.c: New file.
24153         * nptl/Makefile (tests): Add it.
24155 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24157         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
24158         New define.
24159         (__lll_trylock): Use __lll_base_trylock.
24160         (__lll_cond_trylock): Likewise.
24162 2014-07-10  Roland McGrath  <roland@hack.frob.com>
24164         * nptl/pthread_create.c (start_thread): Use atomic_or and
24165         lll_futex_wake directly rather than lll_robust_dead.
24166         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24167         (lll_robust_dead): Macro removed.
24168         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
24169         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24170         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24171         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24172         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24173         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24174         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24175         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24176         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24177         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24178         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24179         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24180         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24181         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24182         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24184         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24185         Use atomic_compare_and_exchange_val_acq directly rather than
24186         lll_robust_trylock.
24187         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24188         (__lll_robust_trylock, lll_robust_trylock): Removed.
24189         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24190         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24191         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24192         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24193         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24194         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24195         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24196         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24197         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24198         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24199         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24200         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24201         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24202         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24204 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24206         * manual/locale.texi (Locale Names): New section documenting
24207         locale name syntax.  Adjust menu and node chaining accordingly.
24208         (Choosing Locale): Reference Locale Names, Locale Categories.
24209         Mention setting LC_ALL=C.  Reflect that name syntax is now
24210         documented.
24211         (Locale Categories): New section title.  Reference Locale Names.
24212         LC_ALL is an environment variable, but not a category.
24213         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
24214         description, now in Locale Name.  Reference that section.  Locale
24215         name syntax is now documented.
24217 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24219         [BZ #17137]
24220         * locale/findlocale.c (name_present, valid_locale_name): New
24221         functions.
24222         (_nl_find_locale): Use the loc_name variable to store name
24223         candidates.  Call name_present and valid_locale_name to check and
24224         validate locale names.  Return an error if the locale is invalid.
24226 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24228         * locale/setlocale.c (setlocale): Use strdup for allocating
24229         composite name copy.
24231 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24233         Sync up with gnulib.
24234         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
24235         [!_LIBC && ENABLE_NLS]: Include gettext.h.
24236         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
24237         and _GL_ARG_NONNULL.
24238         [USE_UNLOCKED_IO]: Include unlocked-io.h.
24239         [!_LIBC]: Include code for Windows and Cygwin.
24240         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
24241         Include prototype for int strerror_r.
24242         [!_LIBC] (is_open): New function.
24243         (flush_stdout): New function.
24244         (print_errno_message): Use it.
24245         (error): Likewise.
24246         (error_at_line): Likewise.
24247         (error_tail) Add function attribute macros.  Use
24248         __builtin_expect.
24250         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
24252         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
24254         * io/ftw.c: Include sys/param.h unconditionally.
24256         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
24258         [BZ #17125]
24259         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
24260         libc_freeres_ptr.
24261         (freecache): New function to free CACHE on exit.
24263         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
24264         initialization.
24266 2014-07-09  David S. Miller  <davem@davemloft.net>
24268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24270         * sysdeps/sparc/nptl/internaltypes.h: Delete.
24271         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
24272         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
24273         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
24274         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
24275         * sysdeps/sparc/nptl/sem_init.c: Likewise.
24276         * sysdeps/sparc/nptl/sem_post.c: Likewise.
24277         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
24278         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
24279         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
24280         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
24281         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
24282         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
24284 2014-07-09  Andreas Schwab  <schwab@suse.de>
24286         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
24287         output.
24288         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
24289         (do_test): Likewise.
24291         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24293 2014-07-09  Will Newton  <will.newton@linaro.org>
24295         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
24296         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
24297         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
24298         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
24299         * sysdeps/hppa/start.S (_start): Likewise.
24301 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24303         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
24305         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
24306         defined.
24308 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24310         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
24311         after checking that it is non-NULL.
24313         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
24315 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24317         * sysdeps/powerpc/memmove.c: Remove file.
24318         * sysdeps/powerpc/powerpc32/power4/memcopy.h
24319         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
24320         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24321         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
24322         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
24323         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
24324         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
24325         string memmove instead of removed powerpc one.
24327         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24328         [weak_alias]: Fix compiler warning due trailing data.
24329         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
24330         [weak_alias]: Likewise.
24331         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
24332         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
24334         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24335         (__libc_ifunc_impl_list): Add memmove functions.
24337 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24339         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
24340         Remove code.
24341         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
24342         Likewise.
24343         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
24344         Likewise.
24345         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
24346         Likewise.
24347         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
24348         Likewise.
24349         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
24350         Likewise.
24351         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
24352         Likewise.
24353         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
24354         Likewise.
24355         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
24356         Likewise.
24357         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
24358         Likewise.
24359         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
24360         Likewise.
24361         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
24362         Likewise.
24363         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
24364         Likewise.
24365         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
24366         Likewise.
24367         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
24368         Likewise.
24369         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
24370         Likewise.
24371         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
24372         Likewise.
24374 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24376         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
24377         to avoid alignment traps in non-cacheable memory.
24378         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24380         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
24381         multiarch objects.
24382         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
24383         file: multiarch power7 memmove.
24384         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
24385         multiarch default memmove.
24386         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
24387         multiarch memove for powerpc32/power4.
24389         * string/bcopy.c: Use full path to include memmove.c.
24390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
24391         multiarch objects.
24392         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
24393         bcopy for powerpc64.
24394         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
24395         bcopy for powerpc64.
24396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
24397         and memmove implementations.
24398         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
24399         optimized multiarch memmove for POWER7/powerpc64.
24400         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
24401         default multiarch memmove for powerpc64.
24402         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
24403         multiarch for powerpc64.
24404         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
24405         for POWER7/powerpc64.
24406         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
24407         memmove for POWER7/powerpc64.
24409         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
24410         glibc default one.
24412         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
24413         __ELF_NATIVE_CLASS equal to 64.
24415 2014-07-07  Roland McGrath  <roland@hack.frob.com>
24417         * sysdeps/nptl/lowlevellock.h: File removed.
24419         * NEWS: NPTL is no longer an add-on!
24420         * nptl/internaltypes.h: Moved ...
24421         * sysdeps/nptl/internaltypes.h: ... here.
24422         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
24423         * sysdeps/nptl/fork.c: Likewise.
24424         * sysdeps/nptl/gai_misc.h: Likewise.
24425         * sysdeps/nptl/librt-cancellation.c: Likewise.
24426         * sysdeps/nptl/jmp-unwind.c: Likewise.
24427         * sysdeps/nptl/setxid.h: Likewise.
24428         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
24429         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
24430         * sysdeps/unix/sysv/linux/arm/Implies: New file.
24431         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
24432         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
24433         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
24434         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
24435         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
24436         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
24437         * sysdeps/unix/sysv/linux/mips/Implies: New file.
24438         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
24439         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
24440         * sysdeps/unix/sysv/linux/sh/Implies: New file.
24441         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
24442         * sysdeps/unix/sysv/linux/tile/Implies: New file.
24443         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
24444         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
24445         * nptl/Makeconfig: Moved ...
24446         * sysdeps/nptl/Makeconfig: ... here.
24447         * nptl/configure: File removed.
24448         * nptl/ANNOUNCE: File removed.
24449         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
24450         * sysdeps/unix/sysv/linux/configure: Regenerated.
24452         * nptl/Makefile (routines): Add libc_pthread_init,
24453         libc_multiple_threads, register-atfork and unregister-atfork.
24454         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
24455         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
24456         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
24457         pthread-pi-defines.sym, structsem.sym.
24458         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
24459         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
24460         [$(subdir) = nptl] (tests): Add tst-setgetname.
24461         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
24462         * sysdeps/unix/sysv/linux/sigaction.c: Just include
24463         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
24464         [!LIBC_SIGACTION]: Remove aliases.
24465         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24466         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24467         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24468         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
24469         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24470         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
24471         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24472         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24473         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24474         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
24475         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
24476         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
24477         __libc_allocate_rtsig_private.
24478         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
24479         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
24480         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24481         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24482         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
24483         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
24484         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
24485         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
24486         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
24487         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
24488         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
24489         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
24490         * nptl/internaltypes.h: ... here.
24491         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
24492         * sysdeps/nptl/jmp-unwind.c: ... here.
24493         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
24494         * nptl/libc-lowlevellock.c: ... here.
24495         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
24496         * nptl/libc_multiple_threads.c: ... here.
24497         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
24498         * nptl/libc_pthread_init.c: ... here.
24499         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
24500         * nptl/lowlevelbarrier.sym: ... here.
24501         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
24502         * nptl/lowlevelcond.sym: ... here.
24503         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
24504         * nptl/lowlevellock.c: ... here.
24505         * nptl/lowlevellock.h: Moved ...
24506         * sysdeps/nptl/lowlevellock.h: ... here.
24507         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
24508         * nptl/lowlevelrobustlock.c: ... here.
24509         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
24510         * nptl/lowlevelrobustlock.sym: ... here.
24511         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
24512         * nptl/lowlevelrwlock.sym: ... here.
24513         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
24514         * nptl/pt-fork.c: ... here.
24515         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
24516         * nptl/pthread-pi-defines.sym: ... here.
24517         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
24518         * nptl/pthread_attr_getaffinity.c: ... here.
24519         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
24520         * nptl/pthread_attr_setaffinity.c: ... here.
24521         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
24522         * nptl/pthread_mutex_cond_lock.c: ... here.
24523         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24524         Update #include.
24525         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
24526         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
24527         * nptl/pthread_once.c: ... here, replacing old file.
24528         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
24529         * nptl/pthread_yield.c: ... here.
24530         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
24531         * nptl/register-atfork.c: ... here.
24532         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
24533         * nptl/sem_post.c: ... here.
24534         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
24535         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
24536         * nptl/sem_timedwait.c: ... here.
24537         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
24538         * nptl/sem_trywait.c: ... here.
24539         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
24540         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
24541         * nptl/sem_wait.c: ... here.
24542         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
24543         * nptl/structsem.sym: ... here.
24544         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
24545         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
24546         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
24547         * nptl/unregister-atfork.c: ... here.
24548         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
24549         * nptl/unwindbuf.sym: ... here.
24550         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
24551         * sysdeps/nptl/fork.c: ... here.
24552         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
24553         * sysdeps/nptl/fork.h: ... here.
24554         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
24555         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
24556         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
24557         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
24558         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
24559         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
24560         * sysdeps/unix/sysv/linux/getpid.c: ... here.
24561         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
24562         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
24563         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
24564         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
24565         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
24566         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
24567         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
24568         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
24569         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
24570         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
24571         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
24572         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
24573         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
24574         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
24575         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
24576         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
24577         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
24578         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
24579         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
24580         * sysdeps/unix/sysv/linux/raise.c: ... here.
24581         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
24582         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
24583         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
24584         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
24585         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
24586         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
24587         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
24588         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
24589         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
24590         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
24591         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
24592         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
24593         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
24594         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
24595         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
24597 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24599         * sysdeps/generic/memcopy.h: Add comment for
24600         MEMCPY_OK_FOR_FWD_MEMMOVE.
24602 2014-07-04  Will Newton  <will.newton@linaro.org>
24604         * string/memchr.c: Merge from gnulib.
24605         [_LIBC]: Remove conditionals.
24606         (__ptr_t): Remove define.
24607         (LONG_MAX_32_BITS): Likewise.
24608         (LONG_MAX): Likewise.
24609         (MEMCHR): Use ANSI prototype and optimize algorithm.
24611         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24613 2014-07-03  Roland McGrath  <roland@hack.frob.com>
24615         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24616         (lll_futex_timed_wait_bitset): Fix syscall argument count.
24618         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24619         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24620         in a bare environment with no <stdlib.h> installed.
24621         * sysdeps/nptl/configure: Regenerated.
24623         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24625         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24626         AC_EGREP_CPP for kernel header checks, so they only succeed if
24627         including <linux/version.h> actually works right.
24628         * sysdeps/unix/sysv/linux/configure: Regenerated.
24630         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24631         value so it's not diagnosed as unused.
24633         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24634         thing) with "ifeq ($(subdir),rt)".
24636 2014-07-03  Richard Henderson  <rth@redhat.com>
24638         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24639         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24640         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24642         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24643         (math_force_eval): New.
24645         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24646         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24648         * sysdeps/alpha/fpu/s_round.c: Remove file.
24649         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24651         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24652         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24653         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24654         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24655         (_dl_start, print_statistics): Likewise.
24656         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24657         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24659         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24660         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24661         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24662         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24663         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24664         (HP_SMALL_TIMING_AVAIL): Define.
24665         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24666         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24667         (HP_SMALL_TIMING_AVAIL): Define.
24668         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24669         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24671         * sysdeps/aarch64/hp-timing.h: New file.
24673         * sysdeps/generic/hp-timing.h: Remove dead comment.
24674         * sysdeps/generic/hp-timing-common.h: New file.
24675         * sysdeps/alpha/hp-timing.h: Include it.
24676         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24677         * sysdeps/i386/i686/hp-timing.h: Likewise.
24678         * sysdeps/ia64/hp-timing.h: Likewise.
24679         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24680         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24681         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24682         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24683         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24684         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24685         (hp_timing_t): New.
24687         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24688         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24689         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24690         * elf/rtld.c (_dl_start_final): Likewise.
24691         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24692         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24693         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24694         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24695         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24696         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24697         (HP_TIMING_DIFF_INIT): Remove.
24698         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24699         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24700         (HP_TIMING_DIFF_INIT): Remove.
24701         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24702         * sysdeps/i386/i686/hp-timing.c: Remove file.
24703         * sysdeps/x86_64/hp-timing.c: Remove file.
24704         * sysdeps/ia64/hp-timing.c: Remove file.
24705         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24706         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24707         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24708         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24710         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24711         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24712         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24713         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24714         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24715         (HP_TIMING_ACCUM): Remove.
24716         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24717         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24718         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24720         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24721         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24722         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24723         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24724         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24725         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24726         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24727         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24729         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24731 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
24733         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24735 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24737         Sync up with gettext.
24738         * intl/loadmsgcat.c: Define O_BINARY if not defined.
24739         [_MSC_VER]: Include malloc.h
24740         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24741         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24742         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
24743         TEMP_FAILURE_RETRY.  Cast return of alloca.
24744         [!_LIBC] Call gl_rwlock_init.
24745         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24747 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24749         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24750         before checking its value.
24752 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24754         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24756         * debug/memcpy_chk.c: Don't include pagecopy.h.
24757         * debug/mempcpy_chk.c: Likewise.
24758         * string/memcpy.c: Likewise.
24759         * string/memmove.c: Likewise.
24760         * sysdeps/powerpc/memmove.c: Likewise.
24761         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
24762         definition of PAGE_COPY_FWD_MAYBE here...
24763         * sysdeps/generic/pagecopy.h: ... from here.
24764         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
24766 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24767             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24769         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
24770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
24771         optimizations.
24772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24773         (__libc_ifunc_impl_list): Likewise.
24774         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24775         multiarch strcat for PPC64.
24776         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24777         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
24779 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24781         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
24783 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24785         * intl/loadmsgcat.c: Remove declaration of
24786         get_sysdep_segment_value.
24787         (get_sysdep_segment_value): Use ISO C style.
24788         (_nl_load_domain): Use ISO C style.  Get rid of redundant
24789         semicolon.  Fix typo and formatting in comment.
24790         (_nl_unload_domain): Use ISO C style.
24792         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
24794 2014-07-02  Will Newton  <will.newton@linaro.org>
24796         * malloc/obstack.c: Merge from gnulib master.
24797         [HAVE_CONFIG_H]: Remove conditional code.
24798         [!_LIBC]: Include config.h.
24799         [!ELIDE_CODE]: Don't include inttypes.h, include
24800         stdint.h unconditionally.
24801         (print_and_abort): Mark as _Noreturn.
24802         (_obstack_allocated_p): Mark as __attribute_pure__.
24803         (obstack_free): Rename to __obstack_free.
24804         [!__attribute__]: Remove conditional code.
24805         * malloc/obstack.h: Merge from gnulib master.
24806         [__cplusplus]: Move conditional down.
24807         [!__attribute_pure__]: Define __attribute_pure__ here
24808         if it is not already defined.
24809         (_obstack_memory_used): Mark as __attribute_pure__.
24810         [!__obstack_free]: Define as obstack_free.
24811         [__GNUC__]: Remove check for ancient NeXT gcc.
24813 2014-07-02  Will Newton  <will.newton@linaro.org>
24814             Paul Eggert  <eggert@cs.ucla.edu>
24816         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
24818 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24820         * resolv/gethnamaddr.c: Add comment warning that the file is
24821         not maintained.
24823 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
24825         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
24826         entries.
24828         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
24829         entry for aio_cancel and aio_cancel64.
24830         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
24831         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
24832         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
24833         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
24834         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
24835         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24836         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
24837         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
24838         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
24839         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
24840         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
24841         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
24842         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
24844 2014-07-01  Roland McGrath  <roland@hack.frob.com>
24846         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
24847         * nptl/pthread_mutex_lock.c: Likewise.
24848         * nptl/pthread_mutex_timedlock.c: Likewise.
24849         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
24851 2014-07-01  Richard henderson  <rth@redhat.com>
24853         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
24854         (__isnan, __isnanl): Remove.
24855         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
24857         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24859 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24861         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24863 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24865         * resolv/nss_dns/dns-host.c (getanswer_r)
24866         [MULTI_PTRS_ARE_ALIASES]: Remove code.
24868 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
24870         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24871         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
24872         undefine.
24873         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
24874         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
24876 2014-07-01  Roland McGrath <roland@hack.frob.com>
24878         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
24879         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
24881         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
24882         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
24884         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
24885         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
24886         ... here.
24887         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
24888         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
24890         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
24891         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
24892         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
24893         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
24895         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
24896         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
24897         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
24898         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
24899         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
24900         Moved ...
24901         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
24902         ... here.
24903         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
24904         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
24905         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
24906         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
24907         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
24908         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
24909         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
24910         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
24911         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
24912         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
24913         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
24914         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
24915         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
24916         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
24917         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
24918         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
24919         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
24920         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
24921         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
24922         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
24923         ... here.
24924         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
24925         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
24926         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
24927         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
24928         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
24929         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
24930         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
24931         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
24933 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
24935         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
24936         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
24937         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
24938         Add sysdep.
24940 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24944 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24946         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24947         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24949         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24951         * sysdeps/arm/libm-test-ulps: Regenerated.
24953 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24954             Roland McGrath <roland@hack.frob.com>
24956         * test-skeleton.c (signal_handler): Kill the whole process group
24957         before killing the child individually.
24958         (main): Report any failure on `setpgid'.
24960 2014-06-30  Roland McGrath  <roland@hack.frob.com>
24962         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
24963         from _TLS_H to _ARM_NPTL_TLS_H.
24964         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
24965         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
24967 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24969         [BZ #16539]
24970         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
24971         (__expm1l): Return argument unchanged when small but not
24972         subnormal.
24974         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
24975         include macro name.
24976         (_FP_UNPACK_RAW_1_P): Likewise.
24977         (_FP_PACK_RAW_1): Likewise.
24978         (_FP_PACK_RAW_1_P): Likewise.
24979         (_FP_MUL_MEAT_1_wide): Likewise.
24980         (_FP_MUL_MEAT_DW_1_hard): Likewise.
24981         (_FP_MUL_MEAT_1_hard): Likewise.
24982         (_FP_DIV_MEAT_1_imm): Likewise.
24983         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
24984         (_FP_DIV_MEAT_1_udiv): Likewise.
24985         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
24986         (_FP_UNPACK_RAW_2): Likewise.
24987         (_FP_UNPACK_RAW_2_P): Likewise.
24988         (_FP_PACK_RAW_2): Likewise.
24989         (_FP_PACK_RAW_2_P): Likewise.
24990         (_FP_MUL_MEAT_DW_2_wide): Likewise.
24991         (_FP_MUL_MEAT_2_wide): Likewise.
24992         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
24993         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24994         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
24995         (_FP_MUL_MEAT_2_gmp): Likewise.
24996         (_FP_DIV_MEAT_2_udiv): Likewise.
24997         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
24998         (_FP_FRAC_SRL_4): Likewise.
24999         (_FP_FRAC_SRST_4): Likewise.
25000         (_FP_FRAC_SRS_4): Likewise.
25001         (_FP_UNPACK_RAW_4): Likewise.
25002         (_FP_UNPACK_RAW_4_P): Likewise.
25003         (_FP_PACK_RAW_4): Likewise.
25004         (_FP_PACK_RAW_4_P): Likewise.
25005         (_FP_MUL_MEAT_DW_4_wide): Likewise.
25006         (_FP_MUL_MEAT_4_wide): Likewise.
25007         (_FP_MUL_MEAT_4_gmp): Likewise.
25008         (umul_ppppmnnn): Likewise.
25009         (_FP_DIV_MEAT_4_udiv): Likewise.
25010         (__FP_FRAC_ADD_4): Likewise.
25011         (__FP_FRAC_SUB_3): Likewise.
25012         (__FP_FRAC_SUB_4): Likewise.
25013         (__FP_FRAC_DEC_3): Likewise.
25014         (__FP_FRAC_DEC_4): Likewise.
25015         (__FP_FRAC_ADDI_4): Likewise.
25016         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
25017         (_FP_FRAC_SRL_8): Likewise.
25018         (_FP_FRAC_SRS_8): Likewise.
25020         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
25021         include macro name.
25022         (FP_UNPACK_RAW_EP): Likewise.
25023         (FP_PACK_RAW_E): Likewise.
25024         (FP_PACK_RAW_EP): Likewise.
25025         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
25026         (_FP_ISSIGNAN): Likewise.
25027         (_FP_ADD_INTERNAL): Likewise.
25028         (_FP_FMA): Likewise.
25029         (_FP_CMP): Likewise.
25030         (_FP_SQRT): Likewise.
25031         (_FP_TO_INT): Likewise.
25032         (_FP_FROM_INT): Likewise.
25033         (FP_EXTEND): Likewise.
25034         (_FP_DIV_MEAT_N_loop): Likewise.
25036 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25038         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
25039         throughout.
25041 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
25043         [BZ #17097]
25044         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
25045         result with correct sign in case of exponents that produce
25046         overflow except for X very close to 1.
25048 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
25050         mktime: merge #if/#ifdef usage from glibc
25051         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
25052         as that works with both Glibc's and Gnulib's style.
25053         See thread starting at Siddhesh Poyarekar's bug report at:
25054         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
25056 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25058         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
25059         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
25060         * sysdeps/tile/tilegx/memmove.c: Remove file.
25062 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25064         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
25065         abi-name definition.
25066         * scripts/soversions.awk: Do not handle or generate ABI lines.
25067         * shlib-versions: Remove ABI entries.
25068         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
25069         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
25071 2014-06-27  Roland McGrath  <roland@hack.frob.com>
25073         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
25074         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
25075         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
25076         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
25077         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
25078         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
25079         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
25080         Moved ...
25081         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
25082         ... here.
25083         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
25084         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
25085         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
25086         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
25087         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
25088         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
25089         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
25090         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
25091         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
25092         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
25093         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
25094         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
25095         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
25096         Moved ...
25097         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
25098         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
25099         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
25100         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
25101         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
25102         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
25103         Moved ...
25104         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
25105         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
25106         Moved ...
25107         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
25108         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
25109         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
25110         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
25111         Moved ...
25112         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
25113         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
25114         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
25115         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
25116         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
25117         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
25118         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
25119         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
25120         Moved ...
25121         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
25122         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
25123         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
25124         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
25125         Moved ...
25126         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
25127         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
25128         Moved ...
25129         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
25130         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
25131         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
25132         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
25133         Moved ...
25134         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
25135         ... here.
25136         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
25137         Identical file removed.
25138         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
25139         Moved ...
25140         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
25141         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
25142         Identical file removed.
25143         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
25144         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
25145         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
25146         Moved ...
25147         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
25148         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
25149         Identical file removed.
25150         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
25151         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
25152         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
25153         Identical file removed.
25154         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
25155         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
25156         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
25157         Identical file removed.
25158         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
25159         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
25160         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
25161         Identical file removed.
25162         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
25163         Moved ...
25164         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
25165         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
25166         Identical file removed.
25167         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
25168         Moved ...
25169         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
25170         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
25171         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
25172         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
25173         Identical file removed.
25174         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
25175         Moved ...
25176         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
25177         ... here.
25178         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
25179         Identical file removed.
25180         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
25181         Moved ...
25182         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
25183         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
25184         Identical file removed.
25185         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
25186         Moved ...
25187         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
25188         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
25189         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
25190         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
25191         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
25192         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
25193         Moved ...
25194         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
25195         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
25196         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
25198         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
25199         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
25200         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
25201         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
25202         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
25204 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
25206         [BZ #17092]
25207         * nscd/nscd.c (monitor_child): Return exit status of child
25208         instead of return value from wait syscall.
25210 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25212         * configure.ac (libc_commonpagesize): Remove variable.
25213         (libc_relro_required): Likewise.
25214         (libc_cv_z_relro): Remove configure test.
25215         * configure: Regenerated.
25216         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
25217         variable.
25218         (libc_relro_required): Likewise.
25219         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
25220         (libc_relro_required): Likewise.
25221         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
25222         (libc_relro_required): Likewise.
25223         * sysdeps/arm/preconfigure: Regenerated.
25224         * sysdeps/ia64/preconfigure: Remove file.
25225         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
25226         variable.
25227         (libc_relro_required): Likewise.
25229         [BZ #16561]
25230         [BZ #16562]
25231         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
25232         (__ieee754_yn): Set FE_TONEAREST mode internally and then
25233         recompute overflowing results in original rounding mode.
25234         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
25235         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
25236         recompute overflowing results in original rounding mode.
25237         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
25238         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25239         recompute overflowing results in original rounding mode.
25240         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
25241         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25242         recompute overflowing results in original rounding mode.
25243         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
25244         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25245         recompute overflowing results in original rounding mode.
25246         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
25247         (libc_feholdsetround_ctx): New macro.
25248         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
25249         * sysdeps/i386/fpu/libm-test-ulps: Update.
25250         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
25252 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25254         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
25255         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
25256         corresponding .cpsetup call.
25258 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25260         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
25261         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
25262         * sysdeps/arm/Makefile [$(subdir) = csu]
25263         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
25264         (static-only-routines): Add aeabi_read_tp here.
25265         (shared-only-routines): Add libc-aeabi_read_tp here.
25266         (CFLAGS-libc-start.c): Add -fexceptions here.
25267         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
25268         (sysdep_routines, static-only-routines, shared-only-routines):
25269         Don't add to these here.
25270         (CFLAGS-libc-start.c): Likewise.
25272         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
25273         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25274         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
25275         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25276         * sysdeps/arm/Makefile [$(subdir) = rt]
25277         (librt-sysdep_routines, librt-shared-only-routines):
25278         Append rt-aeabi_unwind_cpp_pr1 here.
25279         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
25280         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
25281         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
25282         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25283         Append nptl-aeabi_unwind_cpp_pr1 here.
25284         (tests): Filter out tst-cleanupx4 here.
25285         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
25286         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
25287         Don't do those here.
25289 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25291         * scripts/list-sources.sh: Do not handle ports specially.
25293 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25295         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
25296         * sysdeps/arm/feupdateenv.c: Likewise.
25298         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
25300 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25302         * manual/texinfo.tex: Update to version 2014-05-05.10 with
25303         trailing whitespace removed.
25304         * scripts/config.guess: Update to version 2014-03-23.
25305         * scripts/config.sub: Update to version 2014-05-01
25306         * scripts/install-sh: Update to version 2013-12-25.23.
25307         * scripts/move-if-change: Update from gnulib.
25309 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25311         * debug/memmove_chk.c: Remove pagecopy.h include.
25313 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
25315         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
25316         identical to gnulib mktime.
25318 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25320         * configure.ac: Do not test for machine being rs6000.  Do not test
25321         for powerpc*-*soft.
25322         * configure: Regenerated.
25324         [BZ #11505]
25325         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
25326         test.
25327         * configure: Regenerated.
25328         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
25329         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
25330         Remove configure test.
25331         * sysdeps/arm/configure: Regenerated.
25332         * sysdeps/nptl/configure.ac: Do not check
25333         libc_cv_asm_cfi_directives.
25334         * sysdeps/nptl/configure: Regenerated.
25335         * sysdeps/x86_64/nptl/configure.ac: Remove file.
25336         * sysdeps/x86_64/nptl/configure: Remove generated file.
25337         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
25338         unconditional.
25339         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
25341 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25343         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
25344         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
25345         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
25346         it is defined.
25348         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
25349         instead of whether it is defined.
25350         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
25351         * sysdeps/hppa/dl-machine.h: Likewise.
25352         * sysdeps/ia64/dl-machine.h: Likewise.
25353         * sysdeps/m68k/dl-machine.h: Likewise.
25354         * sysdeps/microblaze/dl-machine.h: Likewise.
25355         * sysdeps/mips/dl-machine.: Likewise.
25356         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25357         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25358         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25359         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25360         * sysdeps/sh/dl-machine.h: Likewise.
25361         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25362         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25363         * sysdeps/tile/dl-machine.h: Likewise.
25364         * sysdeps/x86_64/dl-machine.h: Likewise.
25366         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
25367         code.
25368         (verify_persistent_db): Likewise.
25370 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
25373         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
25374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
25375         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
25376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25377         Moved ...
25378         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
25379         ... here.
25380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
25381         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
25382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
25383         Identical file removed.
25384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
25385         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
25386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
25387         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
25388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
25389         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
25390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
25391         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
25392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
25393         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
25394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25395         Moved ...
25396         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
25397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
25398         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
25399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
25400         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
25401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25402         Moved ...
25403         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
25404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
25405         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
25406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
25407         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
25408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25409         Identical file removed.
25410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
25411         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
25412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
25413         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
25414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25415         Moved ...
25416         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
25417         ... here.
25418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
25419         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
25420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
25421         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
25422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
25423         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
25424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
25425         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
25426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
25427         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
25428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25429         Moved ...
25430         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
25431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
25432         Moved ...
25433         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
25434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
25435         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
25436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25437         Moved ...
25438         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
25439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
25440         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
25442         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
25443         folded into ...
25444         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
25445         * sysdeps/unix/sysv/linux/s390/Versions
25446         (libpthread: GLIBC_2.19): New version set.
25447         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
25448         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
25449         (librt: GLIBC_2.3.3): New version set.
25450         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
25451         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
25452         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
25453         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
25454         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
25455         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
25456         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
25457         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
25458         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
25459         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
25460         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
25461         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
25462         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
25463         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
25464         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
25465         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
25466         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
25467         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
25468         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
25469         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
25470         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
25471         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
25472         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
25473         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
25474         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
25475         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
25476         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
25477         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
25478         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
25479         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
25480         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
25481         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
25482         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
25483         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
25484         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
25485         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
25486         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
25487         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
25488         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
25489         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
25490         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
25491         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
25492         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
25493         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
25494         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
25496         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
25497         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
25498         (__libc_vfork): Define the function under this name.
25499         [!NOT_IN_libc] (__vfork): Make this an alias.
25500         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25501         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
25502         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
25503         (__libc_vfork): Define the function under this name.
25504         [!NOT_IN_libc] (__vfork): Make this an alias.
25505         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25506         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
25507         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
25508         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
25509         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
25510         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25512         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
25513         code that was previously under [RESET_PID].
25514         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
25515         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
25516         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
25518         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
25519         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
25520         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
25521         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
25522         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
25523         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
25524         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
25525         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
25526         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
25527         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
25528         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
25529         Moved ...
25530         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
25531         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
25532         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
25533         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
25534         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
25535         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
25536         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
25537         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
25538         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
25539         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
25540         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
25541         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
25542         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
25543         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
25544         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
25545         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
25546         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
25547         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
25548         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
25549         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
25550         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
25551         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
25552         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
25553         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
25554         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
25555         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
25556         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
25557         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
25558         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
25560 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25562         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
25563         that was previously under [RESET_PID].
25564         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
25566 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25568         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
25569         not undefine and redefine.
25570         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
25571         [O_CLOEXEC]: Make code unconditional.
25572         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
25573         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
25574         <kernel-features.h>.
25575         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
25576         conditional variable definition.
25577         (shm_open) [O_CLOEXEC]: Make code unconditional.
25578         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
25579         code.
25581         * configure.ac (USE_REGPARMS): Don't define here.
25582         * configure: Regenerated.
25583         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
25584         * sysdeps/i386/configure: Regenerated.
25586         * nptl/createthread.c: Don't include kernel-features.h.
25587         * nptl/pthread_cancel.c: Likewise.
25588         * nptl/pthread_condattr_setclock.c: Likewise.
25589         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
25590         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
25591         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
25592         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
25593         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
25594         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
25595         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25596         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
25597         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25598         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
25599         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
25600         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
25601         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
25602         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25603         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25604         * nscd/gai.c: Likewise.
25605         * nss/nss_db/db-open.c: Likewise.
25606         * sysdeps/generic/ldsodefs.h: Likewise.
25607         * sysdeps/sh/nptl/tls.h: Likewise.
25608         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25609         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25610         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25611         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25612         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25613         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25614         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25615         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25616         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25617         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25618         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25619         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25620         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25621         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25622         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25623         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25624         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25625         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25626         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25627         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25628         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25629         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25630         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25631         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25632         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25633         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25634         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25635         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25636         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25637         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25638         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25639         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25640         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25641         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25642         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25643         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25644         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25645         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25646         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25647         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25648         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25649         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25650         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25651         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25652         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25653         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25654         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25655         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25656         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25657         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25658         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25659         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25660         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25661         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25662         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25663         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25664         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25665         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25688         * sysdeps/unix/sysv/linux/pread.c: Likewise.
25689         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25690         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25691         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25692         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25693         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25694         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25695         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25696         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25697         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25698         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25699         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25700         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25701         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25702         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25703         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25704         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25705         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25706         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25707         * sysdeps/unix/sysv/linux/system.c: Likewise.
25708         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25709         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25710         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25711         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25712         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25713         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25714         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25716         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25717         * configure: Regenerated.
25718         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25720         * configure.ac (base_machine): Do not set specially for particular
25721         machines here.
25722         * configure: Regenerated.
25723         * sysdeps/powerpc/preconfigure: Move machine and base_machine
25724         settings from configure.ac.
25725         * sysdeps/i386/preconfigure: New file.
25726         * sysdeps/s390/preconfigure: Likewise.
25727         * sysdeps/sh/preconfigure: Likewise.
25728         * sysdeps/sparc/preconfigure: Likewise.
25730 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25732         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25733         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25734         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25735         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25736         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25737         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25738         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25739         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25740         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25741         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25742         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25743         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25744         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25745         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25746         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25747         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25748         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25749         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25750         * sysdeps/sparc/sparc64/Makefile: ... appended here.
25752         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25753         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25754         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25755         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25756         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25757         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
25758         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
25759         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
25760         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
25761         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
25762         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
25763         * sysdeps/sparc/sparc32/sem_post.c: ... here.
25764         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
25765         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
25766         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
25767         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
25768         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
25769         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
25770         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
25771         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
25772         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
25773         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
25774         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
25775         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
25776         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
25777         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
25778         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
25779         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
25780         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
25781         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
25782         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
25783         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
25784         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
25785         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
25786         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
25787         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
25788         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
25789         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
25791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
25792         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
25793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
25794         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
25795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25796         Moved ...
25797         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
25798         ... here.
25799         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
25800         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
25801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
25802         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
25803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
25804         Moved ...
25805         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
25806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
25807         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
25808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
25809         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
25810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
25811         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
25812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25813         Moved ...
25814         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
25815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25816         Moved ...
25817         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
25818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
25819         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
25820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25821         Moved ...
25822         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
25823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
25824         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
25825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
25826         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
25827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
25828         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
25829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
25830         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
25831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25832         Moved ...
25833         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
25834         ... here.
25835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
25836         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
25837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
25838         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
25839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
25840         Moved ...
25841         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
25842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
25843         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
25844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
25845         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
25846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
25847         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
25848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25849         Moved ...
25850         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
25851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25852         Moved ...
25853         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
25854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
25855         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
25856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25857         Moved ...
25858         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
25859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
25860         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
25861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
25862         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
25864 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25866         * timezone/checktab.awk: Update from tzcode 2014e.
25867         * timezone/private.h: Likewise.
25868         * timezone/tzfile.h: Likewise.
25869         * timezone/zdump.c: Likewise.
25870         * timezone/zic.c: Likewise.
25872         * sysdeps/unix/sysv/linux/kernel-features.h
25873         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
25874         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
25875         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
25876         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25877         Remove conditional code.
25879 2014-06-25  Will Newton  <will.newton@linaro.org>
25881         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
25882         (_dl_arm_cap_flags): Add HWCAP2 values.
25883         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
25884         (_DL_HWCAP_COUNT): Increase to 37.
25885         (_DL_HWCAP_LAST): New define.
25886         (_DL_HWCAP2_LAST): New define.
25887         (_dl_procinfo): Add support for printing
25888         AT_HWCAP2 entries.
25889         (_dl_string_hwcap): Use _dl_hwcap_string.
25891 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25895 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25897         * README: Do not mention ports directory.
25899         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
25900         Remove macro.
25901         * sysdeps/unix/sysv/linux/futimes.c: Do not include
25902         <kernel-features.h>.
25903         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
25904         conditional variable definition.
25905         (__futimes): Update comment.
25906         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
25907         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
25909         [BZ #16560]
25910         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
25911         arguments close to 0.
25912         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
25913         Likewise.
25914         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
25915         Likewise.
25916         * math/auto-libm-test-in: Add more tests of exp10.
25917         * math/auto-libm-test-out: Regenerated.
25918         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25920         * sysdeps/unix/sysv/linux/kernel-features.h
25921         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
25922         * sysdeps/unix/sysv/linux/readv.c: Do not include
25923         <kernel-features.h>.
25924         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25925         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25926         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25927         unconditional.
25928         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25929         conditional code.
25930         * sysdeps/unix/sysv/linux/writev.c: Do not include
25931         <kernel-features.h>.
25932         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25933         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25934         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25935         unconditional.
25936         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25937         conditional code.
25939 2014-06-25  Will Newton  <will.newton@linaro.org>
25941         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25942         comment changes throughout the file.  Remove checks
25943         for HAVE_*_H definitions that are not required.
25944         (__gen_tempname): Call abort if an unknown kind value is
25945         passed.
25947 2014-06-25  Andreas Schwab  <schwab@suse.de>
25949         [BZ #17086]
25950         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
25951         scalbln, scalblnf, scalblnl in libc.
25953 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25955         [BZ #17086]
25956         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
25957         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25958         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25960 2014-06-24  Roland McGrath  <roland@hack.frob.com>
25962         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
25963         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
25964         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
25965         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
25966         Update #include.
25967         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
25968         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
25969         Update #include.
25970         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
25971         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
25972         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
25973         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
25974         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
25975         * sysdeps/x86/bits/pthreadtypes.h: ... here.
25976         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
25977         * sysdeps/x86/bits/semaphore.h: ... here.
25978         * sysdeps/x86/nptl/elide.h: Moved ...
25979         * sysdeps/x86/elide.h: ... here.
25980         * sysdeps/x86_64/nptl/Implies: File removed.
25981         * sysdeps/i386/nptl/Implies: File removed.
25983 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
25985         [BZ #16539]
25986         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
25987         return the argument for normal arguments with exponent below -64.
25988         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25989         Likewise.
25990         * math/auto-libm-test-in: Add another test of expm1.
25991         * math/auto-libm-test-out: Regenerated.
25993         [BZ #16287]
25994         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
25995         calling __erfcl for arguments at least 16.
25996         * math/auto-libm-test-in: Add more tests of erf.
25997         * math/auto-libm-test-out: Regenerated.
25999         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
26000         individual architectures.
26001         * sysdeps/unix/sysv/linux/configure: Regenerated.
26002         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
26003         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
26004         * sysdeps/unix/sysv/linux/powerpc/configure.ac
26005         (ldd_rewrite_script): Define variable.
26006         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
26008         file.
26009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
26010         generated file.
26011         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
26012         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
26013         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
26014         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
26015         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
26016         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
26017         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
26018         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
26020 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26022         [BZ #17084]
26023         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
26024         Rename member __data.d to __data.__elision_data.
26026 2014-06-24  Wilco  <wdijkstr@arm.com>
26028         * NEWS: Add 16918 to fixed bug list.
26030 2014-06-24  Wilco  <wdijkstr@arm.com>
26032         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
26034 2014-06-24  Wilco  <wdijkstr@arm.com>
26036         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
26037         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
26038         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
26039         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
26040         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
26041         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
26042         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
26043         Use _FPU_MASK_RM.
26045 2014-06-24  Wilco  <wdijkstr@arm.com>
26047         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
26049 2014-06-24  Wilco  <wdijkstr@arm.com>
26051         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
26052         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
26053         * sysdeps/arm/fesetround.c (fesetround): Remove space.
26054         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
26056 2014-06-24  Wilco  <wdijkstr@arm.com>
26058         [BZ #16918]
26059         * sysdeps/arm/feupdateenv.c (feupdateenv):
26060         Rewrite to reduce FPSCR accesses and fix return value.
26062 2014-06-24  Wilco  <wdijkstr@arm.com>
26064         * sysdeps/arm/fclrexcpt.c (feclearexcept):
26065         Optimize to avoid unnecessary FPSCR writes.
26066         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
26067         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
26068         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
26069         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
26071 2014-06-24  Wilco  <wdijkstr@arm.com>
26073         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
26074         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
26075         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
26076         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
26077         Call libc_fetestexcept_vfp.
26078         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
26079         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
26080         __SOFTFP__ ifdef so that they can be built for softfp.
26082 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26084         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
26085         argument type signed char.
26087         * Makerules (check-abi): Dump diff of symlist if the test
26088         fails.
26090 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26092         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
26093         using abort.
26095         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26096         Remove unused variable ST.
26098 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26100         [BZ #16354]
26101         [BZ #17061]
26102         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
26103         small arguments before calling __expm1.
26104         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
26105         small arguments before calling __expm1f.
26106         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
26107         small arguments before calling __expm1l.
26108         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26109         Likewise.
26110         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
26111         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
26112         spurious underflow for some cosh tests.
26113         * math/auto-libm-test-out: Regenerated.
26114         * sysdeps/i386/fpu/libm-test-ulps: Update.
26116         [BZ #17050]
26117         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
26118         (__ieee754_y1): Set errno if return value overflows.
26119         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
26120         (__ieee754_y1f): Set errno if return value overflows.
26121         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
26122         (__ieee754_y1l): Set errno if return value overflows.
26123         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
26124         (__ieee754_y1l): Set errno if return value overflows.
26125         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
26126         * math/auto-libm-test-out: Regenerated.
26128         * math/gen-auto-libm-tests.c: Document use of
26129         ignore-zero-inf-sign.
26130         (input_flag_type): Add value flag_ignore_zero_inf_sign.
26131         (input_flags): Add ignore-zero-inf-sign.
26132         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
26133         * math/gen-libm-test.pl (generate_testfile): Handle
26134         ignore-zero-inf-sign.
26135         * math/auto-libm-test-in: Mark some cpow tests with
26136         ignore-zero-inf-sign and some with xfail-rounding.
26137         * math/auto-libm-test-out: Regenerated.
26138         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
26139         * sysdeps/i386/fpu/libm-test-ulps: Update.
26140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26142         [BZ #16315]
26143         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
26144         overflowing or underflowing operations take place with sign of
26145         result.
26146         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26147         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26148         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
26149         (__ieee754_pow): Recompute overflowing and underflowing results in
26150         original rounding mode.
26151         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
26152         (__powl_helper): Allow negative argument X and scale negated value
26153         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
26154         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
26155         overflowing or underflowing operations take place with sign of
26156         result.
26157         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
26158         Include <math.h>.
26159         * math/auto-libm-test-in: Add more tests of pow.
26160         * math/auto-libm-test-out: Regenerated.
26161         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
26162         (pow_tonearest_test_data): Remove.
26163         (pow_test_tonearest): Likewise.
26164         (pow_towardzero_test_data): Likewise.
26165         (pow_test_towardzero): Likewise.
26166         (pow_downward_test_data): Likewise.
26167         (pow_test_downward): Likewise.
26168         (pow_upward_test_data): Likewise.
26169         (pow_test_upward): Likewise.
26170         (main): Don't call removed functions.
26171         * sysdeps/i386/fpu/libm-test-ulps: Update.
26172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26174 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
26177         Moved ...
26178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
26179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26180         Moved ...
26181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
26182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26183         Moved ...
26184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
26185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26186         Moved ...
26187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
26188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26189         File removed.
26190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26191         File removed.
26192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
26193         File removed.
26194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
26195         File removed.
26196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
26197         File removed.
26198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
26199         File removed.
26200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
26201         File removed.
26202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26203         File removed.
26204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
26205         File removed.
26206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26207         File removed.
26208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
26209         File removed.
26210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
26211         File removed.
26212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
26213         Moved ...
26214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
26215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
26216         Moved ...
26217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
26218         ... here.
26219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
26220         Moved ...
26221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
26222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
26223         Moved ...
26224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
26225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
26226         Moved ...
26227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
26228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
26229         Moved ...
26230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
26231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
26232         Moved ...
26233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
26234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
26235         Moved ...
26236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
26237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
26238         Moved ...
26239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
26240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
26241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
26242         ... here.
26243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
26244         Moved ...
26245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
26246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26247         Moved ...
26248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26249         ... here.
26250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
26251         Moved ...
26252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26253         ... here.
26254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26255         Moved ...
26256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26257         ... here.
26258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26259         Moved ...
26260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
26261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26262         Moved ...
26263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
26264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
26265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
26266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26267         Moved ...
26268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
26269         ... here.
26270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26271         Moved ...
26272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
26273         ... here.
26274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26275         Moved ...
26276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
26277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26278         Moved ...
26279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
26280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26281         Moved ...
26282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
26283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26284         Moved ...
26285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
26286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26287         Moved ...
26288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
26289         ... here.
26290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26291         Moved ...
26292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
26293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26294         Moved ...
26295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
26296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26297         Moved ...
26298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
26299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26300         Moved ...
26301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
26302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
26303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
26304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26305         Moved ...
26306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
26307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26308         Moved ...
26309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
26310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26311         Moved ...
26312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
26313         ... here.
26314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26315         Moved ...
26316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
26317         ... here.
26318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26319         Moved ...
26320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
26321         ... here.
26322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26323         Moved ...
26324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
26325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26326         Moved ...
26327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
26328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26329         Moved ...
26330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
26331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26332         Moved ...
26333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
26334         ... here.
26335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26336         Moved ...
26337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
26338         ... here.
26339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26340         Moved ...
26341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
26342         ... here.
26343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26344         Moved ...
26345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
26346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26347         Moved ...
26348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
26350 2014-06-23  Will Newton  <will.newton@linaro.org>
26351             Wilco  <wdijkstr@arm.com>
26353         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
26354         implementation.  Include get-rounding-mode.h.
26355         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
26356         [!libc_feholdsetround_noex_ctx]: Define
26357         libc_feholdsetround_noex_ctx.
26358         [!libc_feholdsetround_noexf_ctx]: Define
26359         libc_feholdsetround_noexf_ctx.
26360         [!libc_feholdsetround_noexl_ctx]: Define
26361         libc_feholdsetround_noexl_ctx.
26362         (libc_feholdsetround_ctx): New function.
26363         (libc_feresetround_ctx): New function.
26364         (libc_feholdsetround_noex_ctx): New function.
26365         (libc_feresetround_noex_ctx): New function.
26367 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26369         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
26370         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
26371         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
26372         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
26373         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
26374         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
26376         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
26377         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
26378         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
26379         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
26380         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
26381         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
26382         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
26383         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
26384         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
26385         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
26386         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
26387         Moved ...
26388         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
26389         ... here.
26390         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
26391         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
26392         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
26393         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
26394         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
26395         Moved ...
26396         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
26397         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
26398         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
26399         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
26400         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
26401         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
26402         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
26403         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
26404         Moved ...
26405         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
26406         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
26407         Moved ...
26408         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
26409         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
26410         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
26411         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
26412         Moved ...
26413         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
26414         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
26415         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
26416         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
26417         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
26418         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
26419         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
26420         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
26421         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
26422         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
26423         Moved ...
26424         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
26425         ... here.
26426         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
26427         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
26428         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
26429         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
26430         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
26431         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
26432         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
26433         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
26434         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
26435         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
26436         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
26437         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
26438         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
26439         Moved ...
26440         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
26441         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
26442         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
26443         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
26444         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
26445         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
26446         Moved ...
26447         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
26448         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
26449         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
26450         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
26451         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
26453         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
26454         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
26455         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
26456         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
26457         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
26458         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
26459         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
26460         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
26461         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
26462         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
26463         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
26464         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
26465         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
26466         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
26467         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
26468         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
26469         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
26470         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
26471         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
26472         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
26473         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
26474         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
26475         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
26476         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
26477         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
26478         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
26479         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
26480         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
26482 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26484         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26485         (FALLOC_FL_COLLAPSE_RANGE): New macro.
26486         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
26487         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
26488         (IPV6_PMTUDISC_INTERFACE): Likewise.
26489         (IPV6_PMTUDISC_OMIT): Likewise.
26491 2014-06-23  Andreas Schwab  <schwab@suse.de>
26493         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
26494         Remove unused errout label.
26496 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26498         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
26499         macro: hardware supports Vector Crypto instructions.
26501 2014-06-23  Will Newton  <will.newton@linaro.org>
26503         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
26504         rather than __builtin_expect.
26506         * elf/dl-lookup.c (undefined_msg): Remove variable.
26507         (_dl_lookup_symbol_x): Replace undefined_msg with string
26508         literal.
26510         * elf/dl-lookup.c (do_lookup_unique): New function.
26511         (do_lookup_x): Move STB_GNU_UNIQUE handling code
26512         to a separate function.
26514 2014-06-23  Andreas Schwab  <schwab@suse.de>
26516         [BZ #17079]
26517         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
26518         before reading the next line.
26520 2014-06-23  Will Newton  <will.newton@linaro.org>
26522         * test-skeleton.c (signal_handler): Use printf and %m
26523         rather than perror.  Use printf rather than fprintf to
26524         stderr.  Use puts rather than fputs to stderr.
26525         (main): Likewise.
26527 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
26529         * nscd/nscd.c (thread_info_t): Remove typedef.
26530         (thread_info): Remove variable.
26532 2014-06-21  Allan McRae  <allan@archlinux.org>
26534         * NEWS: Mention CVE-2014-4043.
26536 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26538         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
26539         * nptl/smp.h: ... here.
26541         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
26543         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
26544         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
26545         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
26546         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
26548         * nptl/allocatestack.c: Include <stack-aliasing.h>.
26549         * nptl/stack-aliasing.h: New file.
26550         * sysdeps/i386/i686/stack-aliasing.h: New file.
26551         * sysdeps/i386/i686/nptl/Makefile: File removed.
26552         * sysdeps/x86_64/stack-aliasing.h: New file.
26553         * sysdeps/x86_64/nptl/Makefile
26554         (CFLAGS-pthread_create.c): Variable removed.
26556         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
26557         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
26558         old file.
26559         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
26560         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
26561         old file.
26563 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
26565         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26566         (__ASSUME_SIGFRAME_V2): Remove macro.
26567         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
26568         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
26569         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
26570         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
26571         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
26572         Declare as function.  Remove conditional macro definitions.
26573         (__default_rt_sa_restorer): Likewise.
26574         (__default_sa_restorer_v1): Remove declaration.
26575         (__default_sa_restorer_v2): Likewise.
26576         (__default_rt_sa_restorer_v1): Likewise.
26577         (__default_rt_sa_restorer_v2): Likewise.
26578         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
26579         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
26580         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
26582 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26584         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
26585         (libpthread-routines): Add sysdep.
26586         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
26587         * sysdeps/unix/sysv/linux/sparc/Versions
26588         (libpthread: GLIBC_2.3.3): New version set.
26589         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
26590         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
26591         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
26592         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
26593         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
26594         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
26595         Moved ...
26596         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
26597         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
26598         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
26599         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
26600         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
26601         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
26602         * sysdeps/sparc/nptl/sem_init.c: ... here.
26603         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26604         * sysdeps/sparc/nptl/sem_post.c: ... here.
26605         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26606         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26607         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26608         * sysdeps/sparc/nptl/sem_wait.c: ... here.
26609         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26610         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26611         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26612         (libpthread-routines): Add cpu_relax.
26613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26614         File removed.
26615         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26616         (librt: GLIBC_2.3.3): New version set.
26617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26618         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26619         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26620         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26623         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26624         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26625         Moved ...
26626         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26627         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26628         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26630         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26631         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26632         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26633         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26634         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26636         Moved ...
26637         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26638         Update #include.
26639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26640         Moved ...
26641         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26642         Update #include.
26643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26644         Moved ...
26645         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26646         Update #include.
26647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26648         Moved ...
26649         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26650         Update #include.
26651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26652         Moved ...
26653         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26654         Update #include.
26655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26656         Moved ...
26657         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26658         Update #include.
26659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26660         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26661         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26662         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26664         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26666         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26668         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26669         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26670         Moved ...
26671         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26673         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26675         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26677 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26679         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26680         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26681         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26682         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26683         * nscd/nscd.c: Likewise.
26684         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26685         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26686         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26687         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26689         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26690         <kernel-features.h>.
26691         (init_mq_netlink): Remove conditional have_sock_cloexec
26692         definitions.  Remove code conditional on have_sock_cloexec < 0.
26693         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26694         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26695         * sysdeps/unix/sysv/linux/opensock.c: Do not include
26696         <kernel-features.h>.
26697         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26698         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26700 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26702         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26703         Add tests for memset_chk and memset.
26705         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26706         with AVX2_Usable.
26708 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26710         [BZ #16046]
26711         * elf/tst-dl-iter-static.c: New file.
26712         * elf/Makefile (tests-static): Add tst-dl-iter-static.
26714         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26715         error.
26717 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26719         * sysdeps/unix/sysv/linux/kernel-features.h
26720         (__ASSUME_F_GETOWN_EX): Remove macro.
26721         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26722         <kernel-features.h>.
26723         (miss_F_GETOWN_EX): Remove variable or macro.
26724         (do_fcntl): Do not check miss_F_GETOWN_EX.
26725         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26727         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26728         Remove macro.
26729         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26730         [!__ASSUME_AT_RANDOM]: Remove conditional code.
26731         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26733         * sysdeps/unix/sysv/linux/kernel-features.h
26734         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26735         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26736         [ADJ_OFFSET_SS_READ]: Make code unconditional.
26737         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26739 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26741         [BZ #17075]
26742         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26743         Fix calculation of the symbol's value.
26744         * sysdeps/arm/tst-armtlsdescloc.c: New file.
26745         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26746         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26747         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26748         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26749         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26750         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26751         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26752         (modules-names): Add `tst-armtlsdescmod',
26753         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26754         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26755         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26756         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26757         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
26758         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26759         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
26760         ($(objpfx)tst-armtlsdescloc): New dependency.
26761         ($(objpfx)tst-armtlsdescextnow): Likewise.
26762         ($(objpfx)tst-armtlsdescextlazy): Likewise.
26763         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
26764         TLS scheme support.
26765         * sysdeps/arm/configure: Regenerate.
26767 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26769         * include/fcntl.h (__atfct_seterrno): Remove prototype.
26770         (__atfct_seterrno_2): Likewise.
26771         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
26772         <kernel-features.h>.
26773         (__ASSUME_ATFCTS): Do not undefine and redefine.
26774         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
26775         (__have_atfcts): Remove conditional definition.
26776         (__fxstatat([__NR_fstatat64]: Make code unconditional.
26777         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
26778         unreachable if [__ASSUME_ATFCTS].
26779         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
26780         not undefine and redefine.
26781         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
26782         <kernel-features.h>.
26783         (faccessat) [__NR_faccessat]: Make code unconditional.
26784         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
26785         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
26786         <kernel-features.h>.
26787         (fchmodat) [__NR_fchmodat]: Make code unconditional.
26788         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26789         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
26790         <kernel-features.h>.
26791         (fchownat) [__NR_fchownat]: Make code unconditional.
26792         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
26793         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
26794         <kernel-features.h>.
26795         (futimesat) [__NR_futimesat]: Make code unconditional.
26796         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
26797         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26798         <kernel-features.h>.
26799         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26800         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26801         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26802         <kernel-features.h>.
26803         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
26804         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26805         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
26806         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26807         <kernel-features.h>.
26808         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
26809         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26810         * sysdeps/unix/sysv/linux/linkat.c: Do not include
26811         <kernel-features.h>.
26812         (linkat) [__NR_linkat]: Make code unconditional.
26813         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26814         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
26815         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
26816         <kernel-features.h>.
26817         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
26818         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26819         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
26820         <kernel-features.h>.
26821         (mkdirat) [__NR_mkdirat]: Make code unconditional.
26822         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
26823         * sysdeps/unix/sysv/linux/openat.c: Do not include
26824         <kernel-features.h>.
26825         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
26826         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
26827         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
26828         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
26829         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
26830         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
26831         <kernel-features.h>.
26832         (readlinkat) [__NR_readlinkat]: Make code unconditional.
26833         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
26834         result of INLINE_SYSCALL directly, not via int variable.
26835         * sysdeps/unix/sysv/linux/renameat.c: Do not include
26836         <kernel-features.h>.
26837         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
26838         (renameat) [__NR_renameat]: Make code unconditional.
26839         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
26840         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
26841         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
26842         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
26843         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
26844         (__ASSUME_ATFCTS): Do not undefine and redefine.
26845         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
26846         <kernel-features.h>.
26847         (symlinkat) [__NR_symlinkat]: Make code unconditional.
26848         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26849         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
26850         <kernel-features.h>.
26851         (unlinkat) [__NR_unlinkat]: Make code unconditional.
26852         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26853         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
26854         (__ASSUME_ATFCTS): Do not undefine and redefine.
26855         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26856         <kernel-features.h>.
26857         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26858         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26859         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26860         <kernel-features.h>.
26861         (__xmknodat) [__NR_mknodat]: Make code unconditional.
26862         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26864 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26866         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
26868 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
26870         [BZ #17069]
26871         * posix/regcomp.c (parse_reg_exp): Deallocate partially
26872         constructed tree before returning error.
26873         * posix/bug-regexp36.c: Expand test case.
26875 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26877         [BZ #6803]
26878         * math/libm-test.inc (scalbln_test_date):
26879         Add errno expectations.
26880         * math/w_scalblnf.c: New File.
26881         Add wrapper which checks for setting errno to ERANGE.
26882         Add weak_alias for corresponding scalbln function.
26883         * math/w_scalbln.c: Likewise.
26884         * math/w_scalblnl.c: Likewise.
26885         * math/Makefile (libm-calls): Add w_scalbln.
26886         * sysdeps/ieee754/flt-32/s_scalblnf.c:
26887         Remove weak_alias for corresponding scalbln function.
26888         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26889         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26890         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26891         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26892         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26893         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26894         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
26895         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26896         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
26897         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
26898         Remove long_double_symbol for scalblnl function in libm, libc.
26899         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
26900         Add wrapper which checks for setting errno to ERANGE.
26901         Add long_double_symbol for scalblnl function in libm, libc.
26902         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
26903         Remove long_double_symbol for scalblnl in libm.
26904         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
26905         Add wrapper which checks for setting errno to ERANGE.
26906         Add long_double_symbol for scalblnl function in libm.
26907         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
26908         Do not use wrapper because of own implementation.
26910 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
26912         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
26913         3 bytes for __pad1 for x32.
26914         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
26916 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
26917             H.J. Lu  <hongjiu.lu@intel.com>
26919         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
26920         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
26921         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26922         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26923         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26925 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
26927         [BZ #17069]
26928         * posix/regcomp.c (parse_expression): Deallocate partially
26929         constructed tree before returning error.
26930         * posix/Makefile.c (tests): Add bug-regex36.
26931         (generated): Add bug-regex36.mtrace.
26932         (tests-special): Add $(objpfx)bug-regex36-mem.out
26933         (bug-regex36-ENV): New variable.
26934         ($(objpfx)bug-regex36-mem.out): New rule.
26935         * posix/bug-regex36.c: New file.
26937 2014-06-19  Will Newton  <will.newton@linaro.org>
26939         * malloc/malloc.c (systrim): If extra is zero then return
26940         early.
26942 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26944         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
26946 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
26948         * sysdeps/aarch64/strchr.S: New file.
26950 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26952         [BZ #17022]
26953         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
26954         from arguments -2 or below.
26955         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26956         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
26958 2014-06-18  Andreas Schwab  <schwab@suse.de>
26960         [BZ #17062]
26961         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
26962         of a bracket expr not to run off the end of the string.
26963         * posix/Makefile (tests): Add tst-fnmatch3.
26964         * posix/tst-fnmatch3.c: New file.
26966 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26968         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
26969         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26970         [$(cross-compiling) = no]: Likewise.
26971         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26972         [$(cross-compiling) = no]: Likewise.
26974 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26976         [BZ #17031]
26977         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
26978         double, adjusted for any remainder from the high double.
26979         * math/libm-test.inc (nearbyint): Add tests.
26980         (rint): Likewise.
26982 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26984         * nptl/sysdeps/powerpc/Makefile: Moved ...
26985         * sysdeps/powerpc/nptl/Makefile: ... here.
26986         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
26987         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
26988         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
26989         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
26990         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
26991         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
26992         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
26993         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
26994         * nptl/sysdeps/powerpc/tls.h: Moved ...
26995         * sysdeps/powerpc/nptl/tls.h: ... here.
26997 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
26999         [BZ #16681]
27000         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
27001         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
27002         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
27003         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
27004         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
27005         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
27006         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
27007         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
27008         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
27010 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
27012         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27014 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
27016         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
27017         defined operator.
27019         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
27020         $TIMEOUTFACTOR.
27022 2014-06-16  Florian Weimer  <fweimer@redhat.com>
27024         [BZ #17058]
27025         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
27026         non-executed part of the test.
27028 2014-06-16  Andreas Schwab  <schwab@suse.de>
27030         * string/bits/string2.h (strdup, strndup): Update feature guard.
27032 2014-06-14  David S. Miller  <davem@davemloft.net>
27034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27036 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
27038         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
27039         that was previously under [RESET_PID].
27040         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
27042         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
27043         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
27044         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
27045         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27046         (__libc_vfork): New strong alias.
27047         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
27049 2014-06-14 Andi Kleen  <ak@linux.intel.com>
27051         * sysdeps/generic/elide.h: New file.
27053 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27055         * Makefile (installed-headers): Adjust path of pthread.h header.
27057 2014-06-13  Roland McGrath  <roland@hack.frob.com>
27059         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
27060         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
27061         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
27062         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
27064         * nptl/sysdeps/s390/Makefile: Moved ...
27065         * sysdeps/s390/nptl/Makefile: ... here.
27066         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
27067         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
27068         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
27069         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
27070         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
27071         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
27072         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
27073         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
27074         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
27075         * sysdeps/s390/nptl/pthreaddef.h: ... here.
27076         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
27077         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
27078         * nptl/sysdeps/s390/tls.h: Moved ...
27079         * sysdeps/s390/nptl/tls.h: ... here.
27081         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
27082         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
27084 2014-06-13  David S. Miller  <davem@davemloft.net>
27086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
27087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
27088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
27089         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
27090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
27091         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
27092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
27093         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
27094         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
27095         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
27096         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
27097         Remove RESET_PID cpp guards.
27098         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
27099         Remove RESET_PID cpp guards.
27100         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
27102 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
27104         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
27105         __sp to uintptr_t.
27107 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27109         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
27110         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
27111         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
27112         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
27113         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
27114         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
27115         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
27116         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
27117         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
27118         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
27119         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
27120         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
27121         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
27122         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
27123         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
27124         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
27125         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
27126         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
27127         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
27128         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
27130         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
27131         (pthread_rwlock_rdlock): Add elision.
27132         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
27133         (pthread_rwlock_wrlock): Add elision.
27134         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
27135         (pthread_rwlock_trywrlock): Add elision.
27136         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
27137         (pthread_rwlock_tryrdlock): Add elision.
27138         * nptl/pthread_rwlock_unlock.c: Include elide.h.
27139         (pthread_rwlock_tryrdlock): Add elision unlock.
27140         * nptl/sysdeps/pthread/pthread.h:
27141         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
27142         (PTHREAD_RWLOCK_INITIALIZER,
27143         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
27144         Handle new elision field.
27145         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
27146         * sysdeps/arm/nptl/bits/pthreadtypes.h
27147         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27148         * sysdeps/sh/nptl/bits/pthreadtypes.h
27149         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27150         * sysdeps/tile/nptl/bits/pthreadtypes.h
27151         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27152         * sysdeps/a/nptl/bits/pthreadtypes.h
27153         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27154         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27155         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27156         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27157         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27158         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
27159         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27160         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27161         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27162         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27163         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27164         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27165         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27166         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27167         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27168         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
27169         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27170         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
27171         (elision_init): Set try_xbegin to zero when no RTM.
27172         * sysdeps/x86/nptl/bits/pthreadtypes.h
27173         (pthread_rwlock_t): Change __pad1 to __rwelision.
27174         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27176 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27178         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
27179         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
27180         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
27181         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
27183 2014-06-13  Meador Inge  <meadori@codesourcery.com>
27185         [BZ #16996]
27186         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
27187         that the cached result has been set before returning it.
27189 2014-06-12  Roland McGrath  <roland@hack.frob.com>
27191         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
27192         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
27193         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
27194         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
27195         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
27196         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
27198         * nptl/sysdeps/sparc/Makefile: Moved ...
27199         * sysdeps/sparc/nptl/Makefile: ... here.
27200         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
27201         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
27202         * nptl/sysdeps/sparc/tls.h: Moved ...
27203         * sysdeps/sparc/nptl/tls.h: ... here.
27204         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
27205         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
27206         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
27207         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
27208         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
27209         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
27210         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
27211         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
27212         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
27213         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
27214         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
27215         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
27216         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
27217         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
27218         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
27219         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
27220         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
27221         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
27222         Update #include.
27223         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
27224         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
27225         Update #include.
27226         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
27227         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
27228         Update #include.
27229         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
27230         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
27231         Update #include.
27233         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27235         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
27236         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
27238         * sysdeps/pthread/posix-timer.h: Include <list.h>.
27239         (struct list_links): Type removed.
27240         (struct thread_node, struct timer_node): Replace struct list_links
27241         with struct list_head.
27242         (list_unlink_ip): Likewise.
27243         * sysdeps/pthread/timer_routines.c
27244         (timer_free_list, thread_free_list, thread_active_list): Likewise.
27245         (list_append, list_insbefore): Likewise.
27246         (list_init): Function removed.
27247         (thread_init, init_module): Use INIT_LIST_HEAD instead.
27248         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
27249         * sysdeps/pthread/Makefile: ... here, new file.
27251         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
27252         * sysdeps/nptl/Implies: ... here.
27253         * sysdeps/unix/sysv/linux/Implies: Add nptl.
27254         * nptl/sysdeps/pthread/list.h: Moved ...
27255         * include/list.h: ... here.
27256         * nptl/sysdeps/pthread/createthread.c: Moved ...
27257         * nptl/createthread.c: ... here.
27258         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
27259         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
27260         * nptl/pt-longjmp.c: ... here.
27261         * nptl/sysdeps/pthread/Makefile: Moved ...
27262         * sysdeps/nptl/Makefile: ... here.
27263         * nptl/sysdeps/pthread/Subdirs: Moved ...
27264         * sysdeps/nptl/Subdirs: ... here.
27265         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
27266         * sysdeps/nptl/aio_misc.h: ... here.
27267         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
27268         * sysdeps/nptl/bits/libc-lock.h: ... here.
27269         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
27270         * sysdeps/nptl/bits/libc-lockP.h: ... here.
27271         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
27272         * sysdeps/nptl/bits/stdio-lock.h: ... here.
27273         * nptl/sysdeps/pthread/configure: Moved ...
27274         * sysdeps/nptl/configure: ... here.
27275         * nptl/sysdeps/pthread/configure.ac: Moved ...
27276         * sysdeps/nptl/configure.ac: ... here.
27277         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
27278         * sysdeps/nptl/gai_misc.h: ... here.
27279         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
27280         * sysdeps/nptl/librt-cancellation.c: ... here.
27281         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
27282         * sysdeps/nptl/malloc-machine.h: ... here.
27283         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
27284         * sysdeps/nptl/pthread-functions.h: ... here.
27285         * nptl/sysdeps/pthread/pthread.h: Moved ...
27286         * sysdeps/nptl/pthread.h: ... here.
27287         * nptl/sysdeps/pthread/setxid.h: Moved ...
27288         * sysdeps/nptl/setxid.h: ... here.
27289         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
27290         * sysdeps/nptl/sigfillset.c: ... here.
27291         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
27292         * sysdeps/nptl/tcb-offsets.h: ... here.
27293         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
27294         * sysdeps/nptl/tst-mqueue8x.c: ... here.
27295         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
27296         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
27297         * nptl/sysdeps/pthread/allocalim.h: Moved ...
27298         * sysdeps/pthread/allocalim.h: ... here.
27299         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
27300         * sysdeps/pthread/bits/sigthread.h: ... here.
27301         * nptl/sysdeps/pthread/flockfile.c: Moved ...
27302         * sysdeps/pthread/flockfile.c: ... here.
27303         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
27304         * sysdeps/pthread/ftrylockfile.c: ... here.
27305         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
27306         * sysdeps/pthread/funlockfile.c: ... here.
27307         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
27308         * sysdeps/pthread/posix-timer.h: ... here.
27309         * nptl/sysdeps/pthread/timer_create.c: Moved ...
27310         * sysdeps/pthread/timer_create.c: ... here.
27311         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
27312         * sysdeps/pthread/timer_delete.c: ... here.
27313         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
27314         * sysdeps/pthread/timer_getoverr.c: ... here.
27315         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
27316         * sysdeps/pthread/timer_gettime.c: ... here.
27317         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
27318         * sysdeps/pthread/timer_routines.c: ... here.
27319         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
27320         * sysdeps/pthread/timer_settime.c: ... here.
27321         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
27322         * sysdeps/pthread/tst-timer.c: ... here.
27323         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
27324         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
27326         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
27327         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
27329         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
27330         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
27331         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
27332         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
27333         Update #include target.
27334         * nptl/sysdeps/i386/i686/Makefile: Moved ...
27335         * sysdeps/i386/i686/nptl/Makefile: ... here.
27336         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
27337         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
27338         Update #include target.
27339         * nptl/sysdeps/i386/i686/tls.h: Moved ...
27340         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
27341         * nptl/sysdeps/i386/Makefile: Moved ...
27342         * sysdeps/i386/nptl/Makefile: ... here.
27343         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
27344         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
27345         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
27346         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
27347         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
27348         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
27349         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
27350         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
27351         * sysdeps/i386/nptl/pthreaddef.h: ... here.
27352         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
27353         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
27354         * nptl/sysdeps/i386/tls.h: Moved ...
27355         * sysdeps/i386/nptl/tls.h: ... here.
27357         * sysdeps/sh/Makefile [$(subdir) = csu]
27358         (gen-as-const-headers): Add tcb-offsets.sym.
27359         * nptl/sysdeps/sh/Makefile: File removed.
27360         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
27361         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
27362         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
27363         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
27364         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
27365         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
27366         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
27367         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
27368         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
27369         * sysdeps/sh/nptl/pthreaddef.h: ... here.
27370         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
27371         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
27372         * nptl/sysdeps/sh/tls.h: Moved ...
27373         * sysdeps/sh/nptl/tls.h: ... here.
27374         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
27375         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
27376         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
27377         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
27378         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
27379         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
27380         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
27381         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
27382         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
27383         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
27384         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
27385         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
27386         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
27387         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
27388         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
27389         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
27390         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
27391         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
27392         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
27393         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
27394         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
27395         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
27396         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
27397         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
27398         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
27399         Moved ...
27400         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
27401         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
27402         Moved ...
27403         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
27404         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
27405         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
27406         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
27407         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
27408         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
27409         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
27410         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
27411         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
27412         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
27413         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
27414         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
27415         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
27416         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
27417         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
27418         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
27419         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
27420         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
27421         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
27423 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27425         * posix/spawn_faction_addopen.c: Include string.h.
27427 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27429         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
27430         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
27431         * nptl/sysdeps/x86_64/Makefile: Moved ...
27432         * sysdeps/x86_64/nptl/Makefile: ... here.
27433         * nptl/sysdeps/x86_64/configure: Moved ...
27434         * sysdeps/x86_64/nptl/configure: ... here.
27435         * nptl/sysdeps/x86_64/configure.ac: Moved ...
27436         * sysdeps/x86_64/nptl/configure.ac: ... here.
27437         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
27438         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
27439         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
27440         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
27441         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
27442         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
27443         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
27444         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
27445         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
27446         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
27447         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
27448         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
27449         * nptl/sysdeps/x86_64/tls.h: Moved ...
27450         * sysdeps/x86_64/nptl/tls.h: ... here.
27451         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
27452         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
27453         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
27454         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
27456         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
27458 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27462 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
27464         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
27465         type.
27466         [POSIX] (off_t): Likewise.
27467         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
27468         [POSIX] (S_ISBLK): Require macro.
27469         [POSIX] (S_ISCHR): Likewise.
27470         [POSIX] (S_ISDIR): Likewise.
27471         [POSIX] (S_ISFIFO): Likewise.
27472         [POSIX] (S_ISREG): Likewise.
27473         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
27474         optional-macro.
27475         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
27476         type.
27477         [POSIX] (time_t): Likewise.
27478         [POSIX] (timer_t): Likewise.
27480 2014-06-11  Florian Weimer  <fweimer@redhat.com>
27482         [BZ #17048]
27483         * posix/spawn_int.h (struct __spawn_action): Make the path string
27484         non-const to support deallocation.
27485         * posix/spawn_faction_addopen.c
27486         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
27487         * posix/spawn_faction_destroy.c
27488         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
27489         path in all spawn_do_open actions.
27490         * posix/tst-spawn.c (do_test): Exercise the copy operation in
27491         posix_spawn_file_actions_addopen.
27493 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
27495         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
27496         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
27497         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
27498         conditional code always true.
27499         (__libc_vfork): New alias.
27501 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27503         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27504         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
27506         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
27508         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27509         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
27511         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27512         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
27514         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27515         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
27517 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27519         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
27520         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
27521         multiarch strcmp for PPC64.
27522         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
27523         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
27524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
27525         multiarch optimizations.
27526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27527         (__libc_ifunc_impl_list): Likewise.
27529 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27531         * benchtests/scripts/validate_benchout.py: New script.
27532         * benchtests/Makefile (bench-func): Call it.
27533         * benchtests/scripts/benchout.schema.json: New file.
27535 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
27537         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
27538         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
27539         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
27540         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
27541         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
27542         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
27543         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
27544         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
27545         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
27546         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
27547         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
27548         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
27549         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
27550         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
27551         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
27552         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
27553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
27554         Moved ...
27555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
27556         ... here.
27557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
27558         Moved ...
27559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
27560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
27561         Moved ...
27562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
27563         ... here.
27564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
27565         Moved ...
27566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
27567         ... here.
27568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
27569         Moved ...
27570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
27571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
27572         Moved ...
27573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
27574         ... here.
27575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
27576         Moved ...
27577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
27578         ... here.
27579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
27580         Moved ...
27581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
27582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
27583         Moved ...
27584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
27585         ... here.
27586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
27587         Moved ...
27588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
27589         ... here.
27590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
27591         Moved ...
27592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
27593         ... here.
27594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
27595         Moved ...
27596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
27597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
27598         Moved ...
27599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
27600         ... here.
27601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
27602         Moved ...
27603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27604         ... here.
27605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27606         Moved ...
27607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27608         ... here.
27609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27610         Moved ...
27611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27613         Moved ...
27614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27615         ... here.
27616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27617         Moved ...
27618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27619         ... here.
27620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27621         Moved ...
27622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27624         Moved ...
27625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27626         ... here.
27627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27628         Moved ...
27629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27631         Moved ...
27632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27634         Moved ...
27635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27636         ... here.
27637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27638         Moved ...
27639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27640         ... here.
27641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27642         Moved ...
27643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27644         ... here.
27645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27646         Moved ...
27647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27649         Moved ...
27650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27651         ... here.
27652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27653         Moved ...
27654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27655         ... here.
27656         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27657         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27658         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27659         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27660         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27661         Moved ...
27662         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27663         ... here.
27664         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27665         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27666         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27667         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27668         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27669         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27670         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27671         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27672         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27673         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27674         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27675         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27676         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27677         Moved ...
27678         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27679         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27680         Moved ...
27681         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27682         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27683         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27684         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27685         Moved ...
27686         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27687         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27688         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27689         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27690         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27691         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27692         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27694 2014-06-10  Wilco  <wdijkstr@arm.com>
27696         * math/test-fenv-return.c: New file.
27697         * math/Makefile: Add new test test-fenv-return.
27699 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
27701         [BZ #17042]
27702         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27703         when x - 1 is zero.
27704         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27705         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27706         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27707         0.0L for an argument of 1.0L.
27708         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27709         Likewise.
27710         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27711         value when x - 1 is zero.
27712         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27713         * sysdeps/i386/fpu/libm-test-ulps: Update.
27714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27716 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
27718         [BZ #15119]
27719         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27721 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27723         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27724         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27726 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27728         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27729         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27731         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27732         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27734         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27735         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27737         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27738         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27740         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27741         if not already defined.
27742         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27743         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27744         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27745         (TLS_INIT_TP): Use it.
27746         (TLS_DEFINE_INIT_TP): New macro.
27747         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27749 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
27751         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27752         constant.
27753         [POSIX] (IXANY): Likewise.
27754         [POSIX] (OLCUC): Likewise.
27755         [POSIX || POSIX2008] (CBAUD): Do not allow.
27756         [POSIX || POSIX2008] (DEFECHO): Likewise.
27757         [POSIX || POSIX2008] (ECHOCTL): Likewise.
27758         [POSIX || POSIX2008] (ECHOKE): Likewise.
27759         [POSIX || POSIX2008] (ECHOPRT): Likewise.
27760         [POSIX || POSIX2008] (EXTA): Likewise.
27761         [POSIX || POSIX2008] (EXTB): Likewise.
27762         [POSIX || POSIX2008] (FLUSHO): Likewise.
27763         [POSIX || POSIX2008] (LOBLK): Likewise.
27764         [POSIX || POSIX2008] (PENDIN): Likewise.
27765         [POSIX || POSIX2008] (SWTCH): Likewise.
27766         [POSIX || POSIX2008] (VDISCARD): Likewise.
27767         [POSIX || POSIX2008] (VDSUSP): Likewise.
27768         [POSIX || POSIX2008] (VLNEXT): Likewise.
27769         [POSIX || POSIX2008] (VREPRINT): Likewise.
27770         [POSIX || POSIX2008] (VSTATUS): Likewise.
27771         [POSIX || POSIX2008] (VWERASE): Likewise.
27772         (B*): Change to B[0123456789]*.
27773         * conform/data/time.h-data [POSIX || UNIX98]
27774         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
27775         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27776         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
27777         [POSIX] (tm_*): Do not allow.
27779 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
27781         * Makefile (install): Don't set LANGUAGE.
27782         * Makefile.in (install): Likewise.
27783         * assert/Makefile (test-assert-ENV): Remove variable.
27784         (test-assert-perr-ENV): Likewise.
27785         * elf/Makefile (neededtest4-ENV): Likewise.
27786         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27787         [$(cross-compiling) = no]: Don't set LANGUAGE.
27788         * io/ftwtest-sh (LANG): Remove variable.
27789         * libio/Makefile (tst-widetext-ENV): Likewise.
27790         * manual/install.texi (Running make install): Don't refer to
27791         environment settings for make install.
27792         * INSTALL: Regenerated.
27793         * nptl/tst-tls6.sh: Don't set LANG.
27794         * posix/globtest.sh (LANG): Remove variable.
27795         * string/Makefile (tester-ENV): Likewise.
27796         (inl-tester-ENV): Likewise.
27797         (noinl-tester-ENV): Likewise.
27798         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27799         [$(cross-compiling) = no]: Don't set LANGUAGE.
27800         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
27801         without explicit environment settings.
27803 2014-06-06  Roland McGrath  <roland@hack.frob.com>
27805         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
27806         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
27807         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
27808         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
27810 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
27812         * crypt/crypt-private.h [DOS]: Add some includes taken from the
27813         other files in the crypt directory.
27814         * crypt/crypt.c: Remove duplicate includes.
27815         * crypt/crypt-entry.c: Likewise.
27816         * crypt/crypt_util.c: Likewise.
27818 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
27820         * Makeconfig (run-program-env): New variable.
27821         (run-program-prefix-before-env): Likewise.
27822         (run-program-prefix-after-env): Likewise.
27823         (run-program-prefix): Define in terms of new variables.
27824         (built-program-cmd-before-env): New variable.
27825         (built-program-cmd-after-env): Likewise.
27826         (built-program-cmd): Define in terms of new variables.
27827         (test-program-prefix-before-env): New variable.
27828         (test-program-prefix-after-env): Likewise.
27829         (test-program-prefix): Define in terms of new variables.
27830         (test-program-cmd-before-env): New variable.
27831         (test-program-cmd-after-env): Likewise.
27832         (test-program-cmd): Define in terms of new variables.
27833         * Rules (make-test-out): Use $(run-program-env).
27834         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
27835         (help): Do not mention environment variables.  Mention
27836         --timeoutfactor option.
27837         (timeoutfactor): New variable.
27838         (blacklist_exports): Remove function.
27839         (exports): Remove variable.
27840         (command): Do not include ${exports}.
27841         * manual/install.texi (Configuring and compiling): Do not mention
27842         test wrappers preserving environment variables.  Mention that last
27843         assignment to a variable must take precedence.
27844         * INSTALL: Regenerated.
27845         * benchtests/Makefile (run-bench): Use $(run-program-env).
27846         * catgets/Makefile ($(objpfx)test1.cat): Use
27847         $(built-program-cmd-before-env), $(run-program-env) and
27848         $(built-program-cmd-after-env).
27849         ($(objpfx)test2.cat): Do not specify environment variables
27850         explicitly.
27851         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
27852         $(run-program-env) and $(built-program-cmd-after-env).
27853         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
27854         $(run-program-env) and $(test-program-cmd-after-env).
27855         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
27856         explicitly.
27857         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
27858         run_program_env and test_program_cmd_after_env arguments.
27859         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
27860         * elf/tst-pathopt.sh: Use run_program_env argument.
27861         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
27862         $(test-wrapper-env) and $(run-program-env).
27863         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
27864         run_program_env arguments.
27865         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
27866         * intl/Makefile ($(objpfx)tst-gettext.out): Use
27867         $(test-program-prefix-before-env), $(run-program-env) and
27868         $(test-program-prefix-after-env).
27869         ($(objpfx)tst-gettext2.out): Likewise.
27870         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
27871         run_program_env and test_program_prefix_after_env arguments.
27872         * intl/tst-gettext2.sh: Likewise.
27873         * intl/tst-gettext4.sh: Do not set environment variables
27874         explicitly.
27875         * intl/tst-gettext6.sh: Likewise.
27876         * intl/tst-translit.sh: Likewise.
27877         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
27878         $(test-program-prefix-before-env), $(run-program-env) and
27879         $(test-program-prefix-after-env).
27880         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
27881         run_program_env and test_program_prefix_after_env arguments.
27882         * math/Makefile (run-regen-ulps): Use $(run-program-env).
27883         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
27884         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
27885         explicitly with each use of ${test_wrapper_env}.
27886         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
27887         $(test-program-prefix-before-env), $(run-program-env) and
27888         $(test-program-prefix-after-env).
27889         * posix/tst-getconf.sh: Do not set environment variables
27890         explicitly.
27891         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
27892         run_program_env and test_program_prefix_after_env arguments.
27893         * stdio-common/tst-printf.sh: Do not set environment variables
27894         explicitly.
27895         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
27896         $(test-program-prefix-before-env), $(run-program-env) and
27897         $(test-program-prefix-after-env).
27898         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
27899         run_program_env and test_program_prefix_after_env arguments.
27900         Split $test calls into $test_pre and $test.
27901         * timezone/Makefile (build-testdata): Use
27902         $(built-program-cmd-before-env), $(run-program-env) and
27903         $(built-program-cmd-after-env).
27905 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27907         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
27908         strlen for non SHARED builds.
27910 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27912         * nptl/allocatestack.c (check_list): Inlined function...
27913         (__reclaim_stacks): ... here.
27915 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27917         [BZ #15698]
27918         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27919         memory overrun.
27921 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
27923         * Rules (make-test-out): Include
27924         LOCPATH=$(common-objpfx)localedata in default environment.
27925         * debug/Makefile (tst-chk1-ENV): Remove variable.
27926         (tst-chk2-ENV): Likewise.
27927         (tst-chk3-ENV): Likewise.
27928         (tst-chk4-ENV): Likewise.
27929         (tst-chk5-ENV): Likewise.
27930         (tst-chk6-ENV): Likewise.
27931         (tst-lfschk1-ENV): Likewise.
27932         (tst-lfschk2-ENV): Likewise.
27933         (tst-lfschk3-ENV): Likewise.
27934         (tst-lfschk4-ENV): Likewise.
27935         (tst-lfschk5-ENV): Likewise.
27936         (tst-lfschk6-ENV): Likewise.
27937         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
27938         (tst-iconv7-ENV): Likewise.
27939         * intl/Makefile (LOCPATH-ENV): Likewise.
27940         (tst-codeset-ENV): Likewise.
27941         (tst-gettext3-ENV): Likewise.
27942         (tst-gettext5-ENV): Likewise.
27943         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
27944         (tst-fopenloc-ENV): Likewise.
27945         (tst-fgetws-ENV): Remove variable.
27946         (tst-ungetwc1-ENV): Likewise.
27947         (tst-ungetwc2-ENV): Likewise.
27948         (bug-ungetwc2-ENV): Likewise.
27949         (tst-swscanf-ENV): Likewise.
27950         (bug-ftell-ENV): Likewise.
27951         (tst-fgetwc-ENV): Likewise.
27952         (tst-fseek-ENV): Likewise.
27953         (tst-ftell-partial-wide-ENV): Likewise.
27954         (tst-ftell-active-handler-ENV): Likewise.
27955         (tst-ftell-append-ENV): Likewise.
27956         * posix/Makefile (tst-fnmatch-ENV): Likewise.
27957         (tst-regexloc-ENV): Likewise.
27958         (bug-regex1-ENV): Likewise.
27959         (tst-regex-ENV): Likewise.
27960         (tst-regex2-ENV): Likewise.
27961         (bug-regex5-ENV): Likewise.
27962         (bug-regex6-ENV): Likewise.
27963         (bug-regex17-ENV): Likewise.
27964         (bug-regex18-ENV): Likewise.
27965         (bug-regex19-ENV): Likewise.
27966         (bug-regex20-ENV): Likewise.
27967         (bug-regex22-ENV): Likewise.
27968         (bug-regex23-ENV): Likewise.
27969         (bug-regex25-ENV): Likewise.
27970         (bug-regex26-ENV): Likewise.
27971         (bug-regex30-ENV): Likewise.
27972         (bug-regex32-ENV): Likewise.
27973         (bug-regex33-ENV): Likewise.
27974         (bug-regex34-ENV): Likewise.
27975         (bug-regex35-ENV): Likewise.
27976         (tst-rxspencer-ENV): Likewise.
27977         (tst-rxspencer-no-utf8-ENV): Likewise.
27978         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
27979         (tst-sscanf-ENV): Likewise.
27980         (tst-swprintf-ENV): Likewise.
27981         (tst-swscanf-ENV): Likewise.
27982         (test-vfprintf-ENV): Likewise.
27983         (scanf13-ENV): Likewise.
27984         (bug14-ENV): Likewise.
27985         (tst-grouping-ENV): Likewise.
27986         * stdlib/Makefile (tst-strtod-ENV): Likewise.
27987         (tst-strtod3-ENV): Likewise.
27988         (tst-strtod4-ENV): Likewise.
27989         (tst-strtod5-ENV): Likewise.
27990         (testmb2-ENV): Likewise./
27991         * string/Makefile (tst-strxfrm-ENV): Likewise.
27992         (tst-strxfrm2-ENV): Likewise.
27993         (bug-strcoll1-ENV): Likewise.
27994         (test-strcasecmp-ENV): Likewise.
27995         (test-strncasecmp-ENV): Likewise.
27996         * time/Makefile (tst-strptime-ENV): Likewise.
27997         (tst-ftime_l-ENV): Likewise.
27998         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
27999         (tst-mbrtowc-ENV): Likewise.
28000         (tst-wcrtomb-ENV): Likewise.
28001         (tst-mbrtowc2-ENV): Likewise.
28002         (tst-c16c32-1-ENV): Likewise.
28003         (tst-mbsnrtowcs-ENV): Likewise.
28005 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28007         * manual/resource.texi (How to get information about the memory
28008         subsystem?): Fix typo.
28009         Reported by Peon de la Parra Ivan <peon@keba.com>
28011 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
28013         [BZ #16882]
28014         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
28015         (pthread_spin_lock): Branch out of spin loop to proper location.
28016         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
28017         (pthread_spin_lock): Likewise.
28019         * nptl/tst-spin4.c: New test.
28020         * nptl/Makefile (tests): Add tst-spin4.
28022 2014-06-03  Andreas Schwab  <schwab@suse.de>
28024         [BZ #15946]
28025         * resolv/res_send.c (send_dg): Reload file descriptor after
28026         calling reopen.
28028 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
28030         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28032 2014-06-03  Richard Henderson  <rth@redhat.com>
28034         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
28035         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
28036         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
28037         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
28038         in the SAVE_PID block.
28039         (__libc_vfork): New alias.
28040         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
28042         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
28043         child in registers, not on the stack.  Remove RESET_PID conditionals.
28044         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
28046 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28048         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28050 2014-06-03  Wilco  <wdijkstr@arm.com>
28052         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
28053         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
28054         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28055         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
28056         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
28057         Likewise.
28059 2014-06-03  Wilco  <wdijkstr@arm.com>
28061         * sysdeps/aarch64/fpu/math_private.h
28062         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
28063         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
28064         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
28065         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28066         Fix declarations.
28068 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28070         * crypt/crypt-private.h: Include ufc-crypt.h.
28071         (__b64_from_24bit): Declare extern.
28072         * crypt/crypt_util.c(__b64_from_24bit): New function.
28073         (b64t): New static const variable.
28074         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
28075         (b64t): Remove variable.
28076         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
28077         * crypt/sha256-crypt.c: Include crypt-private.h.
28078         (b64t): Remove variable.
28079         (__sha256_crypt_r): Remove b64_from_24bit and replace
28080         with __b64_from_24bit.
28081         * crypt/sha512-crypt.c: Likewise.
28083 2014-06-02  Roland McGrath  <roland@hack.frob.com>
28085         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
28086         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
28087         Label the code __libc_vfork rather than __vfork.
28088         [!NOT_IN_libc] (vfork): Define as weak alias.
28089         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
28090         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
28091         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
28093 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28095         * malloc/malloc.c (malloc_info): Fix format specifier for
28096         n_mmaps.
28098 2014-06-02  Wilco  <wdijkstr@arm.com>
28100         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
28101         FPCR write.
28103 2014-06-02  Wilco  <wdijkstr@arm.com>
28105         [BZ #17009]
28106         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
28107         Rewrite to reduce FPCR/FPSR accesses.
28109 2014-06-01  David S. Miller  <davem@davemloft.net>
28111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28113 2014-05-31  David S. Miller  <davem@davemloft.net>
28115         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
28116         to occur in round to nearest mode when |x| >= 2.0
28118 2014-05-30  Richard Henderson  <rth@twiddle.net>
28120         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
28121         (PSEUDO_RET_NOERRNO): Remove.
28122         (ret): Don't redefine.
28123         (ret_NOERRNO): Define in terms of ret.
28124         (ret_ERRVAL): Likewise.
28126         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
28127         use of PSEUDO_RET; perform the error check directly.
28129 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
28131         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
28132         with __int128_t.
28134 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28136         * malloc/malloc (malloc_info): Fix formatting.
28138 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28139             Roland McGrath  <roland@hack.frob.com>
28141         * malloc/malloc (malloc_info): Also print mmapped statistics.
28143 2014-05-30  Roland McGrath  <roland@hack.frob.com>
28145         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
28146         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
28148 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
28150         * malloc/malloc.c (malloc_info): Inline mi_arena.
28152 2014-05-29  Richard Henderson  <rth@twiddle.net>
28154         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
28155         Remove comma before expanding ASM_ARGS_##nr.
28156         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
28157         Make _x0 a strict output; make _x8 a strict input; adjust expansion
28158         of ASM_ARGS_##nr.
28159         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
28160         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
28161         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
28162         (ASM_ARGS_1): Add leading comma.
28164         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
28165         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
28166         to __errno_location.
28167         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
28168         Remove the expected plt for __errno_location.
28170         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28171         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
28172         call to __read_tp.
28174         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28175         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
28176         it and break it down.
28177         (DOCARGS_0, DOCARGS_1): Do nothing.
28178         (DOCARGS_2): Update to store into the new stack frame.
28179         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
28180         (UNDOCARGS_1): Update to restore from the new stack frame.
28181         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
28182         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
28184         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28185         (SINGLE_THREAD_P): New parameter for result regno.
28186         (PSEUDO): Update to match; use cbz instead of beq.
28188         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28189         Use ENTRY to define the _nocancel entry point.  Share the syscall
28190         and syscall error check paths with the cancel path.
28191         (PSEUDO_END): New.
28193         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
28194         whitespace; tabs before and after asm mnemonics.
28196 2014-05-29  Eric Wong  <normalperson@yhbt.net>
28198         [BZ #15132]
28199         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28200         Call fstat64 or stat64 internally, depending on arguments passed.
28201         Replace stat buffer argument with file descriptor argument.
28202         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
28203         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28204         Pass fd to __internal_statvfs instead of calling fstat64.
28205         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
28206         Pass fd to __internal_statvfs64 instead of calling fstat64.
28207         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
28208         Pass -1 to __internal_statvfs instead of calling stat64.
28209         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
28210         Pass -1 to __internal_statvfs64 instead of calling stat64.
28212 2014-05-28  Roland McGrath  <roland@hack.frob.com>
28214         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
28215         that was previously under [RESET_PID].
28216         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
28218         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
28219         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
28221 2014-05-27  Roland McGrath  <roland@hack.frob.com>
28223         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
28225         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
28226         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
28228 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
28230         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
28232 2014-05-27  Andreas Schwab  <schwab@suse.de>
28234         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
28235         TLS_INIT_TP macro.
28236         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
28237         * elf/rtld.c (init_tls, dl_main): Likewise.
28238         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
28239         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
28240         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
28241         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
28242         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
28243         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
28244         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
28245         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
28246         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
28247         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
28248         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
28249         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
28250         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
28251         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
28252         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
28253         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
28254         * sysdeps/generic/tls.h: Update description.
28256 2014-05-27  Will Newton  <will.newton@linaro.org>
28258         [BZ #16990]
28259         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
28260         and restore r2 rather than just restoring.
28262 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28264         [BZ #16724]
28265         * libio/tst-ftell-append.c: New test case.
28266         * libio/Makefile (tests): Add test case.
28267         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
28268         append mode.
28269         * libio/wfileops.c (do_ftell_wide): Likewise.
28271 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28275         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
28276         ...
28277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
28278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28279         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
28280         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
28281         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
28282         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
28283         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
28284         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
28285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28286         Moved ...
28287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
28288         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28289         Moved ...
28290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
28291         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
28292         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
28293         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
28294         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
28295         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
28296         ...
28297         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
28298         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
28299         Moved ...
28300         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
28301         here.
28302         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
28303         ...
28304         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
28305         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
28306         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
28308         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
28309         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
28310         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
28311         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
28313         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
28314         merge into ...
28315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
28316         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
28317         ...
28318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
28319         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
28320         ...
28321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
28322         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28323         Moved ...
28324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
28325         here.
28326         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28327         Moved ...
28328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
28329         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28330         Moved ...
28331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
28333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
28334         conditional [RESET_PID].
28335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
28336         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
28337         removed.
28338         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
28339         removed.
28341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
28342         <tcb-offsets.h>.
28343         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28344         (__libc_vfork): New strong alias.
28345         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
28346         removed.
28347         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
28348         Removed.
28350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
28351         <tcb-offsets.h>.
28352         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
28353         (__libc_vfork): New strong alias.
28354         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
28355         removed.
28356         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
28357         removed.
28359 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
28361         * malloc/malloc.c (mi_arena): New function.
28362         (malloc_info): Remove nested function mi_arena. Call non-nosted
28363         function mi_arena.
28365 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28367         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
28368         by insrwi.
28369         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28370         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28371         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
28372         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
28373         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
28374         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
28375         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
28377 2014-05-26  Andreas Schwab  <schwab@suse.de>
28379         [BZ #16984]
28380         * locale/programs/repertoire.c (repertoire_read): Add slash
28381         between I18NPATH element and file name.
28382         * locale/programs/locfile.c (locfile_read): Likewise.
28384 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28386         * nptl/pthread_mutexattr_settype.c
28387         (__pthread_mutexattr_settype):
28388         Disable lock elision for PTHREAD_MUTEX_NORMAL.
28390 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28392         * nptl/tst-mutex5 (do_test):
28393         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
28395 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28397         * benchtests/README: Document 'init' directive.
28398         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
28399         BENCH_INIT.
28400         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
28401         (parse_file): Recognize 'init' directive.
28403 2014-05-26  Kyle McMartin  <kyle@redhat.com>
28405         [BZ #16796]
28406         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
28407         alignment of struct pthread.
28409 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28411         [BZ #16878]
28412         * nscd/netgroupcache.c (addgetnetgrentX): Look for
28413         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28414         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
28415         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28417 2014-05-25  Richard Henderson  <rth@twiddle.net>
28419         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28420         (SINGLE_THREAD_P_PIC): Remove.
28421         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
28422         (SINGLE_THREAD_P_PIC): Remove.
28424         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
28425         branch to syscall error ...
28426         (PSEUDO): ... here.
28427         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
28428         from __local_syscall_error to .Lsyscall_error.
28429         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
28430         (SYSCALL_ERROR): Update label name.
28432         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28433         Do not use DOARGS/UNDOARGS.
28434         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
28435         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
28436         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
28437         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
28438         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
28440         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
28441         block comment.
28443         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
28444         define if !NOT_IN_libc.
28445         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
28446         define with non-default symbol versions.
28448 2014-05-23  Richard Henderson  <rth@twiddle.net>
28450         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
28451         (vfork, __vfork): Define via compat_symbol.
28453         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
28454         [!HAVE_IFUNC] (vfork_compat): Remove.
28455         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
28457 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28459         [BZ #16978]
28460         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
28461         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
28462         variable.
28464 2014-05-23  Richard Henderson  <rth@twiddle.net>
28466         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
28467         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
28468         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
28469         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
28471         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
28472         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
28473         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
28474         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
28475         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
28476         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
28477         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
28478         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
28479         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
28480         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
28481         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
28482         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
28483         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
28484         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
28485         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
28486         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
28487         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
28488         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
28489         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
28490         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
28491         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
28492         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
28493         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
28494         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
28495         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
28496         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
28497         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
28498         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
28499         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
28500         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
28501         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
28502         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
28503         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
28504         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
28505         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
28506         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
28507         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
28508         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
28509         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
28510         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
28511         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
28512         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
28513         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
28514         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
28515         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
28516         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
28517         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
28518         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
28519         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
28520         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
28521         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
28522         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
28523         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
28524         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
28525         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
28526         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
28528         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
28529         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
28530         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
28531         before exiting on error.
28532         (__libc_vfork): New strong alias.
28533         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
28534         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
28536         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
28537         that was previously under [RESET_PID].
28538         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
28540         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
28542 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28544         [BZ #16977]
28545         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
28546         value when x - 1 is zero.
28547         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
28548         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
28549         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
28550         0.0L for an argument of 1.0L.
28551         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
28552         Likewise.
28553         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
28554         value when x - 1 is zero.
28555         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
28556         * sysdeps/i386/fpu/libm-test-ulps: Update.
28557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28559 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28561         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
28562         alphasort and versionsort.
28564 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28566         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
28567         macro.
28568         [copysignf]: Likewise.
28570 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28572         * crypt/md5-crypt.c: Fix formatting.
28574 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28576         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
28577         (b64_from_24bit): New function.
28579 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28581         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
28582         libc_hidden_builtin_def to ifunc.
28583         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28584         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
28586 2014-05-21  Roland McGrath  <roland@hack.frob.com>
28588         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
28589         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
28591 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
28593         * nscd/Depend (linuxthreads): Remove.
28594         (nptl): Add.
28595         * resolv/Depend (linuxthreads): Remove.
28596         * rt/Depend (linuxthreads): Remove.
28598         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
28599         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
28600         $(common-objpfx)elf/.
28601         (link-libc-before-gnulib): Likewise.
28602         (elfobjdir): Remove variable.
28603         * Makefile (install): Use $(elf-objpfx) instead of
28604         $(common-objpfx)elf/.
28605         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28606         $(elfobjdir)/.
28607         (link-libc-deps): Likewise.
28608         ($(common-objpfx)libc.so): Likewise.
28609         ($(common-objpfx)linkobj/libc.so): Likewise.
28610         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28611         instead of $(common-objpfx)elf/.
28612         (symbolic-link-list): Likewise.
28613         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28614         [$(cross-compiling) = no]: Likewise.
28615         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28616         $(elfobjdir)/.
28617         (static-gnulib-arch): Likewise.
28618         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28619         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28620         $(common-objpfx)elf/.
28622 2014-05-21  Richard Henderson  <rth@redhat.com>
28624         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28625         (SINGLE_THREAD_P): Use the correct width load.  Fold
28626         into the ldr offset.
28628         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28629         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28631 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
28633         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28634         (libgcc_s_resume): Use __attribute_used__.
28635         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28636         Likewise.
28638 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28640         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28641         optimization when used with float constants.
28643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28645 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
28647         [BZ #16915]
28648         * locale/nl_langinfo_l.c: Make direct reference to every
28649         _nl_current_CATEGORY symbol.
28650         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28651         (tests-static): Add tst-langinfo-static.
28652         (tests-special): Add tst-langinfo-static.out.
28653         ($(objpfx)tst-langinfo.out): Redirect output.
28654         ($(objpfx)tst-langinfo-static.out): New.
28655         * localedata/tst-langinfo.sh: Send output to stdout.
28656         * localedata/tst-langinfo-static.c: New file.
28658         [BZ #16965]
28659         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28660         when the shift amount is modulo the limb size.
28662 2014-05-20  Richard Henderson  <rth@redhat.com>
28664         [BZ #16967]
28665         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28666         Change type of sa_flags from unsigned int to int.
28668         [BZ #16966]
28669         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28671         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28673 2014-05-20  Will Newton  <will.newton@linaro.org>
28675         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28676         Test the return value of the system call in the nocancel case.
28678 2014-05-20  Will Newton  <will.newton@linaro.org>
28679             Yvan Roux  <yvan.roux@linaro.org>
28681         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28682         #include of asm/ptrace.h.
28683         (PTRACE_GET_THREAD_AREA): Remove #undef.
28684         (PTRACE_GETHBPREGS): Likewise.
28685         (PTRACE_SETHBPREGS): Likewise.
28686         (struct user_regs_struct): New structure.
28687         (struct user_fpsimd_struct): New structure.
28688         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28689         #include of asm/ptrace.h and second #include of sys/user.h.
28690         (PTRACE_GET_THREAD_AREA): Remove #undef.
28691         (PTRACE_GETHBPREGS): Likewise.
28692         (PTRACE_SETHBPREGS): Likewise.
28693         (ELF_NGREG): Use new struct user_regs_struct.
28694         (elf_fpregset_t): Use new struct user_fpsimd_struct.
28696 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28698         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28699         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28701 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
28703         [BZ #16958]
28704         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28705         membar to avoid block loads/stores to overlap previous stores.
28707 2014-05-17  Richard Henderson  <rth@redhat.com>
28709         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28710         Create the __##syscall_name##_nocancel entry point.
28711         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28712         Remove; let the sysdep-cancel.h code create it.
28714 2014-05-17  David S. Miller  <davem@davemloft.net>
28716         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28717         Protect with __USE_GNU.
28718         (TIOCSET_TEMPT): Likewise.
28719         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28720         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28721         these are already provided in bits/ioctl-types.h
28723 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28725         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28726         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28728         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28729         Use wait4 regardless of [__NR_waitpid].
28731 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28733         PR libgcc/60166
28734         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28735         (_FP_NANSIGN_Q): Set the quiet bit.
28737 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
28739         * benchtests/Makefile
28740         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28741         not $(common-objpfx)math/libm.so.
28742         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28743         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28744         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28745         $(common-objpfx)dlfcn/libdl.so.
28746         ($(objpfx)tst-audit8): Depend on $(libm), not
28747         $(common-objpfx)math/libm.so.
28748         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28749         not $(common-objpfx)dlfcn/libdl.so.
28750         * math/Makefile
28751         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28752         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
28753         [$(build-shared) = yes].
28754         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28755         $(common-objpfx)nptl/libpthread.so.
28756         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28757         $(common-objpfx)math/libm.so$(libm.so-version) or
28758         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
28759         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
28760         $(common-objpfx)dlfcn/libdl.so.
28761         * setjmp/Makefile (link-libm): Remove variable.
28762         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
28763         * stdio-common/Makefile (link-libm): Remove variable.
28764         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
28765         * stdlib/Makefile (link-libm): Remove variable.
28766         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
28767         ($(objpfx)tst-strtod-round): Likewise.
28768         ($(objpfx)tst-tininess): Likewise.
28769         ($(objpfx)tst-strtod-underflow): Likewise.
28770         ($(objpfx)tst-strtod6): Likewise.
28771         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
28772         $(libdl), not $(common-objpfx)nptl/libpthread.so and
28773         $(common-objpfx)dlfcn/libdl.so.
28775 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28777         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
28778         BSD terminal modes definitions.
28780 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28782         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
28783         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
28785         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
28786         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
28787         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
28788         Don't do #include_next.
28789         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
28790         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
28791         Don't do #include_next.
28792         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
28793         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
28794         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
28795         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
28797 2014-05-16  Allan McRae  <allan@archlinux.org>
28799         * po/sv.po: Update Swedish translation from translation project.
28801         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
28802         in sed expression.
28804 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
28806         [BZ #16917]
28807         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
28808         errno if the TIOCGPTN ioctl fails with an error different than
28809         EINVAL.
28810         * login/tst-ptsname.c: New file.
28811         * login/Makefile (tests): Add tst-ptsname.
28813         [BZ #16943]
28814         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
28815         and prlimit64.
28817 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28819         [BZ #16849]
28820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
28821         herrno to return EAI_AGAIN.
28823 2014-05-14  Roland McGrath  <roland@hack.frob.com>
28825         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28826         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
28827         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
28828         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
28829         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
28830         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
28831         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
28832         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
28833         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
28834         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
28835         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
28836         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
28837         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
28838         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
28839         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
28840         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
28841         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
28842         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
28843         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
28844         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
28845         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
28846         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
28847         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
28848         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
28849         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
28850         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
28851         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
28852         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
28853         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
28854         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
28855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
28856         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
28857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
28858         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
28859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28860         Moved ...
28861         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
28862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
28863         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
28864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
28865         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
28866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
28867         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
28868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
28869         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
28870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
28871         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
28872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
28873         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
28874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
28875         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
28876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
28877         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
28878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
28879         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
28880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
28881         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
28882         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
28883         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
28884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
28885         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
28886         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
28887         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
28888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28889         Moved ...
28890         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
28891         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
28892         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
28893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
28894         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
28895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
28896         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
28897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
28898         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
28899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
28900         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
28901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
28902         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
28903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
28904         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
28905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
28906         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
28907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
28908         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
28909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28910         Moved ...
28911         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
28912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
28913         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
28915         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
28916         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
28917         (libpthread-sysdep_routines): Add elision-related stuff here instead.
28918         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
28919         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
28920         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
28921         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
28922         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
28923         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
28924         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
28925         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
28926         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
28927         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
28928         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
28929         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
28930         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
28931         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
28932         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
28933         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
28934         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
28935         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
28936         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
28937         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
28938         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
28939         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
28940         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
28941         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
28942         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
28943         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
28944         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
28945         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
28947         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
28948         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
28950         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
28951         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
28952         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
28953         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
28954         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
28955         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
28956         Moved ...
28957         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
28958         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28959         Moved ...
28960         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
28961         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28962         Moved ...
28963         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
28964         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
28965         Moved ...
28966         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
28967         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
28968         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
28969         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28970         Moved ...
28971         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
28972         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
28973         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
28974         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
28975         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
28976         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
28977         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
28978         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28979         Moved ...
28980         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
28981         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28982         Moved ...
28983         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28984         ... here.
28985         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
28986         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
28987         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
28988         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
28989         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28990         Moved ...
28991         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28992         ... here.
28993         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
28994         Moved ...
28995         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
28996         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
28997         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
28998         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
28999         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
29000         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
29001         Moved ...
29002         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
29003         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29004         Moved ...
29005         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
29006         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29007         Moved ...
29008         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
29009         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
29010         Moved ...
29011         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
29012         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
29013         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
29014         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
29015         Moved ...
29016         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
29017         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
29018         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
29019         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
29020         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
29021         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
29022         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
29023         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29024         Moved ...
29025         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
29026         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29027         Moved ...
29028         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29029         ... here.
29030         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
29031         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
29032         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
29033         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
29034         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29035         Moved ...
29036         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29037         ... here.
29038         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
29039         Moved ...
29040         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
29041         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
29042         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
29043         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
29044         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
29045         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
29046         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
29047         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
29048         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
29049         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
29050         Moved ...
29051         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
29052         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29053         Moved ...
29054         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
29055         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29056         Moved ...
29057         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
29058         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
29059         Moved ...
29060         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
29061         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
29062         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
29063         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
29064         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
29065         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29066         Moved ...
29067         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
29068         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
29069         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
29070         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
29071         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
29072         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
29073         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
29074         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29075         Moved ...
29076         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
29077         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29078         Moved ...
29079         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29080         ... here.
29081         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
29082         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
29083         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
29084         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
29085         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29086         Moved ...
29087         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29088         ... here.
29089         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
29090         Moved ...
29091         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
29092         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
29093         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
29094         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
29095         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
29096         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
29097         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
29098         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
29099         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
29100         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
29101         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
29103         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
29104         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
29106         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
29107         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
29109         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
29110         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
29111         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
29112         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
29113         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
29114         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
29115         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
29116         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
29117         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
29118         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
29119         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
29120         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
29121         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
29122         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
29123         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
29124         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
29125         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
29126         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
29127         Moved ...
29128         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
29129         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
29130         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
29131         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
29132         Moved ...
29133         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
29134         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
29135         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
29136         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
29137         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
29138         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
29139         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
29140         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
29141         Moved ...
29142         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
29143         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
29144         Moved ...
29145         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
29146         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
29147         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
29148         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
29149         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
29150         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
29151         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
29152         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
29153         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
29154         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
29155         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
29156         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
29157         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
29158         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
29159         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
29160         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
29161         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
29163         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
29164         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
29165         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
29166         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
29167         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
29169         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
29170         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
29171         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
29172         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
29173         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
29174         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
29175         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
29176         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
29177         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
29178         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
29180         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
29181         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
29183         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
29184         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
29185         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
29186         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
29187         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
29188         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
29189         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
29190         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
29191         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
29192         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
29193         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
29194         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
29195         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
29196         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
29197         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
29198         Update #include.
29199         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
29200         Likewise.
29201         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29202         Likewise.
29203         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29204         Likewise.
29205         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29206         Likewise.
29207         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
29208         Likewise.
29209         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
29210         Likewise.
29211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29212         Likewise.
29213         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
29214         Likewise.
29215         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
29216         Likewise.
29217         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
29218         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
29219         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
29220         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
29221         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
29222         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
29223         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
29224         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
29225         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
29226         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
29227         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
29228         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
29229         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
29230         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
29231         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
29233         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
29234         that was previously under [RESET_PID].
29235         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29236         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
29237         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
29239         * sysdeps/i386/nptl/Implies: New file.
29240         * sysdeps/x86_64/nptl/Implies: New file.
29241         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
29242         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
29243         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
29244         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
29246         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
29247         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29248         (__libc_vfork): New strong alias.
29249         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
29250         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
29252         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
29253         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29254         (__libc_vfork): New strong alias.
29255         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
29256         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
29258         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
29259         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29260         (__libc_vfork): New strong alias.
29261         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
29262         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
29263         * nptl/pt-vfork.c: New file.
29264         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
29265         (libpthread: GLIBC_2.20): New version set (empty).
29267 2014-05-14  Will Newton  <will.newton@linaro.org>
29269         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
29270         rather than #if.
29272 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29274         [BZ #16564]
29275         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
29276         arguments with exponent 65 or above.
29277         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
29278         arguments 0x1p113L or above.
29279         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
29280         to arguments 0x1p107L or above.
29281         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
29282         positive arguments with exponent 65 or above.
29283         * math/auto-libm-test-in: Add more tests of log1p.
29284         * math/auto-libm-test-out: Regenerated.
29286         [BZ #16928]
29287         * math/s_cacos.c (__cacos): Ensure zero real part of result from
29288         non-finite arguments is +0.
29289         * math/s_cacosf.c (__cacosf): Likewise.
29290         * math/s_cacosl.c (__cacosl): Likewise.
29291         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
29292         * sysdeps/i386/fpu/libm-test-ulps: Update.
29293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29295         [BZ #16927]
29296         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
29297         value.
29298         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29299         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
29300         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
29301         for explicit high bit of mantissa when testing for argument equal
29302         to 1.
29303         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
29304         * sysdeps/i386/fpu/libm-test-ulps: Update.
29305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29307         [BZ #16516]
29308         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
29309         (__erf): Scale by 16 instead of 8 in potentially underflowing
29310         case.  Ensure exception if result actually underflows.
29311         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
29312         (__erff): Scale by 16 instead of 8 in potentially underflowing
29313         case.  Ensure exception if result actually underflows.
29314         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
29315         (efx8): Remove variable.
29316         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29317         case.  Ensure exception if result actually underflows.
29318         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
29319         (efx8): Remove variable.
29320         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29321         case.  Ensure exception if result actually underflows.
29322         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
29323         (efx8): Remove variable.
29324         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29325         case.  Ensure exception if result actually underflows.
29326         * math/auto-libm-test-in: Add more tests of erf.
29327         * math/auto-libm-test-out: Regenerated.
29329 2014-05-14  Andreas Schwab  <schwab@suse.de>
29331         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
29332         Remove code conditionalized on USE___THREAD.
29334         * config.h.in (HAVE_PT_CHOWN): Define as 0.
29335         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
29336         not definedness.
29338 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29340         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
29341         Define unconditionally.
29342         (__ASSUME_O_CLOEXEC): Likewise.
29343         (__ASSUME_SOCK_CLOEXEC): Likewise.
29344         (__ASSUME_IN_NONBLOCK): Likewise.
29345         (__ASSUME_PIPE2): Likewise.
29346         (__ASSUME_EVENTFD2): Likewise.
29347         (__ASSUME_SIGNALFD4): Likewise.
29348         (__ASSUME_DUP3): Likewise.
29349         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29350         (__ASSUME_DUP3): Do not define.
29351         (__ASSUME_EVENTFD2): Likewise.
29352         (__ASSUME_IN_NONBLOCK): Likewise.
29353         (__ASSUME_O_CLOEXEC): Likewise.
29354         (__ASSUME_PIPE2): Likewise.
29355         (__ASSUME_SIGNALFD4): Likewise.
29356         (__ASSUME_SOCK_CLOEXEC): Likewise.
29357         (__ASSUME_UTIMES): Undefine.
29358         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29359         (__ASSUME_UTIMES): Do not define.
29360         (__ASSUME_O_CLOEXEC): Likewise.
29361         (__ASSUME_SOCK_CLOEXEC): Likewise.
29362         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
29363         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
29364         0x020621].
29365         (__ASSUME_PIPE2): Likewise.
29366         (__ASSUME_EVENTFD2): Likewise.
29367         (__ASSUME_SIGNALFD4): Likewise.
29368         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
29369         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
29370         Do not define.
29371         (__ASSUME_EVENTFD2): Likewise.
29372         (__ASSUME_SIGNALFD4): Likewise.
29373         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29374         (__ASSUME_32BITUIDS): Likewise.
29375         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29376         (__ASSUME_IPC64): Likewise.
29377         (__ASSUME_ST_INO_64_BIT): Likewise.
29378         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
29379         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
29380         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29381         (__ASSUME_UTIMES): Do not define.
29382         (__ASSUME_PSELECT): Likewise.
29383         (__ASSUME_PPOLL): Likewise.
29384         (__ASSUME_O_CLOEXEC): Likewise.
29385         (__ASSUME_SOCK_CLOEXEC): Likewise.
29386         (__ASSUME_IN_NONBLOCK): Likewise.
29387         (__ASSUME_PIPE2): Likewise.
29388         (__ASSUME_EVENTFD2): Likewise.
29389         (__ASSUME_SIGNALFD4): Likewise.
29390         (__ASSUME_DUP3): Likewise.
29391         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29392         (__ASSUME_UTIMES): Likewise.
29393         (__ASSUME_O_CLOEXEC): Likewise.
29394         (__ASSUME_SOCK_CLOEXEC): Likewise.
29395         (__ASSUME_IN_NONBLOCK): Likewise.
29396         (__ASSUME_PIPE2): Likewise.
29397         (__ASSUME_EVENTFD2): Likewise.
29398         (__ASSUME_SIGNALFD4): Likewise.
29399         (__ASSUME_DUP3): Likewise.
29400         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29401         (__ASSUME_UTIMES): Likewise.
29402         (__ASSUME_O_CLOEXEC): Likewise.
29403         (__ASSUME_SOCK_CLOEXEC): Likewise.
29404         (__ASSUME_IN_NONBLOCK): Likewise.
29405         (__ASSUME_PIPE2): Likewise.
29406         (__ASSUME_EVENTFD2): Likewise.
29407         (__ASSUME_SIGNALFD4): Likewise.
29408         (__ASSUME_DUP3): Likewise.
29409         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
29410         Likewise.
29411         (__ASSUME_UTIMES): Likewise.
29412         (__ASSUME_EVENTFD2): Likewise.
29413         (__ASSUME_SIGNALFD4): Likewise.
29414         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29415         (__ASSUME_O_CLOEXEC): Likewise.
29416         (__ASSUME_SOCK_CLOEXEC): Likewise.
29417         (__ASSUME_IN_NONBLOCK): Likewise.
29418         (__ASSUME_PIPE2): Likewise.
29419         (__ASSUME_EVENTFD2): Likewise.
29420         (__ASSUME_SIGNALFD4): Likewise.
29421         (__ASSUME_DUP3): Likewise.
29422         (__ASSUME_UTIMES): Undefine.
29424         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
29425         feclearexcept.  Remove symbol versioning code.
29426         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
29427         symbol versioning code.
29428         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
29429         symbol versioning code.
29430         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
29431         feupdateenv.  Remove symbol versioning code.
29432         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
29433         fegetexceptflag.  Remove symbol versioning code.
29434         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
29435         fesetexceptflag.  Remove symbol versioning code.
29436         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
29437         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
29438         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
29439         (__posix_fadvise64_l32): Remove prototype.
29440         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
29441         code.
29443 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29445         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
29446         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
29447         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
29448         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
29450 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
29452         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
29453         current working directory
29455 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29457         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
29458         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
29459         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
29460         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
29461         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
29462         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
29463         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
29464         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
29465         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
29466         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
29467         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
29468         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
29469         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
29470         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
29471         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
29472         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
29473         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
29474         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
29475         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
29476         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
29477         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
29478         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
29479         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
29480         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
29481         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
29482         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
29483         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
29484         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
29485         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
29486         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
29487         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
29488         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
29489         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
29490         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
29491         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
29492         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
29493         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
29494         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
29495         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
29496         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
29497         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
29498         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
29500         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
29501         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
29503         * sysdeps/unix/sysv/linux/arm/Makefile
29504         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29505         Add rt-aeabi_unwind_cpp_pr1.
29506         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
29507         Add nptl-aeabi_unwind_cpp_pr1.
29508         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
29509         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
29510         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
29511         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29512         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
29513         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29515         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
29516         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
29517         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
29518         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
29520         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
29521         Deconditionalize the code that was previously under [RESET_PID].
29522         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
29524         * sysdeps/generic/exit-thread.h: New file.
29525         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
29526         * include/unistd.h (__exit_thread): Remove declaration.
29527         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
29528         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
29529         * csu/libc-start.c: Include <exit-thread.h>.
29530         (LIBC_START_MAIN): Pass no argument to __exit_thread.
29531         * nptl/pthread_create.c: Include <exit-thread.h>.
29532         (start_thread): Call __exit_thread in place of __exit_thread_inline.
29533         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
29534         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
29535         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
29536         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
29537         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
29538         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
29539         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
29540         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
29541         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
29542         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
29543         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
29544         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
29545         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
29546         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
29547         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
29548         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
29550 2014-05-13  Andreas Schwab  <schwab@suse.de>
29552         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
29554 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
29556         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29557         (__ASSUME_UTIMES): Do not condition on kernel version.
29558         (__ASSUME_PSELECT): Define unconditionally.
29559         (__ASSUME_PPOLL): Likewise.
29560         (__ASSUME_ATFCTS): Likewise.
29561         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
29562         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
29563         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
29564         (__ASSUME_UTIMENSAT): Define unconditionally.
29565         (__ASSUME_PRIVATE_FUTEX): Likewise.
29566         (__ASSUME_FALLOCATE): Likewise.
29567         (__ASSUME_O_CLOEXEC): Likewise.
29568         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
29569         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
29570         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
29571         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
29572         (__ASSUME_IN_NONBLOCK): Likewise.
29573         (__ASSUME_PIPE2): Likewise.
29574         (__ASSUME_EVENTFD2): Likewise.
29575         (__ASSUME_SIGNALFD4): Likewise.
29576         (__ASSUME_DUP3): Likewise.
29577         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29578         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
29579         (__ASSUME_AT_RANDOM): Likewise.
29580         (__ASSUME_PREADV): Likewise.
29581         (__ASSUME_PWRITEV): Likewise.
29582         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
29583         (__ASSUME_F_GETOWN_EX): Define unconditionally.
29584         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
29585         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29586         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
29587         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29588         (__ASSUME_O_CLOEXEC): Define unconditionally.
29589         (__ASSUME_PSELECT): Do not undefine conditionally.
29590         (__ASSUME_PPOLL): Likewise.
29591         (__ASSUME_ATFCTS): Likewise.
29592         (__ASSUME_SET_ROBUST_LIST): Likewise.
29593         (__ASSUME_UTIMENSAT): Likewise.
29594         (__ASSUME_FDATASYNC): Define unconditionally.
29595         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29596         (__ASSUME_SIGFRAME_V2): Likewise.
29597         )__ASSUME_EVENTFD2): Likewise.
29598         (__ASSUME_SIGNALFD4): Likewise.
29599         (__ASSUME_PSELECT): Do not undefine conditionally.
29600         (__ASSUME_PPOLL): Likewise.
29601         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29602         (__ASSUME_PSELECT): Define unconditionally.
29603         (__ASSUME_PPOLL): Likewise.
29604         (__ASSUME_O_CLOEXEC): Likewise.
29605         (__ASSUME_SOCK_CLOEXEC): Likewise.
29606         (__ASSUME_IN_NONBLOCK): Likewise.
29607         (__ASSUME_PIPE2): Likewise.
29608         (__ASSUME_EVENTFD2): Likewise.
29609         (__ASSUME_SIGNALFD4): Likewise.
29610         (__ASSUME_DUP3): Likewise.
29611         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29612         (__ASSUME_O_CLOEXEC): Likewise.
29613         (__ASSUME_SOCK_CLOEXEC): Likewise.
29614         (__ASSUME_IN_NONBLOCK): Likewise.
29615         (__ASSUME_PIPE2): Likewise.
29616         (__ASSUME_EVENTFD2): Likewise.
29617         (__ASSUME_SIGNALFD4): Likewise.
29618         (__ASSUME_DUP3): Likewise.
29619         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29620         (__ASSUME_EVENTFD2): Likewise.
29621         (__ASSUME_SIGNALFD4): Likewise.
29622         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29624 2014-05-12  Andreas Schwab  <schwab@suse.de>
29626         [BZ #16932]
29627         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29628         (_nss_nis_gethostbyname4_r): Return error if item length is larger
29629         than maximum RPC packet size.
29630         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29631         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29632         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29633         (_nss_nis_getservbyport_r): Likewise.
29635 2014-05-12  Will Newton  <will.newton@linaro.org>
29637         * malloc/Makefile (tests): Add tst-mallopt.
29638         * malloc/tst-mallopt.c: New file.
29640 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29642         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29643         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29645 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29647         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29648         (tst-tlsmod6.so): Likewise.
29650 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29652         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29654 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
29656         [BZ #16064]
29657         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29658         and <dl-procinfo.h>.
29659         (__fegetenv): Save SSE state in envp->__eip if supported.
29660         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29661         envp->__eip if supported.
29662         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29663         and <dl-procinfo.h>.
29664         (__fesetenv): Always set __eip, __cs_selector, __opcode,
29665         __data_offset and __data_selector in environment to 0.  Set SSE
29666         state if supported.
29667         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29668         test-fenv-sse.
29669         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29670         -mfpmath=sse.
29671         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29673 2014-05-09  Will Newton  <will.newton@linaro.org>
29675         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29676         and libc_relro_required for ARM.
29677         * sysdeps/arm/preconfigure: Regenerate.
29679 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
29680             Stefan Liebler  <stli@linux.vnet.ibm.com>
29682         * config.make.in (enable-lock-elision): New Makefile variable.
29683         * configure.ac: Likewise.
29684         * configure: Regenerate.
29685         * sysdeps/s390/configure.ac:
29686         Add check for gcc transactions support.
29687         * sysdeps/s390/configure: Regenerate.
29688         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29689         Build elision files if enabled.
29690         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29691         Add lock elision support for s390.
29692         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29693         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29694         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29695         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29696         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29697         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29698         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29699         Likewise.
29700         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29701         Likewise.
29702         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29703         Likewise.
29704         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29705         Likewise.
29706         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29707         (__lll_timedlock_elision, __lll_lock_elision)
29708         (__lll_unlock_elision, __lll_trylock_elision)
29709         (lll_timedlock_elision, lll_lock_elision)
29710         (lll_unlock_elision, lll_trylock_elision): Add.
29711         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29712         (pthread_mutex_t): Add lock elision support for s390.
29714 2014-05-14  Wilco  <wdijkstr@arm.com>
29716         * sysdeps/arm/fclrexcpt.c: Cleanup.
29717         * sysdeps/arm/fedisblxcpt.c: Cleanup.
29718         * sysdeps/arm/feenablxcpt.c: Cleanup.
29719         * sysdeps/arm/fegetenv.c: Cleanup.
29720         * sysdeps/arm/fegetexcept.c: Cleanup.
29721         * sysdeps/arm/fegetround.c: Cleanup.
29722         * sysdeps/arm/feholdexcpt.c: Cleanup.
29723         * sysdeps/arm/fesetenv.c: Cleanup.
29724         * sysdeps/arm/fesetround.c: Cleanup.
29725         * sysdeps/arm/feupdateenv.c: Cleanup.
29726         * sysdeps/arm/fgetexcptflg.c: Cleanup.
29727         * sysdeps/arm/fraiseexcpt.c: Cleanup.
29728         * sysdeps/arm/fsetexcptflg.c: Cleanup.
29729         * sysdeps/arm/ftestexcept.c: Cleanup.
29730         * sysdeps/arm/get-rounding-mode.h: Cleanup.
29731         * sysdeps/arm/setfpucw.c: Cleanup.
29733 2014-05-09  Will Newton  <will.newton@linaro.org>
29735         * sysdeps/arm/armv7/strcmp.S: New file.
29736         * NEWS: Mention addition of ARMv7 optimized strcmp.
29738 2014-05-08  Roland McGrath  <roland@hack.frob.com>
29740         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29741         look for %.ac rather than %.in.
29743         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29744         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29745         * sysdeps/mach/hurd/configure: Regenerated.
29746         * sysdeps/unix/sysv/linux/configure: Regenerated.
29748         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29750 2014-05-07  Steve Ellcey  <sellcey@mips.com>
29752         [BZ# 16922]
29753         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29754         (LONG_SUB): Ditto.
29755         (PTR_SUB): Ditto.
29757 2014-05-07  Andreas Schwab  <schwab@suse.de>
29759         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
29760         when skipping over non-matching result from nscd.
29762 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
29764         [BZ #16876]
29765         * nptl/sockperf.c (client): Check socket return value.
29767         [BZ #16877]
29768         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
29769         nscd security class.
29771 2014-05-06  Roland McGrath  <roland@hack.frob.com>
29773         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29774         * sysdeps/arm/unwind.h: ... here.
29776 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
29778         [BZ# 16916]
29779         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
29780         Define.
29782 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29784         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
29785         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
29786         multiarch strncpy for PPC64.
29787         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
29788         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
29789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
29790         multiarch optimizations.
29791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29792         (__libc_ifunc_impl_list): Likewise.
29793         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
29794         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
29795         multiarch stpncpy for PPC64.
29796         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
29797         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
29799 2014-05-06  Andreas Schwab  <schwab@suse.de>
29801         [BZ #16912]
29802         * gmon/mcount.c (_MCOUNT_DECL): Use
29803         atomic_compare_and_exchange_bool_acq instead of
29804         catomic_compare_and_exchange_bool_acq.
29806 2014-05-05  Roland McGrath  <roland@hack.frob.com>
29808         * elf/Makefile (others, install-bin): Remove pldd.
29809         (pldd-modules): Variable removed.
29810         ($(objpfx)pldd): Target removed.
29811         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
29812         (others, install-bin): Append pldd here.
29813         ($(objpfx)pldd): New target.
29815         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
29816         to 0, so the first #if test emitted later doesn't see it undefined.
29817         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
29818         * sysdeps/gnu/errlist.c: Regenerated.
29820 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29822         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29823         [libc_hidden_builtin_def]: Define to empty value.
29824         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
29825         [libc_hidden_builtin_def]: Likewise.
29826         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29827         [libc_hidden_builtin_def]: Likewise.
29828         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
29829         [libc_hidden_builtin_def]: Likewise.
29830         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
29831         __redirect_memcpy and define ifunc as default hidden symbol.
29832         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
29833         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29835 2014-05-04  Adam Conrad  <adconrad@0c3.net>
29837         * locale/iso-4217.def: Reintroduce XDR currency.
29839 2014-05-04  Allan McRae  <allan@archlinux.org>
29841         * po/eo.po: Update Esperanto translation from translation project.
29843 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
29845         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
29846         and FEATURE_INDEX_MAX to 1.
29847         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
29849 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29851         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
29852         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
29853         * iconvdata/big5.c (ONE_DIRECTION): Define.
29854         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
29855         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
29856         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
29857         * iconvdata/cp932.c (ONE_DIRECTION): Define.
29858         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
29859         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
29860         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
29861         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
29862         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
29863         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
29864         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
29865         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
29866         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
29867         * iconvdata/gbk.c (ONE_DIRECTION): Define.
29868         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
29869         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
29870         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
29871         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
29872         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
29873         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
29874         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
29875         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
29876         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
29877         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
29878         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
29879         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
29880         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
29881         * iconvdata/iso646.c (ONE_DIRECTION): Define.
29882         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
29883         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
29884         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
29885         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
29886         * iconvdata/johab.c (ONE_DIRECTION): Define.
29887         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
29888         * iconvdata/sjis.c (ONE_DIRECTION): Define.
29889         * iconvdata/t.61.c (ONE_DIRECTION): Define.
29890         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
29891         * iconvdata/tscii.c (ONE_DIRECTION): Define.
29892         * iconvdata/uhc.c (ONE_DIRECTION): Define.
29893         * iconvdata/unicode.c (ONE_DIRECTION): Define.
29894         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
29895         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
29896         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
29898 2014-05-01  Roland McGrath  <roland@hack.frob.com>
29900         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
29901         (_IO_JUMPS_OFFSET): Define to 0.
29903         * nptl/sysdeps/pthread/bits/libc-lock.h
29904         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29905         (__libc_lock_define_initialized_recursive): Always define using
29906         initializer.  Modern compilers treat uninitialized (implicit zero) and
29907         explicit zero initializers the same (i.e. put the datum in bss).
29909 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29911         * nscd/nscd-client.h: Include <string.h>.
29913 2014-05-01  David S. Miller  <davem@davemloft.net>
29915         [BZ #16885]
29916         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
29917         multiple zero bytes exist at the end of a string.
29918         Reported by Aurelien Jarno <aurelien@aurel32.net>
29920         * string/test-strcmp.c (check): Add explicit test for situations where
29921         there are multiple zero bytes after the first.
29923 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29925         [BZ #16890]
29926         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
29927         when compiling wprintf.
29928         * stdio-common/tstdiomisc.c (t3): New function.
29929         (main): Call it.
29931 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29933         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
29934         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
29935         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
29936         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
29938 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29940         * stdlib/longlong.h: Updated from GCC.
29942 2014-05-01  Will Newton  <will.newton@linaro.org>
29943             Bernard Ogden  <bernie.ogden@linaro.org>
29945         * NEWS: Update fixed bug list.
29947         [BZ #15119]
29948         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
29950 2014-04-30  David S. Miller  <davem@davemloft.net>
29952         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
29953         (libc_feholdexcept_setround_sparc_ctx): New function.
29954         (libc_fesetenv_sparc_ctx): Likewise.
29955         (libc_feupdateenv_sparc_ctx): Likewise.
29956         (libc_feholdsetround_sparc_ctx): Likewise.
29957         (libc_feholdexcept_setround_ctx): Define.
29958         (libc_feholdexcept_setroundf_ctx): Likewise.
29959         (libc_feholdexcept_setroundl_ctx): Likewise.
29960         (libc_fesetenv_ctx): Likewise.
29961         (libc_fesetenvf_ctx): Likewise.
29962         (libc_fesetenvl_ctx): Likewise.
29963         (libc_feupdateenv_ctx): Likewise.
29964         (libc_feupdateenvf_ctx): Likewise.
29965         (libc_feupdateenvl_ctx): Likewise.
29966         (libc_feresetround_ctx): Likewise.
29967         (libc_feresetroundf_ctx): Likewise.
29968         (libc_feresetroundl_ctx): Likewise.
29969         (libc_feholdsetround_ctx): Likewise.
29970         (libc_feholdsetroundf_ctx): Likewise.
29971         (libc_feholdsetroundl_ctx): Likewise.
29973         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29974         with __USE_GNU instead of XOPEN cpp guards.
29976         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
29977         0.
29979         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29980         with XOPEN cpp guards.
29982 2014-04-30  Julian Brown  <julian@codesourcery.com>
29984         [BZ #16888]
29985         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
29986         handling.
29988 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
29990         [BZ #9894]
29991         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
29992         Change to 2.6.32.
29993         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
29994         * sysdeps/unix/sysv/linux/configure: Regenerated.
29995         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
29996         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
29997         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
29998         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
29999         * README: Update reference to required Linux kernel version.
30000         * manual/install.texi (Linux): Update reference to required Linux
30001         kernel headers version.
30002         * INSTALL: Regenerated.
30004         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
30005         header inclusion.
30006         [POSIX] (limits.h): Likewise.
30007         [POSIX] (math.h): Likewise.
30008         [POSIX] (sys/wait.h): Likewise.
30009         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
30010         function.
30011         [POSIX] (stddef.h): Do not allow header inclusion.
30013 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30015         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
30017 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
30019         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
30020         Return immediately after lll_futex_wake.
30022 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30024         [BZ #16791]
30025         * nscd/nscd-client.h (datahead_init_common): Initialize entire
30026         structure.
30027         (datahead_init_pos): Call datahead_init_common early.
30028         (datahead_init_neg): Likewise.
30030         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
30031         datahead_init_neg): New functions.
30032         * nscd/aicache.c (addhstaiX): Use them.
30033         * nscd/grpcache.c (cache_addgr): Likewise.
30034         * nscd/hstcache.c (cache_addhst): Likewise.
30035         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30036         * nscd/netgroupcache.c (do_notfound): Likewise.
30037         (addgetnetgrentX): Likewise.
30038         (addinnetgrX): Likewise.
30039         * nscd/pwdcache.c (cache_addpw): Likewise.
30040         * nscd/servicescache.c (cache_addserv): Likewise.
30042 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30043             Atsushi Onoe  <atsushi@onoe.org>
30045         [BZ #14308]
30046         [BZ #12994]
30047         [BZ #13651]
30048         * resolv/res_query.c (__libc_res_nsearch): Return if at least
30049         one response is valid.
30050         * resolv/res_send.c (send_dg): Check for validity of other
30051         response if the current response is a referral.
30053 2014-04-29  Steve Ellcey  <sellcey@mips.com>
30055         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
30057 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
30059         [BZ #16823]
30060         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
30061         Always divide by positive zero when computing -Inf result.
30062         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30063         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30065 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30067         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
30068         FPSCR if value do not change.
30069         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30070         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
30071         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30072         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30073         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
30074         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
30075         function.
30077 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
30079         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
30080         * sysdeps/unix/sysv/linux/hppa: Move directory from
30081         ports/systeps/unix/sysv/linux/hppa.
30082         * README: Update listing for hppa-*-linux-gnu.
30084 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
30086         [BZ #16754]
30087         * manual/stdio.texi (Hook functions): Fix types of stream hook
30088         functions.
30089         [BZ #16854]
30090         * socket/sys/socket.h: Fix typo in comment.
30092 2014-04-28  Wilco  <wdijkstr@arm.com>
30094         * sysdeps/arm/fenv_private.h: New file.
30095         * sysdeps/arm/math_private.h: New file.
30096         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
30098 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
30100         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
30101         with __int128_t.
30102         (La_x86_64_retval): Likewise.
30104 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
30106         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
30107         fpsr if value didn't change.
30108         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
30109         to fpcr if value didn't change.
30110         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
30111         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
30112         fpsr or fpcr if value didn't change.
30113         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30114         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
30115         fpcr if value didn't change.
30116         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
30117         to fpsr if value didn't change.
30119 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30121         * nptl/tst-sem3.c: Use test-skeleton.c
30122         (main): Rename to do_test.  Use return instead of
30123         exit.
30124         * nptl/tst-sem4.c: Use test-skeleton.c
30125         (main): Rename to do_test.
30127 2014-04-22  David S. Miller  <davem@davemloft.net>
30129         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30130         (struct sigaction): New struct member __glibc_reserved0, change
30131         type of sa_flags to int.
30133 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
30135         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
30136         (COUNT_LEADING_ZEROS_0): Define for AArch64.
30138 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30140         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
30141         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
30143 2014-04-22  Will Newton  <will.newton@linaro.org>
30144             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
30146         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
30147         (__longjmp): Add longjmp and longjmp_target SystemTap
30148         probes.
30149         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
30150         (__sigsetjmp): Add setjmp SystemTap probe.
30152 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
30154         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
30155         match manual order.
30157 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30159         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
30161         * sysdeps/powerpc/fpu/fenv_private.h
30162         (libc_feholdexcept_setroundl_ctx): Define to
30163         libc_feholdexcept_setround_ppc_ctx.
30164         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
30165         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
30166         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
30167         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
30169 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30171         * sysdeps/aarch64/math-tests.h: New file.
30173 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
30175         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
30176         New.
30177         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30178         Check and set bit_AVX2_Usable.
30179         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
30180         macro.
30181         (bit_AVX2): Likewise.
30182         (index_AVX2_Usable): Likewise.
30183         (CPUID_AVX2): Likewise.
30184         (HAS_AVX2): Likewise.
30186 2014-04-17  Will Newton  <will.newton@linaro.org>
30188         * manual/setjmp.texi (System V contexts): Add note that
30189         calling setcontext on a context created by a call to a
30190         signal handler is undefined.  Update text to note that
30191         setcontext from a signal handler is possible but not
30192         recommended.
30194         [BZ #16629]
30195         * stdlib/tst-setcontext.c: Include signal.h.
30196         (main): Check that the signal stack before and
30197         after swapcontext is the same.
30199         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
30200         Re-implement to restore registers in user code and avoid
30201         rt_sigreturn system call.
30203 2014-04-17  Wilco  <wdijkstr@arm.com>
30205         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
30206         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
30207         * math/test-fenv.c: Skip exception trap tests on targets which only
30208         support non-stop mode.
30210 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30211             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30213         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
30214         (libc_feholdsetround_aarch64_ctx)
30215         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
30216         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
30217         (libc_feresetround_ctx, libc_feresetroundf_ctx)
30218         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
30219         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
30220         (libc_feresetround_noexl_ctx): Define.
30222 2014-04-16  Richard Henderson  <rth@redhat.com>
30224         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
30226         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
30227         unwind tables.
30229         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
30230         const from the non-libc, non-ldso copy.
30232         * sysdeps/alpha/libm-test-ulps: Regenerate.
30234 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
30235             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30237         * sysdeps/aarch64/fpu/math_private.h: New file.
30239 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30241         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30243 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
30245         [BZ #16275]
30246         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
30247         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
30248         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
30249         Intel MPX bound registers before _dl_profile_fixup.
30250         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
30251         registers after _dl_profile_fixup.  Save and restore bound
30252         registers bnd0/bnd1 when calling _dl_call_pltexit.
30253         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
30254         (LR_BND_OFFSET): Likewise.
30255         (LRV_BND0_OFFSET): Likewise.
30256         (LRV_BND1_OFFSET): Likewise.
30258 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30260         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
30261         to...
30262         * sysdeps/mach/hurd/i386/tls.h: ... here.
30263         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
30264         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
30265         fields.
30267 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30269         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
30271 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30273         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30275 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30277         [BZ #14770]
30278         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
30279         * sysdeps/s390/configure: Regenerate.
30281         [BZ #16824]
30282         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
30283         Set round-to-nearest internally to reduce error accumulation.
30285 2014-04-16  Alan Modra  <amodra@gmail.com>
30287         [BZ #16740]
30288         [BZ #16619]
30289         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
30290         * math/libm-test.inc (frexp_test_data): Add tests.
30291         * NEWS: Update fixed bug list.
30293 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30295         * benchtests/Makefile: Depend on libraries in build directory.
30296         (bench-math): Separate out math tests.
30297         (bench-pthread): Separate out pthread tests.
30298         (bench): Include math and pthread tests.
30300 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
30302         [BZ #16831]
30303         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
30304         _dl_debug_initialize.
30306         * configure.ac: Remove SELinux header check.
30307         * configure: Regenerate.
30308         * nscd/selinux.c (perms): Array of const char* to permission names.
30309         (nscd_request_avc_has_perm): Call security_deny_unknown to find
30310         default policy. Call string_to_security_class and string_to_av_perm to
30311         translate strings. Enforce default policy and call avs_has_perm with
30312         results of translated strings.
30314 2014-04-13  David S. Miller  <davem@davemloft.net>
30316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30318 2014-04-12  Allan McRae  <allan@archlinux.org>
30320         [BZ #16838]
30321         * manual/string.texi (Collation Functions): Fix qsort argument
30322         order in example.
30323         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30325 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
30327         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
30328         Make the test a no-op if there are no exceptions defined.
30330 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30332         * elf/Makefile (tests): make tst-dlopen-aout conditional on
30333         enable-hardcoded-path-in-tests
30335 2014-04-11  Will Newton  <will.newton@linaro.org>
30337         * benchtests/Makefile (extra-objs): Add json-lib.o.
30338         (bench-func): Tidy up JSON output.
30339         * benchtests/bench-skeleton.c: Include json-lib.h.
30340         (main): Use JSON library functions to do output of
30341         benchmark results.
30342         * benchtests/bench-timing-type.c (main): Output the
30343         timing type simply, leaving formatting to the user.
30344         * benchtests/json-lib.c: New file.
30345         * benchtests/json-lib.h: Likewise.
30347 2014-04-11  Torvald Riegel  <triegel@redhat.com>
30349         [BZ #15215]
30350         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
30351         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
30352         memory barriers.  Add comments.
30353         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
30354         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
30355         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
30356         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
30357         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
30358         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
30360 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30362         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
30363         * sysdeps/s390/s390-64/configure.ac: ... this ...
30364         * sysdeps/s390/configure.ac: ... to here.
30365         * sysdeps/s390/s390-32/configure: Delete file.
30366         * sysdeps/s390/s390-64/configure: Delete file.
30367         * sysdeps/s390/configure: Regenerate.
30369 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
30371         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
30373 2014-04-11  Will Newton  <will.newton@linaro.org>
30375         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
30376         to zero if it is not defined elsewhere.  (mtrim): Test
30377         the value of MALLOC_DEBUG with #if rather than #ifdef.
30379 2014-04-10 Torvald Riegel  <triegel@redhat.com>
30381         * benchtests/pthread_once-inputs: New file.
30382         * benchtests/pthread_once-source.c: New file.
30383         * benchtests/README: Update documentation.
30385 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30386             H.J. Lu  <hongjiu.lu@intel.com>
30388         [BZ #16275]
30389         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
30390         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
30391         * sysdeps/x86_64/configure: Regenerated.
30392         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
30393         macro.
30394         (REGISTER_SAVE_RAX): Likewise.
30395         (REGISTER_SAVE_RCX): Likewise.
30396         (REGISTER_SAVE_RDX): Likewise.
30397         (REGISTER_SAVE_RSI): Likewise.
30398         (REGISTER_SAVE_RDI): Likewise.
30399         (REGISTER_SAVE_R8): Likewise.
30400         (REGISTER_SAVE_R9): Likewise.
30401         (REGISTER_SAVE_BND0): Likewise.
30402         (REGISTER_SAVE_BND1): Likewise.
30403         (REGISTER_SAVE_BND2): Likewise.
30404         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
30405         bound registers when calling _dl_fixup.
30407 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30409         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
30410         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
30411         of its definition.
30412         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
30413         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
30414         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
30415         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
30416         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
30417         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
30418         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
30420 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
30422         [BZ #15514]
30423         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
30424         pathconf(_PC_NAME_MAX).
30426 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30428         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
30429         Remove macro usage.
30430         (__PTHREAD_SPINS): Move definition to ...
30431         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30432         (__PTHREAD_SPINS): ... here.
30433         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30434         (__PTHREAD_SPIN): Likewise.
30435         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
30436         (__PTHREAD_SPIN): Likewise.
30437         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
30438         (__PTHREAD_SPIN): Likewise.
30439         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
30440         (__PTHREAD_SPIN): Likewise.
30441         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30442         (__PTHREAD_SPIN): Likewise.
30443         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30444         (__PTHREAD_SPIN): Likewise.
30445         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
30446         (__PTHREAD_SPIN): Likewise.
30447         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30448         (__PTHREAD_SPIN): Likewise.
30449         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30450         (__PTHREAD_SPIN): Likewise.
30451         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30452         (__PTHREAD_SPIN): Likewise.
30453         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30454         (__PTHREAD_SPIN): Likewise.
30455         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
30456         (__PTHREAD_SPIN): Likewise.
30458         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
30459         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
30460         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
30461         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
30462         imply folder.
30463         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
30464         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
30465         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
30466         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
30467         correct imply path.
30468         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
30469         strlen symbol for non multi-arch builds.
30470         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
30471         missing hidden_def and weak_alias.
30473 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
30475         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
30477 2014-04-07  Will Newton  <will.newton@linaro.org>
30479         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
30480         and contents.  [!_LIBC] Remove #ifndef and contents.
30481         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
30482         * string/memccpy.c (__memccpy): Use ANSI prototype.
30483         * string/memfrob.c (memfrob): Likewise.
30484         * string/strcoll.c (STRCOLL): Likewise.
30485         * string/strlen.c (strlen): Likewise.
30486         * string/strtok.c (STRTOK): Likewise.
30487         * string/strcat.c: Remove unused #include of memcopy.h.
30488         (strcat): Use ANSI prototype.
30489         * string/strchr.c: Remove unused #include of memcopy.h.
30490         (strchr): Use ANSI prototype.
30491         * string/strcmp.c: Remove unused #include of memcopy.h.
30492         (strcmp): Use ANSI prototype.
30493         * string/strcpy.c: Remove unused #include of memcopy.h.
30494         (strcpy): Use ANSI prototype.
30496 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30498         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
30499         * config.make.in (config-extra-cppflags): Set it from
30500         libc_extra_cppflags.
30501         * configure.ac (libc_extra_cflags): Make it accumulate over
30502         configure fragments.
30503         (libc_extra_cppflags): New flag.
30504         * configure. Regenerate.
30505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30506         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
30507         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
30508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
30510         [BZ #16815]
30511         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
30512         result for FE_DOWNWARD rounding mode.
30513         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
30514         Likewise.
30515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30517 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
30519         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
30520         in function argument name.
30522 2014-04-03  David Svoboda  <svoboda@cert.org>
30524         [BZ #5666]
30525         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
30526         explicitly.
30528 2014-04-03  Roland McGrath  <roland@hack.frob.com>
30530         * elf/dl-unmap-segments.h: New file.
30531         * sysdeps/generic/ldsodefs.h
30532         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
30533         * elf/dl-close.c: Include <dl-unmap-segments.h>.
30534         * elf/dl-fptr.c: Likewise.
30535         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
30536         * sysdeps/aarch64/tlsdesc.c: Likewise.
30537         * sysdeps/arm/tlsdesc.c: Likewise.
30538         * sysdeps/i386/tlsdesc.c: Likewise.
30539         * sysdeps/tile/dl-runtime.c: Likewise.
30540         * sysdeps/x86_64/tlsdesc.c: Likewise.
30541         * elf/dl-load.h: New file.
30542         * elf/dl-load.c: Include it.
30543         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
30544         Macros moved to dl-load.h.
30545         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
30546         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
30547         Use _dl_unmap_segments in place of __munmap.
30548         Break out segment-mapping loop into ...
30549         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
30551 2014-04-03  Will Newton  <will.newton@linaro.org>
30553         * elf/dl-lookup.c (do_lookup_x): Remove comment
30554         referring to nested function and move variable
30555         declarations down to before first use.
30557 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
30559         [BZ #16799]
30560         [BZ #16800]
30561         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
30562         with 0 numerator.
30563         * math/s_catanf.c (__catanf): Likewise.
30564         * math/s_catanh.c (__catanh): Likewise.
30565         * math/s_catanhf.c (__catanhf): Likewise.
30566         * math/s_catanhl.c (__catanhl): Likewise.
30567         * math/s_catanl.c (__catanl): Likewise.
30568         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
30569         by positive zero when computing -Inf result.
30570         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
30571         (catanh_test): Likewise.
30572         * sysdeps/i386/fpu/libm-test-ulps: Update.
30573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30575         [BZ #16789]
30576         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
30577         instead of using underflowing value in computing result.
30578         * math/s_clog10.c (__clog10): Likewise.
30579         * math/s_clog10f.c (__clog10f): Likewise.
30580         * math/s_clog10l.c (__clog10l): Likewise.
30581         * math/s_clogf.c (__clogf): Likewise.
30582         * math/s_clogl.c (__clogl): Likewise.
30583         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
30584         (clog10_test): Likewise.
30585         * sysdeps/i386/fpu/libm-test-ulps: Update.
30586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30588 2014-04-02  Alan Modra  <amodra@gmail.com>
30590         [BZ #16739]
30591         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
30592         output when value is near a power of two.  Use int64_t for lx and
30593         remove casts.  Use decimal rather than hex exponent constants.
30594         Don't use long double multiplication when double will suffice.
30595         * math/libm-test.inc (nextafter_test_data): Add tests.
30596         * NEWS: Add 16739 and 16786 to bug list.
30598         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
30600         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
30602 2014-04-01  Will Newton  <will.newton@linaro.org>
30604         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30605         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
30607 2014-04-01  Florian Weimer  <fweimer@redhat.com>
30609         [BZ #13347]
30610         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30611         * nptl/tst-setuid2.c: New file.
30612         * nptl/Makefile (xtests): Add tst-setuid2.
30614 2014-04-01  Alan Modra  <amodra@gmail.com>
30616         [BZ #16786]
30617         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30619 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30621         [BZ #6803]
30622         [BZ #6804]
30623         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30624         set errno as appropriate.
30625         * math/w_scalbf.c (__scalbf): Likewise.
30626         * math/w_scalbl.c (__scalbl): Likewise.
30627         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30628         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30629         * math/libm-test.inc (scalb_test_data): Add errno expectations.
30630         Add more NaN tests.
30632         [BZ #16349]
30633         * math/w_atan2.c: Include <errno.h>.
30634         (__atan2): Set errno for result underflowing to zero.
30635         * math/w_atan2f.c: Include <errno.h>.
30636         (__atan2f): Set errno for result underflowing to zero.
30637         * math/w_atan2l.c: Include <errno.h>.
30638         (__atan2l): Set errno for result underflowing to zero.
30639         * math/auto-libm-test-in: Don't allow missing errno for some atan2
30640         tests.
30641         * math/auto-libm-test-out: Regenerated.
30643 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30645         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30646         Encode instruction correctly in little endian.
30647         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30648         Likewise.
30649         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30650         Likewise.
30651         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30652         Likewise.
30653         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30654         Likewise.
30656 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30658         [BZ #9894]
30659         * sysdeps/unix/sysv/linux/kernel-features.h
30660         [__sparc__ && !__arch64__ && !__sparc_v9__]
30661         (__ASSUME_SET_ROBUST_LIST): Do not define.
30662         [__sparc__ && !__arch64__ && !__sparc_v9__]
30663         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30664         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30665         Likewise.
30666         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30667         (__ASSUME_FUTEX_LOCK_PI): Undefine.
30668         (__ASSUME_REQUEUE_PI): Likewise.
30669         (__ASSUME_SET_ROBUST_LIST): Likewise.
30670         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30671         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30672         Undefine.
30673         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30674         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30675         Likewise.
30676         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30677         Likewise.
30678         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30679         Likewise.
30680         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30681         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30682         Undefine.
30683         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30684         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30685         Likewise.
30687         [BZ #16648]
30688         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30689         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30690         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30692 2014-03-31  Will Newton  <will.newton@linaro.org>
30694         * benchtests/Makefile (bench): Add ffs and ffsll to list
30695         of tests.
30696         * benchtests/ffs-inputs: New file.
30697         * benchtests/ffsll-inputs: Likewise.
30699 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
30701         [BZ #16770]
30702         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30703         too large before casting to int.
30704         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30705         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30706         * math/libm-test.inc (scalb_test_data): Add more tests.
30708 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30710         * benchtests/Makefile (DETAILED_OPT): New make option.
30711         (bench-func): Run benchmark program with -d if DETAILED_OPT is
30712         set.
30713         * benchtests/bench-skeleton.c: Include stdbool.h.
30714         (main): Store and print timings per input.
30715         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30716         member to each argument value.
30717         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30718         (_print_arg_data): Initialize per-input timing to 0.
30720         * benchtests/Makefile (timing-type): New binary.
30721         (bench-clean): Also remove bench-timing-type.
30722         (bench): New target for timing-type.
30723         (bench-func): Print output in JSON format.
30724         * benchtests/bench-skeleton.c (main): Print output in JSON
30725         format.
30726         * benchtests/bench-timing-type.c: New file.
30727         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30728         (TIMING_PRINT_STATS): Remove.
30729         * benchtests/scripts/bench.py (_print_arg_data): Store variant
30730         name separately.
30732         * benchtests/bench-modf.c: Remove.
30733         * benchtests/modf-inputs: New inputs file.
30735 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
30737         [BZ #16362]
30738         * math/s_clog10.c (M_PI_LOG10E): New macro.
30739         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30740         imaginary parts are 0.
30741         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30742         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30743         imaginary parts are 0.
30744         * math/s_clog10l.c (M_PI_LOG10El): New macro.
30745         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30746         imaginary parts are 0.
30747         * math/libm-test.inc (clog10_test_data): Update expected results
30748         for when real and imaginary parts are 0.
30750 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
30752         * elf/dl-load.c: Finish conversion of __builtin_expect into
30753         __glibc_{un}likely.
30755 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
30757         [BZ #16348]
30758         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30759         1+x for argument with exponent below -67.
30760         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
30761         Likewise.
30762         * math/auto-libm-test-in: Add more tests of exp.
30763         * math/auto-libm-test-out: Regenerated.
30765 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30767         [BZ #16759]
30768         * inet/getnetgrent_r.c (get_nonempty_val): New function.
30769         (nscd_getnetgrent): Use it.
30771         [BZ #16760]
30772         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
30773         of stpcpy.
30775 2014-03-27  Andi Kleen  <ak@linux.intel.com>
30777         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
30778         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30779         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30780         (lll_robust_unlock): Remove out of line section. Use cfi
30781         intrinsics.
30782         (LLL_STUB_UNWIND_INFO*): Remove.
30783         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
30784         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30785         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30786         (lll_robust_unlock): Remove out of line section. Use cfi
30787         intrinsics.
30788         (LLL_STUB_UNWIND_INFO*): Remove.
30790 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30792         [BZ #16758]
30793         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
30794         blank values.
30796 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30798         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
30800 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
30802         [BZ #16198]
30803         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
30804         fnstenv.
30805         * math/test-fenv-preserve.c: New file.
30806         * math/Makefile (tests): Add test-fenv-preserve.
30808 2014-03-26  Will Newton <will.newton@linaro.org>
30810         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
30812 2014-03-25  Roland McGrath  <roland@hack.frob.com>
30814         * scripts/versionlist.awk: Partition the version sets and emit all
30815         GLIBC_* (sorted) before all others (sorted).
30817 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30819         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
30820         GLIBC_2.2.5 version.
30822 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30824         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30825         calls.
30827         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
30828         previous change.
30830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30832 2014-03-25  Andreas Schwab  <schwab@suse.de>
30834         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
30835         label to be used after in6ailist is initialized.
30837 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30839         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30840         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30842 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30844         [BZ #16357]
30845         [BZ #16599]
30846         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
30847         min_plus_half.
30848         (fp_formats): Update initializers.
30849         (init_fp_formats): Initialize new field.
30850         (output_for_one_input_case): Allow underflow for results up to
30851         min_plus_half.
30852         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
30853         * math/auto-libm-test-in: Don't mark some underflows from asin and
30854         atanh as spurious.
30855         * math/auto-libm-test-out: Regenerated.
30856         * sysdeps/i386/fpu/libm-test-ulps: Update.
30857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30859 2014-03-25  Andreas Schwab  <schwab@suse.de>
30861         * libio/Makefile (tst-ftell-partial-wide-ENV)
30862         (tst-ftell-active-handler-ENV): Define.
30864 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
30866         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
30868 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30870         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
30872 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30874         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
30875         * sysdeps/x86_64/fpu/multiarch/e_exp.c
30876         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30878 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30880         [BZ #16634]
30881         * elf/dl-load.c (open_verify): Add mode parameter.
30882         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
30883         (open_path): Change from boolean 'secure' to complete flag 'mode'
30884         (_dl_map_object): Adjust.
30885         * elf/Makefile (tests): Add tst-dlopen-aout.
30886         * elf/tst-dlopen-aout.c: New test.
30888 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
30890         [BZ #16714]
30891         * sysdeps/unix/sysv/linux/s390/bits/stat.h
30892         (struct stat): Rename member pad0 to __glibc_reserved0.
30894         [BZ #16712]
30895         * sysdeps/s390/s390-32/bits/wordsize.h
30896         (__WORDSIZE32_SIZE_ULONG): New define.
30897         * sysdeps/s390/s390-64/bits/wordsize.h
30898         (__WORDSIZE32_SIZE_ULONG): Likewise.
30899         * sysdeps/generic/stdint.h (SIZE_MAX):
30900         Define as UL if __WORDSIZE32_SIZE_ULONG.
30902         [BZ #16713]
30903         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30904         (__glibc_reserved0): New variable.
30905         (sa_flags): Change type to int.
30907         * posix/Makefile (before-compile): Use += before-compile instead
30908         of a :=.
30910         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30911         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30913 2014-03-20  Andreas Schwab  <schwab@suse.de>
30915         [BZ #16743]
30916         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
30917         non-matching result from nscd.
30919 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30921         * scripts/bench.py: Moved to ...
30922         * benchtests/scripts/bench.py: ... here.
30923         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
30925 2014-03-24  Andreas Schwab  <schwab@suse.de>
30927         [BZ #16002]
30928         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
30929         alloca_account and account alloca use for struct in6ailist.
30931 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30933         [BZ #16284]
30934         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
30935         rounding mode to recompute results that overflow to infinity or
30936         underflow to zero.
30937         * math/auto-libm-test-in: Don't mark tests as expected to fail for
30938         bug 16284.
30939         * math/auto-libm-test-out: Regenerated.
30940         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
30941         (ccosh_test): Likewise.
30942         (csin_test_data): Use plus_oflow.
30943         (csin_test): Use ALL_RM_TEST.
30944         (csinh_test_data): Use plus_oflow.
30945         (csinh_test): Use ALL_RM_TEST.
30946         * sysdeps/i386/fpu/libm-test-ulps: Update.
30947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30949 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
30951         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
30952         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
30953         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
30955         [BZ #16731]
30956         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
30957         when x - 1 is zero.
30958         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
30959         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
30960         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30961         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
30962         argument is 1.
30963         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
30964         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
30965         zero.
30966         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
30967         * sysdeps/i386/fpu/libm-test-ulps: Update.
30968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30970 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30972         * scripts/bench.pl: Remove file.
30973         * scripts/bench.py: New benchmark script.
30974         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
30975         * benchtests/README: Mention python dependency.
30976         * scripts/pylintrc: New file.
30977         * scripts/pylint: New file.
30979         * bits/mathdef.h: Use #ifdef instead of #if.
30980         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
30981         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30982         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
30983         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30984         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
30985         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30987 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30988             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30990         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
30991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
30992         and strpbrk-ppc64 objects.
30993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30994         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
30995         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
30996         multiarch strpbrk for POWER7.
30997         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
30998         multiarch strpbrk for PPC64.
30999         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31000         ifunc selector.
31001         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
31002         strpbrk for POWER7.
31004 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31006         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
31007         (atan_test): Likewise.
31008         (atanh_test_data): Use NO_TEST_INLINE for two tests.
31009         (atanh_test): Use ALL_RM_TEST.
31010         (atan2_test_data): Likewise.
31011         (cabs_test): Likewise.
31012         (cacosh_test): Likewise.
31013         (carg_test): Likewise.
31014         (casin_test): Likewise.
31015         (casinh_test): Likewise.
31016         (cbrt_test): Likewise.
31017         (csqrt_test): Likewise.
31018         (erf_test): Likewise.
31019         (erfc_test): Likewise.
31020         (pow10_test): Likewise.
31021         (exp2_test): Likewise.
31022         (hypot_test): Likewise.
31023         (j0_test): Likewise.
31024         (j1_test): Likewise.
31025         (lgamma_test): Likewise.
31026         (gamma_test): Likewise.
31027         (sincos_test): Likewise.
31028         (tanh_test): Likewise.
31029         (y0_test): Likewise.
31030         (y1_test): Likewise.
31031         * sysdeps/i386/fpu/libm-test-ulps: Update.
31032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31034 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31036         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
31037         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
31038         and strcspn-ppc64 objects.
31039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31040         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
31041         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
31042         multiarch strcspn for POWER7.
31043         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
31044         multiarch strcspn for PPC64.
31045         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
31046         ifunc selector.
31047         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
31048         strcspn for POWER7.
31050 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31052         * math/gen-libm-test.pl (generate_testfile): Expect only function
31053         name as argument to AUTO_TESTS_* and pass results for all rounding
31054         modes to parse_args.
31055         (parse_auto_input): Separate inputs of automatic tests from
31056         outputs before storing in %auto_tests.
31057         * math/libm-test.inc (acos_test_data): Update call to
31058         AUTO_TESTS_f_f.
31059         (acos_test): Use ALL_RM_TEST.
31060         (acos_tonearest_test_data): Remove.
31061         (acos_test_tonearest): Likewise.
31062         (acos_towardzero_test_data): Likewise.
31063         (acos_test_towardzero): Likewise.
31064         (acos_downward_test_data): Likewise.
31065         (acos_test_downward): Likewise.
31066         (acos_upward_test_data): Likewise.
31067         (acos_test_upward): Likewise.
31068         (acosh_test_data): Update call to AUTO_TESTS_f_f.
31069         (asin_test_data): Likewise.
31070         (asin_test): Use ALL_RM_TEST.
31071         (asin_tonearest_test_data): Remove.
31072         (asin_test_tonearest): Likewise.
31073         (asin_towardzero_test_data): Likewise.
31074         (asin_test_towardzero): Likewise.
31075         (asin_downward_test_data): Likewise.
31076         (asin_test_downward): Likewise.
31077         (asin_upward_test_data): Likewise.
31078         (asin_test_upward): Likewise.
31079         (asinh_test_data): Update call to AUTO_TESTS_f_f.
31080         (atan_test_data): Likewise.
31081         (atanh_test_data): Likewise.
31082         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
31083         (cabs_test_data): Update call to AUTO_TESTS_c_f.
31084         (carg_test_data): Likewise.
31085         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
31086         (ccos_test_data): Update call to AUTO_TESTS_c_c.
31087         (ccosh_test_data): Likewise.
31088         (cexp_test_data): Likewise.
31089         (clog_test_data): Likewise.
31090         (clog10_test_data): Likewise.
31091         (cos_test_data): Update call to AUTO_TESTS_f_f.
31092         (cos_test): Use ALL_RM_TEST.
31093         (cos_tonearest_test_data): Remove.
31094         (cos_test_tonearest): Likewise.
31095         (cos_towardzero_test_data): Likewise.
31096         (cos_test_towardzero): Likewise.
31097         (cos_downward_test_data): Likewise.
31098         (cos_test_downward): Likewise.
31099         (cos_upward_test_data): Likewise.
31100         (cos_test_upward): Likewise.
31101         (cosh_test_data): Update call to AUTO_TESTS_f_f.
31102         (cosh_test): Use ALL_RM_TEST.
31103         (cosh_tonearest_test_data): Remove.
31104         (cosh_test_tonearest): Likewise.
31105         (cosh_towardzero_test_data): Likewise.
31106         (cosh_test_towardzero): Likewise.
31107         (cosh_downward_test_data): Likewise.
31108         (cosh_test_downward): Likewise.
31109         (cosh_upward_test_data): Likewise.
31110         (cosh_test_upward): Likewise.
31111         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
31112         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
31113         (ctan_test_data): Likewise.
31114         (ctan_test): Use ALL_RM_TEST.
31115         (ctan_tonearest_test_data): Remove.
31116         (ctan_test_tonearest): Likewise.
31117         (ctan_towardzero_test_data): Likewise.
31118         (ctan_test_towardzero): Likewise.
31119         (ctan_downward_test_data): Likewise.
31120         (ctan_test_downward): Likewise.
31121         (ctan_upward_test_data): Likewise.
31122         (ctan_test_upward): Likewise.
31123         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
31124         (ctanh_test): Use ALL_RM_TEST.
31125         (ctanh_tonearest_test_data): Remove.
31126         (ctanh_test_tonearest): Likewise.
31127         (ctanh_towardzero_test_data): Likewise.
31128         (ctanh_test_towardzero): Likewise.
31129         (ctanh_downward_test_data): Likewise.
31130         (ctanh_test_downward): Likewise.
31131         (ctanh_upward_test_data): Likewise.
31132         (ctanh_test_upward): Likewise.
31133         (erf_test_data): Update call to AUTO_TESTS_f_f.
31134         (erfc_test_data): Likewise.
31135         (exp_test_data): Likewise.
31136         (exp_test): Use ALL_RM_TEST.
31137         (exp_tonearest_test_data): Remove.
31138         (exp_test_tonearest): Likewise.
31139         (exp_towardzero_test_data): Likewise.
31140         (exp_test_towardzero): Likewise.
31141         (exp_downward_test_data): Likewise.
31142         (exp_test_downward): Likewise.
31143         (exp_upward_test_data): Likewise.
31144         (exp_test_upward): Likewise.
31145         (exp10_test_data): Update call to AUTO_TESTS_f_f.
31146         (exp10_test): Use ALL_RM_TEST.
31147         (exp10_tonearest_test_data): Remove.
31148         (exp10_test_tonearest): Likewise.
31149         (exp10_towardzero_test_data): Likewise.
31150         (exp10_test_towardzero): Likewise.
31151         (exp10_downward_test_data): Likewise.
31152         (exp10_test_downward): Likewise.
31153         (exp10_upward_test_data): Likewise.
31154         (exp10_test_upward): Likewise.
31155         (exp2_test_data): Update call to AUTO_TESTS_f_f.
31156         (expm1_test_data): Likewise.
31157         (expm1_test): Use ALL_RM_TEST.
31158         (expm1_tonearest_test_data): Remove.
31159         (expm1_test_tonearest): Likewise.
31160         (expm1_towardzero_test_data): Likewise.
31161         (expm1_test_towardzero): Likewise.
31162         (expm1_downward_test_data): Likewise.
31163         (expm1_test_downward): Likewise.
31164         (expm1_upward_test_data): Likewise.
31165         (expm1_test_upward): Likewise.
31166         (fma_test_data): Update call to AUTO_TESTS_fff_f.
31167         (fma_test): Use ALL_RM_TEST.
31168         (fma_towardzero_test_data): Remove.
31169         (fma_test_towardzero): Likewise.
31170         (fma_downward_test_data): Likewise.
31171         (fma_test_downward): Likewise.
31172         (fma_upward_test_data): Likewise.
31173         (fma_test_upward): Likewise.
31174         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
31175         (j0_test_data): Update call to AUTO_TESTS_f_f.
31176         (j1_test_data): Likewise.
31177         (jn_test_data): Update call to AUTO_TESTS_if_f.
31178         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
31179         (log_test_data): Update call to AUTO_TESTS_f_f.
31180         (log10_test_data): Likewise.
31181         (log1p_test_data): Likewise.
31182         (log2_test_data): Likewise.
31183         (pow_test_data): Update call to AUTO_TESTS_ff_f.
31184         (pow_tonearest_test_data): Likewise.
31185         (sin_test_data): Update call to AUTO_TESTS_f_f.
31186         (sin_test): Use ALL_RM_TEST.
31187         (sin_tonearest_test_data): Remove.
31188         (sin_test_tonearest): Likewise.
31189         (sin_towardzero_test_data): Likewise.
31190         (sin_test_towardzero): Likewise.
31191         (sin_downward_test_data): Likewise.
31192         (sin_test_downward): Likewise.
31193         (sin_upward_test_data): Likewise.
31194         (sin_test_upward): Likewise.
31195         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
31196         (sinh_test_data): Update call to AUTO_TESTS_f_f.
31197         (sinh_test): Use ALL_RM_TEST.
31198         (sinh_tonearest_test_data): Remove.
31199         (sinh_test_tonearest): Likewise.
31200         (sinh_towardzero_test_data): Likewise.
31201         (sinh_test_towardzero): Likewise.
31202         (sinh_downward_test_data): Likewise.
31203         (sinh_test_downward): Likewise.
31204         (sinh_upward_test_data): Likewise.
31205         (sinh_test_upward): Likewise.
31206         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
31207         (sqrt_test): Use ALL_RM_TEST.
31208         (sqrt_tonearest_test_data): Remove.
31209         (sqrt_test_tonearest): Likewise.
31210         (sqrt_towardzero_test_data): Likewise.
31211         (sqrt_test_towardzero): Likewise.
31212         (sqrt_downward_test_data): Likewise.
31213         (sqrt_test_downward): Likewise.
31214         (sqrt_upward_test_data): Likewise.
31215         (sqrt_test_upward): Likewise.
31216         (tan_test_data): Update call to AUTO_TESTS_f_f.
31217         (tan_test): Use ALL_RM_TEST.
31218         (tan_tonearest_test_data): Remove.
31219         (tan_test_tonearest): Likewise.
31220         (tan_towardzero_test_data): Likewise.
31221         (tan_test_towardzero): Likewise.
31222         (tan_downward_test_data): Likewise.
31223         (tan_test_downward): Likewise.
31224         (tan_upward_test_data): Likewise.
31225         (tan_test_upward): Likewise.
31226         (tanh_test_data): Update call to AUTO_TESTS_f_f.
31227         (tgamma_test_data): Likewise.
31228         (y0_test_data): Likewise.
31229         (y1_test_data): Likewise.
31230         (yn_test_data): Update call to AUTO_TESTS_if_f.
31231         (main): Do not call removed functions.
31233 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31235         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
31236         (ldexp_test_data): Remove.
31237         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
31238         scalbn_test_data.
31239         (scalb_test): Use ALL_RM_TEST.
31241 2014-03-19  Andreas Schwab  <schwab@suse.de>
31243         * nscd/nscd.service: Also invalidate netgroup cache on reload.
31245 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31247         [BZ #16649]
31248         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31249         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
31250         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
31251         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31252         (__ASSUME_PREADV): Undefine.
31253         (__ASSUME_PWRITEV): Likewise.
31255 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31257         * bits/mman-linux.h: Add comment about non-Linux use.
31258         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
31259         bits/mman-linux.h resting place.
31261         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
31262         * bits/mman-linux.h: ... here.
31264 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31266         * conform/conformtest.pl: Add standard definition when calling C
31267         preprocessor on data files.
31268         (checknamespace): Remove unused variable.
31270 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31272         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
31273         minus_oflow, plus_uflow and minus_uflow in expected results.
31274         * math/libm-test.inc (scalbn_test_data): Add more tests of
31275         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
31276         minus_uflow.
31277         (scalbn_test): Use ALL_RM_TEST.
31278         (scalbln_test_data): Add more tests of negative arguments.  Use
31279         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
31280         (scalbln_test): Use ALL_RM_TEST.
31282 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31284         * scripts/abilist.awk: Ignore symbols marked with .hidden.
31286 2014-03-18  Will Newton  <will.newton@linaro.org>
31288         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
31289         inaccurate comment.
31291 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31293         * Makerules [!subdir] (check-abi): Exit with error status if a
31294         test failed.
31296 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31298         * math/libm-test.inc (nearbyint_test_data): Include all tests used
31299         for rint.  Include results for all rounding modes.
31300         (nearbyint_test): Use ALL_RM_TEST.
31301         (rint_test_data): Include all tests used for nearbyint.
31303 2014-03-17  Will Newton  <will.newton@linaro.org>
31305         * nptl/sysdeps/pthread/pthread.h: Revert previous
31306         change.
31308         * sysdeps/generic/ldsodefs.h: Revert previous
31309         change.
31311         * libio/genops.c: Revert previous change.
31312         * libio/libioP.h: Likewise.
31313         * stdio-common/vfprintf.c: Likewise.
31315         * sysdeps/generic/math_private.h: Revert previous
31316         change.
31318         * sysdeps/generic/math_private.h: Check whether
31319         HAVE_RM_CTX is defined with #ifdef rather
31320         than #if.
31322         * argp/argp-fmtstream.h: Check whether
31323         __STRICT_ANSI__ is defined with #ifdef rather
31324         than #if.
31325         * argp/argp.h: Likewise.
31327         * libio/genops.c: Check whether
31328         _IO_JUMPS_OFFSET is defined with #ifdef rather
31329         than #if.
31330         * libio/libioP.h: Likewise.
31331         * stdio-common/vfprintf.c: Likewise.
31333         * sysdeps/generic/ldsodefs.h: Check whether
31334         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
31335         than #if.
31337         * nptl/sysdeps/pthread/pthread.h: Check
31338         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
31339         its value.
31341 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31343         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
31344         setting O_APPEND.
31345         * libio/tst-ftell-active-handler.c (do_append_test): Add a
31346         test case.
31348         [BZ #16680]
31349         * libio/fileops.c (_IO_file_open): Seek to end of file but
31350         don't cache the offset.
31351         (get_file_offset): Remove function.
31352         (do_ftell): Use cached offset when available.
31353         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
31354         don't cache the offset.
31355         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
31356         case.
31357         (do_one_test): Call it.
31358         (do_ftell_test): Fix up expected old offset for a+ mode.
31359         * libio/wfileops.c (do_ftell_wide): Used cached offset when
31360         available.
31362         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
31363         up test status with function return status.
31364         (do_write_test): Likewise.
31365         (do_append_test): Likewise.
31367         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
31368         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
31369         Remove.
31371 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31373         * math/gen-libm-test.pl (parse_args): Handle results specified for
31374         each rounding mode separately.
31375         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
31376         tests and results from lrint_tonearest_test_data,
31377         lrint_towardzero_test_data, lrint_downward_test_data and
31378         lrint_upward_test_data.
31379         (lrint_test): Use ALL_RM_TEST.
31380         (lrint_tonearest_test_data): Remove.
31381         (lrint_test_tonearest): Likewise.
31382         (lrint_towardzero_test_data): Likewise.
31383         (lrint_test_towardzero): Likewise.
31384         (lrint_downward_test_data): Likewise.
31385         (lrint_test_downward): Likewise.
31386         (lrint_upward_test_data): Likewise.
31387         (lrint_test_upward): Likewise.
31388         (llrint_test_data): Merge in per-rounding-mode tests and results
31389         from llrint_tonearest_test_data, llrint_towardzero_test_data,
31390         llrint_downward_test_data and llrint_upward_test_data.
31391         (llrint_test): Use ALL_RM_TEST.
31392         (llrint_tonearest_test_data): Remove.
31393         (llrint_test_tonearest): Likewise.
31394         (llrint_towardzero_test_data): Likewise.
31395         (llrint_test_towardzero): Likewise.
31396         (llrint_downward_test_data): Likewise.
31397         (llrint_test_downward): Likewise.
31398         (llrint_upward_test_data): Likewise.
31399         (llrint_test_upward): Likewise.
31400         (rint_test_data): Merge in per-rounding-mode tests and results
31401         from rint_tonearest_test_data, rint_towardzero_test_data,
31402         rint_downward_test_data and rint_upward_test_data.  Add
31403         per-rounding-mode results for tests not in those arrays.
31404         (rint_test): Use ALL_RM_TEST.
31405         (rint_tonearest_test_data): Remove.
31406         (rint_test_tonearest): Likewise.
31407         (rint_towardzero_test_data): Likewise.
31408         (rint_test_towardzero): Likewise.
31409         (rint_downward_test_data): Likewise.
31410         (rint_test_downward): Likewise.
31411         (rint_upward_test_data): Likewise.
31412         (rint_test_upward): Likewise.
31413         (main): Don't call removed functions.
31415 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31417         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
31418         "Compiled on ..." crapola.  It is anti-useful.
31420 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
31422         * scripts/evaluate-test.sh: Handle fourth argument to determine
31423         whether test run should stop on failure.
31424         * Makeconfig (stop-on-test-failure): New variable.
31425         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
31426         $(stop-on-test-failure).
31427         * Makefile (tests): Give a summary of results from testing and
31428         exit with failure status if they include an ERROR or FAIL.
31429         (xtests): Likewise.
31430         * manual/install.texi (Configuring and compiling): Mention
31431         stop-on-test-failure=y.
31432         * INSTALL: Regenerated.
31434 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31436         * scripts/versionlist.awk: New file.
31437         * Makerules [$(build-shared) = yes]
31438         (postclean-generated): Add Versions.def, not Versions.def.v and
31439         Versions.def.v.i.
31440         ($(common-objpfx)Versions.def.v.i): Target removed.
31441         ($(common-objpfx)Versions.def): New target.
31442         ($(common-objpfx)Versions.all): Depend on that rather that
31443         $(common-objpfx)Versions.def.v.
31444         * Versions.def: File removed.
31446         * Makeconfig (+gccwarn): Add -Wundef.
31447         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
31448         a dl-sysdep.h breaking its contract.
31449         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
31450         * include/stackinfo.h: New file.
31451         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
31452         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
31453         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
31454         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
31455         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
31456         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
31457         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31458         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31459         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31460         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31461         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31462         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
31463         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31464         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31465         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31467 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31469         [BZ #16707]
31470         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
31471         implementation.
31472         * math/libm-test.inc (round_test_data): Add more tests.
31474         [BZ #16706]
31475         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
31476         implementation.
31477         * math/libm-test.inc (nearbyint_test_data): Add more tests.
31479         [BZ #16701]
31480         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
31481         implementation.
31482         * math/libm-test.inc (ceil_test_data): Add more tests.
31484         * math/libm-test.inc (trunc_test_data): Add more tests related to
31485         BZ#16414.
31487 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31489         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
31490         with #if rather than #ifdef.
31491         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
31493 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
31495         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
31496         first.  Disable AVX-512 GCC support if assembler doesn't support
31497         it.
31498         * sysdeps/x86_64/configure: Regenerated.
31500 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
31502         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
31503         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
31504         (__old_pthread_attr_setstack): Likewise.
31505         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
31506         [!_STACK_GROWS_DOWN]: Likewise.
31508 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
31510         * config.make.in (have-bash2): Delete.
31511         * configure.ac (libc_cv_have_bash2): Delete.
31512         * configure: Regenerate.
31513         * elf/Makefile (common-ldd-rewrite): Rename to ...
31514         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
31515         (sh-ldd-rewrite): Delete.
31516         (bash-ldd-rewrite): Delete.
31517         (have-bash2): Delete checks.
31518         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
31519         ldd-rewrite.
31521         * config.make.in (have-ksh): Delete.
31522         (KSH): Delete.
31523         * configure.ac (libc_cv_have_ksh): Delete.
31524         * configure: Regenerate.
31526         * elf/Makefile: Delete $(have-ksh) check.
31527         ($(objpfx)sotruss): Change KSH to BASH.
31528         * elf/sotruss.ksh: Rename to ...
31529         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
31530         function style to match POSIX.  Drop ksh vim mode setting.
31532         * manual/time.texi (Specifying the Time Zone with TZ): Change
31533         Tuesday to Thursday.
31535         * debug/tst-longjmp_chk2.c: Update header comment.
31536         (stackoverflow_handler): Add comment.  Call assert on pass value.
31538 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
31540         [BZ #16194]
31541         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
31542         (HAVE_AVX512_ASM_SUPPORT): Likewise.
31543         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
31544         (La_x86_64_vector): Add zmm.
31545         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
31546         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
31547         ($(objpfx)tst-audit10): New target.
31548         ($(objpfx)tst-audit10.out): Likewise.
31549         (tst-audit10-ENV): New.
31550         (AVX512-CFLAGS): Likewise.
31551         (CFLAGS-tst-audit10.c): Likewise.
31552         (CFLAGS-tst-auditmod10a.c): Likewise.
31553         (CFLAGS-tst-auditmod10b.c): Likewise.
31554         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
31555         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
31556         * sysdeps/x86_64/configure: Regenerated.
31557         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
31558         AVX-512 zmm register support.
31559         (_dl_x86_64_save_sse): Likewise.
31560         (_dl_x86_64_restore_sse): Likewise.
31561         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
31562         size vector registers.
31563         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
31564         (ZMM_SIZE): Likewise.
31565         * sysdeps/x86_64/tst-audit10.c: New file.
31566         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
31567         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
31569 2014-03-13  Roland McGrath  <roland@hack.frob.com>
31571         * configure.ac (HAVE_EHDR_START): New check.
31572         * configure: Regenerated.
31573         * config.h.in (HAVE_EHDR_START): New #undef.
31574         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
31575         assuming the lowest-addressed segment maps the start of the file.
31577 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
31579         * INSTALL: Regenerated.
31581 2014-03-13  Will Newton  <will.newton@linaro.org>
31583         * manual/setjmp.texi (System V contexts): Improve
31584         clarity and grammar of documentation.
31586 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31588         [BZ #16381]
31589         * elf/Makefile (tests): Add tst-pie2.
31590         (tests-pie): Add tst-pie2.
31591         * elf/tst-pie2.c: New file.
31592         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
31593         for ET_EXEC.
31594         * elf/rtld.c (map_doit): Load executable as lt_executable.
31595         (dl_main): Likewise.
31597 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
31599         [BZ #16642]
31600         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31601         (__ASSUME_PSELECT): Undefine.
31603 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31605         [BZ #16689]
31606         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31607         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31608         static build.
31609         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31610         selector for static builds.
31612 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31614         [BZ #16695]
31615         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31616         key in the buffer.
31618 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31620         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31621         IFUNC selector for static builds.
31623 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
31625         * sysdeps/mips/math_private.h [__mips_hard_float]
31626         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31627         libc_feresetround_mips_ctx.
31628         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31629         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31630         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31632         [BZ #16677]
31633         * math/s_nextafter.c (__nextafter): Do not return value from
31634         overflowing computation.
31635         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31636         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31637         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31638         Likewise.
31639         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31640         Likewise.
31641         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31642         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31644 2014-03-11  Roland McGrath  <roland@hack.frob.com>
31646         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31647         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31648         Move sfi_sp use from the load-multiple (that no longer sets sp) to
31649         the new mov targetting sp.
31651 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31653         [BZ #16683]
31654         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31655         Define it for static builds as well.
31656         (NO_BZERO_IMPL): Likewise.
31658 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31660         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31661         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31662         multiarch strspn for PPC64.
31663         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31664         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31666         (__libc_ifunc_impl_list): Likewise.
31667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31668         multiarch optimizations
31669         * string/strspn.c (strspn): Using macro to redefine symbol name.
31671 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31672             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31674         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31675         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31676         multiarch strncat for PPC64.
31677         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31678         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31680         (__libc_ifunc_impl_list): Likewise.
31681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31682         multiarch optimizations
31684 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31686         [BZ #16639]
31687         * nscd/nscd.service: Make service type forking.
31689 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31691         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31692         sign in non default rounding modes.
31693         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31695 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
31697         * math/libm-test.inc (ALL_RM_TEST): New macro.
31698         (ceil_test): Use ALL_RM_TEST.
31699         (cimag_test): Likewise.
31700         (conj_test): Likewise.
31701         (copysign_test): Likewise.
31702         (cproj_test): Likewise.
31703         (creal_test): Likewise.
31704         (fabs_test): Likewise.
31705         (floor_test): Likewise.
31706         (fmax_test): Likewise.
31707         (fmin_test): Likewise.
31708         (fmod_test): Likewise.
31709         (fpclassify_test): Likewise.
31710         (frexp_test): Likewise.
31711         (ilogb_test): Likewise.
31712         (isfinite_test): Likewise.
31713         (finite_test): Likewise.
31714         (isgreater_test): Likewise.
31715         (isgreaterequal_test): Likewise.
31716         (isinf_test): Likewise.
31717         (isless_test): Likewise.
31718         (islessequal_test): Likewise.
31719         (islessgreater_test): Likewise.
31720         (isnan_test): Likewise.
31721         (isnormal_test): Likewise.
31722         (issignaling_test): Likewise.
31723         (isunordered_test): Likewise.
31724         (logb_test): Likewise.
31725         (logb_downward_test_data): Remove.
31726         (logb_test_downward): Likewise.
31727         (lround_test): Use ALL_RM_TEST.
31728         (llround_test): Likewise.
31729         (modf_test): Likewise.
31730         (nexttoward_test): Likewise.
31731         (remainder_test): Likewise.
31732         (drem_test): Likewise.
31733         (remainder_tonearest_test_data): Likewise.
31734         (remainder_test_tonearest): Likewise.
31735         (drem_test_tonearest): Likewise.
31736         (remainder_towardzero_test_data): Likewise.
31737         (remainder_test_towardzero): Likewise.
31738         (drem_test_towardzero): Likewise.
31739         (remainder_downward_test_data): Likewise.
31740         (remainder_test_downward): Likewise.
31741         (drem_test_downward): Likewise.
31742         (remainder_upward_test_data): Likewise.
31743         (remainder_test_upward): Likewise.
31744         (drem_test_upward): Likewise.
31745         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
31746         (round_test): Use ALL_RM_TEST.
31747         (signbit_test): Likewise.
31748         (trunc_test): Likewise.
31749         (significand_test): Likewise.
31750         (main): Don't call removed functions.
31752 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31754         [BZ #16674]
31755         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31756         || __USE_XOPEN2K8].
31757         (ILL_ILLOPN): Likewise.
31758         (ILL_ILLADR): Likewise.
31759         (ILL_ILLTRP): Likewise.
31760         (ILL_PRVOPC): Likewise.
31761         (ILL_PRVREG): Likewise.
31762         (ILL_COPROC): Likewise.
31763         (ILL_BADSTK): Likewise.
31764         (FPE_INTDIV): Likewise.
31765         (FPE_INTOVF): Likewise.
31766         (FPE_FLTDIV): Likewise.
31767         (FPE_FLTOVF): Likewise.
31768         (FPE_FLTUND): Likewise.
31769         (FPE_FLTRES): Likewise.
31770         (FPE_FLTINV): Likewise.
31771         (FPE_FLTSUB): Likewise.
31772         (SEGV_MAPERR): Likewise.
31773         (SEGV_ACCERR): Likewise.
31774         (BUS_ADRALN): Likewise.
31775         (BUS_ADRERR): Likewise.
31776         (BUS_OBJERR): Likewise.
31777         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31778         (TRAP_TRACE): Likewise.
31779         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31780         __USE_XOPEN2K8].
31781         (CLD_KILLED): Likewise.
31782         (CLD_DUMPED): Likewise.
31783         (CLD_TRAPPED): Likewise.
31784         (CLD_STOPPED): Likewise.
31785         (CLD_CONTINUED): Likewise.
31786         (POLL_IN): Likewise.
31787         (POLL_OUT): Likewise.
31788         (POLL_MSG): Likewise.
31789         (POLL_ERR): Likewise.
31790         (POLL_PRI): Likewise.
31791         (POLL_HUP): Likewise.
31792         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
31793         Likewise.
31794         (ILL_ILLOPN): Likewise.
31795         (ILL_ILLADR): Likewise.
31796         (ILL_ILLTRP): Likewise.
31797         (ILL_PRVOPC): Likewise.
31798         (ILL_PRVREG): Likewise.
31799         (ILL_COPROC): Likewise.
31800         (ILL_BADSTK): Likewise.
31801         (FPE_INTDIV): Likewise.
31802         (FPE_INTOVF): Likewise.
31803         (FPE_FLTDIV): Likewise.
31804         (FPE_FLTOVF): Likewise.
31805         (FPE_FLTUND): Likewise.
31806         (FPE_FLTRES): Likewise.
31807         (FPE_FLTINV): Likewise.
31808         (FPE_FLTSUB): Likewise.
31809         (SEGV_MAPERR): Likewise.
31810         (SEGV_ACCERR): Likewise.
31811         (BUS_ADRALN): Likewise.
31812         (BUS_ADRERR): Likewise.
31813         (BUS_OBJERR): Likewise.
31814         (BUS_MCEERR_AR): Likewise.
31815         (BUS_MCEERR_AO): Likewise.
31816         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31817         (TRAP_TRACE): Likewise.
31818         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31819         __USE_XOPEN2K8].
31820         (CLD_KILLED): Likewise.
31821         (CLD_DUMPED): Likewise.
31822         (CLD_TRAPPED): Likewise.
31823         (CLD_STOPPED): Likewise.
31824         (CLD_CONTINUED): Likewise.
31825         (POLL_IN): Likewise.
31826         (POLL_OUT): Likewise.
31827         (POLL_MSG): Likewise.
31828         (POLL_ERR): Likewise.
31829         (POLL_PRI): Likewise.
31830         (POLL_HUP): Likewise.
31831         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
31832         (ILL_ILLOPN): Likewise.
31833         (ILL_ILLADR): Likewise.
31834         (ILL_ILLTRP): Likewise.
31835         (ILL_PRVOPC): Likewise.
31836         (ILL_PRVREG): Likewise.
31837         (ILL_COPROC): Likewise.
31838         (ILL_BADSTK): Likewise.
31839         (FPE_INTDIV): Likewise.
31840         (FPE_INTOVF): Likewise.
31841         (FPE_FLTDIV): Likewise.
31842         (FPE_FLTOVF): Likewise.
31843         (FPE_FLTUND): Likewise.
31844         (FPE_FLTRES): Likewise.
31845         (FPE_FLTINV): Likewise.
31846         (FPE_FLTSUB): Likewise.
31847         (SEGV_MAPERR): Likewise.
31848         (SEGV_ACCERR): Likewise.
31849         (BUS_ADRALN): Likewise.
31850         (BUS_ADRERR): Likewise.
31851         (BUS_OBJERR): Likewise.
31852         (BUS_MCEERR_AR): Likewise.
31853         (BUS_MCEERR_AO): Likewise.
31854         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31855         (TRAP_TRACE): Likewise.
31856         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31857         __USE_XOPEN2K8].
31858         (CLD_KILLED): Likewise.
31859         (CLD_DUMPED): Likewise.
31860         (CLD_TRAPPED): Likewise.
31861         (CLD_STOPPED): Likewise.
31862         (CLD_CONTINUED): Likewise.
31863         (POLL_IN): Likewise.
31864         (POLL_OUT): Likewise.
31865         (POLL_MSG): Likewise.
31866         (POLL_ERR): Likewise.
31867         (POLL_PRI): Likewise.
31868         (POLL_HUP): Likewise.
31869         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
31870         Likewise.
31871         (ILL_ILLOPN): Likewise.
31872         (ILL_ILLADR): Likewise.
31873         (ILL_ILLTRP): Likewise.
31874         (ILL_PRVOPC): Likewise.
31875         (ILL_PRVREG): Likewise.
31876         (ILL_COPROC): Likewise.
31877         (ILL_BADSTK): Likewise.
31878         (ILL_BADIADDR): Likewise.
31879         (ILL_BREAK): Likewise.
31880         (FPE_INTDIV): Likewise.
31881         (FPE_INTOVF): Likewise.
31882         (FPE_FLTDIV): Likewise.
31883         (FPE_FLTOVF): Likewise.
31884         (FPE_FLTUND): Likewise.
31885         (FPE_FLTRES): Likewise.
31886         (FPE_FLTINV): Likewise.
31887         (FPE_FLTSUB): Likewise.
31888         (FPE_DECOVF): Likewise.
31889         (FPE_DECDIV): Likewise.
31890         (FPE_DECERR): Likewise.
31891         (FPE_INVASC): Likewise.
31892         (FPE_INVDEC): Likewise.
31893         (SEGV_MAPERR): Likewise.
31894         (SEGV_ACCERR): Likewise.
31895         (SEGV_PSTKOVF): Likewise.
31896         (BUS_ADRALN): Likewise.
31897         (BUS_ADRERR): Likewise.
31898         (BUS_OBJERR): Likewise.
31899         (BUS_MCEERR_AR): Likewise.
31900         (BUS_MCEERR_AO): Likewise.
31901         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31902         (TRAP_TRACE): Likewise.
31903         (TRAP_BRANCH): Likewise.
31904         (TRAP_HWBKPT): Likewise.
31905         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31906         __USE_XOPEN2K8].
31907         (CLD_KILLED): Likewise.
31908         (CLD_DUMPED): Likewise.
31909         (CLD_TRAPPED): Likewise.
31910         (CLD_STOPPED): Likewise.
31911         (CLD_CONTINUED): Likewise.
31912         (POLL_IN): Likewise.
31913         (POLL_OUT): Likewise.
31914         (POLL_MSG): Likewise.
31915         (POLL_ERR): Likewise.
31916         (POLL_PRI): Likewise.
31917         (POLL_HUP): Likewise.
31918         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
31919         (ILL_ILLOPN): Likewise.
31920         (ILL_ILLADR): Likewise.
31921         (ILL_ILLTRP): Likewise.
31922         (ILL_PRVOPC): Likewise.
31923         (ILL_PRVREG): Likewise.
31924         (ILL_COPROC): Likewise.
31925         (ILL_BADSTK): Likewise.
31926         (FPE_INTDIV): Likewise.
31927         (FPE_INTOVF): Likewise.
31928         (FPE_FLTDIV): Likewise.
31929         (FPE_FLTOVF): Likewise.
31930         (FPE_FLTUND): Likewise.
31931         (FPE_FLTRES): Likewise.
31932         (FPE_FLTINV): Likewise.
31933         (FPE_FLTSUB): Likewise.
31934         (SEGV_MAPERR): Likewise.
31935         (SEGV_ACCERR): Likewise.
31936         (BUS_ADRALN): Likewise.
31937         (BUS_ADRERR): Likewise.
31938         (BUS_OBJERR): Likewise.
31939         (BUS_MCEERR_AR): Likewise.
31940         (BUS_MCEERR_AO): Likewise.
31941         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31942         (TRAP_TRACE): Likewise.
31943         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31944         __USE_XOPEN2K8].
31945         (CLD_KILLED): Likewise.
31946         (CLD_DUMPED): Likewise.
31947         (CLD_TRAPPED): Likewise.
31948         (CLD_STOPPED): Likewise.
31949         (CLD_CONTINUED): Likewise.
31950         (POLL_IN): Likewise.
31951         (POLL_OUT): Likewise.
31952         (POLL_MSG): Likewise.
31953         (POLL_ERR): Likewise.
31954         (POLL_PRI): Likewise.
31955         (POLL_HUP): Likewise.
31956         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
31957         (ILL_ILLOPN): Likewise.
31958         (ILL_ILLADR): Likewise.
31959         (ILL_ILLTRP): Likewise.
31960         (ILL_PRVOPC): Likewise.
31961         (ILL_PRVREG): Likewise.
31962         (ILL_COPROC): Likewise.
31963         (ILL_BADSTK): Likewise.
31964         (FPE_INTDIV): Likewise.
31965         (FPE_INTOVF): Likewise.
31966         (FPE_FLTDIV): Likewise.
31967         (FPE_FLTOVF): Likewise.
31968         (FPE_FLTUND): Likewise.
31969         (FPE_FLTRES): Likewise.
31970         (FPE_FLTINV): Likewise.
31971         (FPE_FLTSUB): Likewise.
31972         (SEGV_MAPERR): Likewise.
31973         (SEGV_ACCERR): Likewise.
31974         (BUS_ADRALN): Likewise.
31975         (BUS_ADRERR): Likewise.
31976         (BUS_OBJERR): Likewise.
31977         (BUS_MCEERR_AR): Likewise.
31978         (BUS_MCEERR_AO): Likewise.
31979         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31980         (TRAP_TRACE): Likewise.
31981         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31982         __USE_XOPEN2K8].
31983         (CLD_KILLED): Likewise.
31984         (CLD_DUMPED): Likewise.
31985         (CLD_TRAPPED): Likewise.
31986         (CLD_STOPPED): Likewise.
31987         (CLD_CONTINUED): Likewise.
31988         (POLL_IN): Likewise.
31989         (POLL_OUT): Likewise.
31990         (POLL_MSG): Likewise.
31991         (POLL_ERR): Likewise.
31992         (POLL_PRI): Likewise.
31993         (POLL_HUP): Likewise.
31994         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
31995         (ILL_ILLOPN): Likewise.
31996         (ILL_ILLADR): Likewise.
31997         (ILL_ILLTRP): Likewise.
31998         (ILL_PRVOPC): Likewise.
31999         (ILL_PRVREG): Likewise.
32000         (ILL_COPROC): Likewise.
32001         (ILL_BADSTK): Likewise.
32002         (FPE_INTDIV): Likewise.
32003         (FPE_INTOVF): Likewise.
32004         (FPE_FLTDIV): Likewise.
32005         (FPE_FLTOVF): Likewise.
32006         (FPE_FLTUND): Likewise.
32007         (FPE_FLTRES): Likewise.
32008         (FPE_FLTINV): Likewise.
32009         (FPE_FLTSUB): Likewise.
32010         (SEGV_MAPERR): Likewise.
32011         (SEGV_ACCERR): Likewise.
32012         (BUS_ADRALN): Likewise.
32013         (BUS_ADRERR): Likewise.
32014         (BUS_OBJERR): Likewise.
32015         (BUS_MCEERR_AR): Likewise.
32016         (BUS_MCEERR_AO): Likewise.
32017         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32018         (TRAP_TRACE): Likewise.
32019         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32020         __USE_XOPEN2K8].
32021         (CLD_KILLED): Likewise.
32022         (CLD_DUMPED): Likewise.
32023         (CLD_TRAPPED): Likewise.
32024         (CLD_STOPPED): Likewise.
32025         (CLD_CONTINUED): Likewise.
32026         (POLL_IN): Likewise.
32027         (POLL_OUT): Likewise.
32028         (POLL_MSG): Likewise.
32029         (POLL_ERR): Likewise.
32030         (POLL_PRI): Likewise.
32031         (POLL_HUP): Likewise.
32032         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
32033         (ILL_ILLOPN): Likewise.
32034         (ILL_ILLADR): Likewise.
32035         (ILL_ILLTRP): Likewise.
32036         (ILL_PRVOPC): Likewise.
32037         (ILL_PRVREG): Likewise.
32038         (ILL_COPROC): Likewise.
32039         (ILL_BADSTK): Likewise.
32040         (ILL_DBLFLT): Likewise.
32041         (ILL_HARDWALL): Likewise.
32042         (FPE_INTDIV): Likewise.
32043         (FPE_INTOVF): Likewise.
32044         (FPE_FLTDIV): Likewise.
32045         (FPE_FLTOVF): Likewise.
32046         (FPE_FLTUND): Likewise.
32047         (FPE_FLTRES): Likewise.
32048         (FPE_FLTINV): Likewise.
32049         (FPE_FLTSUB): Likewise.
32050         (SEGV_MAPERR): Likewise.
32051         (SEGV_ACCERR): Likewise.
32052         (BUS_ADRALN): Likewise.
32053         (BUS_ADRERR): Likewise.
32054         (BUS_OBJERR): Likewise.
32055         (BUS_MCEERR_AR): Likewise.
32056         (BUS_MCEERR_AO): Likewise.
32057         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32058         (TRAP_TRACE): Likewise.
32059         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32060         __USE_XOPEN2K8].
32061         (CLD_KILLED): Likewise.
32062         (CLD_DUMPED): Likewise.
32063         (CLD_TRAPPED): Likewise.
32064         (CLD_STOPPED): Likewise.
32065         (CLD_CONTINUED): Likewise.
32066         (POLL_IN): Likewise.
32067         (POLL_OUT): Likewise.
32068         (POLL_MSG): Likewise.
32069         (POLL_ERR): Likewise.
32070         (POLL_PRI): Likewise.
32071         (POLL_HUP): Likewise.
32072         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
32073         (ILL_ILLOPN): Likewise.
32074         (ILL_ILLADR): Likewise.
32075         (ILL_ILLTRP): Likewise.
32076         (ILL_PRVOPC): Likewise.
32077         (ILL_PRVREG): Likewise.
32078         (ILL_COPROC): Likewise.
32079         (ILL_BADSTK): Likewise.
32080         (FPE_INTDIV): Likewise.
32081         (FPE_INTOVF): Likewise.
32082         (FPE_FLTDIV): Likewise.
32083         (FPE_FLTOVF): Likewise.
32084         (FPE_FLTUND): Likewise.
32085         (FPE_FLTRES): Likewise.
32086         (FPE_FLTINV): Likewise.
32087         (FPE_FLTSUB): Likewise.
32088         (SEGV_MAPERR): Likewise.
32089         (SEGV_ACCERR): Likewise.
32090         (BUS_ADRALN): Likewise.
32091         (BUS_ADRERR): Likewise.
32092         (BUS_OBJERR): Likewise.
32093         (BUS_MCEERR_AR): Likewise.
32094         (BUS_MCEERR_AO): Likewise.
32095         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32096         (TRAP_TRACE): Likewise.
32097         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32098         __USE_XOPEN2K8].
32099         (CLD_KILLED): Likewise.
32100         (CLD_DUMPED): Likewise.
32101         (CLD_TRAPPED): Likewise.
32102         (CLD_STOPPED): Likewise.
32103         (CLD_CONTINUED): Likewise.
32104         (POLL_IN): Likewise.
32105         (POLL_OUT): Likewise.
32106         (POLL_MSG): Likewise.
32107         (POLL_ERR): Likewise.
32108         (POLL_PRI): Likewise.
32109         (POLL_HUP): Likewise.
32110         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
32111         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32113         [BZ #16670]
32114         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
32115         before #include of <time.h>.
32116         [!__USE_XOPEN2K] (__need_timespec): Likewise.
32117         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
32118         (test-xfail-UNIX98/sched.h/conform): Likewise.
32120 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32122         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
32123         error absence of trapping exception support.
32124         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32126 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32128         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
32129         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
32130         * timezone/Makefile (testdata): Move definition above include of
32131         Rules.
32132         (test-zones): New variable.
32133         (tests-special): Add zone files.
32134         (build-testdata): Use $(evaluate-test).
32136         * elf/Makefile (tests-special): Rename tests to end with .out.
32137         ($(objpfx)noload-mem): Likewise.
32138         ($(objpfx)tst-leaks1-mem): Likewise.
32139         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
32140         * iconv/Makefile (xtests-special): Change test-iconvconfig to
32141         $(objpfx)test-iconvconfig.out.
32142         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
32143         set -e inside subshell and redirect output to file.
32144         * iconvdata/Makefile (generated): Rename tests to end with .out.
32145         Correct type.
32146         (tests-special): Rename tests to end with .out.
32147         ($(objpfx)mtrace-tst-loading): Likewise.
32148         * intl/Makefile (generated): Likewise.
32149         (tests-special): Likewise.
32150         ($(objpfx)mtrace-tst-gettext): Likewise.
32151         * misc/Makefile (generated): Likewise.
32152         (tests-special): Likewise.
32153         ($(objpfx)tst-error1-mem): Likewise.
32154         * nptl/Makefile (tests-special): Likewise.
32155         ($(objpfx)tst-stack3-mem): Likewise.
32156         (generated): Likewise.
32157         * posix/Makefile (generated): Likewise.
32158         (tests-special): Likewise.
32159         (xtests-special): Likewise.
32160         ($(objpfx)tst-fnmatch-mem): Likewise.
32161         ($(objpfx)bug-regex2-mem): Likewise.
32162         ($(objpfx)bug-regex14-mem): Likewise.
32163         ($(objpfx)bug-regex21-mem): Likewise.
32164         ($(objpfx)bug-regex31-mem): Likewise.
32165         ($(objpfx)tst-vfork3-mem): Likewise.
32166         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32167         ($(objpfx)tst-pcre-mem): Likewise.
32168         ($(objpfx)tst-boost-mem): Likewise.
32169         ($(objpfx)bug-ga2-mem): Likewise.
32170         ($(objpfx)bug-glob2-mem): Likewise.
32171         * resolv/Makefile (generate): Likewise.
32172         (tests-special): Likewise.
32173         (xtests-special): Likewise.
32174         (generated): Likewise.
32175         ($(objpfx)mtrace-tst-leaks): Likewise.
32176         ($(objpfx)mtrace-tst-leaks2): Likewise.
32178         * scripts/merge-test-results.sh: New file.
32179         * Makefile (tests-special-notdir): New variable.
32180         (tests): Run merge-test-results.sh.
32181         (xtests): Likewise.
32182         * Rules (tests-special-notdir): New variable.
32183         (xtests-special-notdir): Likewise.
32184         (tests): Run merge-test-results.sh
32185         (xtests): Likewise.
32187         * Makeconfig (test-xfail-name): New variable.
32188         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
32189         compute variable name for expected failures.
32190         * conform/Makefile (conformtest-headers-data): New variable.
32191         (conformtest-standards): Likewise.
32192         (conformtest-headers-ISO): Likewise.
32193         (conformtest-headers-ISO99): Likewise.
32194         (conformtest-headers-ISO11): Likewise.
32195         (conformtest-headers-POSIX): Likewise.
32196         (conformtest-headers-XPG3): Likewise.
32197         (conformtest-headers-XPG4): Likewise.
32198         (conformtest-headers-UNIX98): Likewise.
32199         (conformtest-headers-XOPEN2K): Likewise.
32200         (conformtest-headers-POSIX2008): Likewise.
32201         (conformtest-headers-XOPEN2K8): Likewise.
32202         (conformtest-header-list-base): Likewise.
32203         (conformtest-header-list-tests): Likewise.
32204         (conformtest-header-base): Likewise.
32205         (conformtest-header-tests): Likewise.
32206         (tests-special): Add $(conformtest-header-list-tests).  If
32207         [$(fast-check) && !$(cross-compiling)], add
32208         $(conformtest-header-tests) instead of
32209         $(objpfx)run-conformtest.out.
32210         (generated): Add $(conformtest-header-list-base).  If
32211         [$(fast-check) && !$(cross-compiling)], add
32212         $(conformtest-header-base).  Remove previous setting.
32213         ($(conformtest-header-list-tests)): New target.
32214         (test-xfail-run-conformtest): Remove variable.
32215         ($(objpfx)run-conformtest.out): Remove target.
32216         (test-xfail-ISO11/complex.h/conform): New variable.
32217         (test-xfail-ISO11/stdalign.h/conform): Likewise.
32218         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
32219         (test-xfail-XPG3/varargs.h/conform): Likewise.
32220         (test-xfail-XPG4/varargs.h/conform): Likewise.
32221         (test-xfail-UNIX98/varargs.h/conform): Likewise.
32222         (test-xfail-XPG4/ndbm.h/conform): Likewise.
32223         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
32224         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
32225         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
32226         (test-xfail-XPG3/fcntl.h/conform): Likewise.
32227         (test-xfail-XPG3/ftw.h/conform): Likewise.
32228         (test-xfail-XPG3/grp.h/conform): Likewise.
32229         (test-xfail-XPG3/langinfo.h/conform): Likewise.
32230         (test-xfail-XPG3/limits.h/conform): Likewise.
32231         (test-xfail-XPG3/pwd.h/conform): Likewise.
32232         (test-xfail-XPG3/search.h/conform): Likewise.
32233         (test-xfail-XPG3/signal.h/conform): Likewise.
32234         (test-xfail-XPG3/stdio.h/conform): Likewise.
32235         (test-xfail-XPG3/stdlib.h/conform): Likewise.
32236         (test-xfail-XPG3/string.h/conform): Likewise.
32237         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
32238         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
32239         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32240         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32241         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
32242         (test-xfail-XPG3/sys/types.h/conform): Likewise.
32243         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
32244         (test-xfail-XPG3/termios.h/conform): Likewise.
32245         (test-xfail-XPG3/time.h/conform): Likewise.
32246         (test-xfail-XPG3/unistd.h/conform): Likewise.
32247         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
32248         (test-xfail-XPG4/fcntl.h/conform): Likewise.
32249         (test-xfail-XPG4/langinfo.h/conform): Likewise.
32250         (test-xfail-XPG4/netdb.h/conform): Likewise.
32251         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
32252         (test-xfail-XPG4/signal.h/conform): Likewise.
32253         (test-xfail-XPG4/stdio.h/conform): Likewise.
32254         (test-xfail-XPG4/stdlib.h/conform): Likewise.
32255         (test-xfail-XPG4/stropts.h/conform): Likewise.
32256         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32257         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32258         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32259         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32260         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32261         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
32262         (test-xfail-XPG4/sys/time.h/conform): Likewise.
32263         (test-xfail-XPG4/sys/types.h/conform): Likewise.
32264         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
32265         (test-xfail-XPG4/termios.h/conform): Likewise.
32266         (test-xfail-XPG4/ucontext.h/conform): Likewise.
32267         (test-xfail-XPG4/unistd.h/conform): Likewise.
32268         (test-xfail-XPG4/utmpx.h/conform): Likewise.
32269         (test-xfail-POSIX/sched.h/conform): Likewise.
32270         (test-xfail-POSIX/signal.h/conform): Likewise.
32271         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32272         (test-xfail-POSIX/tar.h/conform): Likewise.
32273         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
32274         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
32275         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
32276         (test-xfail-UNIX98/netdb.h/conform): Likewise.
32277         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
32278         (test-xfail-UNIX98/sched.h/conform): Likewise.
32279         (test-xfail-UNIX98/signal.h/conform): Likewise.
32280         (test-xfail-UNIX98/stdio.h/conform): Likewise.
32281         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
32282         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32283         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32284         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32285         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32286         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32287         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32288         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
32289         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32290         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32291         (test-xfail-UNIX98/unistd.h/conform): Likewise.
32292         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
32293         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
32294         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
32295         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
32296         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
32297         (test-xfail-XOPEN2K/math.h/conform): Likewise.
32298         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
32299         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32300         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32301         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
32302         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32303         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
32304         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
32305         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32306         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32307         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32308         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32309         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32310         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32311         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32312         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
32313         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
32314         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32315         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32316         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
32317         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32318         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
32319         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
32320         (test-xfail-POSIX2008/signal.h/conform): Likewise.
32321         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32322         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
32323         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32324         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32325         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32326         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
32327         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
32328         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32329         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32330         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32331         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
32332         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32333         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32334         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32335         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
32336         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32337         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32338         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32339         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32340         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32341         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
32342         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
32343         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
32344         (conformtest-cc-flags): Likewise.
32345         ($(conformtest-header-tests): New target.
32346         * conform/check-header-lists.sh: New file.
32347         * conform/run-conformtest.sh: Remove.
32349         * conform/conformtest.pl: Allow ' and \ in values given for
32350         constants.
32351         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
32352         inclusion.
32353         [POSIX] (sys/types.h): Likewise.
32354         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
32355         inclusion.
32356         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
32357         inclusion.
32358         * conform/data/signal.h-data (SIGIO): Remove expectation.
32359         [XPG3] (SIGBUS): Do not expect.
32360         [POSIX || XPG3] (SIGPOLL): Likewise.
32361         [POSIX || XPG3] (SIGPROF): Likewise.
32362         [POSIX || XPG3] (SIGSYS): Likewise.
32363         [XPG3] (SIGTRAP): Likewise.
32364         [POSIX || XPG3] (SIGURG): Likewise.
32365         [POSIX || XPG3] (SIGVTALRM): Likewise.
32366         [POSIX || XPG3] (SIGXCPU): Likewise.
32367         [POSIX || XPG3] (SIGXFSZ): Likewise.
32368         [POSIX] (SA_SIGINFO): Expect.
32369         [XPG3] (siginfo_t): Do not expect type or contents.
32370         [POSIX] (si_pid): Do not expect element.
32371         [POSIX] (si_uid): Likewise.
32372         [POSIX] (si_addr): Likewise.
32373         [POSIX] (si_status): Likewise.
32374         [POSIX] (si_band): Likewise.
32375         [XPG4] (si_value): Likewise.
32376         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
32377         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
32378         [POSIX || XPG3] (ILL_ILLADR): Likewise.
32379         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
32380         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
32381         [POSIX || XPG3] (ILL_PRVREG): Likewise.
32382         [POSIX || XPG3] (ILL_COPROC): Likewise.
32383         [POSIX || XPG3] (ILL_BADSTK): Likewise.
32384         [POSIX || XPG3] (FPE_INTDIV): Likewise.
32385         [POSIX || XPG3] (FPE_INTOVF): Likewise.
32386         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
32387         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
32388         [POSIX || XPG3] (FPE_FLTUND): Likewise.
32389         [POSIX || XPG3] (FPE_FLTRES): Likewise.
32390         [POSIX || XPG3] (FPE_FLTINV): Likewise.
32391         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
32392         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
32393         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
32394         [POSIX || XPG3] (BUS_ADRALN): Likewise.
32395         [POSIX || XPG3] (BUS_ADRERR): Likewise.
32396         [POSIX || XPG3] (BUS_OBJERR): Likewise.
32397         [POSIX || XPG3] (CLD_EXITED): Likewise.
32398         [POSIX || XPG3] (CLD_KILLED): Likewise.
32399         [POSIX || XPG3] (CLD_DUMPED): Likewise.
32400         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
32401         [POSIX || XPG3] (CLD_STOPPED): Likewise.
32402         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
32403         [POSIX || XPG3] (POLL_IN): Likewise.
32404         [POSIX || XPG3] (POLL_OUT): Likewise.
32405         [POSIX || XPG3] (POLL_MSG): Likewise.
32406         [POSIX || XPG3] (POLL_ERR): Likewise.
32407         [POSIX || XPG3] (POLL_PRI): Likewise.
32408         [POSIX || XPG3] (POLL_HUP): Likewise.
32409         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
32410         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
32411         (SIG*): Do not allow.
32412         [XPG3] (si_*): Likewise.
32413         [XPG3] (SI_*): Likewise.
32414         [XPG3 || XPG4] (sigev_*): Likewise.
32415         [XPG3 || XPG4] (SIGEV_*): Likewise.
32416         [XPG3 || XPG4] (sival_*): Likewise.
32417         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
32418         [POSIX || XPG3] (BUS_*): Likewise.
32419         [POSIX || XPG3] (CLD_*): Likewise.
32420         [POSIX || XPG3] (FPE_*): Likewise.
32421         [POSIX || XPG3] (ILL_*): Likewise.
32422         [POSIX || XPG3] (POLL_*): Likewise.
32423         [POSIX || XPG3] (SEGV_*): Likewise.
32424         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
32425         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
32426         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
32427         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
32428         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
32429         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
32430         Specify type and value.
32431         (TVERSLEN): Likewise.
32432         (REGTYPE): Likewise.
32433         (AREGTYPE): Likewise.
32434         (LNKTYPE): Likewise.
32435         (SYMTYPE): Likewise.
32436         (CHRTYPE): Likewise.
32437         (BLKTYPE): Likewise.
32438         (DIRTYPE): Likewise.
32439         (FIFOTYPE): Likewise.
32440         (CONTTYPE): Likewise.
32441         (TSUID): Likewise.
32442         (TSGID): Likewise.
32443         (TSVTX): Likewise.
32444         (TUREAD): Likewise.
32445         (TUWRITE): Likewise.
32446         (TUEXEC): Likewise.
32447         (TGREAD): Likewise.
32448         (TGWRITE): Likewise.
32449         (TGEXEC): Likewise.
32450         (TOREAD): Likewise.
32451         (TOWRITE): Likewise.
32452         (TOEXEC): Likewise.
32453         [POSIX] (TSVTX): Expect constant.
32455 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
32457         * Makefile (tests): Change dependencies to ....
32458         (tests-special): ... additions to this variable.
32459         (tests): Depend on $(tests-special).
32460         * Makerules (check-abi-list): New variable.
32461         (check-abi): Depend on $(check-abi-list).
32462         [$(subdir) = elf] (tests-special): Add
32463         $(objpfx)check-abi-libc.out.
32464         [$(build-shared) = yes && subdir] (tests-special): Add
32465         $(check-abi-list).
32466         [$(build-shared) = yes && subdir] (tests): Do not depend on
32467         check-abi.
32468         * Rules (tests): Depend on $(tests-special).
32469         (xtests): Depend on $(xtests-special).
32470         * catgets/Makefile (tests): Change dependencies to ....
32471         (tests-special): ... additions to this variable.
32472         * conform/Makefile (tests): Change dependencies to ....
32473         (tests-special): ... additions to this variable.
32474         * elf/Makefile (tests): Change dependencies to ....
32475         (tests-special): ... additions to this variable.
32476         * grp/Makefile (tests): Change dependencies to ....
32477         (tests-special): ... additions to this variable.
32478         * iconv/Makefile (xtests): Change dependencies to ....
32479         (xtests-special): ... additions to this variable.
32480         * iconvdata/Makefile (tests): Change dependencies to ....
32481         (tests-special): ... additions to this variable.
32482         * intl/Makefile (tests): Change dependencies to ....
32483         (tests-special): ... additions to this variable.  Also add
32484         $(objpfx)tst-gettext.out.
32485         * io/Makefile (tests): Change dependencies to ....
32486         (tests-special): ... additions to this variable.
32487         * libio/Makefile (tests): Change dependencies to ....
32488         (tests-special): ... additions to this variable.
32489         * malloc/Makefile (tests): Change dependencies to ....
32490         (tests-special): ... additions to this variable.
32491         * misc/Makefile (tests): Change dependencies to ....
32492         (tests-special): ... additions to this variable.
32493         * nptl/Makefile (tests): Change dependencies to ....
32494         (tests-special): ... additions to this variable.
32495         * nptl_db/Makefile (tests): Change dependencies to ....
32496         (tests-special): ... additions to this variable.
32497         * posix/Makefile (tests): Change dependencies to ....
32498         (tests-special): ... additions to this variable.
32499         (xtests): Change dependencies to ....
32500         (xtests-special): ... additions to this variable.
32501         * resolv/Makefile (tests): Change dependencies to ....
32502         (tests-special): ... additions to this variable.
32503         (xtests): Change dependencies to ....
32504         (xtests-special): ... additions to this variable.
32505         * stdio-common/Makefile (tests): Change dependencies to ....
32506         (tests-special): ... additions to this variable.
32507         (do-tst-unbputc): Remove target.
32508         (do-tst-printf): Likewise.
32509         * stdlib/Makefile (tests): Change dependencies to ....
32510         (tests-special): ... additions to this variable.
32511         * string/Makefile (tests): Change dependencies to ....
32512         (tests-special): ... additions to this variable.
32513         * sysdeps/x86/Makefile (tests): Change dependencies to ....
32514         (tests-special): ... additions to this variable.
32516         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
32517         whole file.
32518         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
32519         whole file.
32520         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
32521         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
32523         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
32524         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
32525         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
32526         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
32527         * conform/data/libgen.h-data [XPG3]: Likewise.
32528         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
32529         * conform/data/ndbm.h-data [XPG3]: Likewise.
32530         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32531         * conform/data/netdb.h-data [XPG3]: Likewise.
32532         * conform/data/netinet/in.h-data [XPG3]: Likewise.
32533         * conform/data/poll.h-data [XPG3]: Likewise.
32534         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32535         * conform/data/strings.h-data [XPG3]: Likewise.
32536         * conform/data/stropts.h-data [XPG3]: Likewise.
32537         * conform/data/sys/mman.h-data [XPG3]: Likewise.
32538         * conform/data/sys/resource.h-data [XPG3]: Likewise.
32539         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
32540         Likewise.
32541         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
32542         * conform/data/sys/time.h-data [XPG3]: Likewise.
32543         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
32544         * conform/data/sys/uio.h-data [XPG3]: Likewise.
32545         * conform/data/sys/un.h-data [XPG3]: Likewise.
32546         * conform/data/syslog.h-data [XPG3]: Likewise.
32547         * conform/data/ucontext.h-data [XPG3]: Likewise.
32548         * conform/data/utmpx.h-data [XPG3]: Likewise.
32549         * conform/data/varargs.h-data [UNIX98]: Enable file.
32551         * manual/Makefile (INSTALL_INFO): Remove variable setting.
32553         * math/libm-test.inc (struct test_f_f_data): Move expected results
32554         into structure for each rounding mode.
32555         (struct test_ff_f_data): Likewise.
32556         (struct test_ff_f_data_nexttoward): Likewise.
32557         (struct test_fi_f_data): Likewise.
32558         (struct test_fl_f_data): Likewise.
32559         (struct test_if_f_data): Likewise.
32560         (struct test_fff_f_data): Likewise.
32561         (struct test_c_f_data): Likewise.
32562         (struct test_f_f1_data): Likewise.
32563         (struct test_fF_f1_data): Likewise.
32564         (struct test_ffI_f1_data): Likewise.
32565         (struct test_c_c_data): Likewise.
32566         (struct test_cc_c_data): Likewise.
32567         (struct test_f_i_data): Likewise.
32568         (struct test_ff_i_data): Likewise.
32569         (struct test_f_l_data): Likewise.
32570         (struct test_f_L_data): Likewise.
32571         (struct test_fFF_11_data): Likewise.
32572         (RM_): New macro.
32573         (RM_FE_DOWNWARD): Likewise.
32574         (RM_FE_TONEAREST): Likewise.
32575         (RM_FE_TOWARDZERO): Likewise.
32576         (RM_FE_UPWARD): Likewise.
32577         (RUN_TEST_LOOP_f_f): Update references to expected results.
32578         (RUN_TEST_LOOP_2_f): Likewise.
32579         (RUN_TEST_LOOP_fff_f): Likewise.
32580         (RUN_TEST_LOOP_c_f): Likewise.
32581         (RUN_TEST_LOOP_f_f1): Likewise.
32582         (RUN_TEST_LOOP_fF_f1): Likewise.
32583         (RUN_TEST_LOOP_fI_f1): Likewise.
32584         (RUN_TEST_LOOP_ffI_f1): Likewise.
32585         (RUN_TEST_LOOP_c_c): Likewise.
32586         (RUN_TEST_LOOP_cc_c): Likewise.
32587         (RUN_TEST_LOOP_f_i): Likewise.
32588         (RUN_TEST_LOOP_f_i_tg): Likewise.
32589         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32590         (RUN_TEST_LOOP_f_b): Likewise.
32591         (RUN_TEST_LOOP_f_b_tg): Likewise.
32592         (RUN_TEST_LOOP_f_l): Likewise.
32593         (RUN_TEST_LOOP_f_L): Likewise.
32594         (RUN_TEST_LOOP_fFF_11): Likewise.
32595         * math/gen-libm-test.pl (parse_args): Output four copies of
32596         expected results for each test.
32598         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32599         (__ASSUME_UTIMES): Remove.
32600         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32601         (__ASSUME_UTIMES): Likewise.
32603         * math/gen-auto-libm-tests.c: Update comment on output format.
32604         (output_for_one_input_case): Generate before-rounding and
32605         after-rounding information as conditions on output flags not
32606         floating-point format.
32607         * math/auto-libm-test-out: Regenerated.
32608         * math/gen-libm-test.pl (cond_value): New function.
32609         (or_cond_value): Use cond_value.
32610         (generate_testfile): Handle conditional exceptions.
32612 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
32614         * math/libm-test.inc (max_valid_error): New variable.
32615         (init_max_error): Take new argument specifying whether function
32616         results are exactly determined.  Set max_valid_error and bound
32617         other variables for errors based on this argument.
32618         (set_max_error): Do not record results above max_valid_error.
32619         (check_float_internal): Only accept errors of up to 0.5ulps if
32620         also at most max_valid_error.
32621         (START): Take new argument EXACT and pass it to init_max_error.
32622         (acos_test): Update call to START.
32623         (acos_test_tonearest): Likewise.
32624         (acos_test_towardzero): Likewise.
32625         (acos_test_downward): Likewise.
32626         (acos_test_upward): Likewise.
32627         (acosh_test): Likewise.
32628         (asin_test): Likewise.
32629         (asin_test_tonearest): Likewise.
32630         (asin_test_towardzero): Likewise.
32631         (asin_test_downward): Likewise.
32632         (asin_test_upward): Likewise.
32633         (asinh_test): Likewise.
32634         (atan_test): Likewise.
32635         (atanh_test): Likewise.
32636         (atan2_test): Likewise.
32637         (cabs_test): Likewise.
32638         (cacos_test): Likewise.
32639         (cacosh_test): Likewise.
32640         (carg_test): Likewise.
32641         (casin_test): Likewise.
32642         (casinh_test): Likewise.
32643         (catan_test): Likewise.
32644         (catanh_test): Likewise.
32645         (cbrt_test): Likewise.
32646         (ccos_test): Likewise.
32647         (ccosh_test): Likewise.
32648         (ceil_test): Likewise.
32649         (cexp_test): Likewise.
32650         (cimag_test): Likewise.
32651         (clog_test): Likewise.
32652         (clog10_test): Likewise.
32653         (conj_test): Likewise.
32654         (copysign_test): Likewise.
32655         (cos_test): Likewise.
32656         (cos_test_tonearest): Likewise.
32657         (cos_test_towardzero): Likewise.
32658         (cos_test_downward): Likewise.
32659         (cos_test_upward): Likewise.
32660         (cosh_test): Likewise.
32661         (cosh_test_tonearest): Likewise.
32662         (cosh_test_towardzero): Likewise.
32663         (cosh_test_downward): Likewise.
32664         (cosh_test_upward): Likewise.
32665         (cpow_test): Likewise.
32666         (cproj_test): Likewise.
32667         (creal_test): Likewise.
32668         (csin_test): Likewise.
32669         (csinh_test): Likewise.
32670         (csqrt_test): Likewise.
32671         (ctan_test): Likewise.
32672         (ctan_test_tonearest): Likewise.
32673         (ctan_test_towardzero): Likewise.
32674         (ctan_test_downward): Likewise.
32675         (ctan_test_upward): Likewise.
32676         (ctanh_test): Likewise.
32677         (ctanh_test_tonearest): Likewise.
32678         (ctanh_test_towardzero): Likewise.
32679         (ctanh_test_downward): Likewise.
32680         (ctanh_test_upward): Likewise.
32681         (erf_test): Likewise.
32682         (erfc_test): Likewise.
32683         (exp_test): Likewise.
32684         (exp_test_tonearest): Likewise.
32685         (exp_test_towardzero): Likewise.
32686         (exp_test_downward): Likewise.
32687         (exp_test_upward): Likewise.
32688         (exp10_test): Likewise.
32689         (exp10_test_tonearest): Likewise.
32690         (exp10_test_towardzero): Likewise.
32691         (exp10_test_downward): Likewise.
32692         (exp10_test_upward): Likewise.
32693         (pow10_test): Likewise.
32694         (exp2_test): Likewise.
32695         (expm1_test): Likewise.
32696         (expm1_test_tonearest): Likewise.
32697         (expm1_test_towardzero): Likewise.
32698         (expm1_test_downward): Likewise.
32699         (expm1_test_upward): Likewise.
32700         (fabs_test): Likewise.
32701         (fdim_test): Likewise.
32702         (floor_test): Likewise.
32703         (fma_test): Likewise.
32704         (fma_test_towardzero): Likewise.
32705         (fma_test_downward): Likewise.
32706         (fma_test_upward): Likewise.
32707         (fmax_test): Likewise.
32708         (fmin_test): Likewise.
32709         (fmod_test): Likewise.
32710         (fpclassify_test): Likewise.
32711         (frexp_test): Likewise.
32712         (hypot_test): Likewise.
32713         (ilogb_test): Likewise.
32714         (isfinite_test): Likewise.
32715         (finite_test): Likewise.
32716         (isgreater_test): Likewise.
32717         (isgreaterequal_test): Likewise.
32718         (isinf_test): Likewise.
32719         (isless_test): Likewise.
32720         (islessequal_test): Likewise.
32721         (islessgreater_test): Likewise.
32722         (isnan_test): Likewise.
32723         (isnormal_test): Likewise.
32724         (issignaling_test): Likewise.
32725         (isunordered_test): Likewise.
32726         (j0_test): Likewise.
32727         (j1_test): Likewise.
32728         (jn_test): Likewise.
32729         (ldexp_test): Likewise.
32730         (lgamma_test): Likewise.
32731         (gamma_test): Likewise.
32732         (lrint_test): Likewise.
32733         (lrint_test_tonearest): Likewise.
32734         (lrint_test_towardzero): Likewise.
32735         (lrint_test_downward): Likewise.
32736         (lrint_test_upward): Likewise.
32737         (llrint_test): Likewise.
32738         (llrint_test_tonearest): Likewise.
32739         (llrint_test_towardzero): Likewise.
32740         (llrint_test_downward): Likewise.
32741         (llrint_test_upward): Likewise.
32742         (log_test): Likewise.
32743         (log10_test): Likewise.
32744         (log1p_test): Likewise.
32745         (log2_test): Likewise.
32746         (logb_test): Likewise.
32747         (logb_test_downward): Likewise.
32748         (lround_test): Likewise.
32749         (llround_test): Likewise.
32750         (modf_test): Likewise.
32751         (nearbyint_test): Likewise.
32752         (nextafter_test): Likewise.
32753         (nexttoward_test): Likewise.
32754         (pow_test): Likewise.
32755         (pow_test_tonearest): Likewise.
32756         (pow_test_towardzero): Likewise.
32757         (pow_test_downward): Likewise.
32758         (pow_test_upward): Likewise.
32759         (remainder_test): Likewise.
32760         (drem_test): Likewise.
32761         (remainder_test_tonearest): Likewise.
32762         (drem_test_tonearest): Likewise.
32763         (remainder_test_towardzero): Likewise.
32764         (drem_test_towardzero): Likewise.
32765         (remainder_test_downward): Likewise.
32766         (drem_test_downward): Likewise.
32767         (remainder_test_upward): Likewise.
32768         (drem_test_upward): Likewise.
32769         (remquo_test): Likewise.
32770         (rint_test): Likewise.
32771         (rint_test_tonearest): Likewise.
32772         (rint_test_towardzero): Likewise.
32773         (rint_test_downward): Likewise.
32774         (rint_test_upward): Likewise.
32775         (round_test): Likewise.
32776         (scalb_test): Likewise.
32777         (scalbn_test): Likewise.
32778         (scalbln_test): Likewise.
32779         (signbit_test): Likewise.
32780         (sin_test): Likewise.
32781         (sin_test_tonearest): Likewise.
32782         (sin_test_towardzero): Likewise.
32783         (sin_test_downward): Likewise.
32784         (sin_test_upward): Likewise.
32785         (sincos_test): Likewise.
32786         (sinh_test): Likewise.
32787         (sinh_test_tonearest): Likewise.
32788         (sinh_test_towardzero): Likewise.
32789         (sinh_test_downward): Likewise.
32790         (sinh_test_upward): Likewise.
32791         (sqrt_test): Likewise.
32792         (sqrt_test_tonearest): Likewise.
32793         (sqrt_test_towardzero): Likewise.
32794         (sqrt_test_downward): Likewise.
32795         (sqrt_test_upward): Likewise.
32796         (tan_test): Likewise.
32797         (tan_test_tonearest): Likewise.
32798         (tan_test_towardzero): Likewise.
32799         (tan_test_downward): Likewise.
32800         (tan_test_upward): Likewise.
32801         (tanh_test): Likewise.
32802         (tgamma_test): Likewise.
32803         (trunc_test): Likewise.
32804         (y0_test): Likewise.
32805         (y1_test): Likewise.
32806         (yn_test): Likewise.
32807         (significand_test): Likewise.
32809         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
32810         individual tests in comment.
32811         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
32812         (prev_max_error): New variable.
32813         (prev_real_max_error): Likewise.
32814         (prev_imag_max_error): Likewise.
32815         (compare_ulp_data): Don't refer to test names in comment.
32816         (find_test_ulps): Remove function.
32817         (find_function_ulps): Likewise.
32818         (find_complex_function_ulps): Likewise.
32819         (init_max_error): Take function name as argument.  Look up ulps
32820         for that function.
32821         (print_ulps): Remove function.
32822         (print_max_error): Use prev_max_error instead of calling
32823         find_function_ulps.
32824         (print_complex_max_error): Use prev_real_max_error and
32825         prev_imag_max_error instead of calling find_complex_function_ulps.
32826         (check_float_internal): Take max_ulp parameter instead of calling
32827         find_test_ulps.  Don't call print_ulps.
32828         (check_float): Update call to check_float_internal.
32829         (check_complex): Update calls to check_float_internal.
32830         (START): Pass argument to init_max_error.
32831         * math/gen-libm-test.pl (%results): Don't include "kind"
32832         information.
32833         (parse_ulps): Don't handle ulps of individual tests.
32834         (print_ulps_file): Likewise.
32835         (output_ulps): Likewise.
32836         * math/README.libm-test: Update.
32837         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32838         individual tests.
32839         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
32840         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32841         * sysdeps/arm/libm-test-ulps: Likewise.
32842         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32843         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
32844         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
32845         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
32846         * sysdeps/microblaze/libm-test-ulps: Likewise.
32847         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32848         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32849         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32850         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32851         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32852         * sysdeps/sh/libm-test-ulps: Likewise.
32853         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32854         * sysdeps/tile/libm-test-ulps: Likewise.
32855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32857 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
32859         * math/libm-test.inc (print_complex_max_error): Check separately
32860         whether real and imaginary errors are within allowed range and
32861         pass 0 to print_complex_function_ulps instead of value within
32862         allowed range.
32864 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32866         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
32867         formatting.
32868         (get_handles_fopen): Likewise.
32869         (do_write_test): Likewise.
32871         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
32873         * libio/fileops.c (do_ftell): Use cached offset when
32874         available.
32875         * libio/iofwide.c (do_ftell_wide): Likewise.
32876         * libio/iofdopen.c (_IO_new_fdopen): Don't use
32877         _IO_file_attach.
32878         * libio/wfileops.c (_IO_fwide): Don't cache offset.
32880         [BZ #16532]
32881         * libio/libioP.h (get_file_offset): New function.
32882         * libio/fileops.c (get_file_offset): Likewise.
32883         (do_ftell): Likewise.
32884         (_IO_new_file_seekoff): Split out ftell logic.
32885         * libio/wfileops.c (do_ftell_wide): Likewise.
32886         (_IO_wfile_seekoff): Split out ftell logic.
32887         * libio/tst-ftell-active-handler.c: New test case.
32888         * libio/Makefile (tests): Add it.
32890 2014-03-03  Roland McGrath  <roland@hack.frob.com>
32892         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
32893         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
32895 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32897         [BZ #16639]
32898         * nscd/connections.c (nscd_init): Call do_exit.
32899         (start_threads): Call do_exit and notify_parent.
32900         (begin_drop_privileges): Call do_exit.
32901         (finish_drop_privileges): Likewise.
32902         * nscd/selinux.c (preserve_capabilities): Likewise.
32903         (install_real_capabilities): Likewise.
32904         (nscd_selinux_enabled): Likewise.
32905         (avc_create_thread): Likewise.
32906         (avc_alloc_lock): Likewise.
32907         (nscd_avc_init): Likewise.
32908         * nscd/nscd.c (parent_fd): New static variable.
32909         (main): Create a pipe between parent and child processes.
32910         Skip closing parent_fd.
32911         (monitor_child): New function.
32912         (do_exit): Likewise.
32913         (notify_parent): Likewise.
32914         * nscd/nscd.h (notify_parent): Likewise.
32915         (do_exit): Likewise.
32917 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
32919         * malloc/malloc.c (__libc_calloc): Revert last change.
32921 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32925 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32927         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
32928         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
32929         implementation.
32930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32931         (__libc_ifunc_impl_list): Likewise.
32932         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
32933         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
32934         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
32935         * string/strrchr.c: Define STRRCHR.
32937 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
32939         * benchtest/bench-strtok.c (simple_strtok): Delete.
32940         (strtok_string): Use as benchmark.
32941         * string/strtok (STRTOK): New macro.
32943 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
32945         * manual/threads.texi: Add header and standard comments to all
32946         functions.
32948         * elf/dl-lookup.c (check_match): New function.
32949         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
32950         (do_lookup_x): Remove nested function check_match. Use non-nested
32951         function check_match.
32953 2014-02-28  Roland McGrath  <roland@hack.frob.com>
32955         * csu/Makefile (generated, before-compile): Use += rather than =.
32956         * catgets/Makefile (generated, generated-dirs): Likewise.
32957         * debug/Makefile (generated): Likewise.
32958         * dlfcn/Makefile (generated): Likewise.
32959         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
32960         * iconvdata/Makefile (before-compile, generated): Likewise.
32961         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
32962         * libio/Makefile (generated): Likewise.
32963         * malloc/Makefile (generated): Likewise.
32964         * manual/Makefile (generated, generated-dirs): Likewise.
32965         * misc/Makefile (generated): Likewise.
32966         * posix/Makefile (generated): Likewise.
32967         * resolv/Makefile (generated): Likewise.
32968         * sunrpc/Makefile (generated, generated-dirs): Likewise.
32969         * timezone/Makefile (generated, generated-dirs): Likewise.
32971         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
32973 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32975         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32976         power8 implementation.
32977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
32978         file: POWER8 llround ifunc implementation.
32979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
32980         (__lllround): Add POWER8 implementation.
32981         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
32982         POWER8 llround implementation.
32984         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
32985         power8 implementation.
32986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
32987         file: POWER8 llrint ifunc implementation.
32988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
32989         Add POWER8 implementation.
32990         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
32991         POWER8 llrint implementation.
32993         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
32994         power8 implementation.
32995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
32996         file: POWER8 finite ifunc implementation.
32997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
32998         Add POWER8 implementation.
32999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
33000         Likewise.
33001         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
33002         POWER8 finite implementation.
33003         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
33005         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
33006         power8 implementation.
33007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
33008         file: POWER8 isinf ifunc implementation.
33009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
33010         POWER8 implementation.
33011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
33012         Likewise.
33013         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
33014         isinf implementation.
33015         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
33017         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
33018         (INIT_ARCH): Add hwcap2 initialization.
33019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33020         power8 implementation.
33021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
33022         file: POWER8 isnan ifunc implementation.
33023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
33024         POWER8 implementation.
33025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
33026         Likewise.
33027         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
33028         isnan implementation.
33029         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
33031 2014-02-27  Joey Ye  <joey.ye@arm.com>
33033         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33034         (_FP_NANFRAC_Q): Set to zero.
33036 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33038         [BZ #16623]
33039         * math/auto-libm-test-in: New test inputs.
33040         * math/auto-libm-test-out: Regenerate.
33041         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
33042         and DA.
33043         (__cos): Likewise.
33044         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33046 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
33048         * scripts/evaluate-test.sh: Take new argument indicating whether
33049         failure is expected.
33050         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
33051         indicating whether failure is expected.
33052         * conform/Makefile (test-xfail-run-conformtest): New variable.
33053         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
33054         level.
33055         * posix/Makefile (test-xfail-annexc): New variable.
33056         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
33058 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
33060         * argp/Makefile: Include Makeconfig immediately after defining
33061         subdir.
33062         * assert/Makefile: Likewise.
33063         * benchtests/Makefile: Likewise.
33064         * catgets/Makefile: Likewise.
33065         * conform/Makefile: Likewise.
33066         * crypt/Makefile: Likewise.
33067         * csu/Makefile: Likewise.
33068         (all): Remove target.
33069         * ctype/Makefile: Include Makeconfig immediately after defining
33070         subdir.
33071         * debug/Makefile: Likewise.
33072         * dirent/Makefile: Likewise.
33073         * dlfcn/Makefile: Likewise.
33074         * gmon/Makefile: Likewise.
33075         * gnulib/Makefile: Likewise.
33076         * grp/Makefile: Likewise.
33077         * gshadow/Makefile: Likewise.
33078         * hesiod/Makefile: Likewise.
33079         * hurd/Makefile: Likewise.
33080         (all): Remove target.
33081         * iconvdata/Makefile: Include Makeconfig immediately after
33082         defining subdir.
33083         * inet/Makefile: Likewise.
33084         * intl/Makefile: Likewise.
33085         * io/Makefile: Likewise.
33086         * libio/Makefile: Likewise.
33087         (all): Remove target.
33088         * locale/Makefile: Include Makeconfig immediately after defining
33089         subdir.
33090         * login/Makefile: Likewise.
33091         * mach/Makefile: Likewise.
33092         (all): Remove target.
33093         * malloc/Makefile: Include Makeconfig immediately after defining
33094         subdir.
33095         (all): Remove target.
33096         * manual/Makefile: Include Makeconfig immediately after defining
33097         subdir.
33098         * math/Makefile: Likewise.
33099         * misc/Makefile: Likewise.
33100         * nis/Makefile: Likewise.
33101         * nss/Makefile: Likewise.
33102         * po/Makefile: Likewise.
33103         (all): Remove target.
33104         * posix/Makefile: Include Makeconfig immediately after defining
33105         subdir.
33106         * pwd/Makefile: Likewise.
33107         * resolv/Makefile: Likewise.
33108         * resource/Makefile: Likewise.
33109         * rt/Makefile: Likewise.
33110         * setjmp/Makefile: Likewise.
33111         * shadow/Makefile: Likewise.
33112         * signal/Makefile: Likewise.
33113         * socket/Makefile: Likewise.
33114         * soft-fp/Makefile: Likewise.
33115         * stdio-common/Makefile: Likewise.
33116         * stdlib/Makefile: Likewise.
33117         * streams/Makefile: Likewise.
33118         * string/Makefile: Likewise.
33119         * sunrpc/Makefile: Likewise.
33120         (all): Remove target.
33121         * sysvipc/Makefile: Include Makeconfig immediately after defining
33122         subdir.
33123         * termios/Makefile: Likewise.
33124         * time/Makefile: Likewise.
33125         * timezone/Makefile: Likewise.
33126         (all): Remove target.
33127         * wcsmbs/Makefile: Include Makeconfig immediately after defining
33128         subdir.
33129         * wctype/Makefile: Likewise.
33131 2014-02-26  Steve Ellcey  <sellcey@mips.com>
33133         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
33134         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
33135         (libc_feholdexcept_setround_mips): Ditto.
33136         (libc_feholdsetround): New.
33137         (libc_feholdsetroundf): New.
33138         (libc_feholdsetroundl): New.
33139         (libc_feupdateenv_test_mips): New.
33140         (libc_feupdateenv_test): New.
33141         (libc_feupdateenv_testf): New.
33142         (libc_feupdateenv_testl): New.
33143         (libc_feresetround): New.
33144         (libc_feresetroundf): New.
33145         (libc_feresetroundl): New.
33146         (libc_fetestexcept_mips): New.
33147         (libc_fetestexcept): New.
33148         (libc_fetestexceptf): New.
33149         (libc_fetestexceptl): New.
33150         (HAVE_RM_CTX): New.
33151         (libc_feholdexcept_setround_mips_ctx): New.
33152         (libc_feholdexcept_setround_ctx): New.
33153         (libc_feholdexcept_setroundf_ctx): New.
33154         (libc_feholdexcept_setroundl_ctx): New.
33155         (libc_fesetenv_mips_ctx): New.
33156         (libc_fesetenv_ctx): New.
33157         (libc_fesetenv_ctxf): New.
33158         (libc_fesetenv_ctxl): New.
33159         (libc_feupdateenv_mips_ctx): New.
33160         (libc_feupdateenv_ctx): New.
33161         (libc_feupdateenvf_ctx): New.
33162         (libc_feupdateenvl_ctx): New.
33163         (libc_feholdsetround_mips_ctx): New.
33164         (libc_feholdsetround_ctx): New.
33165         (libc_feholdsetroundf_ctx): New.
33166         (libc_feholdsetroundl_ctx): New.
33167         (libc_feresetround_mips_ctx): New.
33168         (libc_feresetround_ctx): New.
33169         (libc_feresetroundf_ctx): New.
33170         (libc_feresetroundl_ctx): New.
33172 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
33174         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
33176         * manual/ipc.texi: New file.
33177         * manual/Makefile (chapters): Add ipc.
33178         * manual/job.texi: Add "Inter-Process Communication" to next.
33179         * manual/process.texi: Add "Inter-Process Communication" to prev.
33181 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33185 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
33187         * malloc/malloc.c (__libc_calloc): Simplify implementation.
33189         * manual/arith.texi: Fix spaces after sentences.
33190         * manual/charset.texi: Likewise.
33191         * manual/errno.texi: Likewise.
33192         * manual/install.texi: Likewise.
33193         * manual/llio.texi: Likewise.
33194         * manual/locale.texi: Likewise.
33195         * manual/maint.texi: Likewise.
33196         * manual/math.texi: Likewise.
33197         * manual/memory.texi: Likewise.
33198         * manual/message.texi: Likewise.
33199         * manual/probes.texi: Likewise.
33200         * manual/resource.texi: Likewise.
33201         * manual/signal.texi: Likewise.
33202         * manual/socket.texi: Likewise.
33203         * manual/stdio.texi: Likewise.
33204         * manual/string.texi: Likewise.
33205         * manual/time.texi: Likewise.
33206         * manual/users.texi: Likewise.
33208 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
33210         [BZ #16632]
33211         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
33212         _DEFAULT_SOURCE is defined.
33214 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
33215             Carlos O'Donell  <carlos@redhat.com>
33217         [BZ #16613]
33218         * elf/dl-tls.c (_dl_count_modids): New function.
33219         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
33220         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
33221         audit library and increment generation counter.
33222         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
33223         * elf/tst-audit9.c: New file.
33224         * elf/tst-auditmod9a.c: New file.
33225         * elf/tst-auditmod9b.c: New file.
33226         * elf/Makefile: Add rules to build and run tst-audit9.
33228 2014-02-25  Florian Weimer  <fweimer@redhat.com>
33230         [BZ #15347]
33231         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
33233 2014-02-25  Will Newton  <will.newton@linaro.org>
33235         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
33236         (__longjmp): Restore sp and lr before restoring callee
33237         saved registers.  Add longjmp and longjmp_target
33238         SystemTap probe point.
33239         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
33240         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
33241         Define to zero to match jmpbuf layout.
33242         * sysdeps/arm/setjmp.S: Include stap-probe.h.
33243         (__sigsetjmp): Save sp and lr before saving callee
33244         saved registers.  Add setjmp SystemTap probe point.
33246 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33248         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33250 2014-02-24  Andreas Schwab  <schwab@suse.de>
33252         [BZ #15804]
33253         * elf/pldd.c (wait_for_ptrace_stop): New function.
33254         (main): Call it after attaching.
33256 2014-02-22  Roland McGrath  <roland@hack.frob.com>
33258         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
33259         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
33260         Versions files is now verboten.
33261         * hurd/Versions (libc: GLIBC_2.0):
33262         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
33263         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
33264         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
33265         * mach/Versions: Likewise.
33267         * csu/Versions: Remove unused %include.
33268         * resolv/Versions: Likewise.
33270 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
33272         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
33273         ($(objpfx)check-local-headers.out): Likewise.
33274         ($(objpfx)begin-end-check.out): Likewise.
33275         * Makerules (check-abi-%.out): Likewise.
33276         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
33277         ($(objpfx)test2.cat): Likewise.
33278         ($(objpfx)de/libc.cat): Likewise.
33279         ($(objpfx)test-gencat.out): Likewise.
33280         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
33281         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
33282         ($(objpfx)noload-mem): Likewise.
33283         ($(objpfx)tst-pathopt.out): Likewise.
33284         ($(objpfx)tst-rtld-load-self.out): Likewise.
33285         ($(objpfx)tst-array1-cmp.out): Likewise.
33286         ($(objpfx)tst-array1-static-cmp.out): Likewise.
33287         ($(objpfx)tst-array2-cmp.out): Likewise.
33288         ($(objpfx)tst-array3-cmp.out): Likewise.
33289         ($(objpfx)tst-array4-cmp.out): Likewise.
33290         ($(objpfx)tst-array5-cmp.out): Likewise.
33291         ($(objpfx)tst-array5-static-cmp.out): Likewise.
33292         ($(objpfx)check-textrel.out): Likewise.
33293         ($(objpfx)check-execstack.out): Likewise.
33294         ($(objpfx)check-localplt.out): Likewise.
33295         ($(objpfx)order2-cmp.out): Likewise.
33296         ($(objpfx)tst-leaks1-mem): Likewise.
33297         ($(objpfx)tst-leaks1-static-mem): Likewise.
33298         ($(objpfx)tst-initorder-cmp.out): Likewise.
33299         ($(objpfx)tst-initorder2-cmp.out): Likewise.
33300         ($(objpfx)tst-unused-dep.out): Likewise.
33301         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
33302         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33303         * iconv/Makefile (test-iconvconfig): Likewise.
33304         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
33305         ($(objpfx)iconv-test.out): Likewise.
33306         ($(objpfx)tst-tables.out): Likewise.
33307         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
33308         ($(objpfx)tst-gettext.out): Likewise.
33309         ($(objpfx)tst-translit.out): Likewise.
33310         ($(objpfx)tst-gettext2.out): Likewise.
33311         ($(objpfx)tst-gettext4.out): Likewise.
33312         ($(objpfx)tst-gettext6.out): Likewise.
33313         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
33314         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33315         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
33316         ($(objpfx)tst-fopenloc-mem.out): Likewise.
33317         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33318         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
33319         * posix/Makefile ($(objpfx)globtest.out): Likewise.
33320         ($(objpfx)wordexp-tst.out): Likewise.
33321         ($(objpfx)annexc.out): Likewise.
33322         ($(objpfx)tst-fnmatch-mem): Likewise.
33323         ($(objpfx)bug-regex2-mem): Likewise.
33324         ($(objpfx)bug-regex14-mem): Likewise.
33325         ($(objpfx)bug-regex21-mem): Likewise.
33326         ($(objpfx)bug-regex31-mem): Likewise.
33327         ($(objpfx)tst-vfork3-mem): Likewise.
33328         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33329         ($(objpfx)tst-pcre-mem): Likewise.
33330         ($(objpfx)tst-boost-mem): Likewise.
33331         ($(objpfx)tst-getconf.out): Likewise.
33332         ($(objpfx)bug-ga2-mem): Likewise.
33333         ($(objpfx)bug-glob2-mem): Likewise.
33334         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
33335         ($(objpfx)mtrace-tst-leaks2): Likewise.
33336         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
33337         ($(objpfx)tst-printf.out): Likewise.
33338         ($(objpfx)tst-setvbuf1.out): Likewise.
33339         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
33340         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
33341         ($(objpfx)tst-fmtmsg.out): Likewise.
33342         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
33343         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
33345         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
33346         * bits/sigaction.h [__USE_MISC]: Likewise.
33347         * bits/waitstatus.h: Update #endif comments.
33348         * ctype/ctype.h: Likewise.
33349         * dirent/dirent.h: Likewise.
33350         [__USE_MISC]: Remove redundant conditionals.
33351         * grp/grp.h: Update #endif comments.
33352         [__USE_GNU]: Remove redundant conditionals.
33353         [__USE_MISC]: Likewise.
33354         * inet/netinet/in.h [__USE_GNU]: Likewise.
33355         * io/sys/stat.h [__USE_MISC]: Likewise.
33356         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
33357         * libio/bits/stdio.h: Update #endif comments.
33358         [__USE_MISC]: Remove redundant conditionals.
33359         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
33360         * libio/stdio.h: Update #endif comments.
33361         [__USE_MISC]: Remove redundant conditionals.
33362         * math/bits/math-finite.h [__USE_MISC]: Likewise.
33363         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
33364         * math/math.h: Update #else and #endif comments.
33365         [__USE_MISC]: Remove redundant conditionals.
33366         * misc/sys/uio.h: Update #endif comments.
33367         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
33368         * posix/glob.h [__USE_MISC]: Likewise.
33369         * posix/sys/types.h: Update #endif comments.
33370         [__USE_MISC]: Remove redundant conditionals.
33371         * posix/sys/wait.h: Update #endif comments.
33372         [__USE_MISC]: Remove redundant conditionals.
33373         * posix/unistd.h: Update #endif comments.
33374         [__USE_MISC]: Remove redundant conditionals.
33375         * pwd/pwd.h [__USE_GNU]: Likewise.
33376         [__USE_MISC]: Likewise.
33377         * resolv/netdb.h [__USE_GNU]: Likewise.
33378         * signal/signal.h: Update #endif comments.
33379         [__USE_MISC]: Remove redundant conditionals.
33380         * stdlib/stdlib.h: Update #else and #endif comments.
33381         [__USE_MISC]: Remove redundant conditionals.
33382         [__USE_GNU]: Likewise.
33383         * string/bits/string2.h [__USE_MISC]: Likewise.
33384         * string/string.h: Update #endif comments.
33385         [__USE_MISC]: Remove redundant conditionals.
33386         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
33387         Likewise.
33388         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
33389         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
33390         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
33391         Likewise.
33392         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
33393         Likewise.
33394         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
33395         comments.
33396         [__USE_MISC]: Remove redundant conditionals.
33397         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
33398         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
33399         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
33400         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
33401         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
33402         Likewise.
33403         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
33404         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
33405         Likewise.
33406         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
33407         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
33408         Likewise.
33409         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
33410         Likewise.
33411         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
33412         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
33413         Likewise.
33414         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
33415         Likewise.
33416         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
33417         * sysdeps/x86/bits/string.h: Update #endif comments.
33418         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
33419         conditionals.
33420         * time/sys/time.h: Update #endif comments.
33421         * time/time.h: Likewise.
33422         [__USE_MISC]: Remove redundant conditionals.
33424 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
33426         [BZ #16600]
33427         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
33429 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
33431         * Versions.def (librt): Add GLIBC_2.17.
33433 2014-02-21  Adam Conrad  <adconrad@0c3.net>
33435         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
33436         synonym for _SYS_AUXV_H to allow direct inclusion.
33437         * sysdeps/sparc/bits/hwcap.h: Likewise.
33438         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
33439         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
33440         * sysdeps/sparc/sysdep.h: Likewise.
33442 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33444         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
33446 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33448         * benchtests/bench-strrchr.c: Print length instead of position.
33450 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
33452         [BZ #16611]
33453         * sysdeps/unix/sysv/linux/kernel-features.h
33454         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
33455         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
33456         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
33457         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
33458         Likewise.
33459         [__i386__ || __powerpc__ || __sh__ || __sparc__]
33460         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33461         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
33462         (__ASSUME_SENDMMSG): Define instead of using previous
33463         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
33464         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33465         (__ASSUME_SENDMMSG_SYSCALL): Define.
33466         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33467         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
33468         Likewise.
33469         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33470         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33471         Likewise.
33472         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33473         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33474         Likewise.
33475         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
33476         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33477         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33478         [__ASSUME_SENDMMSG]: Change conditionals to
33479         [__ASSUME_SENDMMSG_SOCKETCALL].
33480         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33481         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
33482         Define.
33483         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33484         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
33485         Likewise.
33486         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
33487         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33488         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33489         [!__ASSUME_SENDMMSG]: Change conditional to
33490         [!__ASSUME_SENDMMSG_SOCKETCALL].
33491         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33492         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33493         Define.
33495         [BZ #16610]
33496         * sysdeps/unix/sysv/linux/kernel-features.h
33497         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
33498         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
33499         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
33500         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
33501         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33502         [__i386__ || __sparc__]
33503         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33504         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
33505         (__ASSUME_RECVMMSG): Define instead of using previous
33506         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
33507         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33508         (__ASSUME_RECVMMSG_SYSCALL): Define.
33509         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33510         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33511         Likewise.
33512         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33513         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33514         Likewise.
33515         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33516         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33517         Likewise.
33518         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
33519         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33520         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33521         [__ASSUME_RECVMMSG]: Change condition to
33522         [__ASSUME_RECVMMSG_SOCKETCALL].
33523         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33524         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33525         Define.
33526         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33527         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33528         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33529         Likewise.
33530         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
33531         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33532         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33533         [!__ASSUME_RECVMMSG]: Change condition to
33534         [!__ASSUME_RECVMMSG_SOCKETCALL].
33535         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33536         (__ASSUME_RECVMMSG_SYSCALL): Define.
33538         [BZ #16609]
33539         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
33540         __powerpc__ || __s390__ || __sh__ || __sparc__]
33541         (__ASSUME_SOCKETCALL): Define.
33542         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
33543         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
33544         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
33545         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
33546         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33547         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33548         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
33549         (__ASSUME_ACCEPT4): Define instead of using previous
33550         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
33551         __powerpc__ || __sparc__ || __s390__)] condition.
33552         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33553         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33554         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
33555         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33556         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33557         [!__ASSUME_ACCEPT4]: Change condition to
33558         [!__ASSUME_ACCEPT4_SOCKETCALL].
33559         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33560         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
33561         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
33562         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33563         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
33564         __ASSUME_ACCEPT4_SYSCALL.
33565         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
33566         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
33567         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33568         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
33569         __ASSUME_ACCEPT4_SYSCALL.
33570         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
33571         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33572         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33573         [__ASSUME_ACCEPT4]: Change condition to
33574         [__ASSUME_ACCEPT4_SOCKETCALL].
33575         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33576         (__ASSUME_SOCKETCALL): Define.
33577         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
33578         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33579         (__ASSUME_SOCKETCALL): Define.
33580         (__ASSUME_ACCEPT4): Remove.
33581         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
33582         Define.
33583         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33584         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
33585         Likewise.
33586         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33587         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33589         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
33590         macro.
33591         (HWCAP_ARM_LPAE): Likewise.
33592         (HWCAP_ARM_EVTSTRM): Likewise.
33593         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
33594         Add vpfd32, lpae and evtstrm.
33595         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
33596         Increase to 22.
33598 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
33600         * math/auto-libm-test-in: Add tests of clog10.
33601         * math/auto-libm-test-out: Regenerated.
33602         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33603         * sysdeps/i386/fpu/libm-test-ulps: Update.
33604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33606 2014-02-18  Andreas Schwab  <schwab@suse.de>
33608         [BZ #16574]
33609         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33610         Store non-zero if the second buffer was newly allocated.
33611         (send_dg): Likewise.
33612         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33613         to send_vc and send_dg.
33614         (res_nsend): Pass NULL for ansp2_malloced.
33615         * resolv/res_query.c (__libc_res_nquery): Add parameter
33616         answerp2_malloced and pass it down to __libc_res_nsend.
33617         (res_nquery): Pass additional NULL to __libc_res_nquery.
33618         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33619         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
33620         second answer buffer if answerp2_malloced was set.
33621         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33622         (__libc_res_nquerydomain): Add parameter
33623         answerp2_malloced and pass it down to __libc_res_nquery.
33624         (res_nquerydomain): Pass additional NULL to
33625         __libc_res_nquerydomain.
33626         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33627         additional NULL to __libc_res_nsend and __libc_res_nquery.
33628         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33629         additional NULL to __libc_res_nsearch.
33630         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
33631         parameter of __libc_res_nsearch to check for separately allocated
33632         second buffer.
33633         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33634         __libc_res_nquery.
33635         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33636         additional NULL to __libc_res_nquery.
33637         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33638         __libc_res_nsearch.
33639         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33640         * include/resolv.h: Update prototypes of __libc_res_nquery,
33641         __libc_res_nsearch, __libc_res_nsend.
33643 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
33645         * math/auto-libm-test-in: Add tests of fma.
33646         * math/auto-libm-test-out: Regenerated.
33647         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33648         (fma_towardzero_test_data): Likewise.
33649         (fma_downward_test_data): Likewise.
33650         (fma_upward_test_data): Likewise.
33651         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33652         mpc_mode.
33653         (rounding_modes): Add values for new field.
33654         (func_calc_method): Add value mpfr_fff_f.
33655         (func_calc_desc): Add mpfr_fff_f union field.
33656         (test_function): Add field exact_args.
33657         (FUNC): Add macro argument EXACT_ARGS.
33658         (FUNC_mpfr_f_f): Update call to FUNC.
33659         (FUNC_mpfr_f_f): Likewise.
33660         (FUNC_mpfr_ff_f): Likewise.
33661         (FUNC_mpfr_if_f): Likewise.
33662         (FUNC_mpc_c_f): Likewise.
33663         (FUNC_mpc_c_c): Likewise.
33664         (test_functions): Add fma.  Update calls to FUNC.
33665         (handle_input_arg): Add argument exact_args.
33666         (add_test): Update call to handle_input_arg.
33667         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
33668         (output_for_one_input_case): Update call to calc_generic_results.
33669         Recalculate exact zero results in each rounding mode.
33671         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33672         non-negative before setting low bit.
33673         * math/auto-libm-test-in: Mark one asin test possibly having
33674         spurious underflow.
33675         * math/auto-libm-test-out: Regenerated.
33676         * sysdeps/i386/fpu/libm-test-ulps: Update.
33677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33679 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
33681         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33682         * sysdeps/unix/sysv/linux/microblaze: Move directory from
33683         ports/sysdeps/unix/sysv/linux/microblaze.
33684         * README: Add missing listing for microblaze*-*-linux-gnu.
33686 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
33688         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33689         duplicate code
33691 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
33693         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33694         * sysdeps/unix/sysv/linux/ia64: Move directory from
33695         ports/sysdeps/unix/sysv/linux/ia64.
33696         * README: Update listing for ia64-*-linux-gnu.
33698 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
33699             Joseph Myers  <joseph@codesourcery.com>
33701         * Makeconfig (test-name): New variable.
33702         (evaluate-test): Likewise.
33703         * Makerules (do-test-clean): Remove .test-result files.
33704         (common-mostlyclean): Likewise.
33705         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33706         * scripts/evaluate-test.sh: New file.
33708 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
33710         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33711         separate $(objpfx)tst-fopenloc-cmp.out and
33712         $(objpfx)tst-fopenloc-mem.out targets.
33713         (tests): Update dependencies.
33714         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33715         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33716         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33717         (tst-rxspencer-no-utf8-ARGS): New variable.
33718         (tst-rxspencer-no-utf8-ENV): Likewise.
33719         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33720         instead of $(objpfx)tst-rxspencer-mem.
33721         ($(objpfx)tst-rxspencer-mem): Change target to
33722         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
33723         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33724         * posix/tst-rxspencer-no-utf8.c: New file.
33726         * elf/Makefile ($(objpfx)order.out): Remove rule.
33727         [$(run-built-tests) = yes] (tests): Depend on
33728         $(objpfx)order-cmp.out.
33729         ($(objpfx)order-cmp.out): New rule.
33730         [$(run-built-tests) = yes] (tests): Depend on
33731         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33732         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33733         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33734         $(objpfx)tst-array5-static-cmp.out.
33735         ($(objpfx)tst-array1.out): Remove rule.
33736         ($(objpfx)tst-array1-cmp.out): New rule.
33737         ($(objpfx)tst-array1-static.out): Remove rule.
33738         ($(objpfx)tst-array1-static-cmp.out): New rule.
33739         ($(objpfx)tst-array2.out): Remove rule.
33740         ($(objpfx)tst-array2-cmp.out): New rule.
33741         ($(objpfx)tst-array3.out): Remove rule.
33742         ($(objpfx)tst-array3-cmp.out): New rule.
33743         ($(objpfx)tst-array4.out): Remove rule.
33744         ($(objpfx)tst-array4-cmp.out): New rule.
33745         ($(objpfx)tst-array5.out): Remove rule.
33746         ($(objpfx)tst-array5-cmp.out): New rule.
33747         ($(objpfx)tst-array5-static.out): Remove rule.
33748         ($(objpfx)tst-array5-static-cmp.out): New rule.
33749         [$(run-built-tests) = yes] (tests): Depend on
33750         $(objpfx)order2-cmp.out.
33751         ($(objpfx)order2.out): Remove rule.
33752         ($(objpfx)order2-cmp.out): New rule.
33753         ($(objpfx)tst-initorder.out): Remove rule.
33754         [$(run-built-tests) = yes] (tests): Depend on
33755         $(objpfx)tst-initorder-cmp.out.
33756         ($(objpfx)tst-initorder-cmp.out): New rule.
33757         ($(objpfx)tst-initorder2.out): Remove rule.
33758         [$(run-built-tests) = yes] (tests): Depend on
33759         $(objpfx)tst-initorder2-cmp.out.
33760         ($(objpfx)tst-initorder2-cmp.out): New rule.
33761         [$(run-built-tests) = yes] (tests): Depend on
33762         $(objpfx)tst-unused-dep-cmp.out.
33763         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
33764         ($(objpfx)tst-unused-dep-cmp.out): New rule.
33765         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
33766         on $(objpfx)tst-setvbuf1-cmp.out.
33767         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
33768         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
33769         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
33770         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
33771         ($(objpfx)tst-svc.out): Remove rule.
33772         ($(objpfx)tst-svc-cmp.out): New rule.
33774 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
33776         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
33777         * ctype/ctype.h [__USE_MISC]: Likewise.
33778         * dirent/dirent.h [__USE_MISC]: Likewise.
33779         * grp/grp.h [__USE_MISC]: Likewise.
33780         * io/fcntl.h [__USE_MISC]: Likewise.
33781         * io/sys/stat.h [__USE_MISC]: Likewise.
33782         * libio/stdio.h [__USE_MISC]: Likewise.
33783         * posix/unistd.h [__USE_MISC]: Likewise.
33784         * pwd/pwd.h [__USE_MISC]: Likewise.
33785         * stdlib.h [__USE_MISC]: Likewise.
33786         * string/bits/string2.h [__USE_MISC]: Likewise.
33787         * string/string.h [__USE_MISC]: Likewise.
33788         * time/time.h [__USE_MISC]: Likewise.
33790 2014-02-13  Andreas Schwab  <schwab@suse.de>
33792         [BZ #16574]
33793         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
33794         second answer buffer if it was separately allocated.
33796 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
33798         * sysdeps/mips/math-tests.h: Include <features.h>.
33799         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33800         (ROUNDING_TESTS_long_double): Do not define.
33801         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33802         (EXCEPTION_TESTS_long_double): Likewise.
33803         * sysdeps/mips/mips64/libm-test-ulps: Update.
33805         * include/features.h (__USE_BSD): Remove macro definitions.
33806         (__USE_SVID): Likewise.
33807         (_BSD_SOURCE): Likewise.
33808         (_SVID_SOURCE): Likewise.
33809         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
33810         from definition of _DEFAULT_SOURCE.
33811         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
33812         [_DEFAULT_SOURCE].
33813         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
33814         * bits/mman.h [__USE_BSD]: Likewise.
33815         * bits/termios.h [__USE_BSD]: Likewise.
33816         * bits/waitstatus.h [__USE_BSD]: Likewise.
33817         * ctype/ctype.h [__USE_SVID]: Likewise.
33818         * dirent/dirent.h [__USE_BSD]: Likewise.
33819         * grp/grp.h [__USE_SVID]: Likewise.
33820         [__USE_BSD]: Likewise.
33821         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
33822         * io/fcntl.h [__USE_BSD]: Likewise.
33823         * io/ftw.h [__USE_BSD]: Likewise.
33824         * io/sys/stat.h [__USE_BSD]: Likewise.
33825         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
33826         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
33827         * libio/stdio.h [__USE_SVID]: Likewise.
33828         [__USE_BSD]: Likewise.
33829         * math/math.h [__USE_SVID]: Likewise.
33830         [__USE_BSD]: Likewise.
33831         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
33832         * misc/bits/syslog.h [__USE_BSD]: Likewise.
33833         * misc/search.h [__USE_SVID]: Likewise.
33834         * misc/sys/mman.h [__USE_BSD]: Likewise.
33835         * misc/sys/syslog.h [__USE_BSD]: Likewise.
33836         * misc/sys/uio.h [__USE_BSD]: Likewise.
33837         * posix/bits/unistd.h [__USE_BSD]: Likewise.
33838         * posix/glob.h [__USE_BSD]: Likewise.
33839         * posix/regex.h [__USE_BSD]: Likewise.
33840         * posix/sys/types.h [__USE_BSD]: Likewise.
33841         [__USE_SVID]: Likewise.
33842         * posix/sys/utsname.h [__USE_SVID]: Likewise.
33843         * posix/sys/wait.h [__USE_BSD]: Likewise.
33844         [__USE_SVID]: Likewise.
33845         * posix/unistd.h [__USE_BSD]: Likewise.
33846         [__USE_SVID]: Likewise.
33847         * pwd/pwd.h [__USE_SVID]: Likewise.
33848         * resolv/netdb.h [__USE_BSD]: Likewise.
33849         * setjmp/setjmp.h [__USE_BSD]: Likewise.
33850         * signal/signal.h [__USE_BSD]: Likewise.
33851         [__USE_SVID]: Likewise.
33852         * socket/sys/socket.h [__USE_BSD]: Likewise.
33853         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
33854         * stdlib/stdlib.h [__USE_BSD]: Likewise.
33855         [__USE_SVID]: Likewise.
33856         * string/bits/string2.h [__USE_BSD]: Likewise.
33857         [__USE_SVID]: Likewise.
33858         * string/bits/string3.h [__USE_BSD]: Likewise.
33859         * string/endian.h [__USE_BSD]: Likewise.
33860         * string/string.h [__USE_SVID]: Likewise.
33861         [__USE_BSD]: Likewise.
33862         * string/strings.h [__USE_BSD]: Likewise.
33863         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
33864         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
33865         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
33866         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
33867         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
33868         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
33869         Likewise.
33870         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
33871         Likewise.
33872         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
33873         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
33874         Likewise.
33875         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
33876         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
33877         Likewise.
33878         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
33879         Likewise.
33880         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
33881         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
33882         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
33883         Likewise.
33884         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
33885         Likewise.
33886         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
33887         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
33888         * termios/termios.h [__USE_BSD]: Likewise.
33889         * time/sys/time.h [__USE_BSD]: Likewise.
33890         * time/time.h [__USE_BSD]: Likewise.
33891         [__USE_SVID]: Likewise.
33893         * Makefile (subdir_targets): Remove subdir_lint.out.
33895         * stdio-common/Makefile (do-tst-unbputc): Remove target.
33896         (do-tst-printf): Likewise.
33897         (tests): Depend directly on $(objpfx)tst-unbputc.out and
33898         $(objpfx)tst-printf.out.
33900         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
33902         * Makerules (check-abi-%): Change target to
33903         $(objpfx)check-abi-%.out.
33904         (check-abi target): Update dependencies.
33905         (check-abi-pattern variable): Redirect output of diff to $@.
33906         (check-abi variable): Likewise.
33907         * elf/Makefile (check-abi): Update dependencies.
33909         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
33910         unused.
33911         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
33912         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
33913         subnormal range.
33914         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
33915         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
33916         value has largest subnormal exponent.
33917         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
33918         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
33919         * sysdeps/aarch64/soft-fp/sfp-machine.h
33920         (_FP_TININESS_AFTER_ROUNDING): New macro.
33921         * sysdeps/alpha/soft-fp/sfp-machine.h
33922         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33923         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33924         Likewise.
33925         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
33926         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33927         * sysdeps/mips/soft-fp/sfp-machine.h
33928         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33929         * sysdeps/powerpc/soft-fp/sfp-machine.h
33930         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33931         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33932         Likewise.
33933         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33934         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33935         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33936         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33937         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33938         Likewise.
33940 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
33942         [BZ #16545]
33943         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
33944         model 1.
33946 2014-02-12  Richard Henderson  <rth@redhat.com>
33948         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
33949         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
33950         * sysdeps/unix/sysv/linux/alpha: Move directory from
33951         ports/sysdeps/unix/sysv/linux/alpha.
33952         * README: Update listing for alpha-*-linux-gnu.
33954 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
33956         * include/features.h: Update comment documenting feature test
33957         macros.
33958         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
33959         _DEFAULT_SOURCE.
33960         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
33961         (_SVID_SOURCE): Likewise.
33962         (_DEFAULT_SOURCE): Update description of default features.
33963         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
33964         with _GNU_SOURCE.
33965         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
33966         (S_ISVTX): Likewise.
33967         * manual/math.texi (Mathematical Constants): Likewise.
33968         * manual/signal.texi (Interrupted Primitives): Likewise.
33969         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
33970         * math/test-matherr.c (_SVID_SOURCE): Do not define.
33971         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
33972         Don't refer to _SVID_SOURCE in warning text.
33974         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33976         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
33977         already defined.
33978         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
33979         * sysdeps/mips/dl-lookup.c: Remove.
33980         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
33982 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33984         [BZ #16447]
33985         * math/auto-libm-test-in: Add testcase for expl.
33986         * math/auto-libm-test-out: Regenerate.
33987         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
33988         calculation of unsafe.
33989         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
33991 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33993         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
33994         * sysdeps/unix/sysv/linux/aarch64: Move directory from
33995         ports/sysdeps/unix/sysv/linux/aarch64.
33996         * README: Update listing for aarch64*-*-linux-gnu.
33998 2014-02-11  Will Newton  <will.newton@linaro.org>
34000         * manual/probes.texi (Mathematical Function Probes): Use
34001         "triggered" instead of "hit".
34003         * manual/probes.texi (Internal Probes): Add documentation
34004         of setjmp, longjmp and longjmp_target probes.
34006         * include/stap-probe.h: Add comment about probe argument
34007         format.
34009         * malloc/mtrace.c (attribute_hidden): Remove unused macro
34010         definition.  (tr_where, tr_freehook, tr_mallochook,
34011         tr_reallochook, tr_memalignhook): Use ANSI protoype.
34013 2014-02-11  David S. Miller  <davem@davemloft.net>
34015         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
34016         processing int_tests.
34018 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
34020         * sysdeps/mips: Move directory from ports/sysdeps/mips.
34021         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
34022         * sysdeps/unix/sysv/linux/mips: Move directory from
34023         ports/sysdeps/unix/sysv/linux/mips.
34024         * README: Update listing for mips-*-linux-gnu and
34025         mips64-*-linux-gnu.
34027 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
34029         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
34030         * sysdeps/unix/sysv/linux/m68k: Move directory from
34031         ports/sysdeps/unix/sysv/linux/m68k.
34032         * README: Update listing for m68k-*-linux-gnu.
34034 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
34036         * sysdeps/tile: Move directory from ports/sysdeps/tile.
34037         * sysdeps/unix/sysv/linux/generic: Move directory from
34038         ports/sysdeps/unix/sysv/linux/generic.
34039         * sysdeps/unix/sysv/linux/tile: Move directory from
34040         ports/sysdeps/unix/sysv/linux/tile.
34041         * README: Update listing for tile*-*-linux-gnu.
34043 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
34045         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
34046         __builtin_expect.
34047         * benchtests/bench-memmem.c (simple_memmem): Likewise.
34048         * catgets/open_catalog.c (__open_catalog): Likewise.
34049         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
34050         * debug/confstr_chk.c: Likewise.
34051         * debug/fread_chk.c (__fread_chk): Likewise.
34052         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
34053         * debug/getgroups_chk.c: Likewise.
34054         * debug/mbsnrtowcs_chk.c: Likewise.
34055         * debug/mbsrtowcs_chk.c: Likewise.
34056         * debug/mbstowcs_chk.c: Likewise.
34057         * debug/memcpy_chk.c: Likewise.
34058         * debug/memmove_chk.c: Likewise.
34059         * debug/mempcpy_chk.c: Likewise.
34060         * debug/memset_chk.c: Likewise.
34061         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34062         * debug/strcat_chk.c (__strcat_chk): Likewise.
34063         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
34064         * debug/strncat_chk.c (__strncat_chk): Likewise.
34065         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
34066         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
34067         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
34068         * debug/wcpncpy_chk.c: Likewise.
34069         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34070         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
34071         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
34072         * debug/wcsncpy_chk.c: Likewise.
34073         * debug/wcsnrtombs_chk.c: Likewise.
34074         * debug/wcsrtombs_chk.c: Likewise.
34075         * debug/wcstombs_chk.c: Likewise.
34076         * debug/wmemcpy_chk.c: Likewise.
34077         * debug/wmemmove_chk.c: Likewise.
34078         * debug/wmempcpy_chk.c: Likewise.
34079         * debug/wmemset_chk.c: Likewise.
34080         * dirent/scandirat.c (SCANDIRAT): Likewise.
34081         * dlfcn/dladdr1.c (dladdr1): Likewise.
34082         * dlfcn/dladdr.c (dladdr): Likewise.
34083         * dlfcn/dlclose.c (dlclose_doit): Likewise.
34084         * dlfcn/dlerror.c (__dlerror): Likewise.
34085         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
34086         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
34087         * dlfcn/dlopen.c (dlopen_doit): Likewise.
34088         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
34089         * dlfcn/dlsym.c (dlsym_doit): Likewise.
34090         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
34091         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
34092         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
34093         Likewise.
34094         * elf/dl-conflict.c: Likewise.
34095         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34096         * elf/dl-dst.h: Likewise.
34097         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
34098         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
34099         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34100         * elf/dl-init.c (call_init, _dl_init): Likewise.
34101         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
34102         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
34103         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
34104         Likewise.
34105         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
34106         Likewise.
34107         * elf/dl-minimal.c (__libc_memalign): Likewise.
34108         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
34109         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34110         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
34111         * elf/dl-sym.c (do_sym): Likewise.
34112         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
34113         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
34114         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
34115         * elf/dl-writev.h (_dl_writev): Likewise.
34116         * elf/ldconfig.c (search_dir): Likewise.
34117         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
34118         (dl_main): Likewise.
34119         * elf/setup-vdso.h (setup_vdso): Likewise.
34120         * grp/compat-initgroups.c (compat_call): Likewise.
34121         * grp/fgetgrent.c (fgetgrent): Likewise.
34122         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
34123         * grp/putgrent.c (putgrent): Likewise.
34124         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34125         Likewise.
34126         * hurd/hurdinit.c: Likewise.
34127         * iconvdata/8bit-gap.c (struct): Likewise.
34128         * iconvdata/ansi_x3.110.c : Likewise.
34129         * iconvdata/big5.c : Likewise.
34130         * iconvdata/big5hkscs.c : Likewise.
34131         * iconvdata/cp1255.c: Likewise.
34132         * iconvdata/cp1258.c : Likewise.
34133         * iconvdata/cp932.c : Likewise.
34134         * iconvdata/euc-cn.c: Likewise.
34135         * iconvdata/euc-jisx0213.c : Likewise.
34136         * iconvdata/euc-jp.c: Likewise.
34137         * iconvdata/euc-jp-ms.c : Likewise.
34138         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
34139         * iconvdata/gb18030.c : Likewise.
34140         * iconvdata/gbbig5.c (const): Likewise.
34141         * iconvdata/gbgbk.c: Likewise.
34142         * iconvdata/gbk.c : Likewise.
34143         * iconvdata/ibm1364.c : Likewise.
34144         * iconvdata/ibm930.c : Likewise.
34145         * iconvdata/ibm932.c: Likewise.
34146         * iconvdata/ibm933.c : Likewise.
34147         * iconvdata/ibm935.c : Likewise.
34148         * iconvdata/ibm937.c : Likewise.
34149         * iconvdata/ibm939.c : Likewise.
34150         * iconvdata/ibm943.c: Likewise.
34151         * iconvdata/iso_11548-1.c: Likewise.
34152         * iconvdata/iso-2022-cn.c : Likewise.
34153         * iconvdata/iso-2022-cn-ext.c : Likewise.
34154         * iconvdata/iso-2022-jp-3.c: Likewise.
34155         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
34156         * iconvdata/iso-2022-kr.c : Likewise.
34157         * iconvdata/iso646.c (gconv_end): Likewise.
34158         * iconvdata/iso_6937-2.c : Likewise.
34159         * iconvdata/iso_6937.c : Likewise.
34160         * iconvdata/iso8859-1.c: Likewise.
34161         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
34162         * iconvdata/shift_jisx0213.c : Likewise.
34163         * iconvdata/sjis.c : Likewise.
34164         * iconvdata/t.61.c : Likewise.
34165         * iconvdata/tcvn5712-1.c : Likewise.
34166         * iconvdata/tscii.c: Likewise.
34167         * iconvdata/uhc.c : Likewise.
34168         * iconvdata/unicode.c (gconv_end): Likewise.
34169         * iconvdata/utf-16.c (gconv_end): Likewise.
34170         * iconvdata/utf-32.c (gconv_end): Likewise.
34171         * iconvdata/utf-7.c (base64): Likewise.
34172         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34173         * iconv/gconv_close.c (__gconv_close): Likewise.
34174         * iconv/gconv_open.c (__gconv_open): Likewise.
34175         * iconv/gconv_simple.c (internal_ucs4_loop_single)
34176         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
34177         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
34178         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
34179         (ucs4le_internal_loop_single): Likewise.
34180         * iconv/iconv.c (iconv): Likewise.
34181         * iconv/iconv_close.c: Likewise.
34182         * iconv/loop.c (SINGLE): Likewise.
34183         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
34184         * include/atomic.h: Likewise.
34185         * inet/inet6_option.c (option_alloc): Likewise.
34186         * intl/bindtextdom.c (set_binding_values): Likewise.
34187         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
34188         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
34189         * intl/localealias.c (read_alias_file): Likewise.
34190         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
34191         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
34192         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
34193         * libio/fmemopen.c (fmemopen): Likewise.
34194         * libio/iofgets.c (_IO_fgets): Likewise.
34195         * libio/iofgets_u.c (fgets_unlocked): Likewise.
34196         * libio/iofgetws.c (fgetws): Likewise.
34197         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
34198         * libio/iogetdelim.c (_IO_getdelim): Likewise.
34199         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
34200         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
34201         * locale/findlocale.c (_nl_find_locale): Likewise.
34202         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34203         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
34204         Likewise.
34205         * locale/setlocale.c (setlocale): Likewise.
34206         * login/programs/pt_chown.c (main): Likewise.
34207         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
34208         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
34209         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
34210         (mmap, mmap64, mremap, munmap): Likewise.
34211         * math/e_exp2l.c: Likewise.
34212         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
34213         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
34214         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
34215         * math/s_catan.c (__catan): Likewise.
34216         * math/s_catanf.c (__catanf): Likewise.
34217         * math/s_catanh.c (__catanh): Likewise.
34218         * math/s_catanhf.c (__catanhf): Likewise.
34219         * math/s_catanhl.c (__catanhl): Likewise.
34220         * math/s_catanl.c (__catanl): Likewise.
34221         * math/s_ccosh.c (__ccosh): Likewise.
34222         * math/s_ccoshf.c (__ccoshf): Likewise.
34223         * math/s_ccoshl.c (__ccoshl): Likewise.
34224         * math/s_cexp.c (__cexp): Likewise.
34225         * math/s_cexpf.c (__cexpf): Likewise.
34226         * math/s_cexpl.c (__cexpl): Likewise.
34227         * math/s_clog10.c (__clog10): Likewise.
34228         * math/s_clog10f.c (__clog10f): Likewise.
34229         * math/s_clog10l.c (__clog10l): Likewise.
34230         * math/s_clog.c (__clog): Likewise.
34231         * math/s_clogf.c (__clogf): Likewise.
34232         * math/s_clogl.c (__clogl): Likewise.
34233         * math/s_csin.c (__csin): Likewise.
34234         * math/s_csinf.c (__csinf): Likewise.
34235         * math/s_csinh.c (__csinh): Likewise.
34236         * math/s_csinhf.c (__csinhf): Likewise.
34237         * math/s_csinhl.c (__csinhl): Likewise.
34238         * math/s_csinl.c (__csinl): Likewise.
34239         * math/s_csqrt.c (__csqrt): Likewise.
34240         * math/s_csqrtf.c (__csqrtf): Likewise.
34241         * math/s_csqrtl.c (__csqrtl): Likewise.
34242         * math/s_ctan.c (__ctan): Likewise.
34243         * math/s_ctanf.c (__ctanf): Likewise.
34244         * math/s_ctanh.c (__ctanh): Likewise.
34245         * math/s_ctanhf.c (__ctanhf): Likewise.
34246         * math/s_ctanhl.c (__ctanhl): Likewise.
34247         * math/s_ctanl.c (__ctanl): Likewise.
34248         * math/w_pow.c: Likewise.
34249         * math/w_powf.c: Likewise.
34250         * math/w_powl.c: Likewise.
34251         * math/w_scalb.c (sysv_scalb): Likewise.
34252         * math/w_scalbf.c (sysv_scalbf): Likewise.
34253         * math/w_scalbl.c (sysv_scalbl): Likewise.
34254         * misc/error.c (error_tail): Likewise.
34255         * misc/pselect.c (__pselect): Likewise.
34256         * nis/nis_callback.c (__nis_create_callback): Likewise.
34257         * nis/nis_call.c (__nisfind_server): Likewise.
34258         * nis/nis_creategroup.c (nis_creategroup): Likewise.
34259         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
34260         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
34261         * nis/nis_getservlist.c (nis_getservlist): Likewise.
34262         * nis/nis_lookup.c (nis_lookup): Likewise.
34263         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
34264         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
34265         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
34266         * nis/nis_xdr.c (xdr_endpoint): Likewise.
34267         * nis/nss_compat/compat-grp.c (getgrent_next_file)
34268         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
34269         * nis/nss_compat/compat-initgroups.c (add_group)
34270         (internal_getgrent_r): Likewise.
34271         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
34272         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
34273         * nis/nss_compat/compat-spwd.c (getspent_next_file)
34274         (internal_getspnam_r): Likewise.
34275         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
34276         (_nss_nis_getaliasbyname_r): Likewise.
34277         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
34278         (_nss_nis_getntohost_r): Likewise.
34279         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
34280         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
34281         (_nss_nis_getgrgid_r): Likewise.
34282         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
34283         (internal_nis_gethostent_r, internal_gethostbyname2_r)
34284         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
34285         (_nss_nis_gethostbyname4_r): Likewise.
34286         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
34287         (initgroups_netid): Likewise.
34288         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
34289         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
34290         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
34291         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
34292         (_nss_nis_getprotobynumber_r): Likewise.
34293         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
34294         (_nss_nis_getsecretkey): Likewise.
34295         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
34296         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
34297         (_nss_nis_getpwuid_r): Likewise.
34298         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
34299         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
34300         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
34301         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
34302         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
34303         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
34304         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
34305         Likewise.
34306         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
34307         (_nss_nisplus_getntohost_r): Likewise.
34308         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
34309         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
34310         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
34311         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
34312         Likewise.
34313         * nis/nss_nisplus/nisplus-initgroups.c
34314         (_nss_nisplus_initgroups_dyn): Likewise.
34315         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
34316         (_nss_nisplus_getnetbyaddr_r): Likewise.
34317         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
34318         (_nss_nisplus_getprotobynumber_r): Likewise.
34319         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
34320         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
34321         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
34322         Likewise.
34323         * nis/nss_nisplus/nisplus-service.c
34324         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
34325         (_nss_nisplus_getservbyport_r): Likewise.
34326         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
34327         (_nss_nisplus_getspnam_r): Likewise.
34328         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
34329         Likewise.
34330         * nscd/aicache.c (addhstaiX): Likewise.
34331         * nscd/cache.c (cache_search, prune_cache): Likewise.
34332         * nscd/connections.c (register_traced_file, send_ro_fd)
34333         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
34334         (main_loop_epoll): Likewise.
34335         * nscd/grpcache.c (addgrbyX): Likewise.
34336         * nscd/hstcache.c (addhstbyX): Likewise.
34337         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34338         * nscd/mem.c (gc, mempool_alloc): Likewise.
34339         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
34340         (addinnetgrX): Likewise.
34341         * nscd/nscd-client.h (__nscd_acquire_maplock)
34342         (__nscd_drop_map_ref): Likewise.
34343         * nscd/nscd_getai.c (__nscd_getai): Likewise.
34344         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34345         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
34346         Likewise.
34347         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34348         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34349         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
34350         (__nscd_get_map_ref): Likewise.
34351         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34352         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
34353         Likewise.
34354         * nscd/pwdcache.c (addpwbyX): Likewise.
34355         * nscd/selinux.c (preserve_capabilities): Likewise.
34356         * nscd/servicescache.c (addservbyX): Likewise.
34357         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
34358         * posix/fnmatch.c (fnmatch): Likewise.
34359         * posix/getopt.c (_getopt_internal_r): Likewise.
34360         * posix/glob.c (glob, glob_in_dir): Likewise.
34361         * posix/wordexp.c (exec_comm_child): Likewise.
34362         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
34363         (getanswer_r, gaih_getanswer_slice): Likewise.
34364         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
34365         * resolv/res_init.c: Likewise.
34366         * resolv/res_mkquery.c (res_nmkquery): Likewise.
34367         * resolv/res_query.c (__libc_res_nquery): Likewise.
34368         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
34369         Likewise.
34370         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
34371         * stdio-common/perror.c (perror): Likewise.
34372         * stdio-common/printf_fp.c (___printf_fp): Likewise.
34373         * stdio-common/tmpnam.c (tmpnam): Likewise.
34374         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34375         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
34376         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34377         Likewise.
34378         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
34379         * stdlib/putenv.c (putenv): Likewise.
34380         * stdlib/setenv.c (__add_to_environ): Likewise.
34381         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34382         * stdlib/strtol_l.c (INTERNAL): Likewise.
34383         * string/memmem.c (memmem): Likewise.
34384         * string/strerror.c (strerror): Likewise.
34385         * string/strnlen.c (__strnlen): Likewise.
34386         * string/test-memmem.c (simple_memmem): Likewise.
34387         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
34388         * sunrpc/pm_getport.c (__get_socket): Likewise.
34389         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
34390         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
34391         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
34392         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
34393         Likewise.
34394         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
34395         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34396         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34397         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
34398         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34399         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
34400         Likewise.
34401         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
34402         Likewise.
34403         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34404         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34405         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34406         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34407         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
34408         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
34409         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34410         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
34411         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34412         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
34413         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34414         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
34415         Likewise.
34416         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
34417         Likewise.
34418         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
34419         Likewise.
34420         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
34421         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34422         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
34423         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
34424         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
34425         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
34426         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34427         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
34428         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
34429         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
34430         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
34431         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34432         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34433         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
34434         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34435         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34436         Likewise.
34437         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
34438         Likewise.
34439         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
34440         Likewise.
34441         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
34442         Likewise.
34443         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34444         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34445         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
34446         Likewise.
34447         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
34448         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
34449         * sysdeps/posix/opendir.c (__opendirat): Likewise.
34450         * sysdeps/posix/sleep.c: Likewise.
34451         * sysdeps/posix/tempname.c: Likewise.
34452         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
34453         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34454         Likewise.
34455         * sysdeps/powerpc/powerpc32/dl-machine.h
34456         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
34457         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34458         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34459         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
34460         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
34461         Likewise.
34462         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
34463         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
34464         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34465         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
34466         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34467         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
34468         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
34469         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
34470         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34471         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
34472         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
34473         (elf_machine_lazy_rel): Likewise.
34474         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34475         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
34476         (elf_machine_lazy_rel): Likewise.
34477         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
34478         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
34479         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
34480         * sysdeps/unix/grantpt.c (grantpt): Likewise.
34481         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
34482         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
34483         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34484         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34485         Likewise.
34486         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
34487         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
34488         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
34489         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
34490         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34491         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34492         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
34493         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
34494         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
34495         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34496         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34497         Likewise.
34498         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
34499         (__posix_fallocate64_l64): Likewise.
34500         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
34501         (posix_fallocate): Likewise.
34502         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
34503         Likewise.
34504         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34505         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
34506         (getifaddrs_internal): Likewise.
34507         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
34508         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
34509         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
34510         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34511         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34512         (__posix_fallocate64_l64): Likewise.
34513         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34514         Likewise.
34515         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
34516         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
34517         (__get_clockfreq): Likewise.
34518         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
34519         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34520         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
34521         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34522         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34523         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
34524         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
34525         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
34526         Likewise.
34527         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
34528         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
34529         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
34530         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
34531         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34532         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
34533         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
34534         Likewise.
34535         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34536         (posix_fallocate): Likewise.
34537         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34538         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
34539         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
34540         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
34541         (elf_machine_rela, elf_machine_rela_relative)
34542         (elf_machine_lazy_rel): Likewise.
34543         * time/asctime.c (asctime_internal): Likewise.
34544         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
34545         * time/tzset.c (__tzset_parse_tz): Likewise.
34546         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34547         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34548         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
34549         * wcsmbs/wcsmbsload.h: Likewise.
34551         [BZ #15894]
34552         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
34554         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
34555         (arena_get2): Remove THREAD_STATS conditionals.
34556         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
34557         (__malloc_stats, int): Likewise.
34559 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
34561         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
34562         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
34564         * manual/setjmp.texi: Fix typos/grammar errors.
34566         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
34567         Only return early when n is <= 0.  Delete unused return statement.
34569         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
34570         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
34571         * debug/tst-longjmp_chk3.c: New file.
34573         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
34574         (test_main): Replace code with set_fortify_handler call.
34575         * debug/test-strcpy_chk.c: Likewise.
34576         * debug/tst-chk1.c: Likewise.
34577         * debug/tst-longjmp_chk.c: Likewise.
34578         * test-skeleton.c: Include fcntl.h & paths.h
34579         (set_fortify_handler): Define.
34581         * debug/tst-longjmp_chk.c: Add header comment and include
34582         ../test-skeleton.c.
34583         (do_test): Mark static.
34584         (TEST_FUNCTION): Define.
34586         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
34587         (IP_PMTUDISC_INTERFACE): Likewise.
34588         (IP_MULTICAST_IF): Likewise.
34589         (IP_MULTICAST_TTL): Likewise.
34590         (IP_MULTICAST_LOOP): Likewise.
34591         (IP_ADD_MEMBERSHIP): Likewise.
34592         (IP_DROP_MEMBERSHIP): Likewise.
34593         (IP_UNBLOCK_SOURCE): Likewise.
34594         (IP_BLOCK_SOURCE): Likewise.
34595         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
34596         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
34597         (IP_MSFILTER): Likewise.
34598         (MCAST_JOIN_GROUP): Likewise.
34599         (MCAST_BLOCK_SOURCE): Likewise.
34600         (MCAST_UNBLOCK_SOURCE): Likewise.
34601         (MCAST_LEAVE_GROUP): Likewise.
34602         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34603         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34604         (MCAST_MSFILTER): Likewise.
34605         (IP_MULTICAST_ALL): Likewise.
34606         (IP_UNICAST_IF): Likewise.
34608         * timezone/Makefile: Delete $(have-ksh) check.
34609         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34610         * timezone/tzselect.ksh: Add +x mode bits.
34612         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34613         (ANON_INODE_FS_MAGIC): Likewise.
34614         (BDEVFS_MAGIC): Likewise.
34615         (BINFMTFS_MAGIC): Likewise.
34616         (BTRFS_TEST_MAGIC): Likewise.
34617         (CRAMFS_MAGIC_WEND): Likewise.
34618         (DEBUGFS_MAGIC): Likewise.
34619         (ECRYPTFS_SUPER_MAGIC): Likewise.
34620         (EXT3_SUPER_MAGIC): Likewise.
34621         (EXT4_SUPER_MAGIC): Likewise.
34622         (FUTEXFS_SUPER_MAGIC): Likewise.
34623         (HOSTFS_SUPER_MAGIC): Likewise.
34624         (HUGETLBFS_MAGIC): Likewise.
34625         (MINIX3_SUPER_MAGIC): Likewise.
34626         (MTD_INODE_FS_MAGIC): Likewise.
34627         (NILFS_SUPER_MAGIC): Likewise.
34628         (OPENPROM_SUPER_MAGIC): Likewise.
34629         (PIPEFS_MAGIC): Likewise.
34630         (PSTOREFS_MAGIC): Likewise.
34631         (QNX6_SUPER_MAGIC): Likewise.
34632         (RAMFS_MAGIC): Likewise.
34633         (REISERFS_SUPER_MAGIC_STRING): Likewise.
34634         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34635         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34636         (SECURITYFS_MAGIC): Likewise.
34637         (SELINUX_MAGIC): Likewise.
34638         (SMACK_MAGIC): Likewise.
34639         (SOCKFS_MAGIC): Likewise.
34640         (SQUASHFS_MAGIC): Likewise.
34641         (STACK_END_MAGIC): Likewise.
34642         (TMPFS_MAGIC): Likewise.
34643         (USBDEVICE_SUPER_MAGIC): Likewise.
34644         (V9FS_MAGIC): Likewise.
34645         (XENFS_SUPER_MAGIC): Likewise.
34646         (CRAMFS_MAGIC): Fix typo in comment.
34647         (EXT2_SUPER_MAGIC): Update comment.
34648         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34650 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
34652         * sysdeps/arm: Move directory from ports/sysdeps/arm.
34653         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34654         * sysdeps/unix/sysv/linux/arm: Move directory from
34655         ports/sysdeps/unix/sysv/linux/arm.
34656         * README: Update listing for arm-*-linux-gnueabi.
34658         * README: Remove mention of am33.
34660 2014-02-07  Roland McGrath  <roland@hack.frob.com>
34662         * bits/sigset.h (__sigemptyset): Use a statement expression rather
34663         than the comma operator, to avoid "rhs of comma has no effect"
34664         compiler warnings.
34665         (__sigfillset, __sigandset, __sigorset): Likewise.
34666         * include/signal.h (__sigemptyset): Likewise.
34667         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34669 2014-02-07  Allan McRae  <allan@archlinux.org>
34671         * version.h (RELEASE): Set to "development".
34672         (VERSION): Set to "2.19.90"
34673         * NEWS: Add 2.20 section.
34675 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
34677         [BZ #16529]
34678         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34680 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34682         * manual/contrib.texi: Update entry for Carlos O'Donell,
34683         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34685 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
34687         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34689         * sysdeps/unix/sysv/linux/kernel-features.h
34690         [__LINUX_KERNEL_VERSION >= 0x020621]
34691         (__ASSUME_PROC_PID_TASK_COMM): Define.
34693 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34695         [BZ #16398]
34696         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34697         conversion when destination buffer does not have enough space.
34698         * libio/tst-ftell-partial-wide.c: New test case.
34699         * libio/Makefile (tests): Add tst-ftell-partial-wide.
34701         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34702         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
34703         Leonard and Allan McRae.
34705 2014-02-04  David S. Miller  <davem@davemloft.net>
34707         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34708         32-bit.
34710 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34713         New file
34714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34715         New file
34716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34717         New file.
34718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34719         New file.
34720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34721         New file.
34722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34723         New file.
34724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34725         New file.
34726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34727         New file.
34728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34729         New file.
34730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34731         New file.
34732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34733         New file.
34734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34735         New file.
34736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34737         New file.
34739 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34741         * nptl/shlib-versions: Change powerpc*le start to 2.17.
34742         * shlib-versions: Likewise.
34744 2014-02-04  Roland McGrath  <roland@hack.frob.com>
34745             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34747         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34748         (abilist-pattern): New variable, set to %-le.abilist.
34750         * Makerules (abilist-pattern): New variable.
34751         (vpath): Use $(abilist-pattern) in place of %.abilist.
34752         (check-abi-% pattern rule): Likewise.
34753         (check-abi, update-abi): Likewise.
34755 2014-02-04  Eric Wong  <normalperson@yhbt.net>
34757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34759 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
34761         * manual/startup.texi: Add next, previous, and top entries for
34762         the `Program Arguments' and `Environment Variables' nodes.
34764 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
34766         * manual/macros.texi: Add comments before MTASC-safety macros.
34768         * manual/users.texi: Document MTASC-safety properties.
34770         * manual/threads.texi (pthread_key_create, pthread_key_delete)
34771         (pthread_getspecific, pthread_setspecific): Format with
34772         @deftypefun, and add @safety note.
34773         * manual/signal.texi: Move comments that analyze the above
34774         functions to their home place.
34776 2014-02-03  Allan McRae  <allan@archlinux.org>
34778         * po/sl.po: Update Slovenian translation from translation project.
34780 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
34782         * manual/time.texi (timegm): Add missing blank after @c.
34783         Reported by Joseph Myers <joseph@codesourcery.com>.
34785 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
34787         * manual/check-safety.sh: New.
34788         * manual/Makefile ($(objpfx)stamp-summary): Run it.
34790         * manual/terminal.texi: Document MTASC-safety properties.
34792         * manual/filesys.texi: Document MTASC-safety properties.
34794         * manual/errno.texi: Document MTASC-safety properties.
34796         * manual/intro.texi: Document safety identifiers and
34797         conditionals.
34799         * manual/string.texi (wcstok): Fix prototype.
34800         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
34802         * manual/time.texi: Document MTASC-safety properties.
34804         * manual/string.texi: Document MTASC-safety properties.
34806         * manual/threads.texi: Document MTASC-safety properties.
34808         * manual/stdio.texi: Document MTASC-safety properties.
34810         * manual/syslog.texi: Document MTASC-safety properties.
34812         * manual/sysinfo.texi: Document MTASC-safety properties.
34814         * manual/startup.texi: Document MTASC-safety properties.
34816         * manual/socket.texi: Document MTASC-safety properties.
34818         * manual/signal.texi: Document MTASC-safety properties.
34820 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
34822         * manual/setjmp.texi: Document MTASC-safety properties.
34824         * manual/search.texi: Document MTASC-safety properties.
34826         * manual/resource.texi: Document MTASC-safety properties.
34828         * manual/process.texi: Document MTASC-safety properties.
34830         * manual/platform.texi: Document MTASC-safety properties.
34832         * manual/pipe.texi: Document MTASC-safety properties.
34834         * manual/pattern.texi: Document MTASC-safety properties.
34836         * manual/message.texi: Document MTASC-safety properties.
34838         [BZ #12751]
34839         * manual/memory.texi: Document MTASC-safety properties.
34841         * manual/math.texi: Document MTASC-safety properties.
34843         * manual/locale.texi: Document MTASC-safety properties.
34845         * manual/llio.texi: Document MTASC-safety properties.
34847         * manual/libdl.texi: New.
34849         * manual/lang.texi: Document MTASC-safety properties.
34851         * manual/job.texi: Document MTASC-safety properties.
34853         * manual/getopt.texi: Document MTASC-safety properties.
34855         * manual/ctype.texi: Document MTASC-safety properties.
34857 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
34859         [BZ #16046]
34860         * csu/libc-tls.c (static_map): Remove variable.
34861         (__libc_setup_tls): Use main executable's link map for TLS data.
34862         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
34863         casing for LM_ID_BASE and GL(dl_nns).
34864         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
34865         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
34866         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
34867         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
34868         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
34869         member.
34870         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
34871         l_phnum members.
34873 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
34875         * manual/debug.texi: Document MTASC-safety properties.
34877 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
34879         [BZ #16510]
34880         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
34881         of __x86_64__ when disabling x87 inline functions.
34883 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
34885         * manual/charset.texi: Document MTASC-safety properties.
34887         * manual/crypt.texi: Document MTASC-safety properties.
34889         * manual/conf.texi: Document MTASC-safety properties.
34891         * manual/arith.texi: Document MTASC-safety properties.
34893         * manual/argp.texi: Document MTASC-safety properties.
34895         * manual/macros.texi: Introduce macros to document multi
34896         thread, asynchronous signal and asynchronous cancellation
34897         safety properties.
34898         * manual/intro.texi: Introduce the properties themselves.
34900 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34902         * sysdeps/sh/sh4/Makefile: New file.
34904 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
34906         * math/gen-libm-test.pl ($srcdir): New variable.
34907         ($auto_input): Use it.
34909 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34911         [BZ #16506]
34912         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
34913         access beyond array bounds when parsing netgroups file.
34915         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
34916         the old buffer before realloc.
34918 2014-01-27  Allan McRae  <allan@archlinux.org>
34920         * po/fr.po: Update French translation from translation project.
34922 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34924         * sysdeps/sh/libm-test-ulps: Regenerate.
34926 2014-01-24  David S. Miller  <davem@davemloft.net>
34928         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
34930 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34932         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
34933         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
34935 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34937         [BZ #16474]
34938         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
34939         string pointers after reallocation.
34941 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34943         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
34944         __SH4A__ instead of __SH_FPU_ANY__.
34946 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34948         * sysdeps/sh/fpu_control.h: New file.
34949         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
34950         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
34951         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
34952         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
34953         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
34954         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
34955         * sysdeps/sh/sys/ucontext.h: Remove.
34956         * sysdeps/sh/sys: Remove directory.
34958 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34960         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
34961         s390/sys/ucontext.h.
34962         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
34963         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
34965 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
34967         [BZ #15605]
34968         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
34970 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34972         [BZ#16431]
34973         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34974         Adjust the vDSO correctly for internal calls.
34975         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
34977 2014-01-20  Allan McRae  <allan@archlinux.org>
34979         * po/ca.po: Update Catalan translation from translation project.
34981 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
34983         * sysdeps/s390/sotruss-lib.c: New file.
34985 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34987         [BZ#16430]
34988         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
34989         (__GI___gettimeofday): Alias for a different internal symbol to avoid
34990         local calls issues by not having a PLT stub required for IFUNC calls.
34991         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
34993 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
34995         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
34996         * math/test-fpucw-static.c: Likewise.
34998 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35000         [BZ #16453]
35001         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
35003 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35005         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
35006         implementation for powerpc.
35008 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
35010         [BZ #14782]
35011         * sysdeps/posix/system.c (__libc_system): Do not enable
35012         asynchronous cancellation.
35014 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35016         [BZ #16427]
35017         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
35018         handling only for numbers special also in the IEEE case.
35020 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35022         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35024 2014-01-11  Allan McRae  <allan@archlinux.org>
35026         * po/bg.po: Update Bulgarian translation from translation project.
35028         * po/de.po: Update German translation from translation project.
35030 2014-01-10  Roland McGrath  <roland@hack.frob.com>
35032         * sysdeps/generic/gcc-compat.h: New file.
35034 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35036         * benchtests/asin-inputs: Correct slow inputs.
35037         * benchtests/acos-inputs: Likewise.
35039 2014-01-10  Allan McRae  <allan@archlinux.org>
35041         * po:sv.po: Update Swedish translation from translation project.
35043         * po/vi.po: Update Vietnamese translation from translation project.
35045         * po/eo.po: Update Esperanto translation from translation project.
35047         * po/cs.po: Update Czech translation from translation project.
35049         * po/nl.po: Update Dutch translation from translation project.
35051         * po/pl.po: Update Polish translation from translation project.
35053         * po/ru.po: Update Russian translation from translation project.
35055         * po/uk.po: Update Ukrainian translation from translation project.
35057 2014-01-08  Brooks Moses  <bmoses@google.com>
35059         * elf/dl-load.c: Fix comment typo.
35061 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
35063         * po/header.pot: Rename to...
35064         * po/pot.header: ... this.
35065         * po/Makefile: Use pot.header.
35067 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
35068             Maxim Kuvyrkov  <maxim@kugelworks.com>
35070         [BZ #16394]
35071         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
35072         SRC and DEST against LEN.
35074 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35076         [BZ #16414]
35077         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
35078         implementation.
35079         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
35081 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35085 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
35087         [BZ #16408]
35088         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
35089         for large positive arguments.
35091 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
35093         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35095         * math/auto-libm-test-in: Mark various tests with
35096         xfail-rounding:ldbl-128ibm.
35097         * math/auto-libm-test-out: Regenerated.
35099         [BZ #16407]
35100         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35101         Increase overflow threshold.
35103 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
35105         [BZ #14286]
35106         * stdio-common/vfprintf.c: Check for integer overflow.
35108 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35110         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
35111         the first argument and return value of __tls_get_addr_internal.
35113 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35115         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
35116         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
35118 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35120         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
35121         * sysdeps/s390/rtld-global-offsets.sym: New file.
35122         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
35123         GLIBC_2.19 symbol.
35124         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
35125         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
35126         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35127         ... this.
35128         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
35129         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35130         ... this.
35131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35132         Regenerate.
35133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35134         Regenerate.
35135         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
35136         halfs of GPRs for high_gprs contexts.
35137         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
35138         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
35139         field.
35140         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
35141         uc_flags field.
35142         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
35143         64 bit versions:
35144         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
35145         for high GPRs (uc_high_gprs) and for future extensions
35146         (__reserved).
35147         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
35148         for future extensions (__reserved).
35149         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
35150         64 bit versions:
35151         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
35152         SC_HIGHGPRS offset definition.
35153         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
35154         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
35156         * Versions.def: Add GLIBC_2.19 for libpthread.
35157         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
35158         siglongjmp for libpthread with GLIBC_2.19 symver.
35159         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
35160         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
35161         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
35162         * sysdeps/s390/__longjmp.c: New file.
35163         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
35164         * sysdeps/s390/longjmp.c: New file.
35165         * sysdeps/s390/setjmp.S: New file.
35166         * sysdeps/s390/sigjmp.S: New file.
35167         * sysdeps/s390/v1-longjmp.c: New file.
35168         * sysdeps/s390/v1-setjmp.h: New file.
35169         * sysdeps/s390/v1-sigjmp.c: New file.
35170         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
35171         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
35172         GLIBC_2.19 version.
35173         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
35174         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
35175         versioned symbols for ____longjmp_chk.
35176         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35177         Likewise.
35178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35179         Regenerate.
35180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35181         Regenerate.
35182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35183         Regenerate.
35184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35185         Regenerate.
35186         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
35187         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
35188         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
35189         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
35190         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
35191         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
35192         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
35193         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
35194         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
35195         * sysdeps/s390/rtld-__longjmp.c: New file.
35196         * sysdeps/s390/rtld-setjmp.S: New file.
35198 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
35200         [BZ #16400]
35201         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35202         Return -__logl (x) for small positive arguments without evaluating
35203         a polynomial.
35205 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
35207         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
35208         Rename to ...
35209         (__ptrace_peeksiginfo_args): ... this.
35210         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35211         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35212         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35214 2014-01-06  Allan McRae  <allan@archlinux.org>
35216         * inet/netinet/in.h: Fix typo in comment.
35218 2014-01-05  Andreas Jaeger  <aj@suse.de>
35220         * sysdeps/i386/fpu/libm-test-ulps: Update.
35222 2014-01-05  Allan McRae  <allan@archlinux.org>
35224         * po/libc.pot: Regenerated.
35226         * malloc/memusagestat.c: Fix gettext call formatting.
35228 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
35230         * nscd/nscd.c: Improve usage() output.
35232 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
35234         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
35235         * sysdeps/unix/sysv/linux/configure: Regenerated.
35236         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
35237         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
35239 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35241         [BZ #16390]
35242         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35243         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
35245 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35247         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
35248         extra tokens at end of #undef directive.
35249         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
35250         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
35251         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35253 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35255         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35257         * math/auto-libm-test-in: Mark various tests with
35258         xfail-rounding:ldbl-128ibm.
35259         * math/auto-libm-test-out: Regenerated.
35261 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
35263         [BZ #16386]
35264         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
35265         numbers with subnormal high part when calculating exponent.
35267         [BZ #16385]
35268         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
35269         fabs.
35271         [BZ #16384]
35272         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
35273         M_LN2l.
35274         (__ieee754_acoshl): Use __log1pl not __log1p.
35276 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
35278         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
35279         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
35280         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
35281         (grow_heap, heap_trim, _int_new_arena, get_free_list)
35282         (reused_arena, arena_get2): Convert to GNU style.
35283         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
35284         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
35285         (memalign_check, __malloc_set_state): Likewise.
35286         * malloc/mallocbug.c (main): Likewise.
35287         * malloc/malloc.c (__malloc_assert, malloc_init_state)
35288         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
35289         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
35290         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
35291         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
35292         (__posix_memalign, malloc_info): Likewise.
35293         * malloc/malloc.h: Likewise.
35294         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
35295         (mallochook, memalignhook, reallochook, mabort): Likewise.
35296         * malloc/mcheck.h: Likewise.
35297         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
35298         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
35299         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
35300         * malloc/morecore.c (__default_morecore): Likewise.
35301         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
35302         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
35303         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
35304         (print_and_abort): Likewise.
35305         * malloc/obstack.h: Likewise.
35306         * malloc/set-freeres.c (__libc_freeres): Likewise.
35307         * malloc/tst-mallocstate.c (main): Likewise.
35308         * malloc/tst-mtrace.c (main): Likewise.
35309         * malloc/tst-realloc.c (do_test): Likewise.
35311 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35313         [BZ #16366]
35314         * nscd/netgroupcache.c (do_notfound): New function.
35315         (addgetnetgrentX): Use it.
35317         [BZ # 16365]
35318         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
35319         NSS_STATUS_NOTFOUND.
35321 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
35323         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35326 2014-01-01  Allan McRae  <allan@archlinux.org>
35328         * scripts/update-copyrights: Update configure input file suffix.
35330         * NEWS: Update copyright year.
35331         * catgets/gencat.c: Likewise.
35332         * csu/version.c: Likewise.
35333         * debug/catchsegv.sh: Likewise.
35334         * debug/pcprofiledump.c: Likewise.
35335         * debug/xtrace.sh: Likewise.
35336         * elf/ldconfig.c: Likewise.
35337         * elf/ldd.bash.in: Likewise.
35338         * elf/pldd.c: Likewise.
35339         * elf/sotruss.ksh: Likewise.
35340         * elf/sprof.c: Likewise.
35341         * iconv/iconv_prog.c: Likewise.
35342         * iconv/iconvconfig.c: Likewise.
35343         * locale/programs/locale.c: Likewise.
35344         * locale/programs/localedef.c: Likewise.
35345         * login/programs/pt_chown.c: Likewise.
35346         * malloc/memusage.sh: Likewise.
35347         * malloc/memusagestat.c: Likewise.
35348         * malloc/mtrace.pl: Likewise.
35349         * manual/libc.texinfo: Likewise.
35350         * nscd/nscd.c: Likewise.
35351         * nss/getent.c: Likewise.
35352         * nss/makedb.c: Likewise.
35353         * posix/getconf.c: Likewise.
35354         * scripts/test-installation.pl: Likewise.
35356         * All files with FSF copyright notices: Update copyright dates
35357         using scripts/update-copyrights.
35358         * intl/plural.c: Regenerated.
35359         * locale/programs/charmap-kw.h: Likewise.
35360         * locale/programs/locfile-kw.h: Likewise.
35362 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
35364         * sysdeps/unix/sysv/linux/configure: Regenerated.
35365         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
35366         the linux/fanotify.h header.
35367         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
35368         HAVE_LINUX_FANOTIFY_H is defined.
35370 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35372         * benchtests/cos-inputs: New inputs.
35373         * benchtests/sin-inputs: Likewise.
35375         * benchtests/atan-inputs: New inputs. Fix name of multiple
35376         precision fallback inputs.
35378         * benchtests/atanh-inputs: New inputs.
35379         * benchtests/tanh-inputs: Likewise.
35381         * benchtests/acosh-inputs: New inputs.
35382         * benchtests/asinh-inputs: Likewise.
35384         * benchtests/cosh-inputs: New inputs.
35385         * benchtests/sinh-inputs: Likewise.
35387         * benchtests/acos-inputs: Add more inputs.
35388         * benchtests/asin-inputs: Likewise.
35390 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
35392         [BZ #16375]
35393         * manual/arith.texi: Fix spelling.
35394         * manual/charset.texi: Likewise.
35395         * manual/errno.texi: Likewise.
35396         * manual/filesys.texi: Likewise.
35397         * manual/lang.texi: Likewise.
35398         * manual/llio.texi: Likewise.
35399         * manual/locale.texi: Likewise.
35400         * manual/message.texi: Likewise.
35401         * manual/resource.texi: Likewise.
35402         * manual/search.texi: Likewise.
35403         * manual/setjmp.texi: Likewise.
35404         * manual/stdio.texi: Likewise.
35405         * manual/string.texi: Likewise.
35406         * manual/sysinfo.texi: Likewise.
35407         * manual/time.texi: Likewise.
35409 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
35411         * po/sl.po: New file.
35413 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
35415         * .gitignore: Add core/.gdbinit/.gdb_history.
35417 2013-12-27  Allan McRae  <allan@archlinux.org>
35419         [BZ #16369]
35420         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
35421         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
35423 2013-12-24  Brooks Moses  <bmoses@google.com>
35425         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
35426         all compilers that claim C++98 compliance, not just GCC.
35427         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35428         Likewise.
35430 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35432         * NEWS: Restore accidentally deleted bug-fix entries.
35434 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35435             Ondřej Bílka  <neleai@seznam.cz>
35437         [BZ #15073]
35438         * malloc/malloc.c (_int_free): Perform sanity check only if we
35439         have_lock.
35441 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
35443         [BZ #12986]
35444         * manual/stdio.texi (String Input Conversions): Clarify that character
35445         classes are not supported.
35447 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35451 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
35453         [BZ #16337]
35454         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35455         Calculate results for small negative arguments directly rather
35456         than using reflection formula with special underflow handling.
35458         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
35459         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
35460         sysdeps/unix/bsd/bsd4.4/syscalls.list.
35461         (fchflags): Likewise.
35462         (revoke): Likewise.
35463         (setlogin): Likewise.
35464         (sigaltstack): Likewise.
35465         (wait4): Likewise.
35466         (sigblock): Remove.
35467         (sigsetmask): Likewise.
35468         (wait3): Likewise.
35469         (waitpid): Likewise.
35470         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
35471         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
35472         file.
35473         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
35474         * sysdeps/unix/bsd/Makefile: ... here.
35475         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
35476         * sysdeps/unix/bsd/Versions: ... here.
35477         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
35478         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
35479         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
35480         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
35481         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
35482         * sysdeps/unix/bsd/sigblock.c: ... here.
35483         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
35484         * sysdeps/unix/bsd/sigsetmask.c: ... here.
35485         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
35486         * sysdeps/unix/bsd/sigvec.c: ... here.
35487         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
35488         * sysdeps/unix/bsd/tcdrain.c: ... here.
35489         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
35490         * sysdeps/unix/bsd/tcgetattr.c: ... here.
35491         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
35492         * sysdeps/unix/bsd/tcsetattr.c: ... here.
35493         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
35494         * sysdeps/unix/bsd/wait.c: ... here.
35495         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
35496         * sysdeps/unix/bsd/wait3.c: ... here.
35497         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
35498         * sysdeps/unix/bsd/waitpid.c: ... here.
35500 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
35502         [BZ #16356]
35503         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
35504         round-to-nearest for [!USE_AS_EXPM1L].
35505         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
35506         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
35507         more tests of exp and exp10.  Expect some exp10 tests to miss
35508         exceptions or fail in directed rounding modes.
35509         * math/auto-libm-test-out: Regenerated.
35510         * math/libm-test.inc (exp10_tonearest_test_data): New array.
35511         (exp10_test_tonearest): New function.
35512         (exp10_towardzero_test_data): New array.
35513         (exp10_test_towardzero): New function.
35514         (exp10_downward_test_data): New array.
35515         (exp10_test_downward): New function.
35516         (exp10_upward_test_data): New array.
35517         (exp10_test_upward): New function.
35518         (main): Call the new functions.
35519         * sysdeps/i386/fpu/libm-test-ulps: Update.
35520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35522 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
35524         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
35525         asinh, atan, atan2, atanh, cbrt, cos and cosh.
35526         * math/auto-libm-test-out: Regenerated.
35527         * math/libm-test.inc (acosh_test_data): Add more tests.
35528         (atanh_test_data): Likewise.
35529         (ceil_test_data): Likewise.
35530         (copysign_test_data): Likewise.
35531         * sysdeps/i386/fpu/libm-test-ulps: Update.
35532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35534         * timezone/checktab.awk: Update from tzcode 2013i.
35535         * timezone/private.h: Likewise.
35536         * timezone/scheck.c: Likewise.
35537         * timezone/tzfile.h: Likewise.
35538         * timezone/tzselect.ksh: Likewise.
35539         * timezone/zdump.c: Likewise.
35540         * timezone/zic.c: Likewise.
35542         * math/auto-libm-test-in: Add tests of cpow.
35543         * math/auto-libm-test-out: Regenerated.
35544         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
35545         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35546         mpc_cc_c.
35547         (func_calc_desc): Add mpc_cc_c union field.
35548         (test_functions): Add cpow.
35549         (special_fill_2pi): New function.
35550         (special_real_inputs): Add 2pi.
35551         (calc_generic_results): Handle mpc_cc_c.
35552         * sysdeps/i386/fpu/libm-test-ulps: Update.
35553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35555         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
35556         csqrt, ctan and ctanh.
35557         * math/auto-libm-test-out: Regenerated.
35558         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35559         (TEST_COND_x86): Likewise.
35560         (ccos_test_data): Use AUTO_TESTS_c_c.
35561         (ccosh_test_data): Likewise.
35562         (cexp_test_data): Likewise.
35563         (clog_test_data): Likewise.
35564         (csqrt_test_data): Likewise.
35565         (ctan_test_data): Likewise.
35566         (ctan_tonearest_test_data): Likewise.
35567         (ctan_towardzero_test_data): Likewise.
35568         (ctan_downward_test_data): Likewise.
35569         (ctan_upward_test_data): Likewise.
35570         (ctanh_test_data): Likewise.
35571         (ctanh_tonearest_test_data): Likewise.
35572         (ctanh_towardzero_test_data): Likewise.
35573         (ctanh_downward_test_data): Likewise.
35574         (ctanh_upward_test_data): Likewise.
35575         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35576         mpc_c_c.
35577         (func_calc_desc): Add mpc_c_c union field.
35578         (FUNC_mpc_c_c): New macro.
35579         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
35580         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
35581         ctanh.
35582         (special_fill_min_subnorm_p120): New function.
35583         (special_real_inputs): Add min_subnorm_p120.
35584         (calc_generic_results): Handle mpc_c_c.
35585         * sysdeps/i386/fpu/libm-test-ulps: Update.
35586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35588 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35590         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
35591         (do_sin_slow): New functions.
35592         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
35593         (cslow2, csloww1, csloww2): Use the new functions.
35595         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
35596         Use M to change sign of result instead of X.  Assume X is
35597         positive.
35598         (csloww1): Likewise.
35599         (__sin): Adjust.
35600         (__cos): Adjust.
35602         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35603         arguments A and DA.
35604         (__sin): Adjust.
35605         (__cos): Likewise.
35607         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35608         (__cos): Likewise.
35609         (sloww1): Don't adjust sign of DX.
35610         (csloww1): Likewise.
35611         (sloww2): Use X directly and don't adjust sign of DX.
35612         (csloww2): Likewise.
35614 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35616         * math/auto-libm-test-in: Add tests of cabs and carg.
35617         * math/auto-libm-test-out: Regenerated.
35618         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35619         (carg_test_data): Likewise.
35620         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35621         mpc_c_f.
35622         (func_calc_desc): Add mpc_c_f union field.
35623         (test_functions): Add cabs and carg.
35624         (calc_generic_results): Handle mpc_c_f.
35626         * sysdeps/powerpc/powerpc32/libgcc-compat.S
35627         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35628         as a macro and a compat symbol.
35629         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35630         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35631         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35632         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35633         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35634         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35635         not use .hidden.
35636         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35637         Likewise.
35638         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35639         Likewise.
35640         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35641         Likewise.
35642         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35643         Likewise.
35644         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35645         Likewise.
35646         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35647         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35648         from GLIBC_2.3.2.
35650 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35654 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35656         * manual/texinfo.tex: Update to version 2013-11-26.10 with
35657         trailing whitespace removed.
35658         * scripts/config.guess: Update to version 2013-11-29.
35659         * scripts/config.sub: Update to version 2013-10-01.
35661         * math/auto-libm-test-in: Add tests of sincos.
35662         * math/auto-libm-test-out: Regenerated.
35663         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35664         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35665         mpfr_f_11.
35666         (func_calc_desc): Add mpfr_f_11 union field.
35667         (test_functions): Add sincos.
35668         (calc_generic_results): Handle mpfr_f_11.
35669         * sysdeps/i386/fpu/libm-test-ulps: Update.
35670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35672 2013-12-19  Andreas Schwab  <schwab@suse.de>
35674         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35675         CALL_MCOUNT.
35676         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35677         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35678         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35680 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35682         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35683         * sysdeps/i386/fpu/libm-test-ulps: Update.
35684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35686         [BZ #16293]
35687         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35688         round-to-nearest mode when using frndint.
35689         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35690         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35691         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35692         Likewise.
35693         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
35694         sinh test to fail.
35695         * math/auto-libm-test-out: Regenerated.
35696         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35697         (TEST_COND_x86): Likewise.
35698         (expm1_tonearest_test_data): New array.
35699         (expm1_test_tonearest): New function.
35700         (expm1_towardzero_test_data): New array.
35701         (expm1_test_towardzero): New function.
35702         (expm1_downward_test_data): New array.
35703         (expm1_test_downward): New function.
35704         (expm1_upward_test_data): New array.
35705         (expm1_test_upward): New function.
35706         (main): Run the new test functions.
35707         * sysdeps/i386/fpu/libm-test-ulps: Update.
35708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35710         * include/features.h: Update comment documenting feature test
35711         macros.  Mention _DEFAULT_SOURCE in comment.
35712         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35713         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35714         _BSD_SOURCE and _SVID_SOURCE.
35715         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35716         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35717         !_SVID_SOURCE]: Likewise.
35718         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35719         (__USE_POSIX_IMPLICITLY): Define.
35720         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35721         (_POSIX_SOURCE): Undefine and redefine.
35722         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35723         (_POSIX_C_SOURCE): Likewise.
35724         * manual/creature.texi (_DEFAULT_SOURCE): Document.
35725         (Feature Test Macros): Update documentation of default features.
35727 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35729         * benchtests/Makefile: Add bench-strtok.
35730         * benchtests/bench-strtok.c: New file: strtok benchtest.
35732 2013-12-19  Allan McRae  <allan@archlinux.org>
35734         * manual/install.texi: Suppress menu for plain text output.
35735         * INSTALL: Regenerated.
35737 2013-12-18  Brooks Moses  <bmoses@google.com>
35739         [BZ #15846]
35740         * misc/getauxval.c: Include errno.h.
35741         (__getauxval): Set errno to ENOENT if the requested type is not
35742         found.
35743         * misc/sys/auxv.h (getauxval): Document that it may set errno;
35744         don't declare with __attribute_const__.
35745         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35746         * manual/startup.texi: Document that getauxval sets errno.
35748 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35750         * math/auto-libm-test-in: Add tests of jn and yn.
35751         * math/auto-libm-test-out: Regenerated.
35752         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35753         (yn_test_data): Likewise.
35754         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35755         mpfr_if_f.
35756         (func_calc_desc): Add mpfr_if_f union field.
35757         (FUNC_mpfr_if_f): New macro.
35758         (test_functions): Add jn and yn.
35759         (calc_generic_results): Assert type of second input for
35760         mpfr_ff_f.  Handle mpfr_if_f.
35761         (output_for_one_input_case): Disable all checking for arguments
35762         fitting floating-point types in case of an integer argument.
35763         * sysdeps/i386/fpu/libm-test-ulps: Update.
35764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35767         Don't expect fegetround reference in libm.so.
35769 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35771         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
35772         $(config-cflags-nofma).
35774 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35776         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
35777         * math/auto-libm-test-out: Regenerated.
35779         [BZ #16338]
35780         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
35781         to determine exponent and adjust argument to have exponent of -1.
35782         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
35783         log2.
35784         * math/auto-libm-test-out: Regenerated.
35785         * sysdeps/i386/fpu/libm-test-ulps: Update.
35786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35788 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
35790         * manual/probes.texi: Remove cases when per-thread arenas are
35791         disabled.
35793 2013-12-18  Andreas Schwab  <schwab@suse.de>
35795         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
35796         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
35797         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
35798         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
35799         * sysdeps/i386/i686/multiarch/Makefile: Update.
35800         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
35802 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35804         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
35805         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
35807 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
35809         [BZ #15968]
35810         Support TZ transition times < 00:00:00.
35811         This is needed for version-3 tz-format files; it supports time
35812         stamps past 2037 for America/Godthab (the only entry in the tz
35813         database for which this change is relevant).
35814         * manual/time.texi (TZ Variable): Document transition times
35815         from -167:59:59 through -00:00:01.
35816         * time/tzset.c (tz_rule): Time of day is now signed.
35817         (__tzset_parse_tz): Parse negative time of day.
35819         Document TZ transition times >= 25:00:00.
35820         * manual/time.texi (TZ Variable): Document transition times from
35821         25:00:00 through 167:59:59.  These are already supported, and this
35822         support will help with version-3 tz-format files.
35824         * manual/time.texi (TZ Variable): Modernize North America example
35825         to reflect current (i.e., 2007-and-later) daylight saving rules.
35827         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35829 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35831         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
35832         * sysdeps/unix/bsd/bits/stat.h: Likewise.
35833         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
35834         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35835         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
35836         * sysdeps/unix/bsd/bsdstat.h: Likewise.
35837         * sysdeps/unix/bsd/clock.c: Likewise.
35838         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
35839         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
35840         * sysdeps/unix/bsd/init-posix.c: Likewise.
35841         * sysdeps/unix/bsd/poll.c: Likewise.
35842         * sysdeps/unix/bsd/ptsname.c: Likewise.
35843         * sysdeps/unix/bsd/seekdir.c: Likewise.
35844         * sysdeps/unix/bsd/setegid.c: Likewise.
35845         * sysdeps/unix/bsd/seteuid.c: Likewise.
35846         * sysdeps/unix/bsd/setgid.c: Likewise.
35847         * sysdeps/unix/bsd/setrgid.c: Likewise.
35848         * sysdeps/unix/bsd/setruid.c: Likewise.
35849         * sysdeps/unix/bsd/setsid.c: Likewise.
35850         * sysdeps/unix/bsd/setuid.c: Likewise.
35851         * sysdeps/unix/bsd/sigaction.c: Likewise.
35852         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
35853         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
35854         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
35855         * sysdeps/unix/bsd/telldir.c: Likewise.
35856         * sysdeps/unix/bsd/times.c: Likewise.
35857         * sysdeps/unix/bsd/usleep.c: Likewise.
35859         * misc/Makefile (install-lib): Remove libbsd-compat.a.
35860         ($(objpfx)libbsd-compat.a): Remove rule.
35862         * include/features.h (__FAVOR_BSD): Do not define.
35863         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
35864         features conflicting with POSIX.
35865         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
35866         (_BSD_SOURCE): Remove description of not being a subset of other
35867         feature test macros.
35868         * manual/job.texi (getpgrp): Do not document BSD version.
35869         (getpgid): Do not document by reference to BSD getpgrp.
35870         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
35871         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
35872         * signal/signal.h [__FAVOR_BSD]: Likewise.
35873         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
35874         instead of making contents conditional on [__FAVOR_BSD].
35875         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
35877 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35881 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35883         [BZ #16314]
35884         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
35885         values below 2**-450, not 2**-500.
35886         * math/auto-libm-test-in: Don't allow spurious underflow from
35887         hypot.
35888         * math/auto-libm-test-out: Regenerated.
35890         [BZ #16316]
35891         [BZ #16330]
35892         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
35893         values of ha and hb and sort them after adjusting subnormal
35894         arguments.
35895         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35896         Likewise.
35897         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
35898         values of ea and eb and sort them after adjusting subnormal
35899         arguments.
35900         * math/auto-libm-test-in: Do not expect some hypot tests of
35901         subnormals to fail.  Add more hypot tests.
35902         * math/auto-libm-test-out: Regenerated.
35904 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35906         [BZ #13304]
35907         * sysdeps/sh/s_fma.c: New file.
35908         * sysdeps/sh/s_fmaf.c: New file.
35909         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
35910         version.
35911         * sysdeps/sh/Implies: Add sh/soft-fp.
35913 2013-12-16  Roland McGrath  <roland@hack.frob.com>
35915         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
35916         level of indirection to members `objname', `errstring', `malloced'.
35917         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
35918         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
35919         it as the __longjmp argument (just pass 1 instead).
35920         (_dl_catch_error): Initialize C with argument pointers and address of
35921         volatile local ERRCODE rather than copying values out of C at return.
35923 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
35925         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
35926         * math/auto-libm-test-out: Regenerated.
35927         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
35928         (hypot_test_data): Likewise.
35929         (pow_test_data): Likewise.
35930         (pow_tonearest_test_data): Likewise.
35931         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35932         mpfr_ff_f.
35933         (func_calc_desc): Add mpfr_ff_f union field.
35934         (FUNC_mpfr_ff_f): New macro.
35935         (test_functions): Add atan2, hypot and pow.
35936         (special_fill_min): New function.
35937         (special_fill_minus_min): Likewise.
35938         (special_fill_min_subnorm): Likewise.
35939         (special_fill_minus_min_subnorm): Likewise.
35940         (special_real_inputs): Add min, -min, min_subnorm and
35941         -min_subnorm.
35942         (calc_generic_results): Handle mpfr_ff_f.
35943         * sysdeps/i386/fpu/libm-test-ulps: Update.
35944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35946 2013-12-16  Will Newton  <will.newton@linaro.org>
35948         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
35949         (Aligned Memory Blocks): Add documentation for aligned_alloc
35950         and suggest it as an alternative to posix_memalign.
35951         (Hooks for Malloc): Document __memalign_hook is also called
35952         for aligned_alloc.  (Summary of Malloc): Add summary for
35953         aligned alloc.  Document __memalign_hook is also called
35954         for aligned_alloc.
35956 2013-12-16  Will Newton  <will.newton@linaro.org>
35958         * manual/memory.texi (Malloc Examples): Clarify default
35959         alignment documentation.  Suggest posix_memalign rather
35960         than memalign or valloc.
35961         (Aligned Memory Blocks): Remove suggestion to use memalign
35962         or valloc.  Remove obsolete comment about BSD.
35963         Document memalign errno values and mark the function obsolete.
35964         Document posix_memalign returned error codes.  Mark valloc
35965         as obsolete.  (Hooks for Malloc): __memalign_hook is also
35966         called for posix_memalign and valloc.
35967         (Summary of Malloc): Add posix_memalign to function summary.
35968         __memalign_hook is also called for posix_memalign and valloc.
35970 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35972         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
35973         TAYLOR_SIN.
35974         (__sin): Adjust.
35975         (__cos): Likewise.
35976         (sloww): Use mynumber union.  Expand ternary operator into
35977         if-else statements.
35978         (cslow): use mynumber union.
35980 2013-12-16  Allan McRae  <allan@archlinux.org>
35982         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
35983         * configure: Regenerated.
35985         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
35987         [BZ #14120]
35988         * configure.ac: Added --enable-maintainer-mode. Check for
35989         autoconf when enabled.
35990         * configure: Regenerated.
35992         * nscd/nscd.service: New file.
35993         * nscd/nscd.tmpfiles: New file.
35995 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
35997         [BZ #12100]
35998         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
35999         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
36000         * sysdeps/x86_64/multiarch/strstr.c: ... here.
36001         (strstr): Add __strstr_sse2_unaligned ifunc.
36002         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
36003         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
36004         (strcasestr): Remove __strcasestr_sse42 ifunc.
36005         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
36006         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36007         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36009 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36011         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
36012         * sysdeps/sh/bits/fenv.h: ... here.
36013         * sysdeps/sh/sh4/fpu/bits: Remove directory.
36015 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36017         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
36019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
36020         hypotf multiarch implementations.
36021         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
36022         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
36023         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
36024         multiarch hypot for PPC64.
36025         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
36026         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
36027         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
36028         multiarch hypotf for PPC64.
36030         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
36031         modff multiarch implementations.
36032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
36033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
36034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
36035         multiarch modf for PPC64.
36036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
36037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
36038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
36039         multiarch modff for PPC64.
36041         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
36042         and logl multiarch implementations.
36043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
36044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
36045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
36046         multiarch logb for PPC64.
36047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
36048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
36049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
36050         multiarch logb for PPC64.
36051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
36052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
36053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
36054         multiarch logb for PPC64.
36056         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
36057         isinff multiarch implementation.
36058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
36059         file.
36060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
36061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
36062         multiarch isinf for PPC64.
36063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
36064         file.
36065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
36066         multiarch isinff for PPC64.
36068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
36069         finitef multiarch implementation.
36070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
36071         file.
36072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
36073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
36074         multiarch finite for PPC64.
36075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
36076         file.
36077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
36078         multiarch finitef for PPC64.
36080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
36081         lrint multiarch implementation.
36082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
36083         file.
36084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
36085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
36086         multiarch llrint for PPC64.
36087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
36088         multiarch lrint for PPC64.
36090         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
36091         copysignf multiarch implementation.
36092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
36093         file.
36094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
36095         file.
36096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
36097         multiarch copysign for PPC64.
36098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
36099         multiarch copysignf for PPC64.
36101         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
36102         multiarch implementation.
36103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
36104         file.
36105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
36106         file.
36107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
36108         file.
36109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
36110         file.
36111         multiarch llround for PPC64.
36112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
36113         multiarch trunc for PPC64.
36114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
36115         multiarch truncf for PPC64.
36117         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
36118         multiarch implementation.
36119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
36120         file.
36121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
36122         file.
36123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
36124         file.
36125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
36126         file.
36127         multiarch llround for PPC64.
36128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
36129         multiarch round for PPC64.
36130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
36131         multiarch roundf for PPC64.
36133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
36134         multiarch implementation.
36135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
36136         file.
36137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
36138         file.
36139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
36140         file.
36141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
36142         file.
36143         multiarch llround for PPC64.
36144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
36145         multiarch floor for PPC64.
36146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
36147         multiarch floorf for PPC64.
36149         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
36150         multiarch implementation.
36151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
36152         file.
36153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
36154         file.
36155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
36156         file.
36157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
36158         file.
36159         multiarch llround for PPC64.
36160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
36161         multiarch ceil for PPC64.
36162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
36163         multiarch ceilf for PPC64.
36165         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36166         multiarch implementation.
36167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
36168         file.
36169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
36170         file.
36171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
36172         file.
36173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
36174         multiarch llround for PPC64.
36175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
36176         multiarch lround for PPC64.
36178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36179         multiarch implementation.
36180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
36181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
36182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
36183         file.
36184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
36185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
36186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
36187         multiarch isnan for PPC64.
36188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
36189         multiarch isnanf for PPC64.
36191         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
36192         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
36193         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
36194         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
36195         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
36196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
36198         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
36199         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36200         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36201         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
36204         multiarch implementations.
36205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36206         (__libc_ifunc_impl_list): Likewise.
36207         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
36208         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
36209         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
36210         multiarch stpcpy for PPC64.
36212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
36213         multiarch implementations.
36214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36215         (__libc_ifunc_impl_list): Likewise.
36216         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
36217         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
36218         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
36219         multiarch strcpy for PPC64.
36221         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
36222         redefine function name.
36223         (_wordcopy_fwd_dest_aligned): Likewise.
36224         (_wordcopy_bwd_aligned): Likewise.
36225         (_wordcopy_bwd_dest_aligned): Likewise.
36226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
36227         multiarch implementations.
36228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36229         (__libc_ifunc_impl_list): Likewise.
36230         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
36231         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
36232         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
36233         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
36234         multiarch wcscpy for PPC64.
36236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
36237         multiarch implementations.
36238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36239         (__libc_ifunc_impl_list): Likewise.
36240         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
36241         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
36242         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
36243         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
36244         multiarch wcscpy for PPC64.
36246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
36247         multiarch implementations.
36248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36249         (__libc_ifunc_impl_list): Likewise.
36250         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
36251         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
36252         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
36253         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
36254         multiarch wcsrchr for PPC64.
36256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
36257         multiarch implementations.
36258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36259         (__libc_ifunc_impl_list): Likewise.
36260         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
36261         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
36262         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
36263         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
36264         multiarch wcschr for PPC64.
36266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
36267         multiarch implementations.
36268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36269         (__libc_ifunc_impl_list): Likewise.
36270         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
36271         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
36272         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
36273         multiarch strchrnul for PPC64.
36275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
36276         implementations.
36277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36278         (__libc_ifunc_impl_list): Likewise.
36279         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
36280         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
36281         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
36282         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
36283         strchr for PPC64.
36285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
36286         implementations.
36287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36288         (__libc_ifunc_impl_list): Likewise.
36289         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
36290         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
36291         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
36292         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
36293         strncmp for PPC64.
36295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
36296         multiarch implementations.
36297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36298         (__libc_ifunc_impl_list): Likewise.
36299         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
36300         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
36301         strncasecmp for PPC64.
36302         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
36303         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
36304         multiarch strncasecmp_l for PPC64.
36306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
36307         multiarch implementations.
36308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36309         (__libc_ifunc_impl_list): Likewise.
36310         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
36311         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
36312         multiarch strcasecmp for PPC64.
36313         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
36314         file.
36315         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
36316         multiarch strcasecmp_l for PPC64.
36318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
36319         implementations.
36320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36321         (__libc_ifunc_impl_list): Likewise.
36322         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
36323         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
36324         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
36325         strnlen for PPC64.
36327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
36328         implementations.
36329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36330         (__libc_ifunc_impl_list): Likewise.
36331         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
36332         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
36333         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
36334         strlen for PPC64.
36336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
36337         implementations.
36338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36339         (__libc_ifunc_impl_list): Likewise.
36340         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
36341         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
36342         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
36343         rawmemrchr for PPC64.
36345         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
36346         implementation.
36347         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36348         (__libc_ifunc_impl_list): Likewise.
36349         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
36350         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
36351         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
36352         memrchr for PPC64.
36354         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
36355         implementation.
36356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36357         (__libc_ifunc_impl_list): Likewise.
36358         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
36359         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
36360         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
36361         memchr for PPC64.
36363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
36364         implementation.
36365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36366         (__libc_ifunc_impl_list): Likewise.
36367         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
36368         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
36369         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
36370         mempcpy for PPC64.
36372         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
36373         avoid cretion of __bzero symbol.
36374         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
36375         Likewise.
36376         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
36377         Likewise.
36378         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
36379         Likewise.
36380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
36381         multiarch implementations.
36382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36383         (__libc_ifunc_impl_list): Likewise.
36384         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
36385         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
36386         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
36387         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
36388         bzero for PPC32.
36389         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
36390         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
36391         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
36392         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
36393         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
36394         memset for PPC64.
36395         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
36397         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
36398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
36399         implementations.
36400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36401         (__libc_ifunc_impl_list): Likewise.
36402         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
36403         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
36404         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
36405         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
36406         memcmp for PPC64.
36408         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
36409         multiarch for POWER/PPC64.
36410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
36411         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
36412         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
36413         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
36414         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
36415         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
36416         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
36417         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
36418         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
36419         memcpy for PPC64.
36421         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
36422         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
36423         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
36424         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
36425         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
36426         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
36427         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
36428         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
36429         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
36430         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
36431         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
36432         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
36433         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
36434         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
36435         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
36436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
36437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
36438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
36439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
36440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
36441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
36442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
36444 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36446         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
36448 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36450         * benchtests/Makefile (bench): Add exp2 and log2.
36451         (LDLIBS-bench-exp2): Add -lm.
36452         (LDLIBS-bench-log2): Likewise.
36453         * benchtests/exp2-inputs: New inputs file.
36454         * benchtests/log2-inputs: New inputs file.
36455         * benchtests/log-inputs: Add new inputs.
36456         * benchtests/tan-inputs: Likewise.
36458 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36460         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
36461         definition...
36462         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
36463         (csloww2): ... from here.
36465         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
36466         instead of structures.
36467         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
36468         (POLYNOMIAL): Likewise.
36469         (TAYLOR_SLOW): Likewise.
36470         (__sin): Likewise.
36471         (__cos): Likewise.
36472         (slow1): Likewise.
36473         (slow2): Likewise.
36474         (sloww): Likewise.
36475         (sloww1); Likewise.
36476         (sloww2): Likewise.
36477         (bsloww1): Likewise.
36478         (bsloww2): Likewise.
36479         (cslow2): Likewise.
36480         (csloww): Likewise.
36481         (csloww1): Likewise.
36482         (csloww2): Likewise.
36484 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
36486         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
36487         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
36488         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
36489         * malloc/hooks.c (realloc_check): Likewise.
36491         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
36492         * malloc/arena.c: Remove PER_THREAD conditional.
36493         [!PER_THREAD]: Remove code.
36494         (ptmalloc_unlock_all2): Likewise.
36495         (ptmalloc_init): Likewise.
36496         (_int_new_arena): Likewise.
36497         (arena_get2): Likewise.
36498         * malloc/hooks.c (__malloc_get_state): Likewise.
36499         (__malloc_set_state): Likewise.
36500         * malloc/malloc.c: Likewise.
36501         (struct malloc_state): Likewise.
36502         (struct malloc_par): Likewise.
36503         (__libc_realloc): Likewise.
36504         (__libc_mallopt): Likewise.
36506 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36508         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
36510 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
36512         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
36513         macro to a function.  Check for zero perturb_byte.
36514         (_int_malloc, _int_free): Remove zero perturb_byte checks.
36516         * malloc/malloc.c: (force_reg): Remove.
36517         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
36518         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
36519         force_reg by atomic_forced_read.
36520         * malloc/arena.c (ptmalloc_init): Likewise.
36521         * malloc/hooks.c (top_check): Likewise.
36523 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36527 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
36529         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36531 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
36533         * math/auto-libm-test-in: Add tests of lgamma.
36534         * math/auto-libm-test-out: Regenerated.
36535         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
36536         (M_LOG_2_SQRT_PIl): Likewise.
36537         (lgamma_test_data): Use AUTO_TESTS_f_f1.
36538         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36539         mpfr_f_f1.
36540         (func_calc_desc): Add mpfr_f_f1 union field.
36541         (ARGS1): New macro.
36542         (ARGS2): Likewise.
36543         (ARGS3): Likewise.
36544         (ARGS4): Likewise.
36545         (RET1): Likewise.
36546         (RET2): Likewise.
36547         (CALC): Likewise.
36548         (FUNC): Likewise.
36549         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
36550         (test_functions): Add lgamma.
36551         (calc_generic_results): Handle mpfr_f_f1.
36552         * sysdeps/i386/fpu/libm-test-ulps: Update.
36553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36555 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36557         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
36558         __mpn_add_n for PowerPC64/POWER7.
36559         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
36560         __mpn_sub_n for PowerPC64/POWER7.
36562         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
36563         __mpn_addmul_1 for PowerPC64.
36564         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
36565         __mpn_submul_1 for PowerPC64.
36566         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
36567         for PowerPC64.
36568         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
36569         for PowerPC64.
36571 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
36573         [BZ #15089]
36574         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
36576 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36578         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
36580         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
36581         add multiarch folders.
36582         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
36583         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
36584         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
36585         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
36586         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
36587         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
36588         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
36589         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
36590         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
36591         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
36592         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
36593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
36594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
36595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
36596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
36597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
36598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
36600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36601         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36603         New file.
36604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36605         New file.
36606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36607         multiarch __ieee754_hypot for PowerPC32.
36608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36609         New file.
36610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36611         New file.
36612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36613         multiarch __ieee754_hypotf for PowerPC32.
36615         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36616         long_double_symbol only if __logbl is defined.
36617         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36618         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36619         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36620         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36621         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36622         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36623         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36624         path for implementation.
36625         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36626         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36628         logb, and logbl multiarch implementations for PowerPC32.
36629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36630         file.
36631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36632         file.
36633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36634         multiarch logb for PowerPC32.
36635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36636         file.
36637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36638         file.
36639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36640         multiarch logbf for PowerPC32.
36641         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36643         file.
36644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36645         multiarch logbl implementation for PowerPC32.
36647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36648         and modff multiarch implementations.
36649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36650         New file.
36651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36652         New file.
36653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36654         multiarch modf for PowerPC32.
36655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36656         New file.
36657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36658         New file.
36659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36660         multiarch modff for PowerPC32.
36662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36663         and lrintf multiarch implementations.
36664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36665         New file.
36666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36667         New file.
36668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36669         multiarch lrint for PowerPC32.
36670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36671         file: multiarch lrintf for PowerPC32.
36673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36674         and lroundf multiarch implementations.
36675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36676         New file.
36677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36678         New file.
36679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36680         New file.
36681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36682         multiarch lround for PowerPC32.
36683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36684         file: multiarch lroundf for PowerPC32.
36686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36687         copysign and copysignf multiarch implementations.
36688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36689         New file.
36690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36691         New file.
36692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36693         file: multiarch copysign for PowerPC32.
36694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36695         file: multiarch copysignf for PowerPC32.
36697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36698         and truncf multiarch implementations.
36699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36700         New file.
36701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36702         file.
36703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36704         multiarch trunc for PowerPC32.
36705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36706         New file.
36707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36708         New file.
36709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36710         multiarch truncf for PowerPC32.
36712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36713         and roundf multiarch implementations.
36714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36715         New file.
36716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36717         file.
36718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36719         multiarch round for PowerPC32.
36720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36721         New file.
36722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36723         New file.
36724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36725         multiarch roundf for PowerPC32.
36727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36728         and floorf multiarch implementations.
36729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36730         New file.
36731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36732         file.
36733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36734         multiarch floor for PowerPC32.
36735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36736         New file.
36737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36738         New file.
36739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36740         multiarch floorf for PowerPC32.
36742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36743         and ceilf multiarch implementations.
36744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36745         New file.
36746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36747         file.
36748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36749         multiarch ceil for PowerPC32.
36750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36751         New file.
36752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36753         file.
36754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36755         multiarch ceilf for PowerPC32.
36757         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
36758         is defined.
36759         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
36760         FINITEF is defined.
36761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
36762         and finitef multiarch implementations.
36763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
36764         New file.
36765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
36766         file.
36767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
36768         multiarch finite for PowerPC32.
36769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
36770         New file.
36771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
36772         file: multiarch finitef for PowerPC32.
36774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
36775         and isinff multiarch implementations.
36776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
36777         file.
36778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
36779         file.
36780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
36781         multiarch isinf for PowerPC32.
36782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
36783         New file.
36784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
36785         multiarch isinff for PowerPC32.
36787         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
36788         alias when __isnan is defined.
36789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
36790         and isnanf multiarch implementations.
36791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
36792         file.
36793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
36794         file.
36795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
36796         file.
36797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
36798         file.
36799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
36800         multiarch isnan for PowerPC32.
36801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
36802         New file.
36803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
36804         New file.
36805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
36806         multiarch isnanf for PowerPC32.
36808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
36809         and sqrtf multiarch implementations.
36810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
36811         file.
36812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
36813         file.
36814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
36815         multiarch sqrt for PowerPC32.
36816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
36817         file.
36818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
36819         file.
36820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
36821         multiarch sqrtf for PowerPC32.
36823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
36824         and llroundf multiarch implementations.
36825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
36826         New file.
36827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
36828         New file.
36829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
36830         New file.
36831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
36832         file: multiarch llround for PowerPC32.
36833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
36834         file: multiarch llroundf for PowerPC32.
36836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36837         multiarch PowerPC32 fpu implementations.
36838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
36839         New file.
36840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
36841         New file.
36842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
36843         multiarch llrint for PowerPC32.
36844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
36845         New file.
36846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
36847         New file.
36848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
36849         file.
36851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
36853         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
36854         file.
36855         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
36856         file.
36857         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
36858         file.
36859         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
36860         multiarch wordcopy for PPC32.
36861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36862         wordcopy objects.
36863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36864         (__libc_ifunc_impl_list): Likewise.
36865         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
36866         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
36867         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
36868         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
36869         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
36870         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
36872         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
36873         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
36874         file.
36875         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
36876         file.
36877         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
36878         file.
36879         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
36880         multiarch wcscpy for PPC32.
36881         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36882         multiarch objects.
36883         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36884         (__libc_ifunc_impl_list): Likewise.
36885         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36886         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36887         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
36888         sysdeps/powerpc/power6/wcscpy.c.
36890         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
36891         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
36892         file.
36893         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
36894         file.
36895         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
36896         file.
36897         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
36898         multiarch wcsrchr for PPC32.
36899         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36900         multiarch objects.
36901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36902         (__libc_ifunc_impl_list): Likewise.
36903         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36904         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36905         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
36906         sysdeps/powerpc/power6/wcsrchr.c.
36908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
36909         file.
36910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
36911         file.
36912         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
36913         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
36914         multiarch wcschr for PPc32.
36915         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36916         multiarch objects.
36917         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36918         (__libc_ifunc_impl_list): Likewise.
36919         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
36920         * sysdeps/powerpc/power6/wcschr.c: ... to here.
36921         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
36922         sysdeps/powerpc/power6/wcschr.c.
36924         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
36925         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
36926         file.
36927         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
36928         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
36929         file: multiarch strchr for PPC32.
36930         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
36931         multiarch objects.
36932         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36933         (__libc_ifunc_impl_list): Likewise.
36935         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
36936         name.
36937         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
36938         file.
36939         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
36940         file.
36941         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
36942         multiarch strchrnul for PPC32.
36943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
36944         multiarch objects.
36945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36946         (__libc_ifunc_impl_list): Likewise.
36948         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
36949         file.
36950         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
36951         multiarch strncasecmp for PPC32.
36952         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
36953         file.
36954         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
36955         multiarch strncasecmp_l for PPC32.
36956         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
36957         strncasecmp multiarch objects.
36958         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36959         (__libc_ifunc_impl_list): Likewise.
36961         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
36962         file.
36963         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
36964         multiarch strncasecmp for PPC32.
36965         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36966         New file.
36967         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
36968         multiarch strcasecmp_l for PPC32.
36969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
36970         multiarch objects.
36971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36972         (__libc_ifunc_impl_list): Likewise.
36974         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
36975         file.
36976         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
36977         file.
36978         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
36979         multiarch strncmp for PPC32.
36980         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
36981         multiarch objects.
36982         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36983         (__libc_ifunc_impl_list): Likewise.
36985         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
36986         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
36987         file.
36988         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
36989         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
36990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
36991         multiarch objects.
36992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36993         (__libc_ifunc_impl_list): Likewise.
36995         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
36996         file.
36997         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
36998         file.
36999         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
37000         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
37001         multiarch objects.
37002         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37003         (__libc_ifunc_impl_list): Likewise.
37005         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
37006         file.
37007         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
37008         file.
37009         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
37010         multiarch rawmemchr for PPC32.
37011         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
37012         multiarch objects.
37013         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37014         (__libc_ifunc_impl_list): Likewise.
37016         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
37017         file.
37018         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
37019         file.
37020         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
37021         file: memrchr multiarch for PPC32.
37022         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
37023         multiarch objects.
37024         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37025         (__libc_ifunc_impl_list): Likewise.
37027         * string/memchr.c (__memchr): Using macro to redefine symbol name.
37028         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
37029         file.
37030         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
37031         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
37032         multiarch memchr for PPC32.
37033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
37034         multiarch objects.
37035         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37036         (__libc_ifunc_impl_list): Likewise.
37038         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
37039         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
37040         file.
37041         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
37042         file.
37043         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
37044         file: multiarch mempcpy for PPC32.
37045         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
37046         multiarch objects.
37047         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37048         (__libc_ifunc_impl_list): Likewise.
37050         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
37051         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
37052         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
37053         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
37054         multiarch bzero for PPC32.
37055         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
37056         file.
37057         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
37058         file.
37059         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
37060         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
37061         file: multiarch memset for PPC32.
37062         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
37063         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
37064         memset multiarch objects.
37065         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37066         (__libc_ifunc_impl_list): Likewise.
37068         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
37069         file.
37070         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
37071         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
37072         memcmp for PPC32.
37073         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
37074         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
37075         multiarch objects.
37076         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37077         (__libc_ifunc_impl_list): Likewise.
37079         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
37080         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
37081         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
37082         file.
37083         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
37084         file.
37085         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
37086         file.
37087         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
37088         multiarch memcpy for PPC32.
37089         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
37090         multiarch objects.
37091         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37092         (__libc_ifunc_impl_list): Likewise.
37094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
37095         support multiarch for POWER/PPC32.
37096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
37097         Likewise.
37098         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
37100         Implies file to make multiarch folder appers before the fpu and
37101         default folder for power4 configuration.
37103 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37105         * scripts/bench.pl: Append volatile keyword to type.
37107 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37109         * sysdeps/sh/sotruss-lib.c: New file.
37110         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
37112 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37116 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
37118         [BZ #6810]
37119         * math/w_tgamma.c: Include <errno.h>.
37120         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
37121         * math/w_tgammaf.c: Include <errno.h>.
37122         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
37123         * math/w_tgammal.c: Include <errno.h>.
37124         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
37125         * math/auto-libm-test-in: Do not allow missing errno on tgamma
37126         underflow.  Add more tgamma tests.
37127         * math/auto-libm-test-out: Regenerated.
37128         * sysdeps/i386/fpu/libm-test-ulps: Update.
37129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37131         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
37132         sin, sinh, tan, tanh, tgamma, y0 and y1.
37133         * math/auto-libm-test-out: Regenerated.
37134         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37135         (TEST_COND_x86): Likewise.
37136         (M_E2l): Remove macro.
37137         (M_E3l): Likewise.
37138         (M_2_SQRT_PIl): Likewise.
37139         (M_SQRT_PIl): Likewise.
37140         (M_1_DIV_El): Likewise.
37141         (log_test_data): Use AUTO_TESTS_f_f.
37142         (log10_test_data): Likewise.
37143         (log1p_test_data): Likewise.
37144         (log2_test_data): Likewise.
37145         (sin_test_data): Likewise.
37146         (sin_tonearest_test_data): Likewise.
37147         (sin_towardzero_test_data): Likewise.
37148         (sin_downward_test_data): Likewise.
37149         (sin_upward_test_data): Likewise.
37150         (sinh_test_data): Likewise.
37151         (sinh_tonearest_test_data): Likewise.
37152         (sinh_towardzero_test_data): Likewise.
37153         (sinh_downward_test_data): Likewise.
37154         (sinh_upward_test_data): Likewise.
37155         (tan_test_data): Likewise.
37156         (tan_tonearest_test_data): Likewise.
37157         (tan_towardzero_test_data): Likewise.
37158         (tan_downward_test_data): Likewise.
37159         (tan_upward_test_data): Likewise.
37160         (tanh_test_data): Likewise.
37161         (tgamma_test_data): Likewise.
37162         (y0_test_data): Likewise.
37163         (y1_test_data): Likewise.
37164         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
37165         (special_real_inputs): Add pi/4.
37166         * sysdeps/i386/fpu/libm-test-ulps: Update.
37167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37169 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37171         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
37172         "longjmp_target" static probes.
37173         (__longjmp): Rename to __longjmp_symbol.
37174         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37175         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
37176         on which longjmp to generate.
37177         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37178         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
37179         probe.
37180         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37181         (__sigjmp_save): Rename to __sigjmp_save_symbol.
37182         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37183         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
37184         and __sigjmp_save_symbol based on which sigsetjmp to generated.
37185         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
37187         __longjmp_symbol based on which __longjmp to generate.
37188         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
37189         probe.
37190         (setjmp): Rename to setjmp_symbol.
37191         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37192         (_setjmp): Rename to _setjmp_symbol.
37193         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37194         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
37195         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
37196         which setjmp to generate.
37197         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
37198         "longjmp_target" static probes.
37200 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37202         * benchtests/README: Add note about output arguments.
37203         * benchtests/bench-sincos.c: Remove file.
37204         * benchtests/sincos-inputs: New file.
37205         * scripts/bench.pl: Identify output arguments and define
37206         static variables for them.
37208         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
37210         [BZ #15941]
37211         * Makefile (INSTALL): Add install-plain.texi as the primary
37212         dependency.
37213         * manual/install-plain.texi: New file.
37214         * manual/install.texi: Include node directive only for
37215         non-plaintext output.
37217 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
37219         * stdlib/longlong.h: Update from GCC.
37221         [BZ #6807]
37222         [BZ #15901]
37223         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
37224         * math/w_j0f.c (y0f): Likewise.
37225         * math/w_j0l.c (__y0l): Likewise.
37226         * math/w_j1.c (y1): Likewise.
37227         * math/w_j1f.c (y1f): Likewise.
37228         * math/w_j1l.c (__y1l): Likewise.
37229         * math/w_jn.c (yn): Likewise.
37230         * math/w_jnf.c (ynf): Likewise.
37231         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
37232         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
37233         value for Bessel function domain errors outside _SVID_ mode.
37234         Adjust sign of return value for yn (negative integer, 0).
37235         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
37236         by zero in return for negative x and set sign appropriately for
37237         negative n.
37238         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
37239         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37240         * math/libm-test.inc (y0_test_data): Add more tests and adjust
37241         expectations in error cases.
37242         (y1_test_data): Likewise.
37243         (yn_test_data): Likewise.
37244         * sysdeps/i386/fpu/libm-test-ulps: Update.
37245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37247 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37249         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
37250         "64" to "64-v1".  Add "64-v2".
37251         (abi-64-options): Rename to ...
37252         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
37253         (abi-64-condition): Rename to ...
37254         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
37255         (abi-64-ld-soname): Rename to ...
37256         (abi-64-v1-ld-soname): ... this.
37257         (abi-64-v2-options): Define.
37258         (abi-64-v2-condition): Likewise.
37259         (abi-64-v2-ld-soname): Likewise.
37260         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
37261         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
37262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
37263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
37264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
37266 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37267             Alan Modra  <amodra@gmail.com>
37269         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
37270         New versions for use with the ELFv2 ABI.
37271         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
37272         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
37273         declaration.
37274         (struct La_ppc64v2_retval): Likewise.
37275         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
37276         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
37277         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
37278         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
37279         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
37280         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37281         Do not save or restore CR.
37282         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
37283         (_dl_profile_resolve): Do no save or restore CR.  Support extended
37284         return values for ELFv2 ABI.  Fix location of FPR return registers.
37285         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
37286         updated values for _CALL_ELF == 2.
37287         (La_regs, La_retval, int_retval): Likewise.
37289 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37291         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
37292         (FRAME_MIN_SIZE_PARM): Likewise.
37293         (FRAME_BACKCHAIN): Likewise.
37294         (FRAME_CR_SAVE): Likewise.
37295         (FRAME_LR_SAVE): Likewise.
37296         (FRAME_TOC_SAVE): Likewise.
37297         (FRAME_PARM_SAVE): Likewise.
37298         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
37299         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
37300         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37301         (call_mcount_parm_offset): New macro.
37302         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
37303         (PROF): Use symbolic stack frame offsets.
37304         (TAIL_CALL_SYSCALL_ERROR): Likewise.
37305         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
37306         Redefine in terms of FRAME_MIN_SIZE.
37307         (_dl_runtime_resolve): Use symbolic stack frame offsets.
37308         (_dl_profile_resolve): Likewise.  Update comment.
37309         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
37310         symbols stack frame offsets.
37311         (__sigsetjmp): Likewise.
37312         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
37313         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
37314         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
37315         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
37317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
37318         (FRAME_BACKCHAIN): Remove.
37319         (FRAME_CR_SAVE): Likewise.
37320         (FRAME_LR_SAVE): Likewise.
37321         (FRAME_COMPILER_DW): Likewise.
37322         (FRAME_LINKER_DW): Likewise.
37323         (FRAME_TOC_SAVE): Likewise.
37324         (FRAME_PARM_SAVE): Likewise.
37325         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
37326         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
37327         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
37329         (CHECK_SP): Use symbolic stack frame offsets.
37330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
37331         zone" instead of caller's parameter save area for temp storage.
37332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37333         Likewise.  Also, use symbolic stack frame offsets.
37334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
37335         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
37336         our own stack frame instead of the caller's.
37337         (__socket): Use symbolic stack frame offsets.
37339 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37340             Alan Modra  <amodra@gmail.com>
37342         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
37343         Define.
37344         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
37345         (PPC64_LOCAL_ENTRY_OFFSET): Define.
37346         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
37347         New function.
37348         (elf_machine_fixup_plt): Call it.
37349         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
37350         reloc arguments.
37351         (elf_machine_rela): Update call to elf_machine_plt_conflict.
37352         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37353         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
37354         r2 before calling target.
37356 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37357             Alan Modra  <amodra@gmail.com>
37359         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
37360         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
37361         versions of macros to support ELFv2 ABI.
37362         (LOCALENTRY): New macro.
37363         (ENTRY, EALIGN): Use it.
37364         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
37365         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
37366         fall through into ENTRY entry point.
37367         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
37368         Only define if _CALL_ELF != 2.
37370         (elf_machine_matches_host): Verify ABI version matches.
37371         (RTLD_START): Use LOCALENTRY.
37372         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
37373         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
37374         (PLT_ENTRY_WORDS): New macro.
37375         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
37376         (elf_machine_runtime_setup): Support ELFv2 ABI.
37377         (elf_machine_fixup_plt): Likewise.
37378         (elf_machine_plt_conflict): Likewise.
37379         (resolve_ifunc): Likewise.
37380         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37381         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37382         Likewise.
37383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
37384         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
37385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37386         (makecontext): Support ELFv2 ABI.
37387         * elf/elf.h (EF_PPC64_ABI): Define.
37389 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37391         * sysdeps/powerpc/powerpc64/sysdep.h
37392         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
37393         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
37394         (ENTRY) [ASSEMBLER]: ... but instead here ...
37395         (EALIGN) [ASSEMBLER]: ... and here.
37396         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
37397         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
37398         (ENTRY_2) [!ASSEMBLER]: Use it.
37399         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
37400         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
37401         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37402         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
37403         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
37404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
37405         Use PPC64_LOAD_FUNCPTR.
37407         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
37409 2013-12-04  Alan Modra  <amodra@gmail.com>
37411         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
37412         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
37413         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
37414         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
37416         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
37417         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
37418         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
37419         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
37420         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
37421         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
37423 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37426         (__makecontext): Fix incorrect CFI when backtracing out of
37427         context created via makecontext.
37428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
37429         (__setcontext): Fix incorrect CFI during switch to new context.
37430         (__novec_setcontext): Likewise.
37432 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37434         [BZ #4772]
37435         * time/strptime_l.c (__strptime_internal): Allow modifiers
37436         in strptime.
37437         * time/tst-strptime.c (day_tests): Add testcase.
37439 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37441         * scripts/bench.pl: Skip over blank lines.
37443 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
37445         [BZ #926]
37446         * manual/time.texi (Calendar Time): Clarify what timezone functions
37447         use.
37449 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37453 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37455         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
37456         implementation.
37457         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
37458         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
37459         * debug/memset_chk.c (__memset_chk): Likewise.
37460         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
37461         * debug/strncpy_chk.c: Likewise.
37463 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37465         [BZ #15268]
37466         [BZ #15425]
37467         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
37468         (__ieee754_exp): For possibly underflowing results, check size of
37469         result and force underflow exception if required.
37470         * math/auto-libm-test-in: Add more tests of exp.
37471         * math/auto-libm-test-out: Regenerated.
37472         * sysdeps/i386/fpu/libm-test-ulps: Update.
37473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37475         [BZ #16283]
37476         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
37477         * math/w_exp2f.c (__exp2f): Likewise.
37478         * math/w_exp2l.c (__exp2l): Likewise.
37479         * math/auto-libm-test-in: Do not allow missing errno on exp2
37480         underflow.
37481         * math/auto-libm-test-out: Regenerated.
37483 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
37485         [BZ #16274]
37486         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
37487         handle filename validation.
37488         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
37489         (do_open): Delete.
37491 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37493         [BZ #6786]
37494         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
37495         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
37496         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
37497         <float.h>.
37498         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
37499         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
37500         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37501         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
37502         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37503         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
37504         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37505         * math/auto-libm-test-in: Don't allow missing errno from erfc.
37506         Add more erfc tests.
37507         * math/auto-libm-test-out: Regenerated.
37508         * sysdeps/i386/fpu/libm-test-ulps: Update.
37509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37511         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
37512         exp2, expm1, j0 and j1.
37513         * math/auto-libm-test-out: Regenerated.
37514         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
37515         (erfc_test_data): Likewise.
37516         (exp_test_data): Likewise.
37517         (exp_tonearest_test_data): Likewise.
37518         (exp_towardzero_test_data): Likewise.
37519         (exp_downward_test_data): Likewise.
37520         (exp_upward_test_data): Likewise.
37521         (exp10_test_data): Likewise.
37522         (exp2_test_data): Likewise.
37523         (expm1_test_data): Likewise.
37524         (j0_test_data): Likewise.
37525         (j1_test_data): Likewise.
37526         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
37527         (input_flag_type): Add flag_xfail_rounding.
37528         (input_flags): Add xfail-rounding.
37529         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
37530         (output_for_one_input_case): Handle flag_xfail_rounding.
37531         * sysdeps/i386/fpu/libm-test-ulps: Update.
37532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37534 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
37536         [BZ #16289]
37537         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
37538         division by 0.
37540 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37542         [BZ #16195]
37543         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
37544         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
37545         (STAP_PROBE0): New macro.
37546         (STAP_PROBE1): Likewise.
37547         (STAP_PROBE2): Likewise.
37548         (STAP_PROBE3): Likewise.
37549         (STAP_PROBE4): Likewise.
37551 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
37553         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
37555 2013-12-02  Steve Ellcey  <sellcey@mips.com>
37557         * benchtests/Makefile (bench): Add sqrt.
37558         (LDLIBS-bench-sqrt): New.
37559         * benchtests/sqrt-input: New.
37561 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
37563         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
37564         (GAIH_EAI): Likewise.
37565         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
37566         (gaih_inet): Likewise.
37567         (getaddrinfo): Don't use GAIH_EAI.
37569         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
37570         (struct gaih): Remove definition.
37572 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37574         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
37575         Use HERRNOP directly.
37577 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37581 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
37583         * math/gen-auto-libm-tests.c (test_functions): Add more
37584         single-argument functions.
37585         (special_fill_pi_2): New function.
37586         (special_fill_minus_pi_2): Likewise.
37587         (special_fill_pi_6): Likewise.
37588         (special_fill_minus_pi_6): Likewise.
37589         (special_fill_pi_3): Likewise.
37590         (special_fill_2pi_3): Likewise.
37591         (special_fill_e): Likewise.
37592         (special_fill_1_e): Likewise.
37593         (special_fill_e_minus_1): Likewise.
37594         (special_real_inputs): Add more special inputs.
37595         (output_for_one_input_case): Do not require ERANGE on underflow to
37596         zero if round-to-nearest result does not underflow to zero, unless
37597         exact results required.
37598         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
37599         atan, atanh, cbrt, cos and cosh.
37600         * math/auto-libm-test-out: Regenerated.
37601         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
37602         (acos_tonearest_test_data): Likewise.
37603         (acos_towardzero_test_data): Likewise.
37604         (acos_downward_test_data): Likewise.
37605         (acos_upward_test_data): Likewise.
37606         (acosh_test_data): Likewise.
37607         (asin_test_data): Likewise.
37608         (asin_tonearest_test_data): Likewise.
37609         (asin_towardzero_test_data): Likewise.
37610         (asin_upward_test_data): Likewise.
37611         (asinh_test_data): Likewise.
37612         (atan_test_data): Likewise.
37613         (atanh_test_data): Likewise.
37614         (cbrt_test_data): Likewise.
37615         (cos_test_data): Likewise.
37616         (cos_tonearest_test_data): Likewise.
37617         (cos_towardzero_test_data): Likewise.
37618         (cos_downward_test_data): Likewise.
37619         (cos_upward_test_data): Likewise.
37620         (cosh_test_data): Likewise.
37621         (cosh_tonearest_test_data): Likewise.
37622         (cosh_towardzero_test_data): Likewise.
37623         (cosh_downward_test_data): Likewise.
37624         (cosh_upward_test_data): Likewise.
37625         * sysdeps/i386/fpu/libm-test-ulps: Update.
37626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37628 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
37630         [BZ #6787]
37631         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37632         * math/w_exp10f.c (__exp10f): Likewise.
37633         * math/w_exp10l.c (__exp10l): Likewise.
37634         * math/libm-test.inc (exp10_test_data): Add more tests and expect
37635         errno settings in existing tests.
37637         [BZ #14032]
37638         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37639         precision control set to double precision.
37640         * sysdeps/i386/fpu/w_sqrt.c: New file.
37641         * math/auto-libm-test-in: Add more tests.
37642         * math/auto-libm-test-out: Update.
37644         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37645         (sqrt_test_tonearest): New function.
37646         (sqrt_towardzero_test_data): New variable.
37647         (sqrt_test_towardzero): New function.
37648         (sqrt_downward_test_data): New variable.
37649         (sqrt_test_downward): New function.
37650         (sqrt_upward_test_data): New variable.
37651         (sqrt_test_upward): New function.
37652         (main): Call the new functions.
37654         * math/gen-auto-libm-tests.c: New file.
37655         * math/auto-libm-test-in: Likewise.
37656         * math/auto-libm-test-out: New generated file.
37657         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37658         variables.
37659         (%beautify): Add generated representations of zero.
37660         (top level): Set $auto_input and call parse_auto_input.
37661         (beautify): Remove trailing "f" from hex float constants.
37662         (parse_args): Handle XFAIL_TEST.
37663         (convert_condition): New function.
37664         (or_value): Likewise.
37665         (or_cond_value): Likewise.
37666         (generate_testfile): Handle AUTO_TESTS_* lines.
37667         (parse_auto_input): New function.
37668         * math/libm-test.inc (XFAIL_TEST): New macro.
37669         (ERRNO_UNCHANGED): Update value.
37670         (ERRNO_EDOM): Likewise.
37671         (ERRNO_ERANGE): Likewise.
37672         (IGNORE_RESULT): Likewise.
37673         (TEST_COND_flt_32): New macro.
37674         (TEST_COND_dbl_64): Likewise.
37675         (TEST_COND_ldbl_96_intel): Likewise.
37676         (TEST_COND_ldbl_96_m68k): Likewise.
37677         (TEST_COND_ldbl_128): Likewise.
37678         (TEST_COND_ldbl_128ibm): Likewise.
37679         (TEST_COND_long32): Likewise.
37680         (TEST_COND_long64): Likewise.
37681         (TEST_COND_before_rounding): Likewise.
37682         (TEST_COND_after_rounding): Likewise.
37683         (enable_test): Handle XFAIL_TEST flag.
37684         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37685         with finite results.
37686         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37687         auto-libm-test-out.
37689 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37690             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37692         [BZ #16214]
37693         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37694         __tls_get_addr_internal instead of __tls_get_offset in order to
37695         avoid GOT pointer dependency.  Make rtld export
37696         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37697         __tls_get_addr since we are a __tls_get_offset platform.
37698         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37699         GOT pointer being set up before.
37700         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37702 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
37704         * manual/math.texi (Errors in Math Functions): Document accuracy
37705         goals.
37707         [BZ #15004]
37708         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37709         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37710         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37711         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37712         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37713         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37714         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37715         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37716         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37717         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37718         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37719         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37720         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37721         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37722         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37723         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37725         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37726         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37727         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37728         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37729         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37730         Likewise.
37731         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37732         Likewise.
37733         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37734         Likewise.
37735         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37736         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37737         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37738         atomic-feupdateenv and flt-rounds.
37739         * sysdeps/powerpc/nofpu/Versions (libc): Add
37740         __atomic_feholdexcept, __atomic_feclearexcept,
37741         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37742         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37743         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37744         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37745         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37746         here.
37747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37748         Update.
37750         * manual/arith.texi (FP Exceptions): Document that exceptions may
37751         not be raised when matherr is used.
37752         (Math Error Reporting): Document overflow in directed rounding
37753         modes.  Document that errno may not be set when finite values are
37754         returned on overflow.  Document intent to set errno on underflow
37755         only for underflow to zero.
37757         [BZ #16271]
37758         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
37759         round-to-nearest then adjust result for other rounding modes.
37760         * include/fenv.h (fegetround): Use libm_hidden_proto.
37761         * math/fegetround.c (fegetround): Use libm_hidden_def.
37762         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37763         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37764         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37765         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37766         Likewise.
37767         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
37768         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37769         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37770         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
37772 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37774         [BZ #16077]
37775         * nss/Versions (libnss_files): Add
37776         _nss_files_gethostbyname3_r.
37777         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
37778         New function.
37779         (HOST_DB_LOOKUP): Remove macro.
37780         (_nss_files_gethostbyname_r): Implement function without the
37781         HOST_DB_LOOKUP macro.
37782         (_nss_files_gethostbyname2_r): Likewise.
37784 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
37786         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
37788 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
37790         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37791         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
37792         warning.
37794 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37796         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
37797         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
37798         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37799         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37800         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
37801         __fe_nomask_env_priv and attribute_hidden.
37802         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
37803         (libc_feupdateenv_test_ppc): Likewise.
37804         (libc_feresetround_ppc): Likewise.
37805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37806         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
37807         compat_symbol macro.
37808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37809         (__fe_nomask_env): Likewise.
37810         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
37812 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37814         * string/Makefile: Remove ifunc tests.
37815         * string/test-string.h: Define TEST_IFUNC.
37816         * string/test-bcopy-ifunc.c: Remove.
37817         * string/test-bzero-ifunc.c: Likewise.
37818         * string/test-memccpy-ifunc.c: Likewise.
37819         * string/test-memchr-ifunc.c: Likewise.
37820         * string/test-memcmp-ifunc.c: Likewise.
37821         * string/test-memcpy-ifunc.c: Likewise.
37822         * string/test-memmem-ifunc.c: Likewise.
37823         * string/test-memmove-ifunc.c: Likewise.
37824         * string/test-mempcpy-ifunc.c: Likewise.
37825         * string/test-memrchr-ifunc.c: Likewise.
37826         * string/test-memset-ifunc.c: Likewise.
37827         * string/test-rawmemchr-ifunc.c: Likewise.
37828         * string/test-stpcpy-ifunc.c: Likewise.
37829         * string/test-stpncpy-ifunc.c: Likewise.
37830         * string/test-strcasecmp-ifunc.c: Likewise.
37831         * string/test-strcasestr-ifunc.c: Likewise.
37832         * string/test-strcat-ifunc.c: Likewise.
37833         * string/test-strchr-ifunc.c: Likewise.
37834         * string/test-strchrnul-ifunc.c: Likewise.
37835         * string/test-strcmp-ifunc.c: Likewise.
37836         * string/test-strcpy-ifunc.c: Likewise.
37837         * string/test-strcspn-ifunc.c: Likewise.
37838         * string/test-strlen-ifunc.c: Likewise.
37839         * string/test-strncasecmp-ifunc.c: Likewise.
37840         * string/test-strncat-ifunc.c: Likewise.
37841         * string/test-strncmp-ifunc.c: Likewise.
37842         * string/test-strncpy-ifunc.c: Likewise.
37843         * string/test-strnlen-ifunc.c: Likewise.
37844         * string/test-strpbrk-ifunc.c: Likewise.
37845         * string/test-strrchr-ifunc.c: Likewise.
37846         * string/test-strspn-ifunc.c: Likewise.
37847         * string/test-strstr-ifunc.c: Likewise.
37849 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37851         * benchtests/Makefile: Remove ifunc tests.
37852         * benchtests/bench-string.h: Define TEST_IFUNC.
37853         * benchtests/bench-bcopy-ifunc.c: Remove.
37854         * benchtests/bench-bzero-ifunc.c: Likewise.
37855         * benchtests/bench-memccpy-ifunc.c: Likewise.
37856         * benchtests/bench-memchr-ifunc.c: Likewise.
37857         * benchtests/bench-memcmp-ifunc.c: Likewise.
37858         * benchtests/bench-memcpy-ifunc.c: Likewise.
37859         * benchtests/bench-memmem-ifunc.c: Likewise.
37860         * benchtests/bench-memmove-ifunc.c: Likewise.
37861         * benchtests/bench-mempcpy-ifunc.c: Likewise.
37862         * benchtests/bench-memrchr-ifunc.c: Likewise.
37863         * benchtests/bench-memset-ifunc.c: Likewise.
37864         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
37865         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
37866         * benchtests/bench-stpcpy-ifunc.c: Likewise.
37867         * benchtests/bench-stpncpy-ifunc.c: Likewise.
37868         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
37869         * benchtests/bench-strcasestr-ifunc.c: Likewise.
37870         * benchtests/bench-strcat-ifunc.c: Likewise.
37871         * benchtests/bench-strchr-ifunc.c: Likewise.
37872         * benchtests/bench-strchrnul-ifunc.c: Likewise.
37873         * benchtests/bench-strcmp-ifunc.c: Likewise.
37874         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
37875         * benchtests/bench-strcpy-ifunc.c: Likewise.
37876         * benchtests/bench-strcspn-ifunc.c: Likewise.
37877         * benchtests/bench-strlen-ifunc.c: Likewise.
37878         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
37879         * benchtests/bench-strncat-ifunc.c: Likewise.
37880         * benchtests/bench-strncmp-ifunc.c: Likewise.
37881         * benchtests/bench-strncpy-ifunc.c: Likewise.
37882         * benchtests/bench-strnlen-ifunc.c: Likewise.
37883         * benchtests/bench-strpbrk-ifunc.c: Likewise.
37884         * benchtests/bench-strrchr-ifunc.c: Likewise.
37885         * benchtests/bench-strsep-ifunc.c: Likewise.
37886         * benchtests/bench-strspn-ifunc.c: Likewise.
37887         * benchtests/bench-strstr-ifunc.c: Likewise.
37889 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37891         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
37893 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37895         * resolv/netdb.h: Use __glibc_reserved instead __unused.
37896         * rt/aio.h: Likewise.
37897         * sysdeps/gnu/bits/utmp.h: Likewise.
37898         * sysdeps/gnu/bits/utmpx.h: Likewise.
37899         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37900         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
37901         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
37902         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
37903         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
37904         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
37905         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
37906         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
37907         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
37908         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
37909         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
37910         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
37911         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
37912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
37913         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37914         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
37915         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
37916         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
37917         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
37918         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
37919         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
37920         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
37921         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
37922         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37923         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
37924         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37925         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
37926         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
37927         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
37928         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
37929         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
37930         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
37931         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
37932         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37933         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
37934         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
37935         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
37936         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
37937         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
37938         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
37939         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
37940         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37942 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
37944         [BZ #16245]
37945         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
37946         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
37948 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
37950         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
37951         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37952         Likewise.
37954 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37956         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
37957         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
37958         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
37959         (__fesetround): Remove define.
37960         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
37961         rounding and exceptions handling.
37962         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
37963         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
37964         (__fe_nomask_env): Likewise.
37965         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
37966         __fegetround instead of fegetround.
37967         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37968         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
37970 2013-11-21  Roland McGrath  <roland@hack.frob.com>
37972         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
37973         it's there.
37975         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
37977 2013-11-21  Meador Inge  <meadori@codesourcery.com>
37979         [BZ #11157]
37980         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
37981         (encrypt_r): Likewise.
37982         * malloc/obstack.h (obstack_free): Likewise.
37983         * posix/unistd.h (encrypt): Likewise.
37985 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
37987         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
37988         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
37989         DL_CALL_DT_FINI() that call the functions directly.
37990         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
37991         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
37992         * elf/dl-fini.c: Likewise.
37994 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
37996         * malloc/hooks.c (memalign_check): Add alignment rounding.
37997         * malloc/malloc.c (_mid_memalign): New function.
37998         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
37999         Implement by calling _mid_memalign.
38000         * manual/probes.texi (Memory Allocation Probes): Remove
38001         memory_valloc_retry and memory_pvalloc_retry.
38003 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38005         * locale/programs/locarchive.c (open_archive): Add const
38006         qualifier to ARCHIVEFNAME and copy default fname to
38007         DEFAULT_FNAME.
38009         [BZ #15601]
38010         * libio/tst-widetext.input: Rename Oriya to Odia.
38011         * locale/iso-639.def: Likewise.
38013         * manual/probes.texi (Mathematical Function Probes): Add
38014         documentation for sin, cos, asin and acos probes.
38015         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
38016         (__sin32): Add slowasin probe.
38017         (__cos32): Add slowacos probe.
38018         (__mpsin): Add slowsin probe.
38019         (__mpcos): Add slowcos probe.
38021 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
38023         [BZ #15483]
38024         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
38025         thread-local __sim_exceptions_thread and global
38026         __sim_exceptions_global.
38027         (__sim_disabled_exceptions): Change to thread-local
38028         __sim_disabled_exceptions_thread and global
38029         __sim_disabled_exceptions_global.
38030         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38031         and global __sim_round_mode_global.
38032         (__simulate_exceptions): Use thread-local floating-point state and
38033         set global state from it as needed.
38034         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
38035         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
38036         __sim_round_mode_thread.
38037         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
38038         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
38039         and global __sim_exceptions_global.
38040         (__sim_disabled_exceptions): Change to thread-local
38041         __sim_disabled_exceptions_thread and global
38042         __sim_disabled_exceptions_global.
38043         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38044         and global __sim_round_mode_global.
38045         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
38046         (SIM_SET_GLOBAL): Likewise.
38047         * sysdeps/powerpc/soft-fp/sfp-machine.h
38048         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
38049         __sim_round_mode_thread.
38050         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
38051         __sim_disabled_exceptions_thread.
38052         (__sim_exceptions): Change to __sim_exceptions_thread.
38053         (__sim_disabled_exceptions): Change to
38054         __sim_disabled_exceptions_thread.
38055         (__sim_round_mode): Change to __sim_round_mode_thread.
38056         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
38057         thread-local floating-point state and set global state from it as
38058         needed.
38059         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
38060         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
38061         (__sim_disabled_exceptions): Remove extern declaration.
38062         (feenableexcept): Use thread-local floating-point state and set
38063         global state from it as needed.
38064         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
38065         extern declaration.
38066         (__sim_disabled_exceptions): Likewise.
38067         (__sim_round_mode): Likewise.
38068         (__fegetenv): Use thread-local floating-point state.
38069         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
38070         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38071         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
38072         floating-point state and set global state from it as needed.
38073         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
38074         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38075         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
38076         Likewise.
38077         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38078         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
38079         Likewise.
38080         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
38081         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
38082         Use __sim_round_mode_thread.
38083         * math/test-fenv-tls.c: New file.
38084         * math/Makefile (tests): Add test-fenv-tls.
38085         ($(objpfx)test-fenv-tls): Depend on
38086         $(common-objpfx)nptl/libpthread.so.
38088 2013-11-19  Andreas Schwab  <schwab@suse.de>
38090         * locale/programs/locale.c (show_info): Decode wordarray elements.
38091         * locale/categories.def (LC_MONETARY): Add element for
38092         _NL_MONETARY_CRNCYSTR.
38093         * locale/C-monetary.c (conversion_rate): New variable.
38094         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
38095         element.
38097 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
38099         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
38100         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
38102 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38104         * elf/Makefile (tst-auxv): New test.
38105         * elf/tst-auxv.c: New
38106         * elf/rtld.c (dl_main): Adjust AT_EXECFN
38108 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
38110         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
38111         (hidden_proto): Caller changed.
38112         (hidden_tls_proto): New macro.
38113         (libc_hidden_tls_proto): Likewise.
38114         (rtld_hidden_tls_proto): Likewise.
38115         (libm_hidden_tls_proto): Likewise.
38116         (libresolv_hidden_tls_proto): Likewise.
38117         (librt_hidden_tls_proto): Likewise.
38118         (libdl_hidden_tls_proto): Likewise.
38119         (libnss_files_hidden_tls_proto): Likewise.
38120         (libnsl_hidden_tls_proto): Likewise.
38121         (libnss_nisplus_hidden_tls_proto): Likewise.
38122         (libutil_hidden_tls_proto): Likewise.
38124 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
38126         [BZ #10253]
38127         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
38128         (decompose_rpath): Defer expansion to fillin_rpath.
38129         (_dl_init_paths): Pass linkmap to fillin_rpath.
38131 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38133         * benchtests/Makefile: Add strsep.
38134         * benchtests/bench-strsep.c: New file: strsep benchtest.
38135         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
38137 2013-11-18  Andreas Schwab  <schwab@suse.de>
38139         * locale/programs/locale.c (show_info) [case byte]: Check for
38140         '\377' instead of '\177'.
38141         * locale/C-monetary.c (not_available): Always use "\377".
38142         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
38143         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
38144         detect unavailable sign_posn locale elements.
38145         * locale/localeconv.c (__localeconv): For grouping and
38146         mon_grouping handle "\177" and "\377" like no grouping.
38147         (INT_ELEM): New macro.  Use it to set all numeric members.
38148         * locale/programs/ld-monetary.c (monetary_read)
38149         <tok_mon_grouping>: Normalize single -1 to the empty string.
38150         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
38151         Likewise.
38153 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38155         [BZ #16055]
38156         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
38157         when we match (nil).
38158         * stdio-common/tst-sscanf.c (struct test): Add testcase.
38160 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
38162         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
38163         (NO_TEST_INLINE): Update value.
38164         (ERRNO_UNCHANGED): Likewise.
38165         (ERRNO_EDOM): Likewise.
38166         (ERRNO_ERANGE): Likewise.
38167         (IGNORE_RESULT): Likewise.
38168         (check_float_internal): Check signs of NaN results if
38169         TEST_NAN_SIGN used.
38170         (check_complex): Pass TEST_NAN_SIGN flag through to second
38171         check_float_internal call.
38172         (copysign_test_data): Add tests with quiet NaNs as second
38173         argument.  Use TEST_NAN_SIGN.
38174         (fabs_test_data): Add test of negative quiet NaN argument.  Use
38175         TEST_NAN_SIGN.
38176         (signbit_test_data): Add tests of quiet NaN argument.
38177         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
38179         * math/gen-libm-test.pl (show_exceptions): Take extra argument
38180         $ignore_result.
38181         (parse_args): Handle function results specified as IGNORE.
38182         * math/libm-test.inc (IGNORE_RESULT): New macro.
38183         (check_float_internal): Do not check numerical result if flag
38184         IGNORE_RESULT set.
38185         (check_complex): Pass through IGNORE_RESULT to second
38186         check_float_internal call.
38187         (check_int): Do not check numerical result if flag IGNORE_RESULT
38188         set.
38189         (check_long): Likewise.
38190         (check_bool): Likewise.
38191         (check_longlong): Likewise.
38192         (lrint_test_data): Add tests of infinite and NaN arguments.
38193         (lrint_tonearest_test_data): Likewise.
38194         (lrint_towardzero_test_data): Likewise.
38195         (lrint_downward_test_data): Likewise.
38196         (lrint_upward_test_data): Likewise.
38197         (llrint_test_data): Likewise.
38198         (llrint_tonearest_test_data): Likewise.
38199         (llrint_towardzero_test_data): Likewise.
38200         (llrint_downward_test_data): Likewise.
38201         (llrint_upward_test_data): Likewise.
38202         (lround_test_data): Likewise.
38203         (llround_test_data): Likewise.
38205         * math/libm-test.inc (NO_TEST_INLINE): New macro.
38206         (ERRNO_UNCHANGED): Update value.
38207         (ERRNO_EDOM): Likewise.
38208         (ERRNO_ERANGE): Likewise.
38209         (NO_TEST_INLINE_FLOAT): New macro.
38210         (NO_TEST_INLINE_DOUBLE): Likewise.
38211         (enable_test): New function.
38212         (RUN_TEST_f_f): Check enable_test before running test.
38213         (RUN_TEST_2_f): Likewise.
38214         (RUN_TEST_fff_f): Likewise.
38215         (RUN_TEST_c_f): Likewise.
38216         (RUN_TEST_f_f1): Likewise.
38217         (RUN_TEST_fF_f1): Likewise.
38218         (RUN_TEST_fI_f1): Likewise.
38219         (RUN_TEST_ffI_f1): Likewise.
38220         (RUN_TEST_c_c): Likewise.
38221         (RUN_TEST_cc_c): Likewise.
38222         (RUN_TEST_f_i): Likewise.
38223         (RUN_TEST_f_i_tg): Likewise.
38224         (RUN_TEST_ff_i_tg): Likewise.
38225         (RUN_TEST_f_b): Likewise.
38226         (RUN_TEST_f_b_tg): Likewise.
38227         (RUN_TEST_f_l): Likewise.
38228         (RUN_TEST_f_L): Likewise.
38229         (RUN_TEST_fFF_11): Likewise.
38230         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
38231         conditionals.
38232         (cosh_test_data): Likewise.
38233         (exp_test_data): Likewise.
38234         (expm1_test_data): Likewise.
38235         (hypot_test_data): Likewise.
38236         (pow_test_data): Likewise.
38237         (sinh_test_data): Likewise.
38238         (tanh_test_data): Likewise.
38239         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
38240         flags argument.
38242         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
38243         tests with quiet NaN input and output.
38244         (acosh_test_data): Likewise.
38245         (asin_test_data): Likewise.
38246         (asinh_test_data): Likewise.
38247         (atan_test_data): Likewise.
38248         (atanh_test_data): Likewise.
38249         (atan2_test_data): Likewise.
38250         (cbrt_test_data): Likewise.
38251         (cos_test_data): Likewise.
38252         (cosh_test_data): Likewise.
38253         (erf_test_data): Likewise.
38254         (erfc_test_data): Likewise.
38255         (exp_test_data): Likewise.
38256         (exp10_test_data): Likewise.
38257         (exp2_test_data): Likewise.
38258         (expm1_test_data): Likewise.
38259         (hypot_test_data): Likewise.
38260         (j0_test_data): Likewise.
38261         (j1_test_data): Likewise.
38262         (jn_test_data): Likewise.
38263         (lgamma_test_data): Likewise.
38264         (log_test_data): Likewise.
38265         (log10_test_data): Likewise.
38266         (log1p_test_data): Likewise.
38267         (log2_test_data): Likewise.
38268         (pow_test_data): Likewise.
38269         (scalb_test_data): Likewise.
38270         (sin_test_data): Likewise.
38271         (sincos_test_data): Likewise.
38272         (sinh_test_data): Likewise.
38273         (tan_test_data): Likewise.
38274         (tanh_test_data): Likewise.
38275         (tgamma_test_data): Likewise.
38276         (y0_test_data): Likewise.
38277         (y1_test_data): Likewise.
38278         (yn_test_data): Likewise.
38280         [BZ #16167]
38281         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
38282         argument being NaN and avoid computations with second argument in
38283         that case.
38284         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38285         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38286         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38288 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
38290         * locale/iso-639.def: Add Chitwani Tharu (the).
38292 2013-11-14  Andreas Schwab  <schwab@suse.de>
38294         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
38295         word instead of empty string.
38297 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38300         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
38301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38302         (__fe_nomask_env): Likewise.
38304 2013-11-13  Steve Ellcey  <sellcey@mips.com>
38306         * benchtests/bench-timing.h: Include time.h.
38308 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
38310         [BZ #15997]
38311         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
38312         to 3.4.0 for x32.
38313         * sysdeps/unix/sysv/linux/configure: Regenerated.
38315 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
38317         [BZ #16151]
38318         * stdlib/strtod_l.c (round_and_return): Do not consider
38319         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
38320         exponent one less than half the least subnormal exponent.
38321         * stdlib/test-strtod-round-data: Add more tests.
38322         * stdlib/tst-strtod-round.c (tests): Regenerated.
38324 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38326         [BZ #14143]
38327         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
38328         (__fe_mask_env): Likewise.
38329         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
38330         libm_hidden_proto and add function prototype.
38331         (__fe_mask_env): Add function prototype.
38332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38333         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
38334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38335         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
38336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38337         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
38339 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38341         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
38342         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
38344 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38346         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
38347         of htab_find_slot().
38349 2013-11-11  David S. Miller  <davem@davemloft.net>
38351         [BZ #16150]
38352         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
38353         symbol in the non-vis3 case in static builds.
38354         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
38355         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
38356         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
38357         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
38359 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
38361         [BZ #387]
38362         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
38363         it is empty.
38365 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38367         * benchtests/Makefile: Add bench-strtod.
38368         * benchtests/bench-strtod.c: New file: strtod benchtest
38370 2013-11-11  Andreas Schwab  <schwab@suse.de>
38372         [BZ #16153]
38373         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
38374         terminating NUL in key length.
38376 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38378         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38379         Add artificial ODP entry for vDSO symbol for PPC64.
38380         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
38381         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38383 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38385         [BZ #15374]
38386         * nss/getent.c (services_keys): Recognize services starting with digit.
38388 2013-11-06  David S. Miller  <davem@davemloft.net>
38390         [BZ #15985]
38391         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
38392         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
38394 2013-11-06  Will Newton  <will.newton@linaro.org>
38396         * manual/memory.texi (Malloc Examples): Remove register
38397         keyword from examples.
38399 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
38401         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
38403 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
38405         [BZ #6981]
38406         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
38407         depending on [__GCC_IEC_559 > 0].
38408         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
38409         depending on [__GCC_IEC_559_COMPLEX > 0].
38411 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
38413         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
38414         to iso-639.def.
38416 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
38418         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
38420 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
38422         [BZ #16112]
38423         * malloc/malloc (malloc_info): Do not handle first bin as
38424         special case.
38426 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
38428         * locale/iso-639.def: Add Central Nahuatl (nhn).
38430 2013-11-01  Bruno Haible  <bruno@clisp.org>
38432         [BZ #7003]
38433         * manual/math.texi (BSD Random): Specify range upper bound as
38434         in POSIX.
38436 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
38438         * locale/iso-639.def: Add Meadow Mari (mhr).
38440 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
38442         [BZ #14752], [BZ #15763]
38443         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
38444         Validate name.
38445         * rt/tst_shm.c: Add test for escaping directory.
38447 2013-10-31  Andreas Schwab  <schwab@suse.de>
38449         [BZ #15917]
38450         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
38451         followed by 'x' as part of digit sequence.
38452         * stdio-common/tst-sscanf.c (double_tests2): New tests.
38454 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
38456         [BZ #16037]
38457         * configure.ac: allow GNU Make 4.0 and greater.
38458         * configure: Regenerated.
38460 2013-10-30  Will Newton  <will.newton@linaro.org>
38462         [BZ #16038]
38463         * malloc/hooks.c (memalign_check): Limit alignment to the
38464         maximum representable power of two.
38465         * malloc/malloc.c (__libc_memalign): Likewise.
38466         * malloc/tst-memalign.c (do_test): Add test for very
38467         large alignment values.
38468         * malloc/tst-posix_memalign.c (do_test): Likewise.
38470 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38472         [BZ #11087]
38473         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
38474         (munmap_chunk): Likewise.
38475         (mremap_chunk): Likewise.
38477 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38479         [BZ #15799]
38480         * stdlib/div.c (div): Remove obsolete code.
38481         * stdlib/ldiv.c (ldiv): Likewise.
38482         * stdlib/lldiv.c (lldiv): Likewise.
38484 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38486         [BZ #16071]
38487         * nss/nss_files/files-XXX.c (get_contents_ret): New
38488         enumerator.
38489         (get_contents): New function.
38490         (internal_getent): Use it.  Expand size of LINEBUFLEN.
38492 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
38494         * configure.in: Moved to ...
38495         * configure.ac: ... here. Change reference to configure.in
38496         to configure.ac.
38497         * sysdeps/arm/preconfigure.ac: ... here.
38498         configure.in to configure.ac.
38499         * sysdeps/gnu/configure.in: Moved to ...
38500         * sysdeps/gnu/configure.ac: ... here.
38501         * sysdeps/i386/configure.in: Moved to ...
38502         * sysdeps/i386/configure.ac: ... here.
38503         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
38504         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
38505         * sysdeps/mach/configure.in: Moved to ...
38506         * sysdeps/mach/configure.ac: ... here.
38507         * sysdeps/mach/hurd/configure.in: Moved to ...
38508         * sysdeps/mach/hurd/configure.ac: ... here.
38509         * sysdeps/powerpc/configure.in: Moved to ...
38510         * sysdeps/powerpc/configure.ac: ... here.
38511         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
38512         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
38513         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
38514         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
38515         * sysdeps/s390/s390-32/configure.in: Moved to ...
38516         * sysdeps/s390/s390-32/configure.ac: ... here.
38517         * sysdeps/s390/s390-64/configure.in: Moved to ...
38518         * sysdeps/s390/s390-64/configure.ac: ... here.
38519         * sysdeps/sh/configure.in: Moved to ...
38520         * sysdeps/sh/configure.ac: ... here.
38521         * sysdeps/sparc/configure.in: Moved to ...
38522         * sysdeps/sparc/configure.ac: ... here.
38523         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
38524         * sysdeps/unix/sysv/linux/configure.ac: ... here.
38525         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
38526         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
38527         * sysdeps/x86_64/configure.in: Moved to ...
38528         * sysdeps/x86_64/configure.ac: ... here.
38529         * sysdeps/x86_64/preconfigure.in: Moved to ...
38530         * sysdeps/x86_64/preconfigure.ac: ... here.
38531         * aclocal.m4: Change reference to configure.in to configure.ac.
38532         * config.h.in: Likewise.
38533         * manual/install.texi: Likewise.
38534         * manual/maint.texi: Likewise.
38535         * Makefile: Likewise.
38536         * malloc/Makefile: Likewise.
38537         * nscd/Makefile: Likewise.
38538         * Makeconfig: Change reference to configure.in and
38539         preconfigure.in to configure.ac and preconfigure.ac
38540         respectively.
38541         * INSTALL: Regenerated.
38542         * configure: Likewise.
38543         * sysdeps/gnu/configure: Likewise.
38544         * sysdeps/i386/configure: Likewise.
38545         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
38546         * sysdeps/mach/configure: Likewise.
38547         * sysdeps/mach/hurd/configure: Likewise.
38548         * sysdeps/powerpc/configure: Likewise.
38549         * sysdeps/powerpc/powerpc32/configure: Likewise.
38550         * sysdeps/powerpc/powerpc64/configure: Likewise.
38551         * sysdeps/s390/s390-32/configure: Likewise.
38552         * sysdeps/s390/s390-64/configure: Likewise.
38553         * sysdeps/sh/configure: Likewise.
38554         * sysdeps/sparc/configure: Likewise.
38555         * sysdeps/unix/sysv/linux/configure: Likewise.
38556         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
38557         * sysdeps/x86_64/configure: Likewise.
38558         * sysdeps/x86_64/preconfigure: Likewise.
38560 2013-10-29  Andreas Schwab  <schwab@suse.de>
38562         * stdio-common/Makefile (tst-swscanf-ENV): Define.
38564 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38566         * benchtests/pow-inputs: Add new inputs.
38568         * benchtests/exp-inputs: Add new inputs.
38570         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
38571         conditional check for return value.
38572         (__cos32): Likewise.
38574 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38576         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
38577         to provide a boost for large inputs with word alignment.
38578         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
38579         implementation based on optimized PPC64 strcpy.
38580         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
38581         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
38582         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
38583         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
38585 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38587         [BZ #2801]
38588         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
38590 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38592         [BZ #14876]
38593         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
38594         * time/tst-strptime.c (day_tests): Add testcase.
38596 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38598         [BZ #14029]
38599         * manual/pattern.texi: Acknowledge that fnmatch can fail.
38601 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
38603         [BZ #16074]
38604         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38605         MAP_FAILED on error.
38607 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38609         [BZ #16072]
38610         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38611         heap for large requests.
38613 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
38615         [BZ #9954]
38616         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38617         result if the result has no associated interface.
38618         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38619         interface for all 127.X.Y.Z addresses.
38621 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
38623         * locale/iso-639.def: Add Ligurian (lij)
38625 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
38627         [BZ #15825]
38628         * sunrpc/rpc_main.c: Document rpcgen -5.
38630 2013-10-19  Michael Stahl  <mstahl@redhat.com>
38632         * elf/rtld.c (do_preload): Print the reason why preloading failed.
38634 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38636         [BZ #10278]
38637         * posix/glob.c: Match only directories when trailing slash is present.
38638         * posix/tst-gnuglob.c (my_opendir): Do not open files.
38639         (main): Add testcase.
38641 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38643         [BZ #15670]
38644         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38646 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
38648         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38649         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38650         AUTH_DES and cindex for FIPS 140-2.
38651         (DES Encryption): Add cindex FIPS 46-3.
38653         * locale/locarchive.h (struct locarhandle): Add fname.
38654         * locale/programs/localedef.c (main): Pass ARGV[remaining]
38655         if an optional argument was specified to --list-archive,
38656         otherwise NULL.
38657         * locale/programs/locarchive.c (show_archive_content): Take new
38658         argument fname and pass it via ah.fname to open_archive.
38659         * locale/programs/localedef.h: Update decl.
38660         (open_archive): If AH->fname is non-null, open that file
38661         rather than the default file name, and don't ignore ENOENT.
38662         (create_archive): Set AH.fname to NULL.
38663         (delete_locales_from_archive): Likewise.
38664         (add_locales_to_archive): Likewise.
38665         * locale/programs/locfile.c (write_all_categories): Likewise.
38667 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
38668             Aldy Hernandez  <aldyh@redhat.com>
38670         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38671         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38672         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38673         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38674         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38675         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38676         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38677         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38678         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38679         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38680         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38681         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38682         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38683         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38684         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38685         Likewise.
38686         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38687         Likewise.
38688         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38689         Likewise.
38690         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38691         Likewise.
38692         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38693         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38694         Likewise.
38695         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38696         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38697         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38698         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38699         Likewise.
38700         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38701         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38702         * sysdeps/powerpc/preconfigure: Likewise.
38703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38704         Likewise.
38705         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38706         Replace contents of file by #include of <fenv_libc.h>.
38707         * sysdeps/powerpc/soft-fp/sfp-machine.h
38708         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38709         and <sys/prctl.h>.
38710         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38711         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38712         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38713         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38714         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38715         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38716         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38717         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38718         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38719         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38720         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38721         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38723         Allow copysignl PLT reference to be missing.
38725 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
38726             Joseph Myers  <joseph@codesourcery.com
38728         [BZ #15948]
38729         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38730         single character.
38731         (add_to_tablewc): Assert sequence of wide characters is nonempty.
38733 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38735         * elf/tst-tls-dlinfo.c: Don't include tls.h.
38736         * elf/tst-tls1.c: Likewise.
38737         * elf/tst-tls10.h: Likewise.
38738         * elf/tst-tls14.c: Likewise.
38739         * elf/tst-tls2.c: Likewise.
38740         * elf/tst-tls3.c: Likewise.
38741         * elf/tst-tls4.c: Likewise.
38742         * elf/tst-tls5.c: Likewise.
38743         * elf/tst-tls6.c: Likewise.
38744         * elf/tst-tls7.c: Likewise.
38745         * elf/tst-tls8.c: Likewise.
38746         * elf/tst-tls9.c: Likewise.
38747         * elf/tst-tlsmod1.c: Likewise.
38748         * elf/tst-tlsmod13.c: Likewise.
38749         * elf/tst-tlsmod13a.c: Likewise.
38750         * elf/tst-tlsmod14a.c: Likewise.
38751         * elf/tst-tlsmod16a.c: Likewise.
38752         * elf/tst-tlsmod16b.c: Likewise.
38753         * elf/tst-tlsmod2.c: Likewise.
38754         * elf/tst-tlsmod3.c: Likewise.
38755         * elf/tst-tlsmod4.c: Likewise.
38756         * elf/tst-tlsmod5.c: Likewise.
38757         * elf/tst-tlsmod6.c: Likewise.
38759 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
38761         [BZ #12486]
38762         * malloc/malloc.c: remove checks for statistics.
38764 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38766         [BZ #15277]
38767         * inet/inet_net.c (inet_network): Detect additional invalid strings.
38768         * inet/tst-network.c: Add testcase.
38770 2013-10-17  Andreas Schwab  <schwab@suse.de>
38772         [BZ #15218]
38773         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
38774         to determine canonical name.
38776 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38778         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
38779         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
38780         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38781         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38782         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38783         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38784         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38785         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38786         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38787         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38788         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38789         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38790         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38791         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38792         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38793         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38794         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38795         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38796         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38797         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38798         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38799         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38800         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38801         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
38802         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
38803         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38804         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38805         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
38806         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38807         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
38808         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38809         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38810         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38811         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38812         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38813         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38814         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38815         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38816         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38817         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38818         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38819         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38820         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38821         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38822         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38823         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38824         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38825         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38826         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38827         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38828         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38829         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38830         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38831         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38832         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38833         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38834         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38835         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38837 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
38839         [BZ #16041]
38840         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
38841         make result into a quiet NaN.
38843 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
38845         * soft-fp/adddf3.c: Fix horizontal whitespace.
38846         * soft-fp/addsf3.c: Likewise.
38847         * soft-fp/addtf3.c: Likewise.
38848         * soft-fp/divdf3.c: Likewise.
38849         * soft-fp/divsf3.c: Likewise.
38850         * soft-fp/divtf3.c: Likewise.
38851         * soft-fp/double.h: Likewise.
38852         * soft-fp/eqdf2.c: Likewise.
38853         * soft-fp/eqsf2.c: Likewise.
38854         * soft-fp/eqtf2.c: Likewise.
38855         * soft-fp/extenddftf2.c: Likewise.
38856         * soft-fp/extended.h: Likewise.
38857         * soft-fp/extendsfdf2.c: Likewise.
38858         * soft-fp/extendsftf2.c: Likewise.
38859         * soft-fp/extendxftf2.c: Likewise.
38860         * soft-fp/fixdfdi.c: Likewise.
38861         * soft-fp/fixdfsi.c: Likewise.
38862         * soft-fp/fixdfti.c: Likewise.
38863         * soft-fp/fixsfdi.c: Likewise.
38864         * soft-fp/fixsfsi.c: Likewise.
38865         * soft-fp/fixsfti.c: Likewise.
38866         * soft-fp/fixtfdi.c: Likewise.
38867         * soft-fp/fixtfsi.c: Likewise.
38868         * soft-fp/fixtfti.c: Likewise.
38869         * soft-fp/fixunsdfdi.c: Likewise.
38870         * soft-fp/fixunsdfsi.c: Likewise.
38871         * soft-fp/fixunsdfti.c: Likewise.
38872         * soft-fp/fixunssfdi.c: Likewise.
38873         * soft-fp/fixunssfsi.c: Likewise.
38874         * soft-fp/fixunssfti.c: Likewise.
38875         * soft-fp/fixunstfdi.c: Likewise.
38876         * soft-fp/fixunstfsi.c: Likewise.
38877         * soft-fp/fixunstfti.c: Likewise.
38878         * soft-fp/floatdidf.c: Likewise.
38879         * soft-fp/floatdisf.c: Likewise.
38880         * soft-fp/floatditf.c: Likewise.
38881         * soft-fp/floatsidf.c: Likewise.
38882         * soft-fp/floatsisf.c: Likewise.
38883         * soft-fp/floatsitf.c: Likewise.
38884         * soft-fp/floattidf.c: Likewise.
38885         * soft-fp/floattisf.c: Likewise.
38886         * soft-fp/floattitf.c: Likewise.
38887         * soft-fp/floatundidf.c: Likewise.
38888         * soft-fp/floatundisf.c: Likewise.
38889         * soft-fp/floatunditf.c: Likewise.
38890         * soft-fp/floatunsidf.c: Likewise.
38891         * soft-fp/floatunsisf.c: Likewise.
38892         * soft-fp/floatunsitf.c: Likewise.
38893         * soft-fp/floatuntidf.c: Likewise.
38894         * soft-fp/floatuntisf.c: Likewise.
38895         * soft-fp/floatuntitf.c: Likewise.
38896         * soft-fp/fmadf4.c: Likewise.
38897         * soft-fp/fmasf4.c: Likewise.
38898         * soft-fp/fmatf4.c: Likewise.
38899         * soft-fp/gedf2.c: Likewise.
38900         * soft-fp/gesf2.c: Likewise.
38901         * soft-fp/getf2.c: Likewise.
38902         * soft-fp/ledf2.c: Likewise.
38903         * soft-fp/lesf2.c: Likewise.
38904         * soft-fp/letf2.c: Likewise.
38905         * soft-fp/muldf3.c: Likewise.
38906         * soft-fp/mulsf3.c: Likewise.
38907         * soft-fp/multf3.c: Likewise.
38908         * soft-fp/negdf2.c: Likewise.
38909         * soft-fp/negsf2.c: Likewise.
38910         * soft-fp/negtf2.c: Likewise.
38911         * soft-fp/op-1.h: Likewise.
38912         * soft-fp/op-2.h: Likewise.
38913         * soft-fp/op-4.h: Likewise.
38914         * soft-fp/op-8.h: Likewise.
38915         * soft-fp/op-common.h: Likewise.
38916         * soft-fp/quad.h: Likewise.
38917         * soft-fp/single.h: Likewise.
38918         * soft-fp/soft-fp.h: Likewise.
38919         * soft-fp/sqrtdf2.c: Likewise.
38920         * soft-fp/sqrtsf2.c: Likewise.
38921         * soft-fp/sqrttf2.c: Likewise.
38922         * soft-fp/subdf3.c: Likewise.
38923         * soft-fp/subsf3.c: Likewise.
38924         * soft-fp/subtf3.c: Likewise.
38925         * soft-fp/truncdfsf2.c: Likewise.
38926         * soft-fp/trunctfdf2.c: Likewise.
38927         * soft-fp/trunctfsf2.c: Likewise.
38928         * soft-fp/trunctfxf2.c: Likewise.
38929         * soft-fp/unorddf2.c: Likewise.
38930         * soft-fp/unordsf2.c: Likewise.
38931         * soft-fp/unordtf2.c: Likewise.
38933 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
38935         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
38936         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
38938 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
38940         * elf/dl-libc.c: Clear initfini list after freeing.
38942 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
38944         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
38945         * soft-fp/addsf3.c: Likewise.
38946         * soft-fp/addtf3.c: Likewise.
38947         * soft-fp/divdf3.c: Likewise.
38948         * soft-fp/divsf3.c: Likewise.
38949         * soft-fp/divtf3.c: Likewise.
38950         * soft-fp/double.h: Likewise.
38951         * soft-fp/eqdf2.c: Likewise.
38952         * soft-fp/eqsf2.c: Likewise.
38953         * soft-fp/eqtf2.c: Likewise.
38954         * soft-fp/extenddftf2.c: Likewise.
38955         * soft-fp/extended.h: Likewise.
38956         * soft-fp/extendsfdf2.c: Likewise.
38957         * soft-fp/extendsftf2.c: Likewise.
38958         * soft-fp/extendxftf2.c: Likewise.
38959         * soft-fp/fixdfdi.c: Likewise.
38960         * soft-fp/fixdfsi.c: Likewise.
38961         * soft-fp/fixdfti.c: Likewise.
38962         * soft-fp/fixsfdi.c: Likewise.
38963         * soft-fp/fixsfsi.c: Likewise.
38964         * soft-fp/fixsfti.c: Likewise.
38965         * soft-fp/fixtfdi.c: Likewise.
38966         * soft-fp/fixtfsi.c: Likewise.
38967         * soft-fp/fixtfti.c: Likewise.
38968         * soft-fp/fixunsdfdi.c: Likewise.
38969         * soft-fp/fixunsdfsi.c: Likewise.
38970         * soft-fp/fixunsdfti.c: Likewise.
38971         * soft-fp/fixunssfdi.c: Likewise.
38972         * soft-fp/fixunssfsi.c: Likewise.
38973         * soft-fp/fixunssfti.c: Likewise.
38974         * soft-fp/fixunstfdi.c: Likewise.
38975         * soft-fp/fixunstfsi.c: Likewise.
38976         * soft-fp/fixunstfti.c: Likewise.
38977         * soft-fp/floatdidf.c: Likewise.
38978         * soft-fp/floatdisf.c: Likewise.
38979         * soft-fp/floatditf.c: Likewise.
38980         * soft-fp/floatsidf.c: Likewise.
38981         * soft-fp/floatsisf.c: Likewise.
38982         * soft-fp/floatsitf.c: Likewise.
38983         * soft-fp/floattidf.c: Likewise.
38984         * soft-fp/floattisf.c: Likewise.
38985         * soft-fp/floattitf.c: Likewise.
38986         * soft-fp/floatundidf.c: Likewise.
38987         * soft-fp/floatundisf.c: Likewise.
38988         * soft-fp/floatunsidf.c: Likewise.
38989         * soft-fp/floatunsisf.c: Likewise.
38990         * soft-fp/floatuntidf.c: Likewise.
38991         * soft-fp/floatuntisf.c: Likewise.
38992         * soft-fp/floatuntitf.c: Likewise.
38993         * soft-fp/fmadf4.c: Likewise.
38994         * soft-fp/fmasf4.c: Likewise.
38995         * soft-fp/fmatf4.c: Likewise.
38996         * soft-fp/gedf2.c: Likewise.
38997         * soft-fp/gesf2.c: Likewise.
38998         * soft-fp/getf2.c: Likewise.
38999         * soft-fp/ledf2.c: Likewise.
39000         * soft-fp/lesf2.c: Likewise.
39001         * soft-fp/letf2.c: Likewise.
39002         * soft-fp/muldf3.c: Likewise.
39003         * soft-fp/mulsf3.c: Likewise.
39004         * soft-fp/multf3.c: Likewise.
39005         * soft-fp/negdf2.c: Likewise.
39006         * soft-fp/negsf2.c: Likewise.
39007         * soft-fp/negtf2.c: Likewise.
39008         * soft-fp/op-1.h: Likewise.
39009         * soft-fp/op-2.h: Likewise.
39010         * soft-fp/op-4.h: Likewise.
39011         * soft-fp/op-8.h: Likewise.
39012         * soft-fp/op-common.h: Likewise.
39013         * soft-fp/quad.h: Likewise.
39014         * soft-fp/single.h: Likewise.
39015         * soft-fp/soft-fp.h: Likewise.
39016         * soft-fp/sqrtdf2.c: Likewise.
39017         * soft-fp/sqrtsf2.c: Likewise.
39018         * soft-fp/sqrttf2.c: Likewise.
39019         * soft-fp/subdf3.c: Likewise.
39020         * soft-fp/subsf3.c: Likewise.
39021         * soft-fp/subtf3.c: Likewise.
39022         * soft-fp/truncdfsf2.c: Likewise.
39023         * soft-fp/trunctfdf2.c: Likewise.
39024         * soft-fp/trunctfsf2.c: Likewise.
39025         * soft-fp/trunctfxf2.c: Likewise.
39026         * soft-fp/unorddf2.c: Likewise.
39027         * soft-fp/unordsf2.c: Likewise.
39028         * soft-fp/unordtf2.c: Likewise.
39030 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
39032         [BZ #15672]
39033         * misc/error.c (error_tail): Fix possible buffer overflow.
39035 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
39037         [BZ #13028]
39038         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
39039         address.
39041 2013-10-14  P. J. McDermott  <pj@pehjota.net>
39043         [BZ #832]
39044         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
39045         testing pipefail option.
39047 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39049         * soft-fp/double.h: Indent preprocessor directives inside #if.
39050         * soft-fp/extended.h: Likewise.
39051         * soft-fp/op-2.h: Likewise.
39052         * soft-fp/op-4.h: Likewise.
39053         * soft-fp/op-common.h: Likewise.
39054         * soft-fp/quad.h: Likewise.
39055         * soft-fp/single.h: Likewise.
39056         * soft-fp/soft-fp.h: Likewise.
39058 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
39060         * iconv/iconv_prog.c: Fix typos.
39061         * stdio-common/psiginfo-data.h: Likewise.
39063 2013-10-12   Reuben Thomas <rrt@sc3d.org>
39065         [BZ #15764]
39066         * locale/setlocale.c: Fix typo.
39068 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39070         [BZ #16036]
39071         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
39072         signaling NaN arguments.
39073         * soft-fp/unordsf2.c (__unordsf2): Likewise.
39074         * soft-fp/unordtf2.c (__unordtf2): Likewise.
39076         [BZ #14910]
39077         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
39078         unordered operands.
39079         * soft-fp/gesf2.c (__gesf2): Likewise.
39080         * soft-fp/getf2.c (__getf2): Likewise.
39081         * soft-fp/ledf2.c (__ledf2): Likewise.
39082         * soft-fp/lesf2.c (__lesf2): Likewise.
39083         * soft-fp/letf2.c (__letf2): Likewise.
39085         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
39086         * soft-fp/eqsf2.c (__eqsf2): Likewise.
39087         * soft-fp/eqtf2.c (__eqtf2): Likewise.
39088         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
39089         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
39090         * soft-fp/fixdfti.c (__fixdfti): Likewise.
39091         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
39092         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
39093         * soft-fp/fixsfti.c (__fixsfti): Likewise.
39094         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
39095         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
39096         * soft-fp/fixtfti.c (__fixtfti): Likewise.
39097         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
39098         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
39099         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
39100         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
39101         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
39102         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
39103         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
39104         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
39105         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
39106         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
39107         * soft-fp/floatdisf.c (__floatdisf): Likewise.
39108         * soft-fp/floatsisf.c (__floatsisf): Likewise.
39109         * soft-fp/floattidf.c (__floattidf): Likewise.
39110         * soft-fp/floattisf.c (__floattisf): Likewise.
39111         * soft-fp/floattitf.c (__floattitf): Likewise.
39112         * soft-fp/floatundidf.c (__floatundidf): Likewise.
39113         * soft-fp/floatundisf.c (__floatundisf): Likewise.
39114         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
39115         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
39116         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
39117         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
39118         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
39119         * soft-fp/gesf2.c (__gesf2): Likewise.
39120         * soft-fp/getf2.c (__getf2): Likewise.
39121         * soft-fp/ledf2.c (__ledf2): Likewise.
39122         * soft-fp/lesf2.c (__lesf2): Likewise.
39123         * soft-fp/letf2.c (__letf2): Likewise.
39125         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
39126         Undefine and redefine.
39127         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
39128         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
39129         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
39130         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
39131         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39132         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
39133         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39134         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
39135         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39136         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
39137         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39138         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
39139         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39140         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
39141         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39143         [BZ #16032]
39144         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
39145         without decrementing exponent if mantissa >= that for the
39146         denominator, not >.
39147         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
39148         denominator, not >.  Decrement exponent in < case instead of
39149         incrementing in >= case.
39150         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
39151         without decrementing exponent if mantissa >= that for the
39152         denominator, not >.
39154         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
39155         computing saturated result for unsigned overflow.
39157 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39158             Jeff Law  <law@redhat.com>
39160         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
39161         (atan2Mp): Add systemtap probe marker.
39162         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
39163         (__ieee754_log): Add systemtap probe marker.
39164         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
39165         (atanMp): Add systemtap probe marker.
39166         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
39167         (tanMp): Add systemtap probe marker.
39168         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
39169         (__slowexp): Add systemtap probe marker.
39170         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
39171         (__slowpow): Add systemtap probe marker.
39172         * manual/probes.texi: Document probes.
39174 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
39176         [BZ #15362]
39177         * libio/fileops.c (_IO_new_file_write): Return count of bytes
39178         written.
39179         (_IO_new_file_xsputn): Don't return EOF if nothing has been
39180         written.
39181         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
39182         written to buffer but not flushed.
39183         * libio/iofwrite_u.c:  Likewise.
39184         * libio/iopadn.c:  Return bytes returned even if EOF was
39185         encountered.
39186         * libio/iowpadn.c:  Likewise.
39187         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
39188         if _IO_padn does not write the whole buffer.
39189         [!COMPILE_WPRINTF] (PAD): Likewise.
39191 2013-10-10  David S. Miller  <davem@davemloft.net>
39193         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
39194         directory block.
39196 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39198         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
39199         instead of FSF address.
39200         * soft-fp/fixdfti.c: Likewise.
39201         * soft-fp/fixsfti.c: Likewise.
39202         * soft-fp/fixtfti.c: Likewise.
39203         * soft-fp/fixunsdfti.c: Likewise.
39204         * soft-fp/fixunssfti.c: Likewise.
39205         * soft-fp/fixunstfti.c: Likewise.
39206         * soft-fp/floattidf.c: Likewise.
39207         * soft-fp/floattisf.c: Likewise.
39208         * soft-fp/floattitf.c: Likewise.
39209         * soft-fp/floatuntidf.c: Likewise.
39210         * soft-fp/floatuntisf.c: Likewise.
39211         * soft-fp/floatuntitf.c: Likewise.
39212         * soft-fp/trunctfxf2.c: Likewise.
39214         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
39215         * soft-fp/fixdfti.c: Likewise.
39216         * soft-fp/fixsfti.c: Likewise.
39217         * soft-fp/fixtfti.c: Likewise.
39218         * soft-fp/fixunsdfti.c: Likewise.
39219         * soft-fp/fixunssfti.c: Likewise.
39220         * soft-fp/fixunstfti.c: Likewise.
39221         * soft-fp/floattidf.c: Likewise.
39222         * soft-fp/floattisf.c: Likewise.
39223         * soft-fp/floattitf.c: Likewise.
39224         * soft-fp/floatuntidf.c: Likewise.
39225         * soft-fp/floatuntisf.c: Likewise.
39226         * soft-fp/floatuntitf.c: Likewise.
39227         * soft-fp/trunctfxf2.c: Likewise.
39229 2013-10-10  David S. Miller  <davem@davemloft.net>
39231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39233 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
39235         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39236         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
39237         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
39238         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
39239         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
39240         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
39241         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
39243         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
39244         for NaNs before doing comparisons on argument.
39245         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
39246         Likewise.
39248 2013-10-10  Will Newton  <will.newton@linaro.org>
39250         * malloc/hooks.c (memalign_check): Ensure the value of bytes
39251         passed to _int_memalign does not overflow.
39253 2013-10-10  Torvald Riegel  <triegel@redhat.com>
39255         * scripts/bench.pl: Add include-sources directive.
39256         * benchtests/README: Update documentation.
39258 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39260         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
39261         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
39262         instead of FP_INIT_ROUNDMODE.
39263         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
39264         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
39266         [BZ #16034]
39267         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
39268         copy class of input value.
39269         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
39270         not handle exceptions.
39271         * soft-fp/negsf2.c (__negsf2): Likewise.
39272         * soft-fp/negtf2.c (__negtf2): Likewise.
39273         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
39275 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
39277         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
39278         semicolon.  From Linux kernel.
39280 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
39282         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
39284 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
39286         [BZ #156]
39287         * manual/socket.texi: Added statement about buffer
39288         for gethostbyname2_r.
39290 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
39292         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
39293         Use .p2align directive instead, throughout.
39294         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39295         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39296         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
39297         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39298         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39299         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
39300         * sysdeps/x86_64/strchr.S: Likewise.
39301         * sysdeps/x86_64/strrchr.S: Likewise.
39303 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39305         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
39307         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
39309         * sysdeps/generic/math_private.h (__mpsin1): Remove
39310         declaration.
39311         (__mpcos1): Likewise.
39312         (__mpsin): New argument __range_reduce.
39313         (__mpcos): Likewise.
39314         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39315         (slow): Use __mpsin and __mpcos.
39316         (slow1): Likewise.
39317         (slow2): Likewise.
39318         (sloww): Likewise.
39319         (sloww1): Likewise.
39320         (sloww2): Likewise.
39321         (bsloww): Likewise.
39322         (bsloww1): Likewise.
39323         (bsloww2): Likewise.
39324         (cslow2): Likewise.
39325         (csloww): Likewise.
39326         (csloww1): Likewise.
39327         (csloww2): Likewise.
39328         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
39329         range_reduce.  Merge in __mpsin1.
39330         (__mpcos): Likewise.
39331         (__mpsin1): Remove.
39332         (__mpcos1): Likewise.
39334 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
39336         * locale/loadlocale.c (_nl_intern_locale_data): Use
39337         LOCFILE_ALIGNED_P.
39338         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
39339         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
39340         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
39341         obstack data is appropriately aligned.
39342         (obstack_int32_grow_fast): Likewise.
39343         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
39344         * locale/programs/locfile.c (add_locale_uint32): Likewise.
39345         (add_locale_uint32_array): Likewise.
39347 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39349         * benchtests/Makefile: Remove ARGLIST and RET variables.
39350         ($(objpfx)bench-%.c): Pass only function name to the script.
39351         * benchtests/README: Update documentation.
39352         * benchtests/acos-inputs: Add new directives.
39353         * benchtests/acosh-inputs: Likewise.
39354         * benchtests/asin-inputs: Likewise.
39355         * benchtests/asinh-inputs: Likewise.
39356         * benchtests/atan-inputs: Likewise.
39357         * benchtests/atanh-inputs: Likewise.
39358         * benchtests/cos-inputs: Likewise.
39359         * benchtests/cosh-inputs: Likewise.
39360         * benchtests/exp-inputs: Likewise.
39361         * benchtests/log-inputs: Likewise.
39362         * benchtests/pow-inputs: Likewise.
39363         * benchtests/rint-inputs: Likewise.
39364         * benchtests/sin-inputs: Likewise.
39365         * benchtests/sinh-inputs: Likewise.
39366         * benchtests/tan-inputs: Likewise.
39367         * benchtests/tanh-inputs: Likewise.
39368         * scripts/bench.pl: Add support for new directives.
39370 2013-10-07  Alan Modra  <amodra@gmail.com>
39372         * README: Fix careless merge.
39374 2013-10-05  Alan Modra  <amodra@gmail.com>
39376         * NEWS: Mention powerpc64le support and bugs fixed.
39377         * README: Both big-endian and little-endian powerpc64 supported.
39379 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39381         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
39382         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
39383         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
39384         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
39386 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
39388         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
39389         match prototype.
39391 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
39393         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
39394         Move -mhard-float appending from
39395         ports/sysdeps/powerpc/powerpc32/Makefile.
39396         [$(with-fp) = yes] (ASFLAGS): Likewise.
39397         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
39398         * sysdeps/powerpc/nofpu: Move directory from
39399         ports/sysdeps/powerpc/nofpu.
39400         * sysdeps/powerpc/soft-fp: Move directory from
39401         ports/sysdeps/powerpc/soft-fp.
39402         * sysdeps/powerpc/powerpc32/405: Move directory from
39403         ports/sysdeps/powerpc/powerpc32/405.
39404         * sysdeps/powerpc/powerpc32/440: Move directory from
39405         ports/sysdeps/powerpc/powerpc32/440.
39406         * sysdeps/powerpc/powerpc32/464: Move directory from
39407         ports/sysdeps/powerpc/powerpc32/464.
39408         * sysdeps/powerpc/powerpc32/476: Move directory from
39409         ports/sysdeps/powerpc/powerpc32/476.
39410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
39411         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
39412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
39413         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
39414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
39415         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
39416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39417         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
39418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
39419         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
39420         * README: Update for powerpc-*-linux-gnu software floating point
39421         support in libc.
39423         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
39424         case to powerpc/powerpc32*.
39425         * sysdeps/unix/sysv/linux/configure: Regenerated.
39427         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
39428         (_FPU_MASK_OM): Define as 0x04.
39429         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
39430         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
39431         0x00c10080.
39432         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
39433         0x0000003c.
39434         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
39436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
39437         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39438         getcontext_e500.
39439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
39440         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39441         setcontext_e500.
39442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
39443         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
39444         and setcontext_e500.
39446 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
39448         * locale/iso-3166.def: Update iso-1366.def and related occurrences
39450 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39452         * manual/threads.texi (Default Thread Attributes): Fix typo.
39454 2013-10-04  Will Newton  <will.newton@linaro.org>
39456         * malloc/Makefile: Add tst-memalign.
39457         * malloc/tst-memalign.c: New file.
39459         * malloc/tst-posix_memalign.c: Add comments.
39460         (do_test): Add comments and call free on all potentially
39461         allocated pointers. Add space after cast.
39463         * malloc/tst-pvalloc.c: Add comments.
39464         (do_test): Add comments and call free on all potentially
39465         allocated pointers. Remove duplicate check for NULL pointer.
39466         Add space after cast.
39468         * malloc/tst-valloc.c: Add comments.
39469         (do_test): Add comments and call free on all potentially
39470         allocated pointers. Remove duplicate check for NULL pointer.
39471         Add space after cast.
39473 2013-10-04  Alan Modra  <amodra@gmail.com>
39475         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39476         Use stdint types in rather than __attribute__((mode())).
39477         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39479 2013-10-04  Alan Modra  <amodra@gmail.com>
39481         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39482         Correct handling of unaligned relocs for little-endian.
39483         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39485 2013-10-04  Alan Modra  <amodra@gmail.com>
39487         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
39488         * configure: Regenerate.
39489         * nptl/shlib-versions: Powerpc*le starts at 2.18.
39490         * shlib-versions: Likewise.
39492 2013-10-04  Alan Modra  <amodra@gmail.com>
39494         * string/tester.c (test_memrchr): Increment reported test cycle.
39496 2013-10-04  Alan Modra  <amodra@gmail.com>
39498         * string/test-memcpy.c (do_one_test): When reporting errors, print
39499         string address and don't overrun end of string.
39501 2013-10-04  Alan Modra  <amodra@gmail.com>
39503         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
39504         insrdi.  Make better use of reg selection to speed exit slightly.
39505         Schedule entry path a little better.  Remove useless "are we done"
39506         checks on entry to main loop.  Handle wrapping around zero address.
39507         Correct main loop count.  Handle single left-over word from main
39508         loop inline rather than by using loop_small.  Remove extra word
39509         case in loop_small caused by wrong loop count.  Add little-endian
39510         support.
39511         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39512         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
39513         cache hint.
39514         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39515         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
39516         support.  Avoid rlwimi.
39517         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
39519 2013-10-04  Alan Modra  <amodra@gmail.com>
39521         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
39522         insrdi.  Formatting.
39523         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
39524         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39525         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39526         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39527         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39528         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
39530 2013-10-04  Alan Modra  <amodra@gmail.com>
39532         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
39533         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39534         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39535         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
39536         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39537         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39538         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39539         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39540         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
39541         use of regs.  Use power7 mtocrf.  Tidy function tails.
39543 2013-10-04  Alan Modra  <amodra@gmail.com>
39545         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
39546         Formatting.  Consistently use rXXX register defines or rN defines.
39547         Use early exit labels that avoid restoring unused non-volatile regs.
39548         Make cr field use more consistent with rWORDn compares.  Rename
39549         regs used as shift registers for unaligned loop, using rN defines
39550         for short lifetime/multiple use regs.
39551         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39552         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
39553         addi 1,1,64 to pop stack frame.  Simplify return value code.
39554         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39556 2013-10-04  Alan Modra  <amodra@gmail.com>
39558         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
39559         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
39560         rather than rlwimi.
39561         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
39562         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
39563         little-endian support.  Correct typos.
39564         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
39565         rather than rlwimi.
39566         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
39567         in loop and entry code to keep "and." results.
39568         (strchr): Add little-endian support.  Comment.  Move cntlzd
39569         earlier in tail.
39570         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
39572 2013-10-04  Alan Modra  <amodra@gmail.com>
39574         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
39575         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
39576         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
39577         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
39579 2013-10-04  Alan Modra  <amodra@gmail.com>
39581         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
39582         (rTMP): Define as r11.
39583         (strcmp): Add little-endian support.  Optimise tail.
39584         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
39585         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39586         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39587         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39588         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39589         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39590         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39592 2013-10-04  Alan Modra  <amodra@gmail.com>
39594         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
39595         little-endian support.  Remove unnecessary "are we done" tests.
39596         Handle "s" wrapping around zero and extremely large "size".
39597         Correct main loop count.  Handle single left-over word from main
39598         loop inline rather than by using small_loop.  Correct comments.
39599         Delete "zero" tail, use "end_max" instead.
39600         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
39602 2013-10-04  Alan Modra  <amodra@gmail.com>
39604         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39605         support.  Don't branch over align.
39606         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39607         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39608         support.  Rearrange tmp reg use to suit.  Comment.
39609         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39611 2013-10-04  Alan Modra  <amodra@gmail.com>
39613         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39615 2013-10-04  Alan Modra  <amodra@gmail.com>
39617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39618         conditional form of branch and link when obtaining pc.
39619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39621 2013-10-04  Alan Modra  <amodra@gmail.com>
39623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39624         HIWORD/LOWORD.
39625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39628 2013-10-04  Alan Modra  <amodra@gmail.com>
39630         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39631         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39632         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39633         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39634         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39635         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39636         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39637         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39638         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39639         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39641 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39642             Alistair Popple <alistair@ozlabs.au.ibm.com>
39643             Alan Modra <amodra@gmail.com>
39645         [BZ #15723]
39646         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39647         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39648         _dl_hwcap access for little-endian.
39649         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
39650         destroy vmx regs when saving unaligned.
39651         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39652         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
39653         destroy vmx regs when saving unaligned.
39655 2013-10-04  Alan Modra  <amodra@gmail.com>
39657         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39658         Don't use a union to pack hi/low value.
39660 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39662         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39663         for little-endian.
39664         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39665         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39666         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39667         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39668         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39670 2013-10-04  Alan Modra  <amodra@gmail.com>
39672         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39673         constants to usual value for .cst8 section, and remove redundant
39674         high address load.
39675         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39676         constant for 0x1p52.  Load little-endian words of double from
39677         correct stack offsets.
39679 2013-10-04  Alan Modra  <amodra@gmail.com>
39681         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39682         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39683         words of double from correct stack offsets.
39684         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39685         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39686         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39687         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39688         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39689         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39690         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39691         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39692         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39693         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39694         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39695         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39696         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39697         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39698         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39699         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39700         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39702 2013-10-04  Alan Modra  <amodra@gmail.com>
39704         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39705         64-bit int/double union.
39706         (_FPU_SETCW): Likewise.
39707         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39708         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39710 2013-10-04  Alan Modra  <amodra@gmail.com>
39712         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39713         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39715 2013-10-04  Alan Modra  <amodra@gmail.com>
39717         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39718         use vector int constants.
39719         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39721 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39723         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39724         array with long long.
39725         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39726         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39727         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39728         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39729         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39730         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39731         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39732         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39733         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39734         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39735         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39736         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39737         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39739 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39741         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39742         (__signbit): Likewise.  Correct for little-endian.
39743         (__signbitl): Call __signbit.
39744         (lrint): Correct for little-endian.
39745         (lrintf): Call lrint.
39747 2013-10-04  Alan Modra  <amodra@gmail.com>
39749         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39750         union 32-bit int array member with 64-bit int array.
39751         (t515, tm256): Double rather than long double.
39752         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39754 2013-10-04  Alan Modra  <amodra@gmail.com>
39756         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
39757         Delete.
39758         (IEEE854_LONG_DOUBLE_BIAS): Delete.
39759         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
39760         version of math_ldbl.h.
39762 2013-10-04  Alan Modra  <amodra@gmail.com>
39764         [BZ #15734], [BZ #15735]
39765         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
39766         all uses of ieee875 long double macros and unions.  Simplify test
39767         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
39768         ldbl_extract_mantissa value for ix,iy exponents.  Properly
39769         normalize after ldbl_extract_mantissa, and don't add hidden bit
39770         already handled.  Don't treat low word of ieee854 mantissa like
39771         low word of IBM long double and mask off bit when testing for
39772         zero.
39773         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
39774         all uses of ieee875 long double macros and unions.  Simplify tests
39775         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
39776         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
39777         two1022, instead use their values.  Recognise that tests for large
39778         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
39779         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
39780         Rewrite all uses of ieee875 long double macros and unions.  Simplify
39781         test for 0.0L and nan.  Correct negation.
39782         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
39783         ieee875 long double macros and unions.  Correct output for large
39784         magnitude x.  Correct absolute value calculation.
39785         (__erfcl): Likewise.
39786         * math/libm-test.inc: Add tests for errors discovered in IBM long
39787         double versions of fmodl, remainderl, erfl and erfcl.
39789 2013-10-04  Alan Modra  <amodra@gmail.com>
39791         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39792         all uses of ieee854 long double macros and unions.  Simplify tests
39793         for long doubles that are fully specified by the high double.
39794         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39795         Likewise.
39796         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
39797         Remove dead code too.
39798         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
39799         (__ieee754_ynl): Likewise.
39800         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
39801         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
39802         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39803         Remove dead code too.
39804         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
39805         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
39806         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
39807         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
39808         Simplify.
39809         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
39810         Simplify.
39811         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
39812         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39813         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
39814         Comment on variable precision.
39815         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
39816         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39817         Likewise.
39818         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39819         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39820         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39821         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
39822         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
39824 2013-10-04  Alan Modra  <amodra@gmail.com>
39826         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39827         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
39828         all uses of ieee854 long double macros and unions.
39829         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
39830         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39831         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
39832         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
39833         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
39834         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39835         Likewise.
39836         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
39837         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39838         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
39839         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39840         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
39841         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
39842         Simplify sign and nan test too.
39843         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
39844         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39845         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
39846         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39847         Likewise.
39848         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39849         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
39850         Likewise.
39851         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39852         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
39853         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
39854         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
39855         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
39856         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
39858 2013-10-04  Alan Modra  <amodra@gmail.com>
39860         * stdio-common/printf_size.c (__printf_size): Don't use
39861         union ieee854_long_double in fpnum union.
39862         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
39863         signbit macro to retrieve sign from long double.
39864         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
39865         retrieve sign from long double.
39866         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
39867         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
39868         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
39869         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39870         * math/test-misc.c (main): Don't use union ieee854_long_double.
39872 2013-10-04  Alan Modra  <amodra@gmail.com>
39874         [BZ #15680]
39875         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
39876         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
39877         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
39878         calculation.  Remove unnecessary test for denormal exponent.
39879         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
39880         Correct handling of denormals.  Avoid undefined shift behaviour.
39881         Correct normalisation of low mantissa when low double is denormal.
39882         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
39883         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
39884         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
39885         Correct normalisation of low mantissa.  Test for overflow of high
39886         mantissa and normalise.
39887         (ldbl_nearbyint): Use more readable constant for two52.
39888         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
39889         (__mpn_construct_long_double): Fix test for overflow of high
39890         mantissa and correct normalisation.  Avoid undefined shift.
39892 2013-10-04  Alan Modra  <amodra@gmail.com>
39894         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39895         (union ibm_extended_long_double): Define as an array of ieee754_double.
39896         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
39897         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
39898         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
39899         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39900         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39901         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
39902         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39903         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39904         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39905         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
39906         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39908 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
39910         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
39911         page size instead of calling getpagesize.
39913         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
39914         (LOCFILE_ALIGN_MASK): Likewise.
39915         (LOCFILE_ALIGN_UP): Likewise.
39916         (LOCFILE_ALIGNED_P): Likewise.
39917         * locale/programs/ld-collate.c (collate_output): Use the new
39918         macros instead of __alignof__ (int32_t).
39919         * locale/weight.h (findidx): Likewise.
39921 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
39923         [BZ #431]
39924         * manual/string.texi: Fix strncat and wcsncat.
39926 2013-10-03  Brooks Moses  <bmoses@google.com>
39928         [BZ #15915]
39929         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
39930         * Makerules: ...here, and adjust associated comments.
39932 2013-10-02  Will Newton  <will.newton@linaro.org>
39934         * malloc/Makefile: Add tst-pvalloc.
39935         * malloc/tst-pvalloc.c: New file.
39937 2013-10-02  Will Newton  <will.newton@linaro.org>
39939         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
39940         improve test coverage.
39942 2013-10-02  Will Newton  <will.newton@linaro.org>
39944         * malloc/Makefile: Add tst-posix_memalign.
39945         * malloc/tst-posix_memalign.c: New file.
39947 2013-10-01  Eric Blake  <eblake@redhat.com>
39949         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
39950         Use __THROWNL rather than __THROW on static functions.
39952 2013-09-30  Petr Machata  <pmachata@redhat.com>
39954         * elf/elf.h (R_AARCH64_ABS16): New macro.
39955         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
39956         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
39957         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
39958         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
39959         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
39960         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
39961         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
39962         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
39963         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
39964         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
39965         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
39966         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
39967         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
39968         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
39969         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
39970         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
39971         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
39972         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
39973         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
39974         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
39975         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
39976         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
39977         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
39978         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
39979         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
39980         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
39981         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
39982         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
39983         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
39984         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
39985         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
39986         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
39987         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
39988         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
39989         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
39990         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
39991         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
39992         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
39993         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
39994         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
39995         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
39996         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
39997         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
39998         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
39999         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
40000         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
40001         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
40002         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
40003         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
40004         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
40005         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
40006         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
40007         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
40008         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
40009         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
40010         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
40011         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
40012         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
40013         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
40014         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
40015         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
40016         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
40017         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
40018         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
40019         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
40020         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
40021         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
40022         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
40023         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
40024         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
40025         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
40026         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
40027         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
40028         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
40029         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
40030         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
40031         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
40032         (R_AARCH64_TLSDESC_LDR): Likewise.
40033         (R_AARCH64_TLSDESC_ADD): Likewise.
40034         (R_AARCH64_TLSDESC_CALL): Likewise.
40036 2013-09-30  Andreas Schwab  <schwab@suse.de>
40038         [BZ #15048]
40039         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
40040         the nss database lookup.
40041         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40042         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40044 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
40046         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
40048 2013-09-28  P. J. McDermott  <pj@pehjota.net>
40050         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
40051         ${Bash-specific parameter/pattern/string} parameter expansion.
40052         * sysdeps/unix/make-syscalls.sh: Likewise.
40054 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40056         * sysdeps/sh/stackguard-macros.h: New file.
40058 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
40060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40061         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
40062         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
40063         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
40064         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40065         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
40067 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40069         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
40070         Fix thread ID register.
40072 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
40074         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
40075         [POSIX || UNIX98]: Require rather than permitting all symbols from
40076         <time.h>.
40077         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
40078         element of struct sched_param.
40079         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
40080         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
40081         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
40082         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
40083         constant.
40085 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
40087         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
40088         argument calculation.
40090 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40092         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
40093         Expect macro.
40094         [POSIX] (pthread_attr_t): Do not require type.
40095         [POSIX] (pthread_cond_t): Likewise.
40096         [POSIX] (pthread_condattr_t): Likewise.
40097         [POSIX] (pthread_key_t): Likewise.
40098         [POSIX] (pthread_mutex_t): Likewise.
40099         [POSIX] (pthread_mutexattr_t): Likewise.
40100         [POSIX] (pthread_once_t): Likewise.
40101         [POSIX] (pthread_t): Likewise.
40102         [POSIX-based standards] (pthread_atfork): Expect function.
40104 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40105             Richard Sandiford  <richard@codesourcery.com>
40107         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
40108         (swap_endianness_p): New extern variable.
40109         (set_big_endian): New inline function.
40110         (maybe_swap_uint32): Likewise.
40111         (maybe_swap_uint32_array): Likewise.
40112         (maybe_swap_uint32_obstack): Likewise.
40113         * locale/programs/locfile.c: Include <stdbool.h>.
40114         (swap_endianness_p): New variable.
40115         (add_locale_uint32): Call maybe_swap_uint32.
40116         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
40117         (write_locale_data): Call maybe_swap_uint32_array.
40118         * locale/programs/ld-collate.c (obstack_int32_grow): Call
40119         maybe_swap_uint32.
40120         (obstack_int32_grow_fast): Likewise.
40121         (output_weightwc): Call maybe_swap_uint32_obstack.
40122         (collate_output): Likewise.
40123         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
40124         (OPT_LITTLE_ENDIAN): Likewise.
40125         (options): Add --little-endian and --big-endian options.
40126         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
40127         * locale/programs/locarchive.c: Include "locfile.h".
40128         (GET): New macro.
40129         (SET): Likewise.
40130         (INC): Likewise.
40131         (create_archive): Use the new macros to access fields of
40132         structures directly mapped from or written to locale archives.
40133         (oldlocrecentcmp): Likewise.
40134         (enlarge_archive): Likewise.
40135         (insert_name): Likewise.
40136         (add_alias): Likewise.
40137         (add_locale): Likewise.
40138         (delete_locales_from_archive): Likewise.
40139         (show_archive_content): Likewise.
40140         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
40141         locale data.
40143 2013-09-24  Roland McGrath  <roland@hack.frob.com>
40145         * manual/freemanuals.texi: Updated from (newly) canonical copy at
40146         http://www.gnu.org/doc/freemanuals.texi.
40147         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
40149 2013-09-24  Will Newton  <will.newton@linaro.org>
40151         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
40152         macro.
40154 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
40156         * locale/hashval.h (compute_hashval): Interpret bytes of key as
40157         unsigned char.
40159 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
40161         * manual/threads.texi (POSIX Threads): Fix a typo.
40163 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40165         [BZ #14547]
40166         * string/tst-strcoll-overflow.c: New test case.
40167         * string/Makefile (xtests): Add tst-strcoll-overflow.
40168         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
40169         cache if string sizes may cause integer overflow.
40171         [BZ #14547]
40172         * string/strcoll_l.c (coll_seq): New members rule, idx,
40173         save_idx and back_us.
40174         (get_next_seq_nocache): New function.
40175         (do_compare_nocache): New function.
40176         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
40177         when malloc fails.
40179 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
40181         [BZ #15754]
40182         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
40183         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
40184         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
40186         [BZ #15754]
40187         * elf/Makefile (tests): Add tst-ptrguard1.
40188         (tests-static): Add tst-ptrguard1-static.
40189         (tst-ptrguard1-ARGS): Define.
40190         (tst-ptrguard1-static-ARGS): Define.
40191         * elf/tst-ptrguard1.c: New file.
40192         * elf/tst-ptrguard1-static.c: New file.
40193         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
40194         * sysdeps/i386/stackguard-macros.h: Likewise.
40195         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40196         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40197         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40198         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40199         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40200         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40202 2013-09-23  Hector Marco  <hecmargi@upv.es>
40203             Ismael Ripoll  <iripoll@disca.upv.es>
40204             Carlos O'Donell  <carlos@redhat.com>
40206         [BZ #15754]
40207         * sysdeps/generic/stackguard-macros.h: Define
40208         __pointer_chk_guard_local and POINTER_CHK_GUARD.
40209         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
40210         Define __pointer_chk_guard_local.
40211         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
40212         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
40214 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
40216         [BZ #15859]
40217         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
40219 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
40221         * include/string.h (__ffs): Declare as hidden.
40222         * string/ffs.c (__ffs): Define as hidden.
40223         * sysdeps/i386/ffs.c (__ffs): Likewise.
40224         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
40225         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
40226         * sysdeps/s390/ffs.c (__ffs): Likewise.
40227         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
40229 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
40231         * NEWS: Mention malloc probes.
40233         * malloc/arena.c (new_heap): New memory_heap_new probe.
40234         (grow_heap): New memory_heap_more probe.
40235         (shrink_heap): New memory_heap_less probe.
40236         (heap_trim): New memory_heap_free probe.
40237         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
40238         (systrim): New memory_sbrk_less probe.
40239         * manual/probes.texi: Document them.
40241         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
40242         * manual/probes.texi: Document it.
40244         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
40245         (__libc_realloc): Add memory_realloc_retry probe.
40246         (__libc_memalign): Add memory_memalign_retry probe.
40247         (__libc_valloc): Add memory_valloc_retry probe.
40248         (__libc_pvalloc): Add memory_pvalloc_retry probe.
40249         (__libc_calloc): Add memory_calloc_retry probe.
40250         * manual/probes.texi: Document them.
40252         * malloc/arena.c (get_free_list): Add probe
40253         memory_arena_reuse_free_list.
40254         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
40255         and memory_arena_reuse.
40256         (arena_get2) [!PER_THREAD]: Likewise.
40257         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
40258         memory_arena_reuse_realloc.
40259         * manual/probes.texi: Document them.
40261         * malloc/malloc.c (__libc_free): Add
40262         memory_mallopt_free_dyn_thresholds probe.
40263         (__libc_mallopt): Add multiple memory_mallopt probes.
40264         * manual/probes.texi: Document them.
40266         * malloc/malloc.c: Include stap-probe.h.
40267         (__libc_mallopt): Add memory_mallopt probe.
40268         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
40269         * manual/probes.texi: New.
40270         * manual/Makefile (chapters): Add probes.
40271         * manual/threads.texi: Set next node.
40273 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
40275         [BZ #15963, #13985]
40276         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
40277         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
40278         Add `Chinese' to `nan' entry name.
40280 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40282         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
40283         (POLYNOMIAL): Likewise.
40284         (TAYLOR_SINCOS): Likewise.
40285         (TAYLOR_SLOW): Likewise.
40286         (__sin): Use TAYLOR_SINCOS.
40287         (__cos): Likewise.
40288         (slow): Use TAYLOR_SLOW.
40289         (sloww): Likewise.
40290         (bsloww): Likewise.
40291         (csloww): Likewise.
40293 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40295         * stdlib/strtod_l.c: Fix buffer overrun.
40297 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40299         * benchtests/Makefile (bench): Add sincos.
40300         * benchtests/bench-sincos.c: New file.
40302         * math/libm-test.inc (cos_test_data): New test inputs.
40303         (sin_test_data): Likewise.
40305         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
40306         macro.
40307         (__sin): Use it.
40308         (__cos): Likewise.
40309         (slow1): Likewise.
40310         (slow2): Likewise.
40311         (sloww1): Likewise.
40312         (sloww2): Likewise.
40313         (bsloww1): Likewise.
40314         (bsloww2): Likewise.
40315         (cslow2): Likewise.
40316         (csloww1): Likewise.
40317         (csloww2): Likewise.
40319         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
40320         function.
40321         (__sin): Use it.
40322         (__cos): Likewise.
40324         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
40325         gotos.
40326         (__cos): Likewise.
40328 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
40330         * config.h.in (HAVE_MIPS_NAN2008): New macro.
40331         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
40332         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
40333         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
40334         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
40335         * elf/cache.c (print_entry): Handle the new cache flags.
40337 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40338             Aldy Hernandez  <aldyh@redhat.com>
40340         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
40341         Change condition to [_SOFT_FLOAT].
40342         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
40343         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
40344         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
40345         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
40346         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
40347         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
40348         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
40349         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
40350         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
40351         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
40352         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
40353         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
40354         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
40355         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
40356         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
40357         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
40358         declaration.
40360 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40362         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
40363         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40364         (__longjmp): Use LOAD_GP to load saved GPRs.
40365         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
40366         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40367         (__sigsetjmp): Use SAVE_GP to save GPRs.
40369         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
40370         Do not append -msoft-float.
40371         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
40373 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40375         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
40377 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
40379         [BZ #15966]
40380         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
40381         (_FPU_GETCW): Use initial "__" on variable and field names but not
40382         on macro parameter name.
40383         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
40384         parentheses around reference to macro parameter.
40386 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
40388         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
40389         prototype.
40390         (ctype_startup): Use uint32_t in cast and sizeof for
40391         ctype->charnames.
40393 2013-09-11  Jia Liu  <proljc@gmail.com>
40395         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
40396         __daddr_t_defined.
40397         [__FreeBSD__]: Likewise.
40399 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
40401         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
40402         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
40403         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
40404         (strchr): Remove __strchr_sse42 ifunc selection.
40405         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
40406         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
40408 2013-09-11  Will Newton  <will.newton@linaro.org>
40410         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
40411         parameter to RES. Remove hardcoded 1000 value.
40412         * benchtests/bench-skeleton.c (main): Pass RES parameter
40413         to TIMING_INIT and multiply result by 1000.
40415 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40419 2013-09-11  Andreas Schwab  <schwab@suse.de>
40421         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40422         if not defined.
40423         (O_TMPFILE) [__USE_GNU]: Define.
40424         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
40425         Define.
40427 2013-09-11  Will Newton  <will.newton@linaro.org>
40429         [BZ #15857]
40430         * malloc/malloc.c (__libc_memalign): Check the value of bytes
40431         does not overflow.
40433 2013-09-11  Will Newton  <will.newton@linaro.org>
40435         [BZ #15856]
40436         * malloc/malloc.c (__libc_valloc): Check the value of bytes
40437         does not overflow.
40439 2013-09-11  Will Newton  <will.newton@linaro.org>
40441         [BZ #15855]
40442         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
40443         does not overflow.
40445 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
40447         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
40448         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40449         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40450         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40451         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40453 2013-09-10  Allan McRae  <allan@archlinux.org>
40455         [BZ #15748]
40456         * manual/arith.texi (Parsing of Floats): Clarify
40457         cross-reference.
40459         [BZ #15849]
40460         * manual/install.texi (Running make install): Mention
40461         --enable-pt-chown.
40462         * INSTALL: Regenerated.
40464 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
40466         * csu/init-first.c (_init): Remove the !SHARED condition around
40467         FPU control word initialization.
40468         * elf/dl-support.c (_dl_fpu_control): New variable.
40469         (_dl_aux_init) <AT_FPUCW>: Initialize it.
40470         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
40471         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
40472         * math/test-fpucw-static.c: New file.
40473         * math/test-fpucw-ieee.c: New file.
40474         * math/test-fpucw-ieee-static.c: New file.
40475         * math/Makefile (tests): Add `test-fpucw-ieee' and
40476         `$(tests-static)'.
40477         (tests-static): New variable.
40478         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
40479         dependency to...
40480         [($(build-shared),yes)]
40481         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40482         ... this.
40483         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
40484         New dependency.
40486 2013-09-09  Allan McRae  <allan@archlinux.org>
40488         [BZ #15939]
40489         * manual/string.texi (Collation Functions): Fix typo in
40490         strcoll example.
40491         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
40493         [BZ #15893]
40494         * stdlib/isomac.c (get_null_defines): Fix memory leak.
40496         [BZ #15892]
40497         * libio/memstream.c (open_memstream): Fix memory leak.
40498         * libio/wmemstream.c (open_wmemstream): Likewise.
40500         [BZ #15895]
40501         * nscd/netgroupcache.c: Fix nesting of ifdefs.
40503 2013-09-09  Will Newton  <will.newton@linaro.org>
40505         * malloc/Makefile: Add tst-realloc to tests.
40506         * malloc/tst-realloc.c: New file.
40508 2013-09-09  Allan McRae  <allan@archlinux.org>
40510         [BZ #15844]
40511         * COPYING: Update from GNU website to fix FSF address.
40512         * COPYING.LIB: Likewise.
40514 2013-09-06  David S. Miller  <davem@davemloft.net>
40516         * po/zh_TW.po: Update Chinese (traditional) translation from
40517         translation project.
40519 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
40520             Joseph Myers  <joseph@codesourcery.com>
40522         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
40523         "localeinfo.h".
40524         (obstack_chunk_alloc): New macro.
40525         (obstack_chunk_free): Likewise.
40526         (record_offset): New function.
40527         (init_locale_data): Likewise.
40528         (align_locale_data): Likewise.
40529         (add_locale_empty): Likewise.
40530         (add_locale_raw_data): Likewise.
40531         (add_locale_raw_obstack): Likewise.
40532         (add_locale_string): Likewise.
40533         (add_locale_wstring): Likewise.
40534         (add_locale_uint32): Likewise.
40535         (add_locale_uint32_array): Likewise.
40536         (add_locale_char): Likewise.
40537         (start_locale_structure): Likewise.
40538         (end_locale_structure): Likewise.
40539         (start_locale_prelude): Likewise.
40540         (end_locale_prelude): Likewise.
40541         (write_locale_data): Take locale_file structure rather than an
40542         iovec.
40543         * locale/programs/locfile.h: Include "obstack.h".
40544         (struct locale_file): Change to store locale file contents instead
40545         of header.
40546         (init_locale_data): New prototype.
40547         (align_locale_data): Likewise.
40548         (add_locale_empty): Likewise.
40549         (add_locale_raw_data): Likewise.
40550         (add_locale_raw_obstack): Likewise.
40551         (add_locale_string): Likewise.
40552         (add_locale_wstring): Likewise.
40553         (add_locale_uint32): Likewise.
40554         (add_locale_uint32_array): Likewise.
40555         (add_locale_char): Likewise.
40556         (start_locale_structure): Likewise.
40557         (end_locale_structure): Likewise.
40558         (start_locale_prelude): Likewise.
40559         (end_locale_prelude): Likewise.
40560         (write_locale_data): Update prototype.
40561         * locale/programs/3level.h (struct TABLE): Remove result field.
40562         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
40563         Use new locale_file interface.
40564         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
40565         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
40566         * locale/programs/ld-address.c (address_output): Use new
40567         locale_file interface.
40568         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
40569         NO_ADD_LOCALE.
40570         (collate_finish): Don't call collseq_table_finalize.
40571         (collate_output): Use new locale_file interface.
40572         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
40573         in file.
40574         (NO_FINALIZE): Change to NO_ADD_LOCALE.
40575         (TABLE): Move defines earlier in file.
40576         (ELEMENT): Likewise.
40577         (DEFAULT): Likewise.
40578         (wctrans_table_add): Move macro and inline function earlier in
40579         file.
40580         (struct wctype_table): Move type earlier in file.
40581         (add_locale_wctype_table): New static prototype.
40582         (struct locale_ctype_t): Use logical types instead of struct iovec
40583         pointers for members.
40584         (ctype_output): Use new locale_file interface.
40585         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
40586         new locale_file interface.
40587         (allocate_arrays): Update for use of new locale_file interface.
40588         * locale/programs/ld-identification.c (identification_output): Use
40589         new locale_file interface.
40590         * locale/programs/ld-measurement.c (measurement_output): Likewise.
40591         * locale/programs/ld-messages.c (messages_output): Likewise.
40592         * locale/programs/ld-monetary.c (monetary_output): Likewise.
40593         * locale/programs/ld-name.c (name_output): Likewise.
40594         * locale/programs/ld-numeric.c (numeric_output): Likewise.
40595         * locale/programs/ld-paper.c (paper_output): Likewise.
40596         * locale/programs/ld-telephone.c (telephone_output): Likewise.
40597         * locale/programs/ld-time.c (time_output): Likewise.
40599 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40601         * benchtests/Makefile: Add memrchr benchmark.
40602         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40603         benchmark as memrchr.
40604         * benchtests/bench-memrchr-ifunc.c: New file.
40605         * benchtests/bench-memrchr.c: New file.
40607 2013-09-06   Will Newton  <will.newton@linaro.org>
40609         * benchtests/Makefile (string-bench): Add memcpy.
40611 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
40612             Cong Wang  <amwang@redhat.com>
40614         [BZ #15850]
40615         * sysdeps/unix/sysv/linux/bits/in.h
40616         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40617         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40618         before __USE_KERNEL_IPV6_DEFS uses.
40619         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40620         IPPROTO_BEETPH.
40621         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40622         sockaddr_in6, or ipv6_mreq.
40624 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40626         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40627         memory access for final bytes in some large inputs.
40628         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40630 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40632         * string/test-memrchr.c: New file.
40633         * string/test-memrchr-ifunc.c: New file.
40634         * string/Makefile: Add new memrchr testcase.
40636 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
40638         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40639         fanotify_init returns EPERM.
40641 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40643         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40644         errors.
40645         (top level): Treat second token from macro or constant entries for
40646         allowed headers as allowed.
40647         * include/complex.h: Condition internal declarations on
40648         [!_ISOMAC].
40649         * include/fenv.h: Condition include of <stdbool.h> and internal
40650         declarations on [!_ISOMAC].
40652 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
40654         [BZ #15923]
40655         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40657 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40659         * configure.in (--enable-versioning): Remove configure option.
40660         (libc_cv_asm_symver_directive): Remove configure test.
40661         (libc_cv_ld_version_script_option): Likewise.
40662         (VERSIONING): Remove variable and AC_SUBST.
40663         (DO_VERSIONING): Remove AC_DEFINE.
40664         * configure: Regenerated.
40665         * config.h.in (DO_VERSIONING): Remove macro.
40666         * Makerules [$(versioning) = yes]: Change conditionals to
40667         [$(build-shared) = yes].
40668         * config.make.in (versioning): Remove variable.
40669         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40670         [$(build-shared) = yes].
40671         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40672         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40673         * elf/Makefile [$(versioning) = yes]: Change conditionals to
40674         [$(build-shared) = yes].
40675         * extra-lib.mk [$(versioning) = yes]: Likewise.
40676         * hurd/Makefile [$(versioning) = yes]: Likewise.
40677         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40678         [SHARED].
40679         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40680         [SHARED].
40681         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40682         [SHARED && !NO_HIDDEN].
40683         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40684         [SHARED].
40685         [SHARED && DO_VERSIONING]: Likewise..
40686         * libio/Makefile [$(versioning) = yes]: Change conditionals to
40687         [$(build-shared) = yes].
40688         * manual/install.texi (--disable-versioning): Remove
40689         documentation.
40690         * INSTALL: Regenerated.
40691         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40692         to [SHARED].
40693         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40694         [$(build-shared) = yes].
40695         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40696         * sysdeps/i386/i686/multiarch/strstr-c.c
40697         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40698         [SHARED && !NO_HIDDEN].
40699         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40700         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40701         * sysdeps/powerpc/powerpc32/dl-machine.c
40702         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40703         * sysdeps/powerpc/powerpc32/sysdep.h
40704         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40705         to [SHARED && PIC && !NO_HIDDEN].
40706         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40707         conditional to [SHARED].
40709 2013-09-04   Will Newton  <will.newton@linaro.org>
40711         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40712         * benchtests/bench-string.h: Include bench-timing.h instead
40713         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40714         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40715         call to HP_TIMING_DIFF_INIT.
40716         * benchtests/bench-memccpy.c: Use bench-timing.h macros
40717         instead of hp-timing.h macros.
40718         * benchtests/bench-memchr.c: Likewise.
40719         * benchtests/bench-memcmp.c: Likewise.
40720         * benchtests/bench-memcpy.c: Likewise.
40721         * benchtests/bench-memmem.c: Likewise.
40722         * benchtests/bench-memmove.c: Likewise.
40723         * benchtests/bench-memset.c: Likewise.
40724         * benchtests/bench-rawmemchr.c: Likewise.
40725         * benchtests/bench-strcasecmp.c: Likewise.
40726         * benchtests/bench-strcasestr.c: Likewise.
40727         * benchtests/bench-strcat.c: Likewise.
40728         * benchtests/bench-strchr.c: Likewise.
40729         * benchtests/bench-strcmp.c: Likewise.
40730         * benchtests/bench-strcpy.c: Likewise.
40731         * benchtests/bench-strcpy_chk.c: Likewise.
40732         * benchtests/bench-strlen.c: Likewise.
40733         * benchtests/bench-strncasecmp.c: Likewise.
40734         * benchtests/bench-strncat.c: Likewise.
40735         * benchtests/bench-strncmp.c: Likewise.
40736         * benchtests/bench-strncpy.c: Likewise.
40737         * benchtests/bench-strnlen.c: Likewise.
40738         * benchtests/bench-strpbrk.c: Likewise.
40739         * benchtests/bench-strrchr.c: Likewise.
40740         * benchtests/bench-strspn.c: Likewise.
40741         * benchtests/bench-strstr.c: Likewise.
40743 2013-09-04  Will Newton  <will.newton@linaro.org>
40745         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40747 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
40749         [BZ #15427]
40750         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40751         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40752         * math/libm-test.inc (lgamma_test_data): Add more tests.
40753         * sysdeps/i386/fpu/libm-test-ulps: Update.
40754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40756 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
40758         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
40759         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40760         Add ifunc.
40761         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40762         Add strcmp-sse2-unaligned
40763         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
40765 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40767         * Versions.def (libc): Add GLIBC_2.19.
40769 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40771         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
40772         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
40774 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
40776         [BZ #14155]
40777         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
40778         intermediate calculations in recurrence.
40779         (__ieee754_ynf): Likewise.
40780         * math/libm-test.inc (jn_test_data): Do not allow spurious
40781         underflow exception.  Add more tests.
40782         (yn_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-02   Ondřej Bílka  <neleai@seznam.cz>
40788         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
40790 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40792         * csu/init-first.c: Fix then/than typos.
40793         * locale/programs/ld-collate.c: Likewise.
40794         * locale/programs/linereader.h: Likewise.
40795         * manual/charset.texi: Likewise.
40796         * manual/filesys.texi: Likewise.
40797         * manual/stdio.texi: Likewise.
40798         * manual/string.texi: Likewise.
40799         * stdlib/fmtmsg.c: Likewise.
40800         * sysdeps/i386/stpncpy.S: Likewise.
40801         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40802         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40803         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40804         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40806 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40808         * elf/dl-open.c: Fix typos.
40809         * iconvdata/gbbig5.c: Likewise.
40810         * iconvdata/iso-2022-jp.c: Likewise.
40811         * iconv/gconv_int.h: Likewise.
40812         * iconv/loop.c: Likewise.
40813         * nis/rpcsvc/nis.h: Likewise.
40814         * resolv/ns_name.c: Likewise.
40815         * stdio-common/vfscanf.c: Likewise.
40816         * streams/stropts.h: Likewise.
40817         * sunrpc/rpc_thread.c: Likewise.
40818         * sysdeps/i386/strpbrk.S: Likewise.
40819         * sysdeps/ieee754/k_standard.c: Likewise.
40820         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40821         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40822         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
40823         * sysdeps/mach/hurd/profil.c: Likewise.
40824         * sysdeps/s390/dl-procinfo.h: Likewise.
40825         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40826         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40827         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
40828         * sysdeps/x86_64/dl-trampoline.S: Likewise.
40829         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40831 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
40833         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
40834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
40836 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
40838         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
40839         aix specific files.
40840         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
40841         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
40842         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
40843         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
40844         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
40845         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
40846         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
40847         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
40849 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40850             Roland McGrath  <roland@hack.frob.com>
40852         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
40853         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
40855 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40857         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
40858         __executable_start symbol instead of _start.
40860 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40862         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
40863         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
40864         Move macros to...
40865         * sysdeps/gnu/ldsodefs.h: ... this new file.
40867         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
40868         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
40869         instead of ELFOSABI_LINUX.
40871         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
40872         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
40873         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
40874         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
40875         Likewise.
40876         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
40877         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
40878         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
40879         Likewise.
40880         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40881         (ibm_extended_long_double): Add ieee_nan member.
40882         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
40883         (do_test): New function.
40885         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
40886         TEST_TRUNC.
40887         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
40888         functions, renamed from truncdfsf_test, trunctfsf_test,
40889         trunctfdf_test.
40890         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
40891         functions.
40892         (do_test): Run all these.
40894 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
40896         * argp/argp-help.c: Fix typos.
40897         * argp/argp-parse.c: Likewise.
40898         * debug/backtracesyms.c: Likewise.
40899         * elf/elf.h: Likewise.
40900         * malloc/malloc.c: Likewise.
40901         * nis/nis_print.c: Likewise.
40902         * resolv/res_comp.c: Likewise.
40903         * stdlib/stdlib.h: Likewise.
40904         * sunrpc/clnt_tcp.c: Likewise.
40905         * sunrpc/clnt_udp.c: Likewise.
40906         * sunrpc/clnt_unix.c: Likewise.
40907         * sysdeps/unix/bsd/ptsname.c: Likewise.
40908         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40909         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
40910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
40911         Likewise.
40912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
40913         Likewise.
40914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
40915         Likewise.
40916         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40918 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40920         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
40921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40923 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
40925         [BZ #15897]
40926         * dlfcn/Makefile (tests): Add bug-dl-leaf.
40927         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
40928         ($(objpfx)bug-dl-leaf): New rule.
40929         ($(objpfx)bug-dl-leaf.so): Likewise.
40930         ($(objpfx)bug-dl-leaf.out): Likewise.
40931         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
40932         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
40933         * dlfcn/bug-dl-leaf.c: New test.
40934         * dlfcn/bug-dl-leaf-lib.c: Likewise.
40935         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
40936         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
40937         (dlclose): Likewise.
40938         (dlmopen): Likewise.
40940 2013-08-27  Roland McGrath  <roland@hack.frob.com>
40942         * include/netdb.h [!_ISOMAC]:
40943         Don't include <tls.h>.
40944         (h_errno, __libc_h_errno): Move declaration and macros out of
40945         [_LIBC_REENTRANT].
40947         * include/resolv.h [_RESOLV_H_]:
40948         Don't include <tls.h>.
40949         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
40950         * resolv/res_libc.c: Don't include <tls.h>.
40951         (_res): Use __attribute__ ((nocommon)) in place of
40952         __attribute__ ((section (".bss"))).
40954         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
40955         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
40957         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
40959         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
40960         only under [SIOCGIFCONF && SIOCGIFNETMASK].
40962         * resolv/res_mkquery.c: Include <sys/time.h>.
40964         * inet/ifreq.c: Moved to ...
40965         * sysdeps/unix/ifreq.c: ... here.
40966         * inet/ifreq.c: New file, true stub version.
40968         * socket/sa_len.c: New file.
40969         * socket/Makefile (aux): Add it.
40970         * sysdeps/unix/sysv/linux/Makefile
40971         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
40972         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
40973         and #include <socket/sa_len.c>.
40974         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
40975         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
40977         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
40978         * bits/socket.h: ... here.
40980         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
40981         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
40982         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
40984 2013-08-27  Andreas Schwab  <schwab@suse.de>
40986         [BZ #15736]
40987         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
40988         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
40989         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
40990         * string/test-strcasecmp.c (test_main): Run tests in several
40991         locales.
40992         * string/test-strncasecmp.c (test_main): Likewise.
40994         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
40995         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
40996         to __strcasecmp_nonascii and __strncasecmp_nonascii.
40997         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
40998         (__strncasecmp_ssse3) [PIC]: Likewise.
41000 2013-08-26  Roland McGrath  <roland@hack.frob.com>
41002         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
41004         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
41005         instead of explicitly declaring xdecrypt.
41006         * nis/nss_nis/nis-publickey.c: Likewise.
41008 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41010         [BZ #15890]
41011         * nscd/aicache.c: Include res_hconf.h.
41012         (addhstaiX): Initialize res_hconf.
41014 2013-08-26  Andreas Schwab  <schwab@suse.de>
41016         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
41017         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
41019 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41021         * nscd/aicache.c (addhstaiX): Fix indentation.
41023 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
41025         * configure.ac: Quote $build_pt_chown test.
41026         * configure: Regenerated.
41028 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
41030         [BZ #15532]
41031         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
41032         * math/s_cexpf.c (__cexpf): Likewise.
41033         * math/s_cexpl.c (__cexpl): Likewise.
41034         * math/libm-test.inc (cexp_test_data): Correct expected return
41035         value for NaN + i0.  Add another test.
41037 2013-08-22  David S. Miller  <davem@davemloft.net>
41039         * po/ca.po: Update Catalan translation from translation project.
41040         * po/uk.po: Add Ukrainian translations from translation project.
41042 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
41044         [BZ #15797]
41045         * math/s_fdim.c (__fdim): Check for infinite arguments if result
41046         is infinite, not alongside NaN test.
41047         * math/s_fdimf.c (__fdimf): Likewise.
41048         * math/s_fdiml.c (__fdiml): Likewise.
41049         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
41050         errno is unchanged.
41052 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
41054         * argp/argp-help.c: Fix typos.
41055         * crypt/speeds.c: Likewise.
41056         * csu/check_fds.c: Likewise.
41057         * elf/dl-load.c: Likewise.
41058         * elf/dl-open.c: Likewise.
41059         * elf/reldep3.c: Likewise.
41060         * elf/reldep.c: Likewise.
41061         * elf/sprof.c: Likewise.
41062         * iconv/iconv_charmap.c: Likewise.
41063         * iconv/skeleton.c: Likewise.
41064         * iconv/strtab.c: Likewise.
41065         * io/lockf64.c: Likewise.
41066         * libio/libioP.h: Likewise.
41067         * resolv/gai_notify.c: Likewise.
41068         * resolv/ns_name.c: Likewise.
41069         * resolv/ns_samedomain.c: Likewise.
41070         * resolv/res_send.c: Likewise.
41071         * stdlib/random.c: Likewise.
41072         * sunrpc/rpc/xdr.h: Likewise.
41073         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
41074         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41075         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41076         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41077         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41078         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41079         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41080         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41081         * sysdeps/mach/hurd/check_fds.c: Likewise.
41082         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41083         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41084         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41085         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41086         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41087         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41088         * sysdeps/pthread/aio_notify.c: Likewise.
41089         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
41090         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
41091         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
41092         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41093         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41095 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41097         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
41098         version if bit_Slow_SSE4_2 is set.
41099         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41100         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41102 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41104         [BZ #15867]
41105         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
41106         trampoline stack frame information.
41107         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
41108         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
41109         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
41110         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
41111         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
41112         * sysdeps/unix/sysv/linux/powerpc/init-first.c
41113         (_libc_vdso_platform_setup): Initialize the signal trampolines.
41114         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
41115         sa_flags value.
41116         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
41117         interrupting a syscall and set with option SA_SIGINFO.
41119 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41121         [BZ #15531]
41122         * math/s_cproj.c (__cproj): Only return an infinity if one part of
41123         argument is infinite.
41124         * math/s_cprojf.c (__cprojf): Likewise.
41125         * math/s_cprojl.c (__cprojl): Likewise.
41126         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
41127         * math/libm-test.inc (cproj_test_data): Add more tests.
41129         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
41131         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
41132         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
41133         size.  Use __ffs to determine corresponding shift.
41135 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41136             Roland McGrath  <roland@hack.frob.com>
41138         * Makefile (INSTALL): Remove trailing blank lines from output of
41139         makeinfo.
41141 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41143         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
41144         Align 32 bit compat elf_greg to 8 bytes.
41146 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
41148         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
41150 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41152         * string/strcoll_l.c (coll_seq): New structure.
41153         (get_next_seq_cached): New function.
41154         (get_next_seq): New function.
41155         (do_compare): New function.
41156         (STRCOLL): Use GNU style definition.  Simplify implementation
41157         by using get_next_seq, get_next_seq_cached and do_compare.
41159 2013-08-16  Florian Weimer  <fweimer@redhat.com>
41161         [BZ #14699]
41162         CVE-2013-4237
41163         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
41164         member.
41165         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
41166         member.
41167         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
41168         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
41169         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
41170         conditional.
41171         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
41172         GETDENTS_64BIT_ALIGNED.
41173         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41174         * manual/filesys.texi (Reading/Closing Directory): Document
41175         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
41176         strongly.
41177         * manual/conf.texi (Limits for Files): Add portability note to
41178         NAME_MAX, PATH_MAX.
41179         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
41181 2013-08-13  Andreas Schwab  <schwab@suse.de>
41183         [BZ #15749]
41184         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
41185         of fabs.
41186         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
41187         LDBL_MAX_EXP >= 16384]: Add tests for it.
41189 2013-08-12  David S. Miller  <davem@davemloft.net>
41191         * version.h (RELEASE): Set to "development".
41192         (VERSION): Set to "2.18.90".
41193         * NEWS: Add 2.19 section.
41195 2013-08-03  David S. Miller  <davem@davemloft.net>
41197         * po/ko.po: Update Korean translation from translation project.
41199 2013-08-01  David S. Miller  <davem@davemloft.net>
41201         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
41202         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
41203         Bilka.
41205 2013-07-30  David S. Miller  <davem@davemloft.net>
41207         * po/fr.po: Update French translation from translation project.
41209 2013-07-28  David S. Miller  <davem@davemloft.net>
41211         * po/cs.po: Update Czech translation from translation project.
41213         * po/sv.po: Update Swedish translation from translation project.
41215 2013-07-27  David S. Miller  <davem@davemloft.net>
41217         * po/eo.po: Update Esperanto translation from translation project.
41219         * po/vi.po: Update Vietnamese translation from translation project.
41221         * po/de.po: Update German translation from translation project.
41223 2013-07-26  David S. Miller  <davem@davemloft.net>
41225         * po/bg.po: Update Bulgarian translation from translation project.
41227         * po/nl.po: Update Dutch translation from translation project.
41228         * po/pl.po: Update Polish translation from translation project.
41229         * po/ru.po: Update Russian translation from translation project.
41231 2013-07-24  David S. Miller  <davem@davemloft.net>
41233         * po/libc.pot: Update.
41235 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41237         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
41238         variable page size.
41239         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
41240         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
41241         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
41243 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41245         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
41247 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41248             Andreas Schwab  <schwab@suse.de>
41249             Roland McGrath  <roland@hack.frob.com>
41250             Joseph Myers  <joseph@codesourcery.com>
41251             Carlos O'Donell  <carlos@redhat.com>
41253         [BZ #15755]
41254         * config.h.in: Define HAVE_PT_CHOWN.
41255         * config.make.in (build-pt-chown): New variable.
41256         * configure.in (--enable-pt_chown): New configure option.
41257         * configure: Regenerate.
41258         * login/Makefile: Include Makeconfig.  Build pt_chown only if
41259         build-pt-chown is enabled.
41260         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
41261         pt_chown to fix pty ownership.
41262         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
41263         CLOSE_ALL_FDS.
41264         * manual/install.texi (Configuring and compiling): Mention
41265         --enable-pt_chown. Add @findex for grantpt.
41266         * INSTALL: Regenerate.
41268 2013-07-20  David S. Miller  <davem@davemloft.net>
41270         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
41271         difference between 32-bit and 64-bit.
41273 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
41275         [BZ #15711]
41276         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
41277         Avoid system header dependency with -ffreestanding.
41278         ($(objpfx)bits/syscall%d): Likewise.
41280 2013-07-13  David S. Miller  <davem@davemloft.net>
41282         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
41283         underflows from atanl/atan2l due to bug 15319.
41284         (casinh_test_data): Likewise.
41286 2013-07-07  David S. Miller  <davem@davemloft.net>
41288         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
41290 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
41292         * sysdeps/i386/fpu/libm-test-ulps: Update.
41293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41295 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41297         * configure.in (--enable-lock-elision): Fix message text.
41298         * INSTALL: Regenerate.
41299         * configure: Regenerate.
41301 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41305 2013-07-03  Andreas Jaeger  <aj@suse.de>
41307         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
41308         define.
41309         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
41310         (ptrace_peeksiginfo_args): Add.
41311         (__ptrace_peeksiginfo_flags): Add.
41312         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41313         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41314         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41316 2013-07-03  Allan McRae  <allan@archlinux.org>
41318         * sysdeps/i386/fpu/libm-test-ulps: Update.
41320 2013-07-02  David S. Miller  <davem@davemloft.net>
41322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41324 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
41326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41328 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41330         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41333 2013-07-02  Andi Kleen <ak@linux.intel.com>
41335         * config.h.in (ENABLE_LOCK_ELISION): Add.
41336         * configure.in (--enable-lock-elision): Add option.
41337         * manual/install.texi: Document --enable lock elision.
41338         * configure: Regenerate
41339         * INSTALL: Regenerate.
41341 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
41343         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
41344         SSE4.2 strcasecmp for libc.a.
41345         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41347 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41349         [BZ #13304]
41350         * soft-fp/op-common.h (_FP_FMA): New macro.
41351         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
41352         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
41353         (_FP_MUL_MEAT_1_imm): ... here.
41354         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
41355         (_FP_MUL_MEAT_1_wide): ... here.
41356         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
41357         (_FP_MUL_MEAT_1_hard): ... here.
41358         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
41359         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
41360         (_FP_MUL_MEAT_2_wide): ... here.
41361         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
41362         (_FP_MUL_MEAT_2_wide_3mul): ... here.
41363         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
41364         (_FP_MUL_MEAT_2_gmp): ... here.
41365         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
41366         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
41367         (_FP_MUL_MEAT_4_wide): ... here.
41368         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
41369         (_FP_MUL_MEAT_4_gmp): ... here.
41370         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
41371         (_FP_WFRACBITS_DW_S): Likewise.
41372         (_FP_WFRACXBITS_DW_S): Likewise.
41373         (_FP_HIGHBIT_DW_S): Likewise.
41374         (FP_FMA_S): Likewise.
41375         (_FP_FRAC_HIGH_DW_S): Likewise.
41376         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
41377         (_FP_WFRACBITS_DW_D): Likewise.
41378         (_FP_WFRACXBITS_DW_D): Likewise.
41379         (_FP_HIGHBIT_DW_D): Likewise.
41380         (FP_FMA_D): Likewise.
41381         (_FP_FRAC_HIGH_DW_D): Likewise.
41382         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
41383         (_FP_WFRACBITS_DW_E): Likewise.
41384         (_FP_WFRACXBITS_DW_E): Likewise.
41385         (_FP_HIGHBIT_DW_E): Likewise.
41386         (FP_FMA_E): Likewise.
41387         (_FP_FRAC_HIGH_DW_E): Likewise.
41388         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
41389         (_FP_WFRACBITS_DW_Q): Likewise.
41390         (_FP_WFRACXBITS_DW_Q): Likewise.
41391         (_FP_HIGHBIT_DW_Q): Likewise.
41392         (FP_FMA_Q): Likewise.
41393         (_FP_FRAC_HIGH_DW_Q): Likewise.
41394         * soft-fp/fmasf4.c: New file.
41395         * soft-fp/fmadf4.c: Likewise.
41396         * soft-fp/fmatf4.c: Likewise.
41398 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41401         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
41402         Silvermont.
41403         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
41404         macro.
41405         (index_Slow_SSE4_2): Likewise.
41406         (index_Prefer_PMINUB_for_stringop): Likewise.
41407         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
41408         bit_Slow_SSE4_2 is set.
41409         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41410         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41412 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41414         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
41415         rtld_global._dl_hwcap2.
41416         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
41417         POWER8.
41418         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
41419         POWER8 feature descriptions defined in _dl_hwcap2.
41420         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
41421         string handling for POWER8 feature bits.
41422         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
41423         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
41424         _dl_powerpc_cap_flags.
41425         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
41426         * sysdeps/powerpc/rtld-global-offsets.sym
41427         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
41428         _dl_hwcap2 in the rtld_global_ro structure.
41430 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41432         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
41433         hardware capabilities in support of AT_HWCAP2.
41434         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
41435         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
41436         GLRO(dl_hwcap2).
41437         (_dl_show_auxv): Add support for calling _dl_procinfo to display
41438         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
41439         explicitly the unknown a_type display mechanism is used.
41440         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
41441         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
41442         struct member.
41443         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
41444         to macro prototype for AT_HWCAP2 support.
41445         * sysdeps/i386/dl-procinfo.h: Likewise.
41446         * sysdeps/s390/dl-procinfo.h: Likewise.
41447         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
41448         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
41449         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
41450         return -1 for unknown a_type display fallback.
41451         * sysdeps/sparc/dl-procinfo.h: Likewise.
41452         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
41453         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
41455 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
41457         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
41458         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
41460 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
41462         [BZ #12492]
41463         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
41464         mprotect making __stack_prot writable.
41466 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
41467             Joseph Myers  <joseph@codesourcery.com>
41469         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
41470         as being properly aligned.
41472 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
41474         * dlfcn/modstatic5.c: New file.
41475         * dlfcn/tststatic5.c: New file.
41476         * dlfcn/Makefile (tests): Add tststatic5.
41477         (tests-static): Likewise.
41478         (modules-names): Add modstatic5.
41479         (tststatic5-ENV): New variable.
41480         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
41482         [BZ #15022]
41483         * elf/dl-support.c (_dl_main_map): New variable.
41484         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
41485         (_dl_nns, _dl_load_adds): Set to 1.
41486         (_dl_initial_searchlist): Refer to _dl_main_map.
41487         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
41488         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
41489         call to _dl_get_origin.
41490         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
41491         around call_map.
41492         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
41493         * dlfcn/modstatic3.c: New file.
41494         * dlfcn/tststatic3.c: New file.
41495         * dlfcn/tststatic4.c: New file.
41496         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
41497         (tests-static): Likewise.
41498         (modules-names): Add modstatic3.
41499         (tststatic3-ENV, tststatic4-ENV): New variables.
41500         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
41501         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
41503 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
41505         * configure.in (CC): Require GCC version 4.4 or later.
41506         * configure: Regenerated.
41507         * manual/install.texi (Tools for Compilation): Update GCC version
41508         requirement.
41509         * INSTALL: Regenerated.
41511 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41513         [BZ #15674]
41514         * string/test-memcmp.c (check2): New.
41515         (main): Call check2.
41517         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
41519 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
41521         [BZ #15022]
41522         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
41523         over to...
41524         (dl_open_worker) [!SHARED]: ... here.
41526 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41528         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
41530 2013-06-25  Richard Henderson  <rth@redhat.com>
41532         * locale/programs/locarchive.c: Include <libc-internal.h>
41534 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
41536         * manual/texinfo.tex: Update to version 2013-06-21.17, with
41537         trailing whitespace removed.
41539 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41541         [BZ #10283]
41542         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
41543         * locale/programs/locarchive.c: Include libc-mmap.h.
41544         (prepare_address_space): Take two new outputs (the mmap base and len).
41545         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
41546         values.
41547         (create_archive): Declare new mmap base and len values for
41548         prepare_address_space, and store the result in ah.
41549         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
41550         (enlarge_archive): If ah->mmap_base is not NULL, use that and
41551         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41552         Declare new mmap base and len values for
41553         prepare_address_space, and store the result in new_ah.
41554         (open_archive): Declare new mmap base and len values for
41555         prepare_address_space, and store the result in ah.
41556         (close_archive): If ah->mmap_base is not NULL, use that and
41557         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41558         * sysdeps/generic/libc-mmap.h: New file.
41560 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41562         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
41563         (ALIGN_UP): Likewise.
41564         (PTR_ALIGN_DOWN): Likewise.
41565         (PTR_ALIGN_UP): Likewise.
41567 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41569         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
41570         entry mapped to PPC_PLATFORM_POWER8.
41571         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
41572         POWER8.
41573         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
41574         (_dl_string_platform): Add case for exporting platform position for
41575         POWER8.
41576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
41577         search path to sysdeps/powerpc/powerpc32/power8 directory.
41578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
41579         search path to sysdeps/powerpc/powerpc64/power8 directory.
41580         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
41581         power7 directories.
41582         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
41583         power7 directories.
41585 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41587         * INSTALL: Regenerate.
41589         * nscd/connections.c (nscd_init): Fix comment.
41591 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
41593         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
41595         [BZ #15667]
41596         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
41597         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
41599 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41601         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
41602         DL_DST_REQ_STATIC.
41603         (DL_DST_REQ_STATIC): Remove macro.
41605 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
41607         [BZ #7006]
41608         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41609         with a shift of 0 bits.
41611 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41613         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41614         $(tststatic-ENV).
41616 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41618         [BZ #15655]
41619         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41621 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41623         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41624         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41625         accepts -fno-tree-loop-distribute-patterns.
41626         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41627         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41628         recursive call.
41629         * string/memset.c (memset): Likewise.
41630         * string/test-memmove.c (simple_memmove): Disable loop transformation
41631         to library calls.
41632         * string/test-memset.c (simple_memset): Likewise.
41633         * benchtests/bench-memmove.c (simple_memmove): Likewise.
41634         * benchtests/bench-memset.c (simple_memset): Likewise.
41635         * configure: Regenerated.
41637 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
41639         * math/test-misc.c (main): Ignore fesetround failure when failures
41640         of subsequent rounding tests would be ignored.
41642         [BZ #15654]
41643         * math/fedisblxcpt.c (fedisableexcept): Return 0.
41644         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41645         * math/fegetenv.c (__fegetenv): Return 0.
41646         * math/fegetexcept.c (fegetexcept): Return 0.
41647         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41648         FE_TONEAREST.
41649         * math/feholdexcpt.c (feholdexcept): Return 0.
41650         * math/fesetenv.c (__fesetenv): Return 0.
41651         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41652         argument FE_TONEAREST.
41653         * math/feupdateenv.c (__feupdateenv): Return 0.
41654         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41656 2013-06-18  Roland McGrath  <roland@hack.frob.com>
41658         * elf/rtld-Rules (rtld-compile-command.S): New variable.
41659         (rtld-compile-command.s, rtld-compile-command.c): New variables.
41660         ($(objpfx)rtld-%.os rules): Use them.
41662 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41664         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41665         fields.
41667 2013-06-17  Roland McGrath  <roland@hack.frob.com>
41669         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41670         length of target pattern, then descending length of dependency pattern.
41671         * configure.in (AWK): Require gawk 3.1.2 or newer.
41672         * manual/install.texi (Tools for Compilation): Say that we do.
41673         * configure: Regenerated.
41675         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41676         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41677         * scripts/sysd-rules.awk: ... this new script.
41678         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41679         than a glob-style pattern.
41681 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
41683         * math/test-misc.c (main): Do not treat incorrectly rounded
41684         conversions as failure unless ROUNDING_TESTS passes.
41686 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
41688         [BZ #15631]
41689         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41690         restore exception state around main square root computation, then
41691         check for inexactness explicitly.
41693         * math/libm-test.inc (fma_test_data): Add another test.
41695 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41697         * manual/threads.texi (Non-POSIX Extensions): New document
41698         node.  Document pthread_getattr_default_np and
41699         pthread_setattr_default_np.
41701         * Versions.def (libpthread): Add GLIBC_2.18.
41702         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41704         Likewise.
41705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41706         Likewise.
41707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41708         Likewise.
41709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41710         Likewise.
41711         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41712         Likewise.
41713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41714         Likewise.
41715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41716         Likewise.
41717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41718         Likewise.
41719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41720         Likewise.
41722 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41724         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41725         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41727 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41728             H.J. Lu  <hjl.tools@gmail.com>
41730         [BZ #15627]
41731         * sysdeps/x86_64/rtld-memset.c: Remove file.
41732         * sysdeps/x86_64/rtld-memset.S: New file.
41734 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
41736         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41737         (test_in_one_mode): Take arguments for whether the rounding mode
41738         is supported for each floating-point type.
41739         (do_test): Pass new arguments to test_in_one_mode using
41740         ROUNDING_TESTS.
41742 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41744         * posix/tst-waitid.c (do_test): Distinguish different instances of
41745         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
41746         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41747         before entering the kernel for waitpid.
41749 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41751         * NEWS: Fix note on clock function precision.  Text by Roland
41752         McGrath.
41754 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41756         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41757         it into place only when and if the sanity check passes.
41759 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
41761         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
41762         output for whether conversion result is exact.  Take argument
41763         indicating whether type is IBM long double.
41764         (round_for_all): Change need_exact field to ibm_ld.
41765         * stdlib/tst-strtod-round.c (struct exactness): New type.
41766         (struct test): Change bool ld_ok field to struct exactness exact.
41767         (TEST): Update all definitions for change to field.
41768         (tests): Regenerate array contents.
41769         (test_in_one_mode): Take pointer to new field instead of old ld_ok
41770         field value.  Check for IBM long double here.
41771         (do_test): Update calls to test_in_one_mode.
41773 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41775         [BZ #12515]
41776         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
41777         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
41779 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41781         [BZ #15605]
41782         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
41783         generated by the compiler on loop optimizations.
41784         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
41785         general definitions.
41787 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
41789         * math/bug-nextafter.c: Include <math-tests.h>.
41790         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41791         the relevant type.
41792         * math/bug-nexttoward.c: Include <math-tests.h>.
41793         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41794         the relevant type.
41795         * math/test-misc.c: Include <math-tests.h>.
41796         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41797         the relevant type.
41799 2013-06-12  Andreas Jaeger  <aj@suse.de>
41801         * po/ia.po: Update Interlingua translation from translation
41802         project.
41804 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41806         * include/fenv.h: Include stdbool.h.
41807         (struct rm_ctx): New structure.
41808         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
41809         Define macro.
41810         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
41811         (SET_RESTORE_ROUNDF): Likewise.
41812         (SET_RESTORE_ROUNDL): Likewise.
41813         (SET_RESTORE_ROUND_NOEX): Likewise.
41814         (SET_RESTORE_ROUND_NOEXF): Likewise.
41815         (SET_RESTORE_ROUND_NOEXL): Likewise.
41816         (SET_RESTORE_ROUND_53BIT): Likewise.
41817         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
41818         (libc_feresetround_noexf_ctx): Likewise.
41819         (libc_feresetround_noexl_ctx): Likewise.
41820         (libc_feholdsetround_53bit_ctx): Likewise.
41821         (libc_feresetround_53bit_ctx): Likewise.
41822         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
41823         (libc_feholdexcept_setround_sse_ctx): New function.
41824         (libc_fesetenv_sse_ctx): Likewise.
41825         (libc_feupdateenv_sse_ctx): Likewise.
41826         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41827         (libc_feholdexcept_setround_387_ctx): Likewise.
41828         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
41829         (libc_feholdsetround_387_prec_ctx): Likewise.
41830         (libc_feholdsetround_387_ctx): Likewise.
41831         (libc_feholdsetround_387_53bit_ctx): Likewise.
41832         (libc_feholdsetround_sse_ctx): Likewise.
41833         (libc_feresetround_sse_ctx): Likewise.
41834         (libc_feresetround_387_ctx): Likewise.
41835         (libc_feupdateenv_387_ctx): Likewise.
41836         (libc_feholdexcept_setroundf_ctx): Define macro.
41837         (libc_fesetenvf_ctx): Likewise.
41838         (libc_feupdateenvf_ctx): Likewise.
41839         (libc_feholdsetroundf_ctx): Likewise.
41840         (libc_feresetroundf_ctx): Likewise.
41841         (libc_feholdexcept_setround_ctx): Likewise.
41842         (libc_fesetenv_ctx): Likewise.
41843         (libc_feupdateenv_ctx): Likewise.
41844         (libc_feholdsetround_ctx): Likewise.
41845         (libc_feresetround_ctx): Likewise.
41846         (libc_feholdexcept_setroundl_ctx): Likewise.
41847         (libc_feupdateenvl_ctx): Likewise.
41848         (libc_feholdsetroundl_ctx): Likewise.
41849         (libc_feresetroundl_ctx): Likewise.
41850         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
41851         (libc_feresetround_53bit_ctx): Likewise.
41853 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41855         * locale/iso-639.def: Convert to UTF-8.
41857 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
41859         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
41860         (EXCEPTION_TESTS_double): Likewise.
41861         (EXCEPTION_TESTS_long_double): Likewise.
41862         (EXCEPTION_TESTS): Likewise.
41863         * math/libm-test.inc (test_exceptions): Only test exceptions if
41864         EXCEPTION_TESTS (FLOAT).
41866 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41868         * benchtests/Makefile (string-bench): Add strcpy_chk and
41869         stpcpy_chk.
41870         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
41871         * benchtests/bench-stpcpy_chk.c: New file.
41872         * benchtests/bench-strcpy_chk-ifunc.c: New file.
41873         * benchtests/bench-strcpy_chk.c: New file.
41874         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
41875         code.
41876         (do_test): Likewise.
41878 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41880         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
41881         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
41882         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
41883         with tabs where appropriate.
41884         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
41885         dl-procinfo.h.
41886         [PPC_PLATFORM_PPC440]: Likewise.
41887         [PPC_PLATFORM_PPC464]: Likewise.
41888         [PPC_PLATFORM_PPC476]: Likewise.
41889         (_dl_string_platform): Add support for detecting ppc405, ppc440,
41890         ppc464, and ppc476 platform strings merging from ports/
41891         dl-procinfo.h.
41893 2013-06-11  Andreas Schwab  <schwab@suse.de>
41895         [BZ #14991]
41896         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
41897         (from_ucs4_idx): Regenerate.
41898         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
41899         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
41900         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
41901         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
41902         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
41903         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
41904         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
41905         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
41906         from FROM_LOOP and TO_LOOP specific macros.
41907         (BODY): Handle combining characters.
41908         * iconvdata/BIG5HKSCS.irreversible: Update.
41909         * iconvdata/BIG5HKSCS.precomposed: New file.
41910         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
41911         characters.
41912         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
41914 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41916         * include/sys/time.h: Fix indentation and add copyright header.
41918         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
41919         (do_test): Likewise.
41920         * string/test-memchr.c (do_one_test): Likewise.
41921         (do_test): Likewise.
41922         * string/test-memcmp.c (do_one_test): Likewise.
41923         (do_test): Likewise.
41924         * string/test-memcpy.c (do_one_test): Likewise.
41925         (do_test): Likewise.
41926         * string/test-memmem.c (do_one_test): Likewise.
41927         (do_test): Likewise.
41928         (do_random_tests): Likewise.
41929         * string/test-memmove.c (do_one_test): Likewise.
41930         (do_test): Likewise.
41931         * string/test-memset.c (do_one_test): Likewise.
41932         (do_test): Likewise.
41933         * string/test-rawmemchr.c (do_one_test): Likewise.
41934         (do_test): Likewise.
41935         * string/test-strcasecmp.c (do_one_test): Likewise.
41936         (do_test): Likewise.
41937         * string/test-strcasestr.c (do_one_test): Likewise.
41938         (do_test): Likewise.
41939         * string/test-strcat.c (do_one_test): Likewise.
41940         (do_test): Likewise.
41941         * string/test-strchr.c (do_one_test): Likewise.
41942         (do_test): Likewise.
41943         * string/test-strcmp.c (do_one_test): Likewise.
41944         (do_test): Likewise.
41945         * string/test-strcpy.c (do_one_test): Likewise.
41946         (do_test): Likewise.
41947         * string/test-string.h: Likewise.
41948         (test_init): Likewise.
41949         * string/test-strlen.c (do_one_test): Likewise.
41950         (do_test): Likewise.
41951         * string/test-strncasecmp.c (do_one_test): Likewise.
41952         (do_test): Likewise.
41953         * string/test-strncat.c (do_one_test): Likewise.
41954         (do_test): Likewise.
41955         * string/test-strncmp.c (do_one_test): Likewise.
41956         (do_test_limit): Likewise.
41957         (do_test): Likewise.
41958         * string/test-strncpy.c (do_one_test): Likewise.
41959         (do_test): Likewise.
41960         * string/test-strnlen.c (do_one_test): Likewise.
41961         (do_test): Likewise.
41962         * string/test-strpbrk.c (do_one_test): Likewise.
41963         (do_test): Likewise.
41964         * string/test-strrchr.c (do_one_test): Likewise.
41965         (do_test): Likewise.
41966         * string/test-strspn.c (do_one_test): Likewise.
41967         (do_test): Likewise.
41968         * string/test-strstr.c (do_one_test): Likewise.
41969         (do_test): Likewise.
41971         * benchtests/Makefile (string-bench): Add string benchmarks.
41972         * benchtests/bench-bcopy-ifunc.c: New file.
41973         * benchtests/bench-bcopy.c: New file.
41974         * benchtests/bench-bzero-ifunc.c: New file.
41975         * benchtests/bench-bzero.c: New file.
41976         * benchtests/bench-memccpy-ifunc.c: New file.
41977         * benchtests/bench-memccpy.c: New file.
41978         * benchtests/bench-memchr-ifunc.c: New file.
41979         * benchtests/bench-memchr.c: New file.
41980         * benchtests/bench-memcmp-ifunc.c: New file.
41981         * benchtests/bench-memcmp.c: New file.
41982         * benchtests/bench-memmem-ifunc.c: New file.
41983         * benchtests/bench-memmem.c: New file.
41984         * benchtests/bench-memmove-ifunc.c: New file.
41985         * benchtests/bench-memmove.c: New file.
41986         * benchtests/bench-mempcpy-ifunc.c: New file.
41987         * benchtests/bench-mempcpy.c: New file.
41988         * benchtests/bench-memset-ifunc.c: New file.
41989         * benchtests/bench-memset.c: New file.
41990         * benchtests/bench-rawmemchr-ifunc.c: New file.
41991         * benchtests/bench-rawmemchr.c: New file.
41992         * benchtests/bench-stpcpy-ifunc.c: New file.
41993         * benchtests/bench-stpcpy.c: New file.
41994         * benchtests/bench-stpncpy-ifunc.c: New file.
41995         * benchtests/bench-stpncpy.c: New file.
41996         * benchtests/bench-strcasecmp-ifunc.c: New file.
41997         * benchtests/bench-strcasecmp.c: New file.
41998         * benchtests/bench-strcasestr-ifunc.c: New file.
41999         * benchtests/bench-strcasestr.c: New file.
42000         * benchtests/bench-strcat-ifunc.c: New file.
42001         * benchtests/bench-strcat.c: New file.
42002         * benchtests/bench-strchr-ifunc.c: New file.
42003         * benchtests/bench-strchr.c: New file.
42004         * benchtests/bench-strchrnul-ifunc.c: New file.
42005         * benchtests/bench-strchrnul.c: New file.
42006         * benchtests/bench-strcmp-ifunc.c: New file.
42007         * benchtests/bench-strcmp.c: New file.
42008         * benchtests/bench-strcpy-ifunc.c: New file.
42009         * benchtests/bench-strcpy.c: New file.
42010         * benchtests/bench-strcspn-ifunc.c: New file.
42011         * benchtests/bench-strcspn.c: New file.
42012         * benchtests/bench-strlen-ifunc.c: New file.
42013         * benchtests/bench-strlen.c: New file.
42014         * benchtests/bench-strncasecmp-ifunc.c: New file.
42015         * benchtests/bench-strncasecmp.c: New file.
42016         * benchtests/bench-strncat-ifunc.c: New file.
42017         * benchtests/bench-strncat.c: New file.
42018         * benchtests/bench-strncmp-ifunc.c: New file.
42019         * benchtests/bench-strncmp.c: New file.
42020         * benchtests/bench-strncpy-ifunc.c: New file.
42021         * benchtests/bench-strncpy.c: New file.
42022         * benchtests/bench-strnlen-ifunc.c: New file.
42023         * benchtests/bench-strnlen.c: New file.
42024         * benchtests/bench-strpbrk-ifunc.c: New file.
42025         * benchtests/bench-strpbrk.c: New file.
42026         * benchtests/bench-strrchr-ifunc.c: New file.
42027         * benchtests/bench-strrchr.c: New file.
42028         * benchtests/bench-strspn-ifunc.c: New file.
42029         * benchtests/bench-strspn.c: New file.
42030         * benchtests/bench-strstr-ifunc.c: New file.
42031         * benchtests/bench-strstr.c: New file.
42033         * benchtests/Makefile: Disable parallel execution of targets.
42034         (string-bench): Add memcpy.
42035         (benchset): New variable to store a list of benchmark sets.
42036         (bench-func): Renamed from bench.
42037         (bench-set): New target.
42038         (bench): Depend on bench-func and bench-set.
42039         * benchtests/README: Add section on benchmark sets.
42040         * benchtests/bench-memcpy-ifunc.c: New file.
42041         * benchtests/bench-memcpy.c: New file.
42042         * benchtests/bench-string.h: New file.
42044 2013-06-11  Andreas Schwab  <schwab@suse.de>
42046         [BZ #15577]
42047         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
42048         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
42049         values in the triple.
42050         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
42051         terminator in the group key.
42053 2013-06-11  Andreas Jaeger  <aj@suse.de>
42055         * po/zh_TW.po: Update Chinese (traditional) translation from
42056         translation project.
42058 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42060         * include/time.h (__clock_gettime): Add libc_hidden_proto.
42061         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
42062         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
42063         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42064         (clock_getcpuclockid): Likewise.
42065         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
42066         Add weak_alias and libc_hidden_def.
42067         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
42068         * rt/clock_gettime.c (clock_gettime): Rename to
42069         __clock_gettime.  Add weak_alias and libc_hidden_def.
42070         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
42071         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
42072         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
42073         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
42074         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
42075         Likewise.
42076         * rt/clock_settime.c (clock_settime): Rename to
42077         __clock_settime.  Add weak_alias and libc_hidden_def.
42078         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
42080 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
42082         * mach/err_boot.sub: Remove trailing whitespace.
42083         * mach/err_ipc.sub: Likewise.
42084         * mach/err_mach.sub: Likewise.
42086         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
42087         (ROUNDING_TESTS_double): Likewise.
42088         (ROUNDING_TESTS_long_double): Likewise.
42089         (ROUNDING_TESTS): Likewise.
42090         * math/libm-test.inc: Include <math-tests.h>.
42091         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
42092         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42093         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42094         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42096 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42098         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
42099         of assigning.
42101 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
42103         * sysdeps/gnu/errlist.awk: Do not generate space at end of
42104         otherwise empty TRANS lines.
42105         * sysdeps/gnu/errlist.c: Regenerated.
42107         * catgets/gencat.c (error_print): Use (void) in function
42108         definition.
42109         * crypt/crypt_util.c (__init_des): Likewise.
42110         * crypt/speeds.c (Stop): Likewise.
42111         (main): Likewise.
42112         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
42113         * inet/ruserpass.c (token): Likewise.
42114         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
42115         * intl/localealias.c (extend_alias_table): Likewise.
42116         * intl/plural-exp.c (init_germanic_plural): Likewise.
42117         * libio/fcloseall.c (__fcloseall): Likewise.
42118         * libio/genops.c (_IO_flush_all): Likewise.
42119         (_IO_flush_all_linebuffered): Likewise.
42120         (_IO_cleanup): Likewise.
42121         (_IO_iter_begin): Likewise.
42122         (_IO_iter_end): Likewise.
42123         (_IO_list_lock): Likewise.
42124         (_IO_list_unlock): Likewise.
42125         (_IO_list_resetlock): Likewise.
42126         * libio/getchar.c (getchar): Likewise.
42127         * libio/getchar_u.c (getchar_unlocked): Likewise.
42128         * libio/getwchar.c (getwchar): Likewise.
42129         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
42130         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
42131         * login/getpt.c (__getpt): Likewise.
42132         * login/tst-utmp.c (main): Likewise.
42133         * malloc/hooks.c (__malloc_check_init): Likewise.
42134         * malloc/malloc.c (__malloc_stats): Likewise.
42135         * malloc/mtrace.c (tr_break): Likewise.
42136         (mtrace): Likewise.
42137         (muntrace): Likewise.
42138         * misc/fstab.c (endfsent): Likewise.
42139         * misc/getclktck.c (__getclktck): Likewise.
42140         * misc/getdtsz.c (__getdtablesize): Likewise.
42141         * misc/gethostid.c (gethostid): Likewise.
42142         * misc/getpagesize.c (__getpagesize): Likewise.
42143         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
42144         (__get_nprocs): Likewise.
42145         (__get_phys_pages): Likewise.
42146         (__get_avphys_pages): Likewise.
42147         * misc/getttyent.c (getttyent): Likewise.
42148         (setttyent): Likewise.
42149         (endttyent): Likewise.
42150         * misc/getusershell.c (getusershell): Likewise.
42151         (endusershell): Likewise.
42152         (setusershell): Likewise.
42153         (initshells): Likewise.
42154         * misc/hsearch.c (__hdestroy): Likewise.
42155         * misc/sync.c (sync): Likewise.
42156         * misc/syslog.c (closelog_internal): Likewise.
42157         (closelog): Likewise.
42158         * misc/ttyslot.c (ttyslot): Likewise.
42159         * misc/vhangup.c (vhangup): Likewise.
42160         * posix/fork.c (__fork): Likewise.
42161         * posix/getegid.c (__getegid): Likewise.
42162         * posix/geteuid.c (__geteuid): Likewise.
42163         * posix/getgid.c (__getgid): Likewise.
42164         * posix/getpid.c (__getpid): Likewise.
42165         * posix/getppid.c (__getppid): Likewise.
42166         * posix/getuid.c (__getuid): Likewise.
42167         * posix/pause.c (pause): Likewise.
42168         * posix/setpgrp.c (setpgrp): Likewise.
42169         * posix/setsid.c (__setsid): Likewise.
42170         * posix/test-vfork.c (noop): Likewise.
42171         * resolv/gethnamaddr.c (_endhtent): Likewise.
42172         (_gethtent): Likewise.
42173         (ht_endhostent): Likewise.
42174         (gethostent): Likewise.
42175         (dns_service): Likewise.
42176         * stdlib/drand48.c (drand48): Likewise.
42177         * stdlib/lrand48.c (lrand48): Likewise.
42178         * stdlib/mrand48.c (mrand48): Likewise.
42179         * stdlib/rand.c (rand): Likewise.
42180         * stdlib/random.c (__random): Likewise.
42181         * stdlib/setenv.c (clearenv): Likewise.
42182         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
42183         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
42184         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
42185         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
42186         (__get_nprocs): Likewise.
42187         (__get_phys_pages): Likewise.
42188         (__get_avphys_pages): Likewise.
42189         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
42190         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
42191         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
42192         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
42193         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
42194         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
42195         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
42196         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
42197         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
42198         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
42199         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
42200         * sysdeps/mach/hurd/sync.c (sync): Likewise.
42201         * sysdeps/posix/clock.c (clock): Likewise.
42202         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
42203         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
42204         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
42205         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
42206         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
42207         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
42208         (__get_nprocs_conf): Likewise.
42209         (__get_phys_pages): Likewise.
42210         (__get_avphys_pages): Likewise.
42211         * time/clock.c (clock): Likewise.
42212         * time/tzset.c (__tzname_max): Likewise.
42214 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
42216         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
42217         (__bswap_32): Do not use "register".
42218         * crypt/crypt.c (_ufc_doit_r): Likewise.
42219         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42220         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42221         * gmon/gmon.c (__monstartup): Likewise.
42222         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
42223         * hurd/hurdmalloc.c (more_memory): Likewise.
42224         (malloc): Likewise.
42225         (free): Likewise.
42226         (realloc): Likewise.
42227         (malloc_fork_prepare): Likewise.
42228         (malloc_fork_parent): Likewise.
42229         (malloc_fork_child): Likewise.
42230         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
42231         (_svcauth_des): Likewise.
42232         * inet/inet_lnaof.c (inet_lnaof): Likewise.
42233         * inet/inet_net.c (inet_network): Likewise.
42234         * inet/inet_netof.c (inet_netof): Likewise.
42235         * inet/rcmd.c (__validuser2_sa): Likewise.
42236         * io/fts.c (fts_open): Likewise.
42237         (fts_load): Likewise.
42238         (fts_close): Likewise.
42239         (fts_read): Likewise.
42240         (fts_children): Likewise.
42241         (fts_build): Likewise.
42242         (fts_stat): Likewise.
42243         (fts_sort): Likewise.
42244         (fts_alloc): Likewise.
42245         (fts_lfree): Likewise.
42246         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
42247         (_IO_file_xsgetn): Likewise.
42248         (_IO_file_xsgetn_mmap): Likewise.
42249         * libio/iofopncook.c (_IO_cookie_read): Likewise.
42250         (_IO_cookie_write): Likewise.
42251         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
42252         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
42253         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
42254         * malloc/obstack.c (_obstack_begin): Likewise.
42255         (_obstack_begin_1): Likewise.
42256         (_obstack_newchunk): Likewise.
42257         (_obstack_allocated_p): Likewise.
42258         (obstack_free): Likewise.
42259         (_obstack_memory_used): Likewise.
42260         * misc/getttyent.c (getttynam): Likewise.
42261         (getttyent): Likewise.
42262         (skip): Likewise.
42263         (value): Likewise.
42264         * misc/getusershell.c (initshells): Likewise.
42265         * misc/syslog.c (__vsyslog_chk): Likewise.
42266         * misc/ttyslot.c (ttyslot): Likewise.
42267         * nis/nis_hash.c (__nis_hash): Likewise.
42268         * posix/fnmatch_loop.c (FCT): Likewise.
42269         * posix/getconf.c (print_all): Likewise.
42270         (main): Likewise.
42271         * posix/getopt.c (exchange): Likewise.
42272         * posix/glob.c (globfree): Likewise.
42273         (prefix_array): Likewise.
42274         (__glob_pattern_type): Likewise.
42275         * resolv/arpa/nameser.h (NS_GET16): Likewise.
42276         (NS_GET32): Likewise.
42277         (NS_PUT16): Likewise.
42278         (NS_PUT32): Likewise.
42279         * resolv/gethnamaddr.c (getanswer): Likewise.
42280         (gethostbyname2): Likewise.
42281         (gethostbyaddr): Likewise.
42282         (_gethtent): Likewise.
42283         (_gethtbyname2): Likewise.
42284         (_gethtbyaddr): Likewise.
42285         * resolv/ns_print.c (dst_s_get_int16): Likewise.
42286         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
42287         * resolv/res_init.c (__res_vinit): Likewise.
42288         (net_mask): Likewise.
42289         * resolv/res_mkquery.c (outchar): Likewise.
42290         (PRINT): Likewise.
42291         * stdio-common/printf_fp.c (outchar): Likewise.
42292         (PRINT): Likewise.
42293         * stdio-common/printf_fphex.c (outchar): Likewise.
42294         (PRINT): Likewise.
42295         * stdio-common/printf_size.c (outchar): Likewise.
42296         (PRINT): Likewise.
42297         * stdio-common/test_rdwr.c (main): Likewise.
42298         * stdio-common/tfformat.c (matches): Likewise.
42299         * stdio-common/vfprintf.c (outchar): Likewise.
42300         (printf_unknown): Likewise.
42301         (buffered_vfprintf): Likewise.
42302         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42303         * stdio-common/xbug.c (AppendToBuffer): Likewise.
42304         (ReadFile): Likewise.
42305         * stdlib/qsort.c (SWAP): Likewise.
42306         (_quicksort): Likewise.
42307         * stdlib/setenv.c (__add_to_environ): Likewise.
42308         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42309         * stdlib/strtol_l.c (__strtol_l): Likewise.
42310         * stdlib/tst-strtod.c (main): Likewise.
42311         * stdlib/tst-strtol.c (main): Likewise.
42312         * stdlib/tst-strtoll.c (main): Likewise.
42313         * string/bits/string2.h (__strcmp_cc): Likewise.
42314         (__strcmp_cg): Likewise.
42315         (__strcspn_c1): Likewise.
42316         (__strcspn_c2): Likewise.
42317         (__strcspn_c3): Likewise.
42318         (__strspn_c1): Likewise.
42319         (__strspn_c2): Likewise.
42320         (__strspn_c3): Likewise.
42321         (__strsep_1c): Likewise.
42322         (__strsep_2c): Likewise.
42323         (__strsep_3c): Likewise.
42324         * string/memccpy.c (__memccpy): Likewise.
42325         * string/stpcpy.c (__stpcpy): Likewise.
42326         * string/strcmp.c (strcmp): Likewise.
42327         * string/strrchr.c (strrchr): Likewise.
42328         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
42329         Likewise.
42330         * sysdeps/mach/hurd/getcwd.c
42331         (_hurd_canonicalize_directory_name_internal): Likewise.
42332         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
42333         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
42334         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
42335         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
42336         Likewise, in both definitions.
42337         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
42338         definitions.
42339         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
42340         64] (__bswap_64): Likewise.
42341         * time/test_time.c (main): Likewise.
42342         * time/tzfile.c (__tzfile_read): Likewise.
42343         (__tzfile_compute): Likewise.
42344         * time/tzset.c (__tzset_parse_tz): Likewise.
42345         (tzset_internal): Likewise.
42346         (compute_change): Likewise.
42347         * wcsmbs/wcscat.c (__wcscat): Likewise.
42348         * wcsmbs/wcschr.c (wcschr): Likewise.
42349         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
42350         * wcsmbs/wcscspn.c (wcscspn): Likewise.
42351         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
42352         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
42353         * wcsmbs/wcsspn.c (wcsspn): Likewise.
42354         * wcsmbs/wcsstr.c (wcsstr): Likewise.
42355         * wcsmbs/wmemchr.c (wmemchr): Likewise.
42356         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42357         * wcsmbs/wmemset.c (wmemset): Likewise.
42359 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
42361         * scripts/config.guess: Update to version 2013-05-16.
42362         * scripts/config.sub: Update to version 2013-04-24.
42363         * scripts/install-sh: Update to version 2011-11-20.07.
42364         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
42365         * scripts/move-if-change: Update to version 2012-01-06 07:23.
42367 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
42369         * debug/fgetws_u_chk.c: Fix leading whitespaces.
42370         * elf/sln.c: Likewise.
42371         * hurd/hurd/ioctl.h: Likewise.
42372         * hurd/hurdmalloc.c: Likewise.
42373         * hurd/xattr.c: Likewise.
42374         * include/shlib-compat.h: Likewise.
42375         * inet/ruserpass.c: Likewise.
42376         * libio/iofgets_u.c: Likewise.
42377         * libio/iofgetws_u.c: Likewise.
42378         * locale/programs/ld-identification.c: Likewise.
42379         * locale/programs/ld-time.c: Likewise.
42380         * mach/msg-destroy.c: Likewise.
42381         * nss/nss_files/files-netgrp.c: Likewise.
42382         * resolv/res_data.c: Likewise.
42383         * soft-fp/op-1.h: Likewise.
42384         * soft-fp/op-2.h: Likewise.
42385         * soft-fp/op-4.h: Likewise.
42386         * soft-fp/op-common.h: Likewise.
42387         * stdio-common/printf_fphex.c: Likewise.
42388         * stdlib/strtod_l.c: Likewise.
42389         * sunrpc/rpc/clnt.h: Likewise.
42390         * sysdeps/generic/framestate.c: Likewise.
42391         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42392         * sysdeps/i386/bsd-setjmp.S: Likewise.
42393         * sysdeps/i386/__longjmp.S: Likewise.
42394         * sysdeps/i386/setjmp.S: Likewise.
42395         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42396         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42397         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42398         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42399         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42400         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42401         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42402         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42403         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42404         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42405         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42406         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42407         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42408         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42409         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42410         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42411         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42412         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
42413         * sysdeps/ieee754/support.c: Likewise.
42414         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42415         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
42416         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
42417         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
42418         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
42419         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
42420         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
42421         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
42422         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
42423         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
42424         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
42425         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
42426         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
42427         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
42428         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
42429         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
42430         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42433 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
42435         * posix/transbug.c: Remove executable mode.
42437 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
42439         * crypt/speeds.c: Remove trailing whitespace.
42440         * dlfcn/default.c: Likewise.
42441         * elf/ifuncdep2.c: Likewise.
42442         * elf/ifuncmain1.c: Likewise.
42443         * elf/ifuncmain1vis.c: Likewise.
42444         * elf/testobj.h: Likewise.
42445         * elf/tst-stackguard1.c: Likewise.
42446         * gmon/sys/gmon.h: Likewise.
42447         * hurd/hurdmsg.c: Likewise.
42448         * hurd/new-fd.c: Likewise.
42449         * hurd/ports-get.c: Likewise.
42450         * iconvdata/ibm1008_420.c: Likewise.
42451         * inet/tst-getni1.c: Likewise.
42452         * inet/tst-getni2.c: Likewise.
42453         * libio/ioungetc.c: Likewise.
42454         * libio/wfiledoalloc.c: Likewise.
42455         * manual/libm-err-tab.pl: Likewise.
42456         * math/w_dremf.c: Likewise.
42457         * misc/ftruncate.c: Likewise.
42458         * posix/bug-glob2.c: Likewise.
42459         * posix/tst-pcre.c: Likewise.
42460         * posix/wait4.c: Likewise.
42461         * resolv/README: Likewise.
42462         * resolv/res_debug.h: Likewise.
42463         * resolv/tst-inet_ntop.c: Likewise.
42464         * setjmp/bug269-setjmp.c: Likewise.
42465         * soft-fp/extended.h: Likewise.
42466         * soft-fp/op-1.h: Likewise.
42467         * soft-fp/op-2.h: Likewise.
42468         * soft-fp/op-4.h: Likewise.
42469         * soft-fp/op-8.h: Likewise.
42470         * soft-fp/testit.c: Likewise.
42471         * stdio-common/bug16.c: Likewise.
42472         * stdlib/random.c: Likewise.
42473         * sunrpc/rpcsvc/rquota.x: Likewise.
42474         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
42475         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42476         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42477         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42478         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42479         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42480         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42481         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42482         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42483         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42484         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42485         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42486         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42487         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42488         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42489         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42490         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42491         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42492         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42493         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42494         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42495         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42496         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
42497         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42498         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42499         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42500         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42501         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42502         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42503         * sysdeps/ieee754/s_lib_version.c: Likewise.
42504         * sysdeps/mach/hurd/check_fds.c: Likewise.
42505         * sysdeps/mach/hurd/getsockname.c: Likewise.
42506         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
42507         * sysdeps/mach/hurd/recvfrom.c: Likewise.
42508         * sysdeps/powerpc/bits/link.h: Likewise.
42509         * sysdeps/powerpc/dl-procinfo.c: Likewise.
42510         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
42511         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
42512         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
42513         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42514         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42515         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
42516         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42517         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
42518         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42519         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42520         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42521         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
42522         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42523         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42524         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42525         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42526         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42527         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42528         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42529         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42530         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
42531         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42532         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42533         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
42534         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42535         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42536         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42537         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42538         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42539         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42540         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42541         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42542         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42543         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
42544         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42545         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
42546         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42547         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42548         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
42549         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
42550         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
42551         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
42552         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
42553         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42554         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
42555         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
42556         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42557         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
42558         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
42559         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42560         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42561         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42562         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42563         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
42564         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42565         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42566         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42567         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
42568         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42569         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
42570         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
42571         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
42572         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42573         * sysdeps/powerpc/sysdep.h: Likewise.
42574         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42575         * sysdeps/s390/s390-64/sub_n.S: Likewise.
42576         * sysdeps/sh/dl-trampoline.S: Likewise.
42577         * sysdeps/sh/memset.S: Likewise.
42578         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
42579         * sysdeps/sh/strlen.S: Likewise.
42580         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
42581         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
42582         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
42583         * sysdeps/sparc/sparc32/rem.S: Likewise.
42584         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
42585         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
42586         * sysdeps/sparc/sparc32/strchr.S: Likewise.
42587         * sysdeps/sparc/sparc32/udiv.S: Likewise.
42588         * sysdeps/sparc/sparc32/urem.S: Likewise.
42589         * sysdeps/sparc/sparc64/add_n.S: Likewise.
42590         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42591         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
42592         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
42593         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
42594         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
42595         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
42596         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
42597         * sysdeps/unix/bsd/times.c: Likewise.
42598         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
42599         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
42600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42603         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42604         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42605         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42606         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42607         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42608         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42609         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42610         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42611         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42612         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42613         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42614         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42615         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42616         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42617         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42618         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42619         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42620         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42621         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42622         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42623         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42624         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42625         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42626         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42627         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42628         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42629         * sysdeps/x86_64/strcspn.S: Likewise.
42631 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42633         * locale/C-translit.h: Revert #include <stdint.h> because this is a
42634         generated file.  Regenerate properly from gen-translit.pl.
42635         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
42636         locale/C-translit.h.
42638 2013-06-05  Andreas Schwab  <schwab@suse.de>
42640         [BZ #15100]
42641         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42642         week as 6 instead of -1.
42643         * time/tst-strptime.c (day_tests): Add test case.
42645 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42647         * sysdeps/generic/math_private.h
42648         (libc_feholdexcept_setround_53bit): Replace with
42649         libc_feholdsetround_53bit.
42650         (libc_feupdateenv_53bit): Replace with
42651         libc_feresetround_53bit.
42652         (SET_RESTORE_ROUND_53BIT): Adjust.
42654 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42656         * string/test-strchrnul.c: Add copyright header.
42658         * posix/tst-getaddrinfo4.c: Increase test timeout.
42660 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
42662         [BZ #15536]
42663         * math/libm-test.inc (MAX_EXP): Remove
42664         (MIN_EXP): Define.
42665         (ulp): Use MIN_EXP - MANT_DIG.
42666         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42668 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
42670         * po/be.po: Revert last change.
42671         * po/zh_CN.po: Likewise.
42672         * po/header.pot: Likewise.
42674 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
42676         * Makefile ($(common-objpfx)linkobj/libc.so): Define
42677         link-libc-deps to empty as target-specific variable.
42678         * Makerules (link-libc-args): New variable.
42679         (libc-for-link): Likewise.
42680         (link-libc-deps): Likewise.
42681         (lib%.so): Depend on $(link-libc-deps).  Link with
42682         $(link-libc-args).
42683         (build-module): Link with $(link-libc-args).
42684         (build-module-asneeded): Likewise.
42685         (build-module-helper-objlist): Filter out $(link-libc-deps) from
42686         list of objects.
42687         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42688         target-specific variable.
42689         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42690         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42691         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42692         libc.
42693         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42694         libc and ld.so.
42695         ($(objpfx)libpcprofile.so): Likewise.
42696         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42697         libc_nonshared.a.
42698         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42699         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42700         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42701         $(link-libc-deps).
42702         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42703         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42704         * login/Makefile ($(objpfx)libutil.so): Likewise.
42705         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42706         * math/Makefile ($(objpfx)libm.so): Likewise.
42707         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42708         $(objpfx)libnsl.so): Define libc-for-link as target-specific
42709         variable instead of depending directly on libc.
42710         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42711         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42712         $(link-libc-deps).
42713         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42714         libc.
42715         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42716         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42717         ($(objpfx)libanl.so): Likewise.
42718         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42719         ld.so.
42720         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42721         $(link-libc-deps).
42722         * sysdeps/i386/fpu/Makefile: Remove file.
42723         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42724         ($(objpfx)libm.so): Remove dependency on ld.so.
42726 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
42728         [BZ # 15553]
42729         * nis/yp_xdr.c (XDRMAXNAME): Define.
42730         (XDRMAXRECORD): Define.
42731         (xdr_domainname): Use XDRMAXNAME.
42732         (xdr_mapname): Likewise.
42733         (xdr_peername): Likewise.
42734         (xdr_keydat): Use XDRMAXRECORD.
42735         (xdr_valdat): Likewise.
42737 2013-05-30  Jeff Law  <law@redhat.com>
42739         [BZ #14256]
42740         * manual/errno.texi (ESTALE): Update to account for more than
42741         just NFS file systems.
42742         * sysdeps/gnu/errlist.c: Regenerated.
42744 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42746         [BZ #15465]
42747         * elf/Makefile (tests): Add tst-null-argv.
42748         (modules-names):  Add tst-null-argv-lib.
42749         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42750         (tst-null-argv-ENV): Set environment for tst-null-argv.
42751         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42752         (RTLD_PROGNAME): New macro.
42753         * elf/tst-null-argv.c: New test case.
42754         * elf/tst-null-argv-lib.c: Library for test case.
42755         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42756         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42757         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
42758         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
42759         * elf/dl-init.c (call_init): Likewise.
42760         (_dl_init): Likewise.
42761         * elf/dl-load.c (print_search_path): Likewise.
42762         (_dl_map_object): Likewise.
42763         * elf/dl-lookup.c (do_lookup_x): Likewise.
42764         (add_dependency): Likewise.
42765         (_dl_lookup_symbol_x): Likewise.
42766         (_dl_debug_bindings): Likewise.
42767         * elf/dl-open.c (_dl_show_scope): Likewise.
42768         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42769         * elf/dl-version.c (match_symbol): Likewise.
42770         (_dl_check_map_versions): Likewise.
42771         * elf/rtld.c (dl_main): Likewise.
42772         (print_unresolved): Use RTLD_PROGNAME.
42773         (print_missing_version): Likewise.
42774         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
42775         (elf_machine_rela): Likewise.
42776         * sysdeps/powerpc/powerpc32/dl-machine.c
42777         (__process_machine_rela): Likewise.
42778         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42779         Likewise.
42780         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42781         Likewise.
42782         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42783         Likewise.
42784         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42785         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
42786         Likewise.
42787         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
42788         Likewise.
42789         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42791 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
42793         * po/be.po: Add descriptive title.
42794         * po/zh_CN.po: Likewise.
42795         * po/header.pot: Likewise.
42797 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
42799         * locale/programs/locarchive.c (create_archive): Inlucde fname in
42800         error message.
42801         (enlarge_archive): Likewise.
42803 2013-05-28  Ben North  <ben@redfrontdoor.org>
42805         * manual/arith.texi (frexp): It is the magnitude of the return
42806         value which lies in [0.5, 1), not the return value itself.
42808 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42812 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
42814         * stdio-common/bug26.c (main): Correct fscanf template.
42816         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
42817         declare _dl_skip_args.
42819         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
42820         Don't declare.
42822         * manual/platform.texi: Add missing @end deftypefun.
42824 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42826         [BZ #15529]
42827         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
42828         bit of mantissa of 2^16382.
42829         * math/libm-test.inc (hypot_test_data): Add more tests.
42831         * math/libm-test.inc: Add drem and pow10 to list of tested
42832         functions.
42833         (pow10_test): New function.
42834         (drem_test): Likewise.
42835         (drem_test_tonearest): Likewise.
42836         (drem_test_towardzero): Likewise.
42837         (drem_test_downward): Likewise.
42838         (drem_test_upward): Likewise.
42839         (main): Call the new functions.
42841         * math/libm-test.inc (finite_test_data): Remove.
42842         (finite_test): Run tests from isfinite_test_data.
42843         (gamma_test_data): Remove.
42844         (gamma_test): Run tests from lgamma_test_data.
42845         * sysdeps/i386/fpu/libm-test-ulps: Update.
42846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42848 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42850         * manual/platform.texi: Add PowerPC PPR function set documentation.
42851         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
42852         implementation.
42854 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
42856         * math/libm-test.inc (MAX_EXP): Define.
42857         (ULPDIFF): Define.
42858         (ulp): New function.
42859         (check_float_internal): Use ULPDIFF.
42860         (cpow_test): Disable failing test.
42861         (check_ulp): Test ulp() implemetnation.
42862         (main): Call check_ulp before starting tests.
42864 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42866         * math/gen-libm-test.pl (generate_testfile): Do not handle
42867         START_DATA and END_DATA.
42868         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
42869         END_DATA.
42870         (acos_tonearest_test_data): Likewise.
42871         (acos_towardzero_test_data): Likewise.
42872         (acos_downward_test_data): Likewise.
42873         (acos_upward_test_data): Likewise.
42874         (acosh_test_data): Likewise.
42875         (asin_test_data): Likewise.
42876         (asin_tonearest_test_data): Likewise.
42877         (asin_towardzero_test_data): Likewise.
42878         (asin_downward_test_data): Likewise.
42879         (asin_upward_test_data): Likewise.
42880         (asinh_test_data): Likewise.
42881         (atan_test_data): Likewise.
42882         (atanh_test_data): Likewise.
42883         (atan2_test_data): Likewise.
42884         (cabs_test_data): Likewise.
42885         (cacos_test_data): Likewise.
42886         (cacosh_test_data): Likewise.
42887         (carg_test_data): Likewise.
42888         (casin_test_data): Likewise.
42889         (casinh_test_data): Likewise.
42890         (catan_test_data): Likewise.
42891         (catanh_test_data): Likewise.
42892         (cbrt_test_data): Likewise.
42893         (ccos_test_data): Likewise.
42894         (ccosh_test_data): Likewise.
42895         (ceil_test_data): Likewise.
42896         (cexp_test_data): Likewise.
42897         (cimag_test_data): Likewise.
42898         (clog_test_data): Likewise.
42899         (clog10_test_data): Likewise.
42900         (conj_test_data): Likewise.
42901         (copysign_test_data): Likewise.
42902         (cos_test_data): Likewise.
42903         (cos_tonearest_test_data): Likewise.
42904         (cos_towardzero_test_data): Likewise.
42905         (cos_downward_test_data): Likewise.
42906         (cos_upward_test_data): Likewise.
42907         (cosh_test_data): Likewise.
42908         (cosh_tonearest_test_data): Likewise.
42909         (cosh_towardzero_test_data): Likewise.
42910         (cosh_downward_test_data): Likewise.
42911         (cosh_upward_test_data): Likewise.
42912         (cpow_test_data): Likewise.
42913         (cproj_test_data): Likewise.
42914         (creal_test_data): Likewise.
42915         (csin_test_data): Likewise.
42916         (csinh_test_data): Likewise.
42917         (csqrt_test_data): Likewise.
42918         (ctan_test_data): Likewise.
42919         (ctan_tonearest_test_data): Likewise.
42920         (ctan_towardzero_test_data): Likewise.
42921         (ctan_downward_test_data): Likewise.
42922         (ctan_upward_test_data): Likewise.
42923         (ctanh_test_data): Likewise.
42924         (ctanh_tonearest_test_data): Likewise.
42925         (ctanh_towardzero_test_data): Likewise.
42926         (ctanh_downward_test_data): Likewise.
42927         (ctanh_upward_test_data): Likewise.
42928         (erf_test_data): Likewise.
42929         (erfc_test_data): Likewise.
42930         (exp_test_data): Likewise.
42931         (exp_tonearest_test_data): Likewise.
42932         (exp_towardzero_test_data): Likewise.
42933         (exp_downward_test_data): Likewise.
42934         (exp_upward_test_data): Likewise.
42935         (exp10_test_data): Likewise.
42936         (exp2_test_data): Likewise.
42937         (expm1_test_data): Likewise.
42938         (fabs_test_data): Likewise.
42939         (fdim_test_data): Likewise.
42940         (finite_test_data): Likewise.
42941         (floor_test_data): Likewise.
42942         (fma_test_data): Likewise.
42943         (fma_towardzero_test_data): Likewise.
42944         (fma_downward_test_data): Likewise.
42945         (fma_upward_test_data): Likewise.
42946         (fmax_test_data): Likewise.
42947         (fmin_test_data): Likewise.
42948         (fmod_test_data): Likewise.
42949         (fpclassify_test_data): Likewise.
42950         (frexp_test_data): Likewise.
42951         (gamma_test_data): Likewise.
42952         (hypot_test_data): Likewise.
42953         (ilogb_test_data): Likewise.
42954         (isfinite_test_data): Likewise.
42955         (isgreater_test_data): Likewise.
42956         (isgreaterequal_test_data): Likewise.
42957         (isinf_test_data): Likewise.
42958         (isless_test_data): Likewise.
42959         (islessequal_test_data): Likewise.
42960         (islessgreater_test_data): Likewise.
42961         (isnan_test_data): Likewise.
42962         (isnormal_test_data): Likewise.
42963         (issignaling_test_data): Likewise.
42964         (isunordered_test_data): Likewise.
42965         (j0_test_data): Likewise.
42966         (j1_test_data): Likewise.
42967         (jn_test_data): Likewise.
42968         (ldexp_test_data): Likewise.
42969         (lgamma_test_data): Likewise.
42970         (lrint_test_data): Likewise.
42971         (lrint_tonearest_test_data): Likewise.
42972         (lrint_towardzero_test_data): Likewise.
42973         (lrint_downward_test_data): Likewise.
42974         (lrint_upward_test_data): Likewise.
42975         (llrint_test_data): Likewise.
42976         (llrint_tonearest_test_data): Likewise.
42977         (llrint_towardzero_test_data): Likewise.
42978         (llrint_downward_test_data): Likewise.
42979         (llrint_upward_test_data): Likewise.
42980         (log_test_data): Likewise.
42981         (log10_test_data): Likewise.
42982         (log1p_test_data): Likewise.
42983         (log2_test_data): Likewise.
42984         (logb_test_data): Likewise.
42985         (logb_downward_test_data): Likewise.
42986         (lround_test_data): Likewise.
42987         (llround_test_data): Likewise.
42988         (modf_test_data): Likewise.
42989         (nearbyint_test_data): Likewise.
42990         (nextafter_test_data): Likewise.
42991         (nexttoward_test_data): Likewise.
42992         (pow_test_data): Likewise.
42993         (pow_tonearest_test_data): Likewise.
42994         (pow_towardzero_test_data): Likewise.
42995         (pow_downward_test_data): Likewise.
42996         (pow_upward_test_data): Likewise.
42997         (remainder_test_data): Likewise.
42998         (remainder_tonearest_test_data): Likewise.
42999         (remainder_towardzero_test_data): Likewise.
43000         (remainder_downward_test_data): Likewise.
43001         (remainder_upward_test_data): Likewise.
43002         (remquo_test_data): Likewise.
43003         (rint_test_data): Likewise.
43004         (rint_tonearest_test_data): Likewise.
43005         (rint_towardzero_test_data): Likewise.
43006         (rint_downward_test_data): Likewise.
43007         (rint_upward_test_data): Likewise.
43008         (round_test_data): Likewise.
43009         (scalb_test_data): Likewise.
43010         (scalbn_test_data): Likewise.
43011         (scalbln_test_data): Likewise.
43012         (signbit_test_data): Likewise.
43013         (sin_test_data): Likewise.
43014         (sin_tonearest_test_data): Likewise.
43015         (sin_towardzero_test_data): Likewise.
43016         (sin_downward_test_data): Likewise.
43017         (sin_upward_test_data): Likewise.
43018         (sincos_test_data): Likewise.
43019         (sinh_test_data): Likewise.
43020         (sinh_tonearest_test_data): Likewise.
43021         (sinh_towardzero_test_data): Likewise.
43022         (sinh_downward_test_data): Likewise.
43023         (sinh_upward_test_data): Likewise.
43024         (sqrt_test_data): Likewise.
43025         (tan_test_data): Likewise.
43026         (tan_tonearest_test_data): Likewise.
43027         (tan_towardzero_test_data): Likewise.
43028         (tan_downward_test_data): Likewise.
43029         (tan_upward_test_data): Likewise.
43030         (tanh_test_data): Likewise.
43031         (tgamma_test_data): Likewise.
43032         (trunc_test_data): Likewise.
43033         (y0_test_data): Likewise.
43034         (y1_test_data): Likewise.
43035         (yn_test_data): Likewise.
43036         (significand_test_data): Likewise.
43038         * math/gen-libm-test.pl (@functions): Remove variable.
43039         (generate_testfile): Don't handle START and END lines.
43040         * math/libm-test.inc (START): New macro.
43041         (END): Likewise.
43042         (END_COMPLEX): Likewise.
43043         (acos_test): Use END macro without arguments.
43044         (acos_test_tonearest): Likewise.
43045         (acos_test_towardzero): Likewise.
43046         (acos_test_downward): Likewise.
43047         (acos_test_upward): Likewise.
43048         (acosh_test): Likewise.
43049         (asin_test): Likewise.
43050         (asin_test_tonearest): Likewise.
43051         (asin_test_towardzero): Likewise.
43052         (asin_test_downward): Likewise.
43053         (asin_test_upward): Likewise.
43054         (asinh_test): Likewise.
43055         (atan_test): Likewise.
43056         (atanh_test): Likewise.
43057         (atan2_test): Likewise.
43058         (cabs_test): Likewise.
43059         (cacos_test): Use END_COMPLEX macro without arguments.
43060         (cacosh_test): Likewise.
43061         (carg_test): Use END macro without arguments.
43062         (casin_test): Use END_COMPLEX macro without arguments.
43063         (casinh_test): Likewise.
43064         (catan_test): Likewise.
43065         (catanh_test): Likewise.
43066         (cbrt_test): Use END macro without arguments.
43067         (ccos_test): Use END_COMPLEX macro without arguments.
43068         (ccosh_test): Likewise.
43069         (ceil_test): Use END macro without arguments.
43070         (cexp_test): Use END_COMPLEX macro without arguments.
43071         (cimag_test): Use END macro without arguments.
43072         (clog_test): Use END_COMPLEX macro without arguments.
43073         (clog10_test): Likewise.
43074         (conj_test): Likewise.
43075         (copysign_test): Use END macro without arguments.
43076         (cos_test): Likewise.
43077         (cos_test_tonearest): Likewise.
43078         (cos_test_towardzero): Likewise.
43079         (cos_test_downward): Likewise.
43080         (cos_test_upward): Likewise.
43081         (cosh_test): Likewise.
43082         (cosh_test_tonearest): Likewise.
43083         (cosh_test_towardzero): Likewise.
43084         (cosh_test_downward): Likewise.
43085         (cosh_test_upward): Likewise.
43086         (cpow_test): Use END_COMPLEX macro without arguments.
43087         (cproj_test): Likewise.
43088         (creal_test): Use END macro without arguments.
43089         (csin_test): Use END_COMPLEX macro without arguments.
43090         (csinh_test): Likewise.
43091         (csqrt_test): Likewise.
43092         (ctan_test): Likewise.
43093         (ctan_test_tonearest): Likewise.
43094         (ctan_test_towardzero): Likewise.
43095         (ctan_test_downward): Likewise.
43096         (ctan_test_upward): Likewise.
43097         (ctanh_test): Likewise.
43098         (ctanh_test_tonearest): Likewise.
43099         (ctanh_test_towardzero): Likewise.
43100         (ctanh_test_downward): Likewise.
43101         (ctanh_test_upward): Likewise.
43102         (erf_test): Use END macro without arguments.
43103         (erfc_test): Likewise.
43104         (exp_test): Likewise.
43105         (exp_test_tonearest): Likewise.
43106         (exp_test_towardzero): Likewise.
43107         (exp_test_downward): Likewise.
43108         (exp_test_upward): Likewise.
43109         (exp10_test): Likewise.
43110         (exp2_test): Likewise.
43111         (expm1_test): Likewise.
43112         (fabs_test): Likewise.
43113         (fdim_test): Likewise.
43114         (finite_test): Likewise.
43115         (floor_test): Likewise.
43116         (fma_test): Likewise.
43117         (fma_test_towardzero): Likewise.
43118         (fma_test_downward): Likewise.
43119         (fma_test_upward): Likewise.
43120         (fmax_test): Likewise.
43121         (fmin_test): Likewise.
43122         (fmod_test): Likewise.
43123         (fpclassify_test): Likewise.
43124         (frexp_test): Likewise.
43125         (gamma_test): Likewise.
43126         (hypot_test): Likewise.
43127         (ilogb_test): Likewise.
43128         (isfinite_test): Likewise.
43129         (isgreater_test): Likewise.
43130         (isgreaterequal_test): Likewise.
43131         (isinf_test): Likewise.
43132         (isless_test): Likewise.
43133         (islessequal_test): Likewise.
43134         (islessgreater_test): Likewise.
43135         (isnan_test): Likewise.
43136         (isnormal_test): Likewise.
43137         (issignaling_test): Likewise.
43138         (isunordered_test): Likewise.
43139         (j0_test): Likewise.
43140         (j1_test): Likewise.
43141         (jn_test): Likewise.
43142         (ldexp_test): Likewise.
43143         (lgamma_test): Likewise.
43144         (lrint_test): Likewise.
43145         (lrint_test_tonearest): Likewise.
43146         (lrint_test_towardzero): Likewise.
43147         (lrint_test_downward): Likewise.
43148         (lrint_test_upward): Likewise.
43149         (llrint_test): Likewise.
43150         (llrint_test_tonearest): Likewise.
43151         (llrint_test_towardzero): Likewise.
43152         (llrint_test_downward): Likewise.
43153         (llrint_test_upward): Likewise.
43154         (log_test): Likewise.
43155         (log10_test): Likewise.
43156         (log1p_test): Likewise.
43157         (log2_test): Likewise.
43158         (logb_test): Likewise.
43159         (logb_test_downward): Likewise.
43160         (lround_test): Likewise.
43161         (llround_test): Likewise.
43162         (modf_test): Likewise.
43163         (nearbyint_test): Likewise.
43164         (nextafter_test): Likewise.
43165         (nexttoward_test): Likewise.
43166         (pow_test): Likewise.
43167         (pow_test_tonearest): Likewise.
43168         (pow_test_towardzero): Likewise.
43169         (pow_test_downward): Likewise.
43170         (pow_test_upward): Likewise.
43171         (remainder_test): Likewise.
43172         (remainder_test_tonearest): Likewise.
43173         (remainder_test_towardzero): Likewise.
43174         (remainder_test_downward): Likewise.
43175         (remainder_test_upward): Likewise.
43176         (remquo_test): Likewise.
43177         (rint_test): Likewise.
43178         (rint_test_tonearest): Likewise.
43179         (rint_test_towardzero): Likewise.
43180         (rint_test_downward): Likewise.
43181         (rint_test_upward): Likewise.
43182         (round_test): Likewise.
43183         (scalb_test): Likewise.
43184         (scalbn_test): Likewise.
43185         (scalbln_test): Likewise.
43186         (signbit_test): Likewise.
43187         (sin_test): Likewise.
43188         (sin_test_tonearest): Likewise.
43189         (sin_test_towardzero): Likewise.
43190         (sin_test_downward): Likewise.
43191         (sin_test_upward): Likewise.
43192         (sincos_test): Likewise.
43193         (sinh_test): Likewise.
43194         (sinh_test_tonearest): Likewise.
43195         (sinh_test_towardzero): Likewise.
43196         (sinh_test_downward): Likewise.
43197         (sinh_test_upward): Likewise.
43198         (sqrt_test): Likewise.
43199         (tan_test): Likewise.
43200         (tan_test_tonearest): Likewise.
43201         (tan_test_towardzero): Likewise.
43202         (tan_test_downward): Likewise.
43203         (tan_test_upward): Likewise.
43204         (tanh_test): Likewise.
43205         (tgamma_test): Likewise.
43206         (trunc_test): Likewise.
43207         (y0_test): Likewise.
43208         (y1_test): Likewise.
43209         (yn_test): Likewise.
43210         (significand_test): Likewise.
43212 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
43214         [BZ #15381]
43215         * libio/genops.c (_IO_no_init): Initialize wide struct info.
43217 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43219         [BZ #14894]
43220         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
43221         __ppc_mdoio and __ppc_mdoom.
43222         * manual/platform.texi: Document new functions __ppc_yield,
43223         __ppc_mdoio and __ppc_mdoom.
43225 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
43227         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
43228         (main): Mention "tls" pseudo-hwcap is legacy.
43229         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
43231 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43233         * math/gen-libm-test.pl (parse_args): Output only string of
43234         arguments as text for test name, not full call or descriptions of
43235         tests for extra outputs.
43236         (generate_testfile): Do not pass function name to parse_args.
43237         Generate this_func variable from START.
43238         * math/libm-test.inc (struct test_f_f_data): Rename test_name
43239         field to arg_str.
43240         (struct test_ff_f_data): Likewise.
43241         (test_ff_f_data_nexttoward): Likewise.
43242         (struct test_fi_f_data): Likewise.
43243         (struct test_fl_f_data): Likewise.
43244         (struct test_if_f_data): Likewise.
43245         (struct test_fff_f_data): Likewise.
43246         (struct test_c_f_data): Likewise.
43247         (struct test_f_f1_data): Likewise.  Remove field extra_name.
43248         (struct test_fF_f1_data): Likewise.
43249         (struct test_ffI_f1_data): Likewise.
43250         (struct test_c_c_data): Rename test_name field to arg_str.
43251         (struct test_cc_c_data): Likewise.
43252         (struct test_f_i_data): Likewise.
43253         (struct test_ff_i_data): Likewise.
43254         (struct test_f_l_data): Likewise.
43255         (struct test_f_L_data): Likewise.
43256         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
43257         and extra2_name.
43258         (COMMON_TEST_SETUP): New macro.
43259         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
43260         (COMMON_TEST_CLEANUP): Likewise.
43261         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
43262         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
43263         macros.
43264         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
43265         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
43266         macros.
43267         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
43268         (RUN_TEST_fff_f): Take argument string.  Call new setup and
43269         cleanup macros.
43270         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
43271         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
43272         macros.
43273         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
43274         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
43275         macros.
43276         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43277         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
43278         cleanup macros.
43279         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43280         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
43281         cleanup macros.
43282         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43283         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
43284         cleanup macros.
43285         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43286         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
43287         macros.
43288         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
43289         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
43290         macros.
43291         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
43292         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
43293         macros.
43294         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
43295         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
43296         cleanup macros.
43297         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
43298         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
43299         cleanup macros.
43300         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
43301         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
43302         macros.
43303         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
43304         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
43305         cleanup macros.
43306         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
43307         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
43308         macros.
43309         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
43310         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
43311         macros.
43312         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
43313         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
43314         cleanup macros.
43315         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
43317 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
43319         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
43320         to _sifields.sigfault.
43321         (si_addr_lsb): Define new macro.
43322         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43323         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43324         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
43326 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
43328         [BZ #15441]
43329         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
43330         returns -1.
43331         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
43332         null return -1.
43333         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
43334         loading the domain.
43336 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43338         * math/gen-libm-test.pl (parse_args): Do not include expected
43339         result in test name.
43340         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
43341         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43342         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43343         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43344         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43347 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43349         * benchtests/Makefile: Sort function entries.
43351         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
43352         tanh, asinh, acosh, atanh.
43353         * benchtests/acos-inputs: New file.
43354         * benchtests/acosh-inputs: New file.
43355         * benchtests/asin-inputs: New file.
43356         * benchtests/asinh-inputs: New file.
43357         * benchtests/atanh-inputs: New file.
43358         * benchtests/cosh-inputs: New file.
43359         * benchtests/log-inputs: New file.
43360         * benchtests/sinh-inputs: New file.
43361         * benchtests/tanh-inputs: New file.
43363 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
43365         [BZ #15339]
43366         * posix/tst-getaddrinfo4.c: New test.
43367         * posix/Makefile (tests): Add it.
43369 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43371         [BZ #15339]
43372         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
43373         when no services were used.
43374         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
43375         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
43377 2013-05-21  Andreas Schwab  <schwab@suse.de>
43379         [BZ #15014]
43380         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
43381         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
43382         successful.
43383         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
43384         redundant variable declarations and reallocation of buffer when
43385         parsing as IPv6 address.  Always set NSS status when called from
43386         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
43387         buffer too small.  Correct computation of needed size.
43388         * nss/Makefile (tests): Add test-digits-dots.
43389         * nss/test-digits-dots.c: New test.
43391 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43393         * benchtests/Makefile: Remove instructions for adding
43394         benchmark tests.
43395         * benchtests/README: New file to explain how to execute and
43396         enhance the benchmark tests.
43398 2013-05-21  Andreas Schwab  <schwab@suse.de>
43400         [BZ #15493]
43401         * setjmp/Makefile (tests): Add tst-sigsetjmp.
43402         * setjmp/tst-sigsetjmp.c: New test.
43404 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43406         * sysdeps/x86_64/memset.S (memset): New implementation.
43407         (__bzero): Likewise.
43408         (__memset_tail): New function.
43410 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43412         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
43413         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
43414         __memcpy_sse2_unaligned ifunc selection.
43415         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43416         Add memcpy-sse2-unaligned.S.
43417         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43418         Add: __memcpy_sse2_unaligned.
43420 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
43422         [BZ #15490]
43423         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43424         math_force_eval before restoring floating-point envrionment.
43425         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
43426         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
43427         Likewise.
43428         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
43429         <math_private.h>.
43430         (__nearbyintl): Use math_force_eval before restoring
43431         floating-point environment.
43432         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
43434         * math/gen-libm-test.pl (special_functions): Remove.
43435         (parse_args): Don't handle TEST_extra.  Handle functions with no
43436         return value.
43437         * math/libm-test.inc (struct test_sincos_data): Replace with
43438         struct test_fFF_11_data.
43439         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
43440         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
43441         (sincos_test_data): Change element type to struct
43442         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
43443         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
43444         RUN_TEST_LOOP_sincos.
43445         * math/README.libm-test: Don't mention special handling of
43446         individual functions.
43447         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
43448         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43449         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43450         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43451         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43454         * math/gen-libm-test.pl (get_variable): Remove function.
43455         (parse_args): Don't show pointer parameters to call in test
43456         names.  Use "extra output N" in test names for extra outputs
43457         rather than naming variables.
43459 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
43461         [BZ #15488]
43462         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
43463         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
43464         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
43465         double tests.
43466         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
43467         disable.
43468         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
43469         check_long_double.
43471         * math/gen-libm-test.pl (@tests): Remove variable.
43472         ($count): Likewise.
43473         (new_test): Remove function.
43474         (show_exceptions): New function.
43475         (special_functions): Use show_exceptions instead of new_test.
43476         (parse_args): Likewise.
43477         (generate_testfile): Pass only function name in generated call to
43478         print_max_error or print_complex_max_error.
43479         (get_ulps): Do not handle complex tests specially.
43480         (output_test): Rename to ...
43481         (get_all_ulps_for_test): ... this.  Return a string rather than
43482         printing to a file.  Require ulps to be present.
43483         (output_ulps): Generate arrays rather than #defines.
43484         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
43485         (struct ulp_data): New type.
43486         (BUILD_COMPLEX_ULP): Remove macro.
43487         (compare_ulp_data): New function.
43488         (find_ulps): Likewise.
43489         (find_test_ulps): Likewise.
43490         (find_function_ulps): Likewise.
43491         (find_complex_function_ulps): Likewise.
43492         (print_max_error): Determine allowed ulps using
43493         find_function_ulps.
43494         (print_complex_max_error): Determine allowed ulps using
43495         find_complex_function_ulps.
43496         (check_float_internal): Determine max ulps using find_test_ulps.
43497         (check_float): Do not take max_ulp parameter.  Update call to
43498         check_float_internal.
43499         (check_complex): Likewise.
43500         (check_int): Do not take max_ulp parameter.
43501         (check_long): Likewise.
43502         (check_bool): Likewise.
43503         (check_longlong): Likewise.
43504         (struct test_f_f_data): Remove max_ulp field.
43505         (struct test_ff_f_data): Likewise.
43506         (struct test_ff_f_data_nexttoward): Likewise.
43507         (struct test_fi_f_data): Likewise.
43508         (struct test_fl_f_data): Likewise.
43509         (struct test_if_f_data): Likewise.
43510         (struct test_fff_f_data): Likewise.
43511         (struct test_c_f_data): Likewise.
43512         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
43513         (struct test_fF_f1_data): Likewise.
43514         (struct test_ffI_f1_data): Likewise.
43515         (struct test_c_c_data): Remove max_ulp field.
43516         (struct test_cc_c_data): Likewise.
43517         (struct test_f_i_data): Likewise.
43518         (struct test_ff_i_data): Likewise.
43519         (struct test_f_l_data): Likewise.
43520         (struct test_f_L_data): Likewise.
43521         (struct test_sincos_data): Likewise.
43522         (RUN_TEST_f_f): Do not handle ulps.
43523         (RUN_TEST_LOOP_f_f): Likewise.
43524         (RUN_TEST_2_f): Likewise.
43525         (RUN_TEST_LOOP_2_f): Likewise.
43526         (RUN_TEST_fff_f): Likewise.
43527         (RUN_TEST_LOOP_fff_f): Likewise.
43528         (RUN_TEST_c_f): Likewise.
43529         (RUN_TEST_LOOP_c_f): Likewise.
43530         (RUN_TEST_f_f1): Likewise.
43531         (RUN_TEST_LOOP_f_f1): Likewise.
43532         (RUN_TEST_fF_f1): Likewise.
43533         (RUN_TEST_LOOP_fF_f1): Likewise.
43534         (RUN_TEST_fI_f1): Likewise.
43535         (RUN_TEST_LOOP_fI_f1): Likewise.
43536         (RUN_TEST_ffI_f1): Likewise.
43537         (RUN_TEST_LOOP_ffI_f1): Likewise.
43538         (RUN_TEST_c_c): Likewise.
43539         (RUN_TEST_LOOP_c_c): Likewise.
43540         (RUN_TEST_cc_c): Likewise.
43541         (RUN_TEST_LOOP_cc_c): Likewise.
43542         (RUN_TEST_f_i): Likewise.
43543         (RUN_TEST_LOOP_f_i): Likewise.
43544         (RUN_TEST_f_i_tg): Likewise.
43545         (RUN_TEST_LOOP_f_i_tg): Likewise.
43546         (RUN_TEST_ff_i_tg): Likewise.
43547         (RUN_TEST_LOOP_ff_i_tg): Likewise.
43548         (RUN_TEST_f_b): Likewise.
43549         (RUN_TEST_LOOP_f_b): Likewise.
43550         (RUN_TEST_f_b_tg): Likewise.
43551         (RUN_TEST_LOOP_f_b_tg): Likewise.
43552         (RUN_TEST_f_l): Likewise.
43553         (RUN_TEST_LOOP_f_l): Likewise.
43554         (RUN_TEST_f_L): Likewise.
43555         (RUN_TEST_LOOP_f_L): Likewise.
43556         (RUN_TEST_sincos): Likewise.
43557         (RUN_TEST_LOOP_sincos): Likewise.
43559 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
43561         [BZ #15480]
43562         [BZ #15485]
43563         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
43564         main case of finite arguments, set rounding mode to FE_TONEAREST
43565         and discard exceptions.
43566         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
43567         exceptions.
43568         (remainder_tonearest_test_data): New variable.
43569         (remainder_test_tonearest): New function.
43570         (remainder_towardzero_test_data): New variable.
43571         (remainder_test_towardzero): New function.
43572         (remainder_downward_test_data): New variable.
43573         (remainder_test_downward): New function.
43574         (remainder_upward_test_data): New variable.
43575         (remainder_test_upward): New function.
43576         (main): Call the new test functions.
43578         * math/libm-test.inc (struct test_f_f1_data): Remove field
43579         extra_init.
43580         (struct test_fF_f1_data): Likewise.
43581         (struct test_ffI_f1_data): Likewise.
43582         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
43583         based on value of EXTRA_EXPECTED.
43584         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43585         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
43586         EXTRA_VAR based on value of EXTRA_EXPECTED.
43587         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43588         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
43589         EXTRA_VAR based on value of EXTRA_EXPECTED.
43590         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43591         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
43592         EXTRA_VAR based on value of EXTRA_EXPECTED.
43593         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43594         * math/gen-libm-test.pl (parse_args): Don't output initializers
43595         for extra output values.
43597         * math/libm-test.inc (check_int): Expect result to be exactly
43598         equal to expected value and do not handle ulps.
43599         (check_long): Likewise.
43600         (check_longlong): Likewise.
43602         * math/libm-test.inc (ceil_test_data): Test for "inexact"
43603         exceptions.
43604         (cimag_test_data): Likewise.
43605         (conj_test_data): Likewise.
43606         (copysign_test_data): Likewise.
43607         (cproj_test_data): Likewise.
43608         (creal_test_data): Likewise.
43609         (fabs_test_data): Likewise.
43610         (fdim_test_data): Likewise.
43611         (finite_test_data): Likewise.
43612         (floor_test_data): Likewise.
43613         (fmax_test_data): Likewise.
43614         (fmin_test_data): Likewise.
43615         (fmod_test_data): Likewise.
43616         (fpclassify_test_data): Likewise.
43617         (frexp_test_data): Likewise.
43618         (ilogb_test_data): Likewise.
43619         (isfinite_test_data): Likewise.
43620         (isgreater_test_data): Likewise.
43621         (isgreaterequal_test_data): Likewise.
43622         (isinf_test_data): Likewise.
43623         (isless_test_data): Likewise.
43624         (islessequal_test_data): Likewise.
43625         (islessgreater_test_data): Likewise.
43626         (isnan_test_data): Likewise.
43627         (isnormal_test_data): Likewise.
43628         (issignaling_test_data): Likewise.
43629         (isunordered_test_data): Likewise.
43630         (ldexp_test_data): Likewise.
43631         (lrint_test_data): Likewise.
43632         (lrint_test_data) [TEST_FLOAT]: Disable one test.
43633         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43634         (lrint_tonearest_test_data): Test for "inexact" exceptions.
43635         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43636         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43637         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43638         test input.
43639         (lrint_towardzero_test_data): Test for "inexact" exceptions.
43640         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43641         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43642         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43643         that test input.
43644         (lrint_downward_test_data): Test for "inexact" exceptions.
43645         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43646         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43647         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43648         test input.
43649         (lrint_upward_test_data): Test for "inexact" exceptions.
43650         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43651         test input.
43652         (llrint_test_data): Test for "inexact" exceptions.
43653         (llrint_test_data) [TEST_FLOAT]: Disable one test.
43654         (llrint_tonearest_test_data): Test for "inexact" exceptions.
43655         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43656         (llrint_towardzero_test_data): Test for "inexact" exceptions.
43657         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43658         (llrint_downward_test_data): Test for "inexact" exceptions.
43659         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43660         (llrint_upward_test_data): Test for "inexact" exceptions.
43661         (logb_test_data): Likewise.
43662         (logb_downward_test_data): Likewise.
43663         (nextafter_test_data): Likewise.
43664         (nexttoward_test_data): Likewise.
43665         (remainder_test_data): Likewise.
43666         (remquo_test_data): Likewise.
43667         (scalbn_test_data): Likewise.
43668         (scalbln_test_data): Likewise.
43669         (signbit_test_data): Likewise.
43670         (sqrt_test_data): Likewise.
43671         (significand_test_data): Likewise.
43673 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43675         [BZ #15424]
43676         * benchtests/bench-modf.c (struct args): Mark arg0 as
43677         volatile.
43678         * scripts/bench.pl: Mark members of struct args as volatile.
43680 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43682         [BZ # 15497]
43683         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43684         negative infinity on POWER6 or lower.
43685         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43687 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43689         [BZ #15442]
43690         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43691         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43692         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43693         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43694         (_FP_SETQNAN): New macro.
43695         (_FP_SETQNAN_SEMIRAW): Likewise.
43696         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43697         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43698         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43699         (FP_EXTEND): Use _FP_FRAC_SNANP.
43700         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43701         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43702         into account.
43703         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43704         New macro.
43705         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43706         Likewise.
43708 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43710         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43711         with DIVIDE_BY_ZERO_EXCEPTION.
43712         (gamma_test_data): Likewise.
43713         (lgamma_test_data): Likewise.
43714         (log_test_data): Likewise.
43715         (log10_test_data): Likewise.
43716         (log2_test_data): Likewise.
43717         (tgamma_test_data): Likewise.
43719         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43720         (acos_test_tonearest): Likewise.
43721         (acos_test_towardzero): Likewise.
43722         (acos_test_downward): Likewise.
43723         (acos_test_upward): Likewise.
43724         (acosh_test): Likewise.
43725         (asin_test): Likewise.
43726         (asin_test_tonearest): Likewise.
43727         (asin_test_towardzero): Likewise.
43728         (asin_test_downward): Likewise.
43729         (asin_test_upward): Likewise.
43730         (asinh_test): Likewise.
43731         (atan_test): Likewise.
43732         (atanh_test): Likewise.
43733         (atan2_test): Likewise.
43734         (cabs_test): Likewise.
43735         (cacos_test): Likewise.
43736         (cacosh_test): Likewise.
43737         (casin_test): Likewise.
43738         (casinh_test): Likewise.
43739         (catan_test): Likewise.
43740         (catanh_test): Likewise.
43741         (cbrt_test): Likewise.
43742         (ccos_test): Likewise.
43743         (ccosh_test): Likewise.
43744         (cexp_test): Likewise.
43745         (clog_test): Likewise.
43746         (clog10_test): Likewise.
43747         (cos_test): Likewise.
43748         (cos_test_tonearest): Likewise.
43749         (cos_test_towardzero): Likewise.
43750         (cos_test_downward): Likewise.
43751         (cos_test_upward): Likewise.
43752         (cosh_test): Likewise.
43753         (cosh_test_tonearest): Likewise.
43754         (cosh_test_towardzero): Likewise.
43755         (cosh_test_downward): Likewise.
43756         (cosh_test_upward): Likewise.
43757         (cpow_test): Likewise.
43758         (csin_test): Likewise.
43759         (csinh_test): Likewise.
43760         (csqrt_test): Likewise.
43761         (ctan_test): Likewise.
43762         (ctan_test_tonearest): Likewise.
43763         (ctan_test_towardzero): Likewise.
43764         (ctan_test_downward): Likewise.
43765         (ctan_test_upward): Likewise.
43766         (ctanh_test): Likewise.
43767         (ctanh_test_tonearest): Likewise.
43768         (ctanh_test_towardzero): Likewise.
43769         (ctanh_test_downward): Likewise.
43770         (ctanh_test_upward): Likewise.
43771         (erf_test): Likewise.
43772         (erfc_test): Likewise.
43773         (exp_test): Likewise.
43774         (exp_test_tonearest): Likewise.
43775         (exp_test_towardzero): Likewise.
43776         (exp_test_downward): Likewise.
43777         (exp_test_upward): Likewise.
43778         (exp10_test): Likewise.
43779         (exp2_test): Likewise.
43780         (expm1_test): Likewise.
43781         (fmod_test): Likewise.
43782         (gamma_test): Likewise.
43783         (hypot_test): Likewise.
43784         (j0_test): Likewise.
43785         (j1_test): Likewise.
43786         (jn_test): Likewise.
43787         (lgamma_test): Likewise.
43788         (log_test): Likewise.
43789         (log10_test): Likewise.
43790         (log1p_test): Likewise.
43791         (log2_test): Likewise.
43792         (logb_test_downward): Likewise.
43793         (pow_test): Likewise.
43794         (pow_test_tonearest): Likewise.
43795         (pow_test_towardzero): Likewise.
43796         (pow_test_downward): Likewise.
43797         (pow_test_upward): Likewise.
43798         (remainder_test): Likewise.
43799         (remquo_test): Likewise.
43800         (sin_test): Likewise.
43801         (sin_test_tonearest): Likewise.
43802         (sin_test_towardzero): Likewise.
43803         (sin_test_downward): Likewise.
43804         (sin_test_upward): Likewise.
43805         (sincos_test): Likewise.
43806         (sinh_test): Likewise.
43807         (sinh_test_tonearest): Likewise.
43808         (sinh_test_towardzero): Likewise.
43809         (sinh_test_downward): Likewise.
43810         (sinh_test_upward): Likewise.
43811         (sqrt_test): Likewise.
43812         (tan_test): Likewise.
43813         (tan_test_tonearest): Likewise.
43814         (tan_test_towardzero): Likewise.
43815         (tan_test_downward): Likewise.
43816         (tan_test_upward): Likewise.
43817         (tanh_test): Likewise.
43818         (tgamma_test): Likewise.
43819         (y0_test): Likewise.
43820         (y1_test): Likewise.
43821         (yn_test): Likewise.
43823         * math/gen-libm-test.pl (adjust_arg): Remove function.
43824         (special_function): Remove argument $in_func.  Only handle
43825         generating output for tables of tests, not inside functions.
43826         (parse_args): Likewise.
43827         (generate_testfile): Remove variable $in_func.  Update call to
43828         parse_args.
43829         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
43830         (MINUS_ZERO_INIT): Rename macro to minus_zero.
43831         (PLUS_INFTY_INIT): Rename macro to plus_infty.
43832         (MINUS_INFTY_INIT): Rename macro to minus_infty.
43833         (QNAN_VALUE_INIT): Rename macro to qnan_value.
43834         (MAX_VALUE_INIT): Rename macro to max_value.
43835         (MIN_VALUE_INIT): Rename macro to min_value.
43836         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
43837         (plus_zero): Remove variable.
43838         (minus_zero): Likewise.
43839         (plus_infty): Likewise.
43840         (minus_infty): Likewise.
43841         (qnan_value): Likewise.
43842         (max_value): Likewise.
43843         (min_value): Likewise.
43844         (min_subnorm_value): Likewise.
43846 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43848         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
43849         uint64_t or uint32_t usage.
43850         * crypt/sha256-block.c: Likewise.
43851         * crypt/sha256-crypt.c: Likewise.
43852         * crypt/sha256.c: Likewise.
43853         * crypt/sha512-block.c: Likewise.
43854         * crypt/sha512-crypt.c: Likewise.
43855         * crypt/sha512.c: Likewise.
43856         * debug/backtrace-tst.c: Likewise.
43857         * debug/pcprofiledump.c: Likewise.
43858         * elf/cache.c: Likewise.
43859         * elf/dl-cache.c: Likewise.
43860         * elf/dl-misc.c: Likewise.
43861         * elf/dl-profile.c: Likewise.
43862         * elf/dl-support.c: Likewise.
43863         * elf/ldconfig.c: Likewise.
43864         * elf/sprof.c: Likewise.
43865         * iconv/dummy-repertoire.c: Likewise.
43866         * iconv/iconv_charmap.c: Likewise.
43867         * iconv/skeleton.c: Likewise.
43868         * iconvdata/8bit-generic.c: Likewise.
43869         * iconvdata/cp737.h: Likewise.
43870         * iconvdata/cp775.h: Likewise.
43871         * iconvdata/ibm1008.h: Likewise.
43872         * iconvdata/ibm1025.h: Likewise.
43873         * iconvdata/ibm1046.h: Likewise.
43874         * iconvdata/ibm1097.h: Likewise.
43875         * iconvdata/ibm1112.h: Likewise.
43876         * iconvdata/ibm1122.h: Likewise.
43877         * iconvdata/ibm1123.h: Likewise.
43878         * iconvdata/ibm1124.h: Likewise.
43879         * iconvdata/ibm1129.h: Likewise.
43880         * iconvdata/ibm1130.h: Likewise.
43881         * iconvdata/ibm1132.h: Likewise.
43882         * iconvdata/ibm1133.h: Likewise.
43883         * iconvdata/ibm1137.h: Likewise.
43884         * iconvdata/ibm1140.h: Likewise.
43885         * iconvdata/ibm1141.h: Likewise.
43886         * iconvdata/ibm1142.h: Likewise.
43887         * iconvdata/ibm1143.h: Likewise.
43888         * iconvdata/ibm1144.h: Likewise.
43889         * iconvdata/ibm1145.h: Likewise.
43890         * iconvdata/ibm1146.h: Likewise.
43891         * iconvdata/ibm1147.h: Likewise.
43892         * iconvdata/ibm1148.h: Likewise.
43893         * iconvdata/ibm1149.h: Likewise.
43894         * iconvdata/ibm1153.h: Likewise.
43895         * iconvdata/ibm1154.h: Likewise.
43896         * iconvdata/ibm1155.h: Likewise.
43897         * iconvdata/ibm1156.h: Likewise.
43898         * iconvdata/ibm1157.h: Likewise.
43899         * iconvdata/ibm1158.h: Likewise.
43900         * iconvdata/ibm1160.h: Likewise.
43901         * iconvdata/ibm1161.h: Likewise.
43902         * iconvdata/ibm1162.h: Likewise.
43903         * iconvdata/ibm1163.h: Likewise.
43904         * iconvdata/ibm1164.h: Likewise.
43905         * iconvdata/ibm1166.h: Likewise.
43906         * iconvdata/ibm1167.h: Likewise.
43907         * iconvdata/ibm12712.h: Likewise.
43908         * iconvdata/ibm1390.h: Likewise.
43909         * iconvdata/ibm1399.h: Likewise.
43910         * iconvdata/ibm16804.h: Likewise.
43911         * iconvdata/ibm4517.h: Likewise.
43912         * iconvdata/ibm4899.h: Likewise.
43913         * iconvdata/ibm4909.h: Likewise.
43914         * iconvdata/ibm4971.h: Likewise.
43915         * iconvdata/ibm5347.h: Likewise.
43916         * iconvdata/ibm803.h: Likewise.
43917         * iconvdata/ibm856.h: Likewise.
43918         * iconvdata/ibm901.h: Likewise.
43919         * iconvdata/ibm902.h: Likewise.
43920         * iconvdata/ibm9030.h: Likewise.
43921         * iconvdata/ibm9066.h: Likewise.
43922         * iconvdata/ibm921.h: Likewise.
43923         * iconvdata/ibm922.h: Likewise.
43924         * iconvdata/ibm9448.h: Likewise.
43925         * iconvdata/isiri-3342.h: Likewise.
43926         * iconvdata/jis0201.h: Likewise.
43927         * include/link.h: Likewise.
43928         * include/netdb.h: Likewise.
43929         * inet/check_native.c: Likewise.
43930         * inet/check_pf.c: Likewise.
43931         * inet/getipv4sourcefilter.c: Likewise.
43932         * inet/getnameinfo.c: Likewise.
43933         * inet/getsourcefilter.c: Likewise.
43934         * inet/htonl.c: Likewise.
43935         * inet/setipv4sourcefilter.c: Likewise.
43936         * inet/setsourcefilter.c: Likewise.
43937         * inet/test-inet6_opt.c: Likewise.
43938         * inet/tst-network.c: Likewise.
43939         * locale/C-collate.c: Likewise.
43940         * locale/C-ctype.c: Likewise.
43941         * locale/C-time.c: Likewise.
43942         * locale/C-translit.h: Likewise.
43943         * locale/loadarchive.c: Likewise.
43944         * locale/programs/3level.h: Likewise.
43945         * locale/programs/charmap.c: Likewise.
43946         * locale/programs/charmap.h: Likewise.
43947         * locale/programs/ld-address.c: Likewise.
43948         * locale/programs/ld-collate.c: Likewise.
43949         * locale/programs/ld-ctype.c: Likewise.
43950         * locale/programs/ld-identification.c: Likewise.
43951         * locale/programs/ld-measurement.c: Likewise.
43952         * locale/programs/ld-messages.c: Likewise.
43953         * locale/programs/ld-monetary.c: Likewise.
43954         * locale/programs/ld-name.c: Likewise.
43955         * locale/programs/ld-numeric.c: Likewise.
43956         * locale/programs/ld-paper.c: Likewise.
43957         * locale/programs/ld-telephone.c: Likewise.
43958         * locale/programs/ld-time.c: Likewise.
43959         * locale/programs/linereader.c: Likewise.
43960         * locale/programs/locale.c: Likewise.
43961         * locale/programs/locarchive.c: Likewise.
43962         * locale/programs/locfile.h: Likewise.
43963         * locale/programs/repertoire.c: Likewise.
43964         * locale/programs/simple-hash.c: Likewise.
43965         * locale/programs/simple-hash.h: Likewise.
43966         * malloc/memusage.c: Likewise.
43967         * malloc/memusagestat.c: Likewise.
43968         * nis/nis_defaults.c: Likewise.
43969         * nis/nis_hash.c: Likewise.
43970         * nis/nis_print.c: Likewise.
43971         * nis/nis_xdr.c: Likewise.
43972         * nscd/connections.c: Likewise.
43973         * nscd/hstcache.c: Likewise.
43974         * nscd/nscd_gethst_r.c: Likewise.
43975         * nscd/nscd_getserv_r.c: Likewise.
43976         * nscd/nscd_helper.c: Likewise.
43977         * nscd/servicescache.c: Likewise.
43978         * nss/makedb.c: Likewise.
43979         * nss/nss_db/db-XXX.c: Likewise.
43980         * nss/nss_db/db-initgroups.c: Likewise.
43981         * nss/nss_db/db-netgrp.c: Likewise.
43982         * nss/nss_files/files-network.c: Likewise.
43983         * nss/nss_files/files-parse.c: Likewise.
43984         * posix/bug-regex5.c: Likewise.
43985         * posix/fnmatch_loop.c: Likewise.
43986         * posix/regcomp.c: Likewise.
43987         * posix/regexec.c: Likewise.
43988         * posix/tst-rfc3484-2.c: Likewise.
43989         * posix/tst-rfc3484-3.c: Likewise.
43990         * posix/tst-rfc3484.c: Likewise.
43991         * resolv/nss_dns/dns-canon.c: Likewise.
43992         * resolv/nss_dns/dns-network.c: Likewise.
43993         * resolv/res_init.c: Likewise.
43994         * resolv/res_mkquery.c: Likewise.
43995         * resolv/tst-aton.c: Likewise.
43996         * stdlib/cxa_atexit.c: Likewise.
43997         * stdlib/cxa_finalize.c: Likewise.
43998         * stdlib/gen-fpioconst.c: Likewise.
43999         * stdlib/strtol_l.c: Likewise.
44000         * string/tst-endian.c: Likewise.
44001         * sunrpc/auth_des.c: Likewise.
44002         * sunrpc/clnt_udp.c: Likewise.
44003         * sunrpc/rtime.c: Likewise.
44004         * sunrpc/svcauth_des.c: Likewise.
44005         * sunrpc/xdr.c: Likewise.
44006         * sunrpc/xdr_intXX_t.c: Likewise.
44007         * sunrpc/xdr_rec.c: Likewise.
44008         * sysdeps/generic/ldconfig.h: Likewise.
44009         * sysdeps/generic/ldsodefs.h: Likewise.
44010         * sysdeps/generic/memusage.h: Likewise.
44011         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44012         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
44013         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
44014         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44015         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44016         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44017         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44018         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44019         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44020         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44021         * sysdeps/posix/getaddrinfo.c: Likewise.
44022         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44023         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44024         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44025         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44026         * sysdeps/powerpc/test-gettimebase.c: Likewise.
44027         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44028         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
44029         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
44030         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44031         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
44032         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44033         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44034         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
44035         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
44036         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
44037         * sysdeps/x86_64/dl-tls.h: Likewise.
44038         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
44039         * time/alt_digit.c: Likewise.
44040         * time/era.c: Likewise.
44041         * wcsmbs/tst-c16c32-1.c: Likewise.
44043 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44045         * math/libm-test.inc (struct test_sincos_data): New type.
44046         (RUN_TEST_LOOP_sincos): New macro.
44047         (sincos_test_data): New variable.
44048         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
44050 2013-05-16  Richard Henderson  <rth@redhat.com>
44052         * math/atest-exp2.c (LIMB64): New macro.
44053         (CONSTSZ): New macro.
44054         (mp_exp1, mp_exp_m1, mp_log2): New variables.
44055         (hexdig): Move ...
44056         (print_mpn_fp): ... to function scope.
44057         (read_mpn_hex): Remove.
44058         (get_log2): Remove.
44059         (exp2_mpn): Use mp_log2.
44060         (main): Use mp_exp1.
44062 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44064         * math/libm-test.inc: Remove comment about not testing "inexact"
44065         exceptions.
44066         (INEXACT_EXCEPTION): New macro.
44067         (NO_INEXACT_EXCEPTION): Likewise.
44068         (INVALID_EXCEPTION_OK): Update value.
44069         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44070         (OVERFLOW_EXCEPTION_OK): Likewise.
44071         (UNDERFLOW_EXCEPTION_OK): Likewise.
44072         (IGNORE_ZERO_INF_SIGN): Likewise.
44073         (ERRNO_UNCHANGED): Likewise.
44074         (ERRNO_EDOM): Likewise.
44075         (ERRNO_ERANGE): Likewise.
44076         (test_exceptions): Handle testing "inexact" exceptions.
44077         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
44078         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
44079         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
44080         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
44081         INEXACT_EXCEPTION.
44082         (rint_towardzero_test_data): Likewise.
44083         (rint_downward_test_data): Likewise.
44084         (rint_upward_test_data): Likewise.
44086         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
44087         with OVERFLOW_EXCEPTION.
44088         (exp10_test_data): Likewise.
44089         (exp2_test_data): Likewise.
44090         (expm1_test_data): Likewise.
44091         (lgamma_test_data): Likewise.
44092         (pow_test_data): Likewise.
44093         (tgamma_test_data): Likewise.
44094         (yn_test_data): Remove duplicate test of overflow.
44096         * math/libm-test.inc (struct test_cc_c_data): New type.
44097         (RUN_TEST_LOOP_cc_c): New macro.
44098         (cpow_test_data): New variable.
44099         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
44101         * math/libm-test.inc (struct test_f_L_data): New type.
44102         (RUN_TEST_LOOP_f_L): New macro.
44103         (llrint_test_data): New variable.
44104         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
44105         (llrint_tonearest_test_data): New variable.
44106         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
44107         (llrint_towardzero_test_data): New variable.
44108         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
44109         (llrint_downward_test_data): New variable.
44110         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
44111         (llrint_upward_test_data): New variable.
44112         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
44113         (llround_test_data): New variable.
44114         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
44116 2013-05-13  Peter Collingbourne  <pcc@google.com>
44118         * math/atest-exp2.c (get_log2): Remove const attribute.
44120 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44122         * math/libm-test.inc (struct test_f_l_data): New type.
44123         (RUN_TEST_LOOP_f_l): New macro.
44124         (lrint_test_data): New variable.
44125         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
44126         (lrint_tonearest_test_data): New variable.
44127         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
44128         (lrint_towardzero_test_data): New variable.
44129         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
44130         (lrint_downward_test_data): New variable.
44131         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
44132         (lrint_upward_test_data): New variable.
44133         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
44134         (lround_test_data): New variable.
44135         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
44137 2013-05-15  Peter Collingbourne  <pcc@google.com>
44139         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
44140         (EXTRACT_WORDS64) Use where appropriate.
44141         (INSERT_WORDS64) Likewise.
44143         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
44144         constraints with x constraints.
44145         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
44147         * malloc/obstack.c (_obstack_compat): Add initializer.
44149 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44151         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
44152         si_trapno and add si_addr_lsb to _sifields.sigfault.
44153         (si_trapno): Remove macro.
44154         (si_addr_lsb): Define new macro.
44155         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44157 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44159         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
44160         instead of TEST_f_l.
44161         (llrint_test_tonearest): Likewise.
44162         (llrint_test_towardzero): Likewise.
44163         (llrint_test_downward): Likewise.
44164         (llrint_test_upward): Likewise.
44165         (llround_test): Likewise.
44167         * math/libm-test.inc (struct test_f_i_data): Add comment.
44168         (RUN_TEST_LOOP_f_b): New macro.
44169         (RUN_TEST_LOOP_f_b_tg): Likewise.
44170         (finite_test_data): New variable.
44171         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
44172         (isfinite_test_data): New variable.
44173         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44174         (isinf_test_data): New variable.
44175         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44176         (isnan_test_data): New variable.
44177         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44178         (isnormal_test_data): New variable.
44179         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44180         (issignaling_test_data): New variable.
44181         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44182         (signbit_test_data): New variable.
44183         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44185         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
44186         with INVALID_EXCEPTION.
44187         (acosh_test_data): Likewise.
44188         (asin_test_data): Likewise.
44189         (atanh_test_data): Likewise.
44190         (fmod_test_data): Likewise.
44191         (log_test_data): Likewise.
44192         (log10_test_data): Likewise.
44193         (log2_test_data): Likewise.
44194         (pow_test_data): Likewise.
44195         (sqrt_test_data): Likewise.
44196         (y0_test_data): Likewise.
44197         (y1_test_data): Likewise.
44198         (yn_test_data): Likewise.
44200         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
44201         function contents.
44203         * math/libm-test.inc (struct test_ff_i_data): New type.
44204         (RUN_TEST_LOOP_ff_i_tg): New macro.
44205         (isgreater_test_data): New variable.
44206         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44207         (isgreaterequal_test_data): New variable.
44208         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44209         (isless_test_data): New variable.
44210         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44211         (islessequal_test_data): New variable.
44212         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44213         (islessgreater_test_data): New variable.
44214         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44215         (isunordered_test_data): New variable.
44216         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44218 2013-05-14  David S. Miller  <davem@davemloft.net>
44220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44222 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
44224         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
44226         * math/libm-test.inc (struct test_fF_f1_data): Change type of
44227         extra_test to int.
44228         (struct test_f_i_data): Change type of max_ulp to int.
44230         * math/libm-test.inc (test_ffI_f1_data): New type.
44231         (RUN_TEST_LOOP_ffI_f1): New macro.
44232         (remquo_test_data): New variable.
44233         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
44235         * setjmp/tst-setjmp-fp.c: New file.
44236         * setjmp/Makefile (tests): Add tst-setjmp-fp.
44237         (link-libm): New variable.
44238         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
44240         * math/libm-test.inc (struct test_f_i_data): New type.
44241         (RUN_TEST_LOOP_f_i): New macro.
44242         (RUN_TEST_LOOP_f_i_tg): Likewise.
44243         (fpclassify_test_data): New variable.
44244         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
44245         (ilogb_test_data): New variable.
44246         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
44248         * math/libm-test.inc (scalbln_test): Correct function name in END
44249         call.
44251         * math/libm-test.inc (struct test_f_f1_data): Add comment.
44252         (RUN_TEST_LOOP_fI_f1): New macro.
44253         (frexp_test_data): New variable.
44254         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
44256         * math/libm-test.inc (struct test_fF_f1_data): New type.
44257         (RUN_TEST_LOOP_fF_f1): New macro.
44258         (modf_test_data): New variable.
44259         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
44261         * math/libm-test.inc (struct test_f_f1_data): New type.
44262         (RUN_TEST_LOOP_f_f1): New macro.
44263         (gamma_test_data): New variable.
44264         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44265         (lgamma_test_data): New variable.
44266         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44268 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
44270         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
44271         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
44272         (main): Comment "tls" pseudo-hwcap.
44274 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
44276         * math/libm-test.inc (struct test_fl_f_data): New type.
44277         (RUN_TEST_LOOP_fl_f): New variable.
44278         (scalbln_test_data): New variable.
44279         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
44281         * math/libm-test.inc (struct test_fi_f_data): New type.
44282         (RUN_TEST_LOOP_fi_f): New macro.
44283         (ldexp_test_data): New variable.
44284         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
44285         (scalbn_test_data): New variable.
44286         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
44288         * math/libm-test.inc (struct test_c_f_data): New type.
44289         (RUN_TEST_LOOP_c_f): New macro.
44290         (cabs_test_data): New variable.
44291         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
44292         (carg_test_data): New variable.
44293         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
44294         (cimag_test_data): New variable.
44295         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
44296         (creal_test_data): New variable.
44297         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
44299         * math/libm-test.inc (struct test_if_f_data): New type.
44300         (RUN_TEST_LOOP_if_f): New macro.
44301         (jn_test_data): New variable.
44302         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
44303         (yn_test_data): New variable.
44304         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
44306         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
44308 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44310         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
44311         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
44313 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44315         * benchtests/Makefile (CPPFLAGS-nonlib): Add
44316         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
44317         (bench-deps): Add bench-timing.h.
44318         * benchtests-bench-skeleton.c: Include bench-timing.h.
44319         (main): Use TIMING_* macros instead of clock_gettime.
44320         * benchtests/bench-timing.h: New file.
44322         [BZ #14582]
44323         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
44324         Renamed from _LIB_VERSION.
44325         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
44327 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
44329         * math/libm-test.inc (struct test_fff_f_data): New type.
44330         (RUN_TEST_LOOP_fff_f): New macro.
44331         (fma_test_data): New variable.
44332         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
44333         (fma_towardzero_test_data): New variable.
44334         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
44335         (fma_downward_test_data): New variable.
44336         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
44337         (fma_upward_test_data): New variable.
44338         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
44340         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
44341         (struct test_c_c_data): New type.
44342         (RUN_TEST_LOOP_c_c): New macro.
44343         (cacos_test_data): New variable.
44344         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
44345         (cacosh_test_data): New variable.
44346         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
44347         (casin_test_data): New variable.
44348         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
44349         (casinh_test_data): New variable.
44350         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
44351         (catan_test_data): New variable.
44352         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
44353         (catanh_test_data): New variable.
44354         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
44355         (ccos_test_data): New variable.
44356         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
44357         (ccosh_test_data): New variable.
44358         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
44359         (cexp_test_data): New variable.
44360         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
44361         (clog_test_data): New variable.
44362         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
44363         (clog10_test_data): New variable.
44364         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
44365         (conj_test_data): New variable.
44366         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
44367         (cproj_test_data): New variable.
44368         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
44369         (csin_test_data): New variable.
44370         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
44371         (csinh_test_data): New variable.
44372         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
44373         (csqrt_test_data): New variable.
44374         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
44375         (ctan_test_data): New variable.
44376         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
44377         (ctan_tonearest_test_data): New variable.
44378         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44379         (ctan_towardzero_test_data): New variable.
44380         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44381         (ctan_downward_test_data): New variable.
44382         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44383         (ctan_upward_test_data): New variable.
44384         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44385         (ctanh_test_data): New variable.
44386         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
44387         (ctanh_tonearest_test_data): New variable.
44388         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44389         (ctanh_towardzero_test_data): New variable.
44390         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44391         (ctanh_downward_test_data): New variable.
44392         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44393         (ctanh_upward_test_data): New variable.
44394         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44395         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
44396         of BUILD_COMPLEX.
44398         * math/libm-test.inc (struct test_ff_f_data): New type.
44399         (struct test_ff_f_data_nexttoward): Likewise.
44400         (RUN_TEST_LOOP_2_f): New macro.
44401         (RUN_TEST_LOOP_ff_f): Likewise.
44402         (atan2_test_data): New variable.
44403         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
44404         (copysign_test_data): New variable.
44405         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
44406         (fdim_test_data): New variable.
44407         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
44408         (fmax_test_data): New variable.
44409         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
44410         (fmin_test_data): New variable.
44411         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
44412         (fmod_test_data): New variable.
44413         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
44414         (hypot_test_data): New variable.
44415         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
44416         (nextafter_test_data): New variable.
44417         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
44418         (nexttoward_test_data): New variable.
44419         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
44420         (pow_test_data): New variable.
44421         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
44422         (pow_tonearest_test_data): New variable.
44423         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
44424         (pow_towardzero_test_data): New variable.
44425         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
44426         (pow_downward_test_data): New variable.
44427         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
44428         (pow_upward_test_data): New variable.
44429         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
44430         (remainder_test_data): New variable.
44431         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
44432         (scalb_test_data): New variable.
44433         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
44434         * sysdeps/i386/fpu/libm-test-ulps: Update.
44436 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
44438         * math/libm-test.inc (fma_test): Use max_value instead of local
44439         variable fltmax.
44440         (nextafter_test): Likewise.
44442         * math/libm-test.inc (acos_towardzero_test_data): New variable.
44443         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44444         (acos_downward_test_data): New variable.
44445         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44446         (acos_upward_test_data): New variable.
44447         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44448         (acosh_test_data): New variable.
44449         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
44450         (asin_test_data): New variable.
44451         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
44452         (asin_tonearest_test_data): New variable.
44453         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44454         (asin_towardzero_test_data): New variable.
44455         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44456         (asin_downward_test_data): New variable.
44457         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44458         (asin_upward_test_data): New variable.
44459         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44460         (asinh_test_data): New variable.
44461         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
44462         (atan_test_data): New variable.
44463         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
44464         (atanh_test_data): New variable.
44465         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
44466         (cbrt_test_data): New variable.
44467         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
44468         (ceil_test_data): New variable.
44469         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
44470         (cos_test_data): New variable.
44471         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
44472         (cos_tonearest_test_data): New variable.
44473         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44474         (cos_towardzero_test_data): New variable.
44475         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44476         (cos_downward_test_data): New variable.
44477         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44478         (cos_upward_test_data): New variable.
44479         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44480         (cosh_test_data): New variable.
44481         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
44482         (cosh_tonearest_test_data): New variable.
44483         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44484         (cosh_towardzero_test_data): New variable.
44485         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44486         (cosh_downward_test_data): New variable.
44487         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44488         (cosh_upward_test_data): New variable.
44489         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44490         (erf_test_data): New variable.
44491         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
44492         (erfc_test_data): New variable.
44493         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
44494         (exp_test_data): New variable.
44495         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
44496         (exp_tonearest_test_data): New variable.
44497         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44498         (exp_towardzero_test_data): New variable.
44499         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44500         (exp_downward_test_data): New variable.
44501         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44502         (exp_upward_test_data): New variable.
44503         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44504         (exp10_test_data): New variable.
44505         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
44506         (exp2_test_data): New variable.
44507         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
44508         (expm1_test_data): New variable.
44509         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
44510         (fabs_test_data): New variable.
44511         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
44512         (floor_test_data): New variable.
44513         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
44514         (j0_test_data): New variable.
44515         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
44516         (j1_test_data): New variable.
44517         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
44518         (log_test_data): New variable.
44519         (log_test): Run tests with RUN_TEST_LOOP_f_f.
44520         (log10_test_data): New variable.
44521         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
44522         (log1p_test_data): New variable.
44523         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
44524         (log2_test_data): New variable.
44525         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
44526         (logb_test_data): New variable.
44527         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
44528         (logb_downward_test_data): New variable.
44529         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44530         (nearbyint_test_data): New variable.
44531         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
44532         (rint_test_data): New variable.
44533         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
44534         (rint_tonearest_test_data): New variable.
44535         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44536         (rint_towardzero_test_data): New variable.
44537         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44538         (rint_downward_test_data): New variable.
44539         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44540         (rint_upward_test_data): New variable.
44541         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44542         (round_test_data): New variable.
44543         (round_test): Run tests with RUN_TEST_LOOP_f_f.
44544         (sin_test_data): New variable.
44545         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
44546         (sin_tonearest_test_data): New variable.
44547         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44548         (sin_towardzero_test_data): New variable.
44549         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44550         (sin_downward_test_data): New variable.
44551         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44552         (sin_upward_test_data): New variable.
44553         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44554         (sinh_test_data): New variable.
44555         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
44556         (sinh_tonearest_test_data): New variable.
44557         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44558         (sinh_towardzero_test_data): New variable.
44559         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44560         (sinh_downward_test_data): New variable.
44561         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44562         (sinh_upward_test_data): New variable.
44563         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44564         (sqrt_test_data): New variable.
44565         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
44566         (tan_test_data): New variable.
44567         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
44568         (tan_tonearest_test_data): New variable.
44569         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44570         (tan_towardzero_test_data): New variable.
44571         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44572         (tan_downward_test_data): New variable.
44573         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44574         (tan_upward_test_data): New variable.
44575         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44576         (tanh_test_data): New variable.
44577         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
44578         (tgamma_test_data): New variable.
44579         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
44580         (trunc_test_data): New variable.
44581         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
44582         (y0_test_data): New variable.
44583         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
44584         (y1_test_data): New variable.
44585         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
44586         (significand_test_data): New variable.
44587         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
44589 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
44591         [BZ #12387]
44592         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
44594 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44596         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
44598 2013-05-10  Andreas Jaeger  <aj@suse.de>
44600         [BZ #15448]
44601         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
44602         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44604 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44606         * math/gen-libm-test.pl (adjust_arg): New function.
44607         (special_functions): Handle generating output in both functions
44608         and arrays.
44609         (parse_args): Likewise.
44610         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
44611         $in_func argument to parse_args.
44612         * math/libm-test.inc (struct test_f_f_data): New type.
44613         (IF_ROUND_INIT_): New macro.
44614         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44615         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44616         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44617         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44618         (ROUND_RESTORE_): Likewise.
44619         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44620         (ROUND_RESTORE_FE_TONEAREST): Likewise.
44621         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44622         (ROUND_RESTORE_FE_UPWARD): Likewise.
44623         (RUN_TEST_LOOP_f_f): New macro.
44624         (acos_test_data): New variable.
44625         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44626         (acos_tonearest_test_data): New variable.
44627         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44629 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44631         * benchtests/bench-skeleton.c (startup): Fix coding style.
44633 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44635         [BZ #6809]
44636         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44637         negative infinity argument.
44638         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44639         negative infinity argument.
44640         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44641         negative infinity argument.
44642         * math/libm-test.inc (tgamma_test): Expect errno to be set for
44643         domain errors.
44645 2013-05-10  Florian Weimer  <fweimer@redhat.com>
44647         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44648         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44649         * iconv/iconv_prog.c (main): Likewise.
44650         * locale/programs/charmap-dir.c (charmap_readdir)
44651         (fopen_uncompressed): Likewise.
44652         * locale/programs/locfile.c (siblings_uncached)
44653         (write_locale_data): Use lstat64 instead of lstat.
44654         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44655         stat.
44657 2013-05-10  Andreas Jaeger  <aj@suse.de>
44659         [BZ #15395]
44660         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44661         localization.
44662         Include <locale.h>.
44664 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
44666         * elf/dl-close.c (_dl_close_worker): Add comments.
44668 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
44670         [BZ #15359]
44671         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44672         high part of pi/2.
44673         (__ieee754_rem_pio2l): Update comments.
44675         [BZ #15429]
44676         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44677         high part of pi/2.
44678         (__ieee754_rem_pio2l): Update comments.
44680         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44681         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44683         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44684         M_PI_4l.
44686         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44687         (M_PI_34_LOG10El): Likewise.
44688         (M_PI2_LOG10El): Likewise.
44689         (M_PI4_LOG10El): Likewise.
44690         (M_PI_LOG10El): Likewise.
44692 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44696 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
44698         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44699         (MINUS_ZERO_INIT): Likewise.
44700         (PLUS_INFTY_INIT): Likewise.
44701         (MINUS_INFTY_INIT): Likewise.
44702         (QNAN_VALUE_INIT): Likewise.
44703         (MAX_VALUE_INIT): Likewise.
44704         (MIN_VALUE_INIT): Likewise.
44705         (MIN_SUBNORM_VALUE_INIT): Likewise.
44706         (plus_zero): Initialize with PLUS_ZERO_INIT.
44707         (minus_zero): Initialize with MINUS_ZERO_INIT.
44708         (plus_infty): Initialize with PLUS_INFTY_INIT.
44709         (minus_infty): Initialize with MINUS_INFTY_INIT.
44710         (qnan_value): Initialize with QNAN_VALUE_INIT.
44711         (max_value): Initialize with MAX_VALUE_INIT.
44712         (min_value): Initialize with MIN_VALUE_INIT.
44713         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44715         * math/libm-test.inc (RUN_TEST_if_f): New macro.
44716         (jn_test): Use TEST_if_f instead of TEST_ff_f.
44717         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44718         (yn_test): Use TEST_if_f instead of TEST_ff_f.
44720         * math/libm-test.inc (RUN_TEST_f_f): New macro.
44721         (RUN_TEST_2_f): Likewise.
44722         (RUN_TEST_ff_f): Likewise.
44723         (RUN_TEST_fi_f): Likewise.
44724         (RUN_TEST_fl_f): Likewise.
44725         (RUN_TEST_fff_f): Likewise.
44726         (RUN_TEST_c_f): Likewise.
44727         (RUN_TEST_f_f1): Likewise.
44728         (RUN_TEST_fF_f1): Likewise.
44729         (RUN_TEST_fI_f1): Likewise.
44730         (RUN_TEST_ffI_f1): Likewise.
44731         (RUN_TEST_c_c): Likewise.
44732         (RUN_TEST_cc_c): Likewise.
44733         (RUN_TEST_f_i): Likewise.
44734         (RUN_TEST_f_i_tg): Likewise.
44735         (RUN_TEST_ff_i_tg): Likewise.
44736         (RUN_TEST_f_b): Likewise.
44737         (RUN_TEST_f_b_tg): Likewise.
44738         (RUN_TEST_f_l): Likewise.
44739         (RUN_TEST_f_L): Likewise.
44740         (RUN_TEST_sincos): Likewise.
44741         * math/gen-libm-test.pl (new_test): Take new argument to indicate
44742         whether to show exceptions.  Do not include ");\n" in return
44743         value.
44744         (special_functions): Output call to RUN_TEST_sincos instead of
44745         check_float calls.  Update calls to new_test.
44746         (parse_args): Output call to single RUN_TEST_* macro instead of
44747         check_* calls and other assignments.  Update calls to new_test.
44749         [BZ #2546]
44750         [BZ #2560]
44751         [BZ #5159]
44752         [BZ #15426]
44753         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44754         input to result for tgamma overflow.
44755         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44756         (gamma_coeff): New variable.
44757         (NCOEFF): New macro.
44758         (gamma_positive): New function.
44759         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
44760         underflow here.  Use gamma_positive instead of exp (lgamma) for
44761         other arguments.
44762         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
44763         (gamma_coeff): New variable.
44764         (NCOEFF): New macro.
44765         (gammaf_positive): New function.
44766         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
44767         underflow here.  Use gamma_positive instead of exp (lgamma) for
44768         other arguments.
44769         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
44770         (gamma_coeff): New variable.
44771         (NCOEFF): New macro.
44772         (gammal_positive): New function.
44773         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
44774         underflow here.  Use gamma_positive instead of exp (lgamma) for
44775         other arguments.
44776         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
44777         (gamma_coeff): New variable.
44778         (NCOEFF): New macro.
44779         (gammal_positive): New function.
44780         (__ieee754_gammal_r): Handle positive infinity, overflow and
44781         underflow here.  Handle NaN the same as positive infinity.  Remove
44782         check x < 0xffffffff for negative integers.  Use gamma_positive
44783         instead of exp (lgamma) for other arguments.
44784         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
44785         (gamma_coeff): New variable.
44786         (NCOEFF): New macro.
44787         (gammal_positive): New function.
44788         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
44789         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44790         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
44791         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
44792         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
44793         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
44794         * sysdeps/generic/math_private.h (__gamma_productf): New
44795         prototype.
44796         (__gamma_product): Likewise.
44797         (__gamma_productl): Likewise.
44798         * math/Makefile (libm-calls): Add gamma_product.
44799         * math/libm-test.inc (tgamma_test): Add more tests.
44800         * sysdeps/i386/fpu/libm-test-ulps: Update.
44801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44803 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
44805         * benchtests/bench-skeleton.c (main): Preheat CPU.
44807 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
44809         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
44811 2013-05-07  Roland McGrath  <roland@hack.frob.com>
44813         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
44814         and _dl_skip_args_internal.
44816 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
44818         * manual/message.texi (Message Translation): Talk about users.
44819         Message to key mapping impacts design.
44821 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44823         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
44825         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
44827         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
44828         * sysdeps/wordsize-64/glob64.c: ... here.
44830         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
44831         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
44832         New macros.
44834         * debug/getlogin_r_chk.c: Moved to ...
44835         * login/getlogin_r_chk.c: ... here.
44836         * debug/Makefile (routines): Move getlogin_r_chk to ...
44837         * login/Makefile (routines): ... here.
44838         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
44839         * login/Versions (libc: GLIBC_2.4): ... here.
44841         * io/poll.c (__poll): Renamed from poll.
44842         Add libc_hidden_def.
44843         (poll): Define as weak alias.
44845         * debug/ptsname_r_chk.c: Moved to ...
44846         * login/ptsname_r_chk.c: ... here.
44847         * debug/Makefile (routines): Move ptsname_r_chk to ...
44848         * login/Makefile (routines): ... here.
44849         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
44850         * login/Versions (libc: GLIBC_2.4): ... here.
44852         * posix/getlogin.c: Moved to ...
44853         * login/getlogin.c: ... here.
44854         * posix/getlogin_r.c: Moved to ...
44855         * login/getlogin_r.c: ... here.
44856         * posix/getlogin_r.c: Moved to ...
44857         * login/getlogin_r.c: ... here.
44858         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
44859         * login/Makefile (routines): ... here.
44860         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
44861         * login/Versions (libc: GLIBC_2.0): ... here.
44863         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
44864         (setrlimit): Define as weak alias.
44866         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
44867         Call __ names for open, ftruncate, and close.
44868         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
44869         (truncate): Define as weak alias.
44871 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
44873         * math/gen-libm-test.pl (parse_args): Initialize x before each
44874         test of frexp, modf and remquo.
44876         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
44877         test signgam value.
44879 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44881         [BZ #15418]
44882         [BZ #15419]
44883         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
44884         internal tests.
44885         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44887 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44889         * elf/dl-writev.h: New file.
44890         * elf/dl-misc.c: Include it.
44891         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
44892         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
44894 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
44896         * math/libm-test.inc (noXFails): Remove variable.
44897         (noXPasses): Likewise.
44898         (BUILD_COMPLEX_INT): Remove macro.
44899         (print_screen): Remove xfail argument.
44900         (print_screen_max_error): Likewise.
44901         (update_stats): Likewise.
44902         (print_max_error): Likewise.  Update calls to other affected
44903         functions.
44904         (print_complex_max_error): Likewise.
44905         (test_single_exception): Update calls to print_screen.
44906         (test_single_errno): Likewise.
44907         (check_float_internal): Remove xfail argument.  Update calls to
44908         other affected functions.
44909         (check_float): Likewise.
44910         (check_complex): Likewise.
44911         (check_int): Likewise.
44912         (check_long): Likewise.
44913         (check_bool): Likewise.
44914         (check_longlong): Likewise.
44915         (main): Don't print noXFails and noXPasses.
44916         * math/gen-libm-test.pl (top level): Don't mention expected
44917         failure handling in comment.
44918         (new_test): Don't handle expected failures.
44919         (parse_args): Don't mention expected failure handling in comment.
44920         (generate_testfile): Don't handle expected failures.
44921         (parse_ulps): Likewise.
44922         (print_ulps_file): Likewise.
44923         (get_failure): Remove function.
44924         (output_test): Don't handle expected failures.
44925         * make/README.libm-test: Don't mention expected failure handling.
44927         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
44928         (minus_zero): Likewise.
44929         (plus_infty): Likewise.
44930         (minus_infty): Likewise.
44931         (qnan_value): Likewise.
44932         (max_value): Likewise.
44933         (min_value): Likewise.
44934         (min_subnorm_value): Likewise.
44935         (initialize): Do not initialize those variables dynamically.
44937 2013-05-03  Roland McGrath  <roland@hack.frob.com>
44939         * io/open.c (__open_2): Moved to ...
44940         * io/open_2.c: ... this new file.
44941         * io/open64.c (__open64_2): Moved to ...
44942         * io/open64_2.c: ... this new file.
44943         * io/openat.c (__openat_2): Moved to ...
44944         * io/openat_2.c: ... this new file.
44945         * io/openat64.c (__openat64_2): Moved to ...
44946         * io/openat64_2.c: ... this new file.
44947         * io/Makefile (routines): Add them.
44948         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
44949         * sysdeps/unix/sysv/linux/open_2.c: File removed.
44950         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
44951         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
44952         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
44953         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
44954         (__openat64): Add hidden_ver.
44955         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
44956         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
44958         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
44959         Separately conditionalize setting of GLRO(dl_sysinfo) so
44960         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
44961         as well, but the actual setting is only under [NEED_DL_SYSINFO].
44963 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44965         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
44966         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
44967         definition.
44968         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
44969         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44970         (_libc_vdso_platform_setup): Add __vdso_time initialization.
44971         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
44972         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
44974 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
44976         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
44977         test signgam value.
44979         * math/libm-test.inc (hypot_test): Do not use
44980         IGNORE_ZERO_INF_SIGN.
44982 2013-05-03  Andreas Jaeger  <aj@suse.de>
44984         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
44985         Linux 3.9.
44986         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
44987         (PF_MAX): Adjust for VSOCK change.
44989 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44993 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
44995         [BZ #15264]
44996         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
44997         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
44998         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
45000 2013-05-02  David S. Miller  <davem@davemloft.net>
45002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45004 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
45006         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
45008 2013-05-01  Roland McGrath  <roland@hack.frob.com>
45010         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
45012 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
45014         [BZ #14952]
45015         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
45016         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45017         Use __attribute__ ((__gnu_inline__)).
45018         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45019         Don't use __attribute__ ((__gnu_inline__)).
45021 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
45023         [BZ #15423]
45024         * math/s_catan.c (__catan): Handle small real or imaginary part of
45025         input specially to avoid spurious underflow.
45026         * math/s_catanf.c (__catanf): Likewise.
45027         * math/s_catanh.c (__catanh): Likewise.
45028         * math/s_catanhf.c (__catanhf): Likewise.
45029         * math/s_catanhl.c (__catanhl): Likewise.
45030         * math/s_catanl.c (__catanl): Likewise.
45031         * math/libm-test.inc (catan_test): Add more tests.
45032         (catanh_test): Likewise.
45033         * sysdeps/i386/fpu/libm-test-ulps: Update.
45034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45036 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45040 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
45042         [BZ #15416]
45043         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
45044         accurately for denominator in atan2.
45045         * math/s_catanf.c (__catanf): Likewise.
45046         * math/s_catanh.c (__catanh): Likewise.
45047         * math/s_catanhf.c (__catanhf): Likewise.
45048         * math/s_catanhl.c (__catanhl): Likewise.
45049         * math/s_catanl.c (__catanl): Likewise.
45050         * math/libm-test.inc (catan_test): Add more tests.
45051         (catanh_test): Likewise.
45052         * sysdeps/i386/fpu/libm-test-ulps: Update.
45053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45055 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45057         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
45059         * benchtests/Makefile (bench): Remove slow benchmarks.
45060         * benchtests/atan-inputs: Add slow benchmark inputs.
45061         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
45062         (BENCH_FUNC): Accept variant offset.
45063         (VARIANT): Define.
45064         * benchtests/bench-skeleton.c (main): Run benchmark for each
45065         variant.
45066         * benchtests/cos-inputs: Add slow benchmark inputs.
45067         * benchtests/exp-inputs: Likewise.
45068         * benchtests/pow-inputs: Likewise.
45069         * benchtests/sin-inputs: Likewise.
45070         * benchtests/slowatan-inputs: Remove.
45071         * benchtests/slowatan.c: Remove.
45072         * benchtests/slowcos-inputs: Remove.
45073         * benchtests/slowcos.c: Remove.
45074         * benchtests/slowexp-inputs: Remove.
45075         * benchtests/slowexp.c: Remove.
45076         * benchtests/slowpow-inputs: Remove.
45077         * benchtests/slowpow.c: Remove.
45078         * benchtests/slowsin-inputs: Remove.
45079         * benchtests/slowsin.c: Remove.
45080         * benchtests/slowtan-inputs: Remove.
45081         * benchtests/slowtan.c: Remove.
45082         * benchtests/tan-inputs: Add slow benchmark inputs.
45083         * scripts/bench.pl: Parse comments and directives.
45085         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
45086         in CPPFLAGS.
45087         ($(objpfx)bench-%.c): Remove *-ITER.
45088         * benchtests/bench-modf.c: Remove definition of ITER.
45089         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
45090         (main): Loop for DURATION seconds instead of fixed number of
45091         iterations.
45092         * scripts/bench.pl: Don't expect iterations in parameters.
45094 2013-04-29  Roland McGrath  <roland@hack.frob.com>
45096         * io/fchdir.c (__fchdir): Renamed from fchdir.
45097         (fchdir): Define as weak alias.
45099 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45101         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
45102         (ERRNO_EDOM): Likewise.
45103         (ERRNO_ERANGE): Likewise.
45104         (noErrnoTests): New variable.
45105         (init_max_error): Set errno to 0.
45106         (test_single_errno): New function.
45107         (test_errno): Likewise.
45108         (check_float_internal): Call test_errno.  Set errno to 0.
45109         (check_complex): Refer to errno tests in comment.
45110         (check_int): Call test_errno.  Set errno to 0.
45111         (check_long): Likewise.
45112         (check_bool): Likewise.
45113         (check_longlong): Likewise.
45114         (cos_test): Use ERRNO_* flags for errno tests instead of
45115         check_int.
45116         (expm1_test): Likewise.
45117         (fmod_test): Likewise.
45118         (ilogb_test): Likewise.
45119         (lgamma_test): Likewise.
45120         (pow_test): Likewise.
45121         (remainder_test): Likewise.
45122         (sin_test): Likewise.
45123         (tan_test): Likewise.
45124         (yn_test): Likewise.
45125         (initialize): Set errno to 0.
45126         (main): Print number of errno tests.
45127         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
45129 2013-04-29  Andreas Jaeger  <aj@suse.de>
45131         [BZ #15084]
45132         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
45133         and RES_USEVC.
45135         [BZ #15085]
45136         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
45137         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
45138         unimplemented.
45140         [BZ #15380]
45141         * stdlib/random.c (__initstate): Return NULL if
45142         __initstate fails.
45144         [BZ #15086]
45145         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
45146         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
45147         RES_SNGLKUPREOP.
45149 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45153 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45155         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
45156         of individual tests.
45157         (casin_test): Likewise.
45158         (casinh_test): Likewise.
45160 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
45162         [BZ #15409]
45163         * math/s_catan.c (__catan): Handle arguments with large real or
45164         imaginary part separately without squaring.
45165         * math/s_catanf.c (__catanf): Likewise.
45166         * math/s_catanh.c (__catanh): Likewise.
45167         * math/s_catanhf.c (__catanhf): Likewise.
45168         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45169         and redefine.
45170         (__catanhl): Handle arguments with large real or imaginary part
45171         separately without squaring.
45172         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45173         and redefine.
45174         (__catanl): Handle arguments with large real or imaginary part
45175         separately without squaring.
45176         * math/libm-test.inc (catan_test): Add more tests.
45177         (catanh_test): Likewise.
45178         * sysdeps/i386/fpu/libm-test-ulps: Update.
45179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45181 2013-04-27  Andreas Jaeger  <aj@suse.de>
45183         [BZ #15007]
45184         * stdlib/stdlib.h: Update guards for qecvt.
45185         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
45186         <stdlib.h>.
45188 2013-04-27  Allan McRae  <allan@archlinux.org>
45190         * sysdeps/i386/fpu/libm-test-ulps: Update.
45192 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
45194         [BZ #15406]
45195         * math/s_catan.c: Include <float.h>.
45196         (__catan): Ensure underflow exception occurs for underflowed
45197         result.
45198         * math/s_catanf.c: Include <float.h>.
45199         (__catanf): Ensure underflow exception occurs for underflowed
45200         result.
45201         * math/s_catanh.c: Include <float.h>.
45202         (__catanh): Ensure underflow exception occurs for underflowed
45203         result.
45204         * math/s_catanhf.c: Include <float.h>.
45205         (__catanhf): Ensure underflow exception occurs for underflowed
45206         result.
45207         * math/s_catanhl.c: Include <float.h>.
45208         (__catanhl): Ensure underflow exception occurs for underflowed
45209         result.
45210         * math/s_catanl.c: Include <float.h>.
45211         (__catanl): Ensure underflow exception occurs for underflowed
45212         result.
45213         * math/libm-test.inc (catan_test): Add more tests.
45214         (catanh_test): Likewise.
45216         [BZ #15405]
45217         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
45218         underflowed result.
45219         * math/s_ccoshf.c (__ccoshf): Likewise.
45220         * math/s_ccoshl.c (__ccoshl): Likewise.
45221         * math/s_csin.c (__csin): Likewise.
45222         * math/s_csinf.c (__csinf): Likewise.
45223         * math/s_csinh.c (__csinh): Likewise.
45224         * math/s_csinhf.c (__csinhf): Likewise.
45225         * math/s_csinhl.c (__csinhl): Likewise.
45226         * math/s_csinl.c (__csinl): Likewise.
45227         * math/libm-test.inc (ccos_test): Add more tests.
45228         (ccosh_test): Likewise.
45229         (csin_test): Likewise.
45230         (csinh_test): Likewise.
45232 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45234         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
45235         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
45236         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
45237         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
45238         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
45239         powerpc/power5+/fpu folders.
45240         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
45243 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
45245         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45247 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
45249         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
45250         additions to variable.
45251         [$(config-machine) = x86_64] (modules-names): Likewise.
45252         ($(objpfx)tst-audit3): Remove dependency.
45253         ($(objpfx)tst-audit3.out): Likewise.
45254         ($(objpfx)tst-audit4): Likewise.
45255         ($(objpfx)tst-audit4.out): Likewise.
45256         ($(objpfx)tst-audit5): Likewise.
45257         ($(objpfx)tst-audit5.out): Likewise.
45258         ($(objpfx)tst-audit6): Likewise.
45259         ($(objpfx)tst-audit6.out): Likewise.
45260         ($(objpfx)tst-audit7): Likewise.
45261         ($(objpfx)tst-audit7.out): Likewise.
45262         (tst-audit3-ENV): Remove variable.
45263         (tst-audit4-ENV): Likewise.
45264         (tst-audit5-ENV): Likewise.
45265         (tst-audit6-ENV): Likewise.
45266         (tst-audit7-ENV): Likewise.
45267         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
45268         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
45269         addition to variable.
45270         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
45271         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
45272         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
45273         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
45274         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
45275         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
45276         tst-audit3, tst-audit4 and tst-audit5.
45277         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
45278         tst-audit6 and tst-audit7.
45279         [$(subdir) = elf] (modules-names): Add audit modules for those
45280         tests.
45281         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
45282         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
45283         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
45284         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
45285         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
45286         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
45287         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
45288         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
45289         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
45290         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
45291         [$(subdir) = elf] (tst-audit3-ENV): New variable.
45292         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
45293         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
45294         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
45295         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
45296         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
45297         Likewise.
45298         [$(subdir) = elf && $(config-cflags-avx) = yes]
45299         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
45300         [$(subdir) = elf && $(config-cflags-avx) = yes]
45301         (CFLAGS-tst-auditmod4a.c): Likewise.
45302         [$(subdir) = elf && $(config-cflags-avx) = yes]
45303         (CFLAGS-tst-auditmod4b.c): Likewise.
45304         [$(subdir) = elf && $(config-cflags-avx) = yes]
45305         (CFLAGS-tst-auditmod6b.c): Likewise.
45306         [$(subdir) = elf && $(config-cflags-avx) = yes]
45307         (CFLAGS-tst-auditmod6c.c): Likewise.
45308         [$(subdir) = elf && $(config-cflags-avx) = yes]
45309         (CFLAGS-tst-auditmod7b.c): Likewise.
45310         * elf/tst-audit3.c: Move to ...
45311         * sysdeps/x86_64/tst-audit3.c: ... here.
45312         * elf/tst-audit4.c: Move to ...
45313         * sysdeps/x86_64/tst-audit4.c: ... here.
45314         * elf/tst-audit5.c: Move to ...
45315         * sysdeps/x86_64/tst-audit5.c: ... here.
45316         * elf/tst-audit6.c: Move to ...
45317         * sysdeps/x86_64/tst-audit6.c: ... here.
45318         * elf/tst-audit7.c: Move to ...
45319         * sysdeps/x86_64/tst-audit7.c: ... here.
45320         * elf/tst-auditmod3a.c: Move to ...
45321         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
45322         * elf/tst-auditmod3b.c: Move to ...
45323         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
45324         * elf/tst-auditmod4a.c: Move to ...
45325         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
45326         * elf/tst-auditmod4b.c: Move to ...
45327         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
45328         * elf/tst-auditmod5a.c: Move to ...
45329         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
45330         * elf/tst-auditmod5b.c: Move to ...
45331         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
45332         * elf/tst-auditmod6a.c: Move to ...
45333         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
45334         * elf/tst-auditmod6b.c: Move to ...
45335         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
45336         * elf/tst-auditmod6c.c: Move to ...
45337         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
45338         * elf/tst-auditmod7a.c: Move to ...
45339         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
45340         * elf/tst-auditmod7b.c: Move to ...
45341         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
45343 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
45345         [BZ #15366]
45346         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
45347         define unconditionally.
45348         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
45349         define unconditionally.
45350         (INT8_C, INT16_C, etc.): Likewise.
45352 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
45354         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
45355         __ehdr_start with hidden visibility.
45357         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
45359 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
45361         * math/libm-test.inc (cos_test): Use accurate hex constants.
45362         (sincost_test): Likewise.
45364 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
45366         * math/libm-test.inc (catan_test): Add more tests.
45367         (catanh_test): Likewise.
45369         * math/s_catanf.c (__catanf): Use suffixed floating-point
45370         constants.
45371         * math/s_catanhf.c (__catanhf): Likewise.
45372         * math/s_catanhl.c (__catanhl): Likewise.
45373         * math/s_catanl.c (__catanl): Likewise.
45375         [BZ #15394]
45376         * math/s_catan.c (__catan): Calculate imaginary part of result
45377         with log1p not log unless computing log of number close to 0.
45378         * math/s_catanf.c (__catanf): Likewise.
45379         * math/s_catanl.c (__catanl): Likewise.
45380         * math/s_catanh.c (__catanh): Calculate real part of result with
45381         log1p not log unless computing log of number close to 0.
45382         * math/s_catanhf.c (__catanhf): Likewise.
45383         * math/s_catanhl.c (__catanhl): Likewise.
45384         * math/libm-test.inc (catan_test): Add more tests.
45385         (catanh_test): Likewise.
45386         * sysdeps/i386/fpu/libm-test-ulps: Update.
45387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45389 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45391         * benchtests/Makefile: Mention files in which fast and slow
45392         paths of math functions are implemented.
45394 2013-04-23  Roland McGrath  <roland@hack.frob.com>
45396         * sysdeps/posix/timespec_get.c: New file.
45398 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45400         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
45401         POWER.
45402         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
45403         for POWER.
45404         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
45405         powerpc/power5/fpu folders.
45406         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
45407         * benchtests/Makefile: Add modf testcase.
45408         * benchtests/bench-modf.c: New file: Benchmark test for mo
45410 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45412         [BZ #14888]
45413         * time/Makefile (tests): Add tst-strptime-whitespace.
45414         * time/strptime_l.c (get_number): Use ISSPACE.
45415         (__strptime_internal): Likewise.
45416         * time/tst-strptime-whitespace.c: New test case.
45418 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
45420         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
45421         member.
45422         (_nss_files_init): Set it here.
45424 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
45426         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
45427         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
45428         unsigned.
45430 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
45432         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
45434 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45436         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
45437         size just once.
45439 2013-04-21  David S. Miller  <davem@davemloft.net>
45441         * po/ru.po: Update Russion translation from translation project.
45443 2013-04-17  Adam Conrad  <adconrad@0c3.net>
45445         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
45446         and setfsgid.
45448 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
45450         * configure.in: Remove i386 configure warning. Remove i386 case.
45451         * configure: Regenerate.
45452         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
45453         Add example to error message.
45454         * sysdeps/i386/configure: Regenerate.
45456 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45458         * benchtests/Makefile (bench): Add cos, tan, slowcos and
45459         slowtan.
45460         * benchtests/cos-inputs: New file.
45461         * benchtests/slowcos-inputs: New file.
45462         * benchtests/slowcos.c: New file.
45463         * benchtests/slowtan-inputs: New file.
45464         * benchtests/slowtan.c: New file.
45465         * benchtests/tan-inputs: New file.
45467 2013-04-16  Roland McGrath  <roland@hack.frob.com>
45469         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
45470         considered kosher.
45472 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45474         * benchtests/Makefile: Include cppflags-iterator.mk to add
45475         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
45477         * Makefile.in (bench-clean): New target.
45478         * benchtests/Makefile (bench-clean): Likewise.
45480 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
45482         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
45484 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
45486         * stdio-common/tstdiomisc.c: Fix coding-style violation.
45488 2013-04-15  Andreas Schwab  <schwab@suse.de>
45490         * nscd/grpcache.c (cache_addgr): Properly check for short write.
45491         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45492         * nscd/pwdcache.c (cache_addpw): Likewise.
45493         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
45494         more than recsize.
45496 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45498         * benchtests/Makefile (bench): Write all output to
45499         bench-out.tmp together.
45501 2013-04-15  Andreas Schwab  <schwab@suse.de>
45503         * nscd/nscd.c (main): Don't fork again after closing files.
45505 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45507         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
45509         * benchtests/Rules (bench-deps): Collect dependencies into a
45510         single variable.  Add Makefile to dependencies.
45511         ($(objpfx)bench-%.c): Depend on bench-deps.
45513 2013-04-12  Roland McGrath  <roland@hack.frob.com>
45514             Xavier Roche  <roche+kml2@exalead.com>
45516         [BZ #15361]
45517         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
45518         just that it's a file descriptor.
45519         * manual/llio.texi (Synchronizing AIO Operations): Update description
45520         for EBADF error from aio_fsync.
45522 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45524         * Rules (bench): Move target definition...
45525         * benchtests/Makefile: ... here.
45527 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
45529         * math/libm-test.inc (cos_test): Fix PI/2 test.
45530         (sincos_test): Likewise.
45531         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45532         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
45534 2013-04-11  Andreas Schwab  <schwab@suse.de>
45536         [BZ #13988]
45537         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
45538         accept exponent character only when digits were seen.
45539         * stdio-common/Makefile (tests): Add bug26.
45540         * stdio-common/bug26.c: New file.
45542         [BZ #14293]
45543         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
45544         non-freeable.
45546 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45548         * Makeconfig (rtld-prefix): Define built linker prefix.
45549         * Rules (run-bench): Use it.
45550         * math/Makefile (run-regen-ulps): Likewise.
45552         * Rules (bench): Remove eval.
45554 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45555             Roland McGrath  <roland@hack.frob.com>
45556             Ondrej Bilka  <neleai@seznam.cz>
45558         [BZ #15346]
45559         * time/getdate.c: Include ctype.h and alloca.h.
45560         (__getdate_r): Trim leading and trailing spaces of input.
45561         * time/tst-getdate.c (tests): Add tests with leading and
45562         trailing spaces.
45564 2013-04-08  Roland McGrath  <roland@hack.frob.com>
45566         [BZ #14280]
45567         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
45568         when computing value.
45570 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45572         * math/README.libm-test (How can I generate "libm-test-ulps"?):
45573         Use testrun.sh to run libm tests.
45575         [BZ #15309]
45576         * elf/dl-open.c (dl_open_worker): memset all of seen array.
45578 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
45580         [BZ #15264]
45581         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
45583 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45585         * Makefile.in (regen-ulps): New target.
45586         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
45587         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
45588         [ifneq (no,$(PERL)] (regen-ulps): New target.
45589         [ifeq (no,$(PERL)] (regen-ulps): New target.
45590         * math/libm-test.inc (ulps_file_name): Define.
45591         (output_dir): New variable.
45592         (options): Add "output-dir" option.
45593         (parse_opt): Handle 'o' case.
45594         (main): If output_dir is non-NULL use it as a prefix
45595         otherwise use "".
45596         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
45598 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45600         [BZ #10060, #10062]
45601         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
45602         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45603         fail configure if __sync_val_compare_and_swap is not inlined.
45604         * sysdeps/i386/configure: Regenerate.
45605         * configure.in: Build for i686 when configured for i386.
45606         * configure: Regenerate.
45607         * README: Remove i386 reference.
45609 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45611         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45612         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45614 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45616         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45617         (lmsnanval): New variables.
45618         (F): Add conversion tests.
45619         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45620         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45622         * stdio-common/tstdiomisc.c (F): Properly collect individual
45623         tests' results.
45625         [BZ #14686, #15336]
45626         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45627         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45628         Instead, use input NaN values or generate a qNaN by arithmetic
45629         operation.  Also fix bugs to comply with the standard.
45630         * math/libm-test.inc (remainder_test): Add more tests.
45632         [BZ #15335, #15342]
45633         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45634         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45635         input NaN values or generate a qNaN by arithmetic operation.
45637         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45638         unreachable code.
45640         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45641         definitions.
45643 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
45645         [BZ #14478]
45646         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45647         underflowed result.
45648         * math/s_cexpf.c (__cexpf): Likewise.
45649         * math/s_cexpl.c (__cexpl): Likewise.
45650         * math/libm-test.inc (cexp_test): Add more tests.
45652 2013-04-03  Andreas Schwab  <schwab@suse.de>
45654         [BZ #15330]
45655         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45656         order arrays from heap if bigger than alloca cutoff.
45658 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
45660         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45661         (SNAN_TESTS_double): Refer to GCC PR56831.
45662         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45663         GCC PR56828.
45665 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45667         * Rules (bench): Move bench.out after the run is complete.
45669         * Rules (bench): Echo currently running benchmark.
45671         * benchtests/Makefile (bench): Add atan and slowatan.
45672         * benchtests/atan-inputs: New file.
45673         * benchtests/slowatan-inputs: New file.
45674         * benchtests/slowatan.c: New file.
45676         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45677         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45678         its value.
45680         [BZ #15305]
45681         * sysdeps/unix/sysv/linux/kernel-features.h
45682         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45683         __ASSUME_XFS_RESTRICTED_CHOWN.
45684         * sysdeps/unix/sysv/linux/pathconf.c
45685         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45686         Save and restore errno.
45688 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
45690         [BZ #15327]
45691         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45692         arguments using __kernel_casinh.
45693         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45694         arguments using __kernel_casinhf.
45695         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45696         arguments using __kernel_casinhl.
45697         * math/libm-test.inc (cacosh_test): Add more tests.
45698         * sysdeps/i386/fpu/libm-test-ulps: Update.
45699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45701 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45703         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45704         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45706         * bench/Makefile (bench): Add sin and slowsin.
45707         * benchtests/sin-inputs: New file.
45708         * benchtests/slowsin-inputs: New file.
45709         * benchtests/slowsin.c: New file.
45711         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45712         (bench): Add slowexp and slowpow.
45713         (exp-ITER): Increase iterations.
45714         (pow-ITER): Likewise.
45715         * benchtests/exp-inputs: Change input.
45716         * benchtests/pow-inputs: Likewise.
45717         * benchtests/slowexp-inputs: New file.
45718         * benchtests/slowexp.c: New file.
45719         * benchtests/slowpow-inputs: New file.
45720         * benchtests/slowpow.c: New file.
45722 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45724         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45725         instructions.
45726         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45727         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45728         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45729         * benchtests/Makefile: Add rint benchtest.
45730         * benchtests/rint-inputs: Input for rint benchtest.
45732 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45734         * Versions.def (libm): Add GLIBC_2.18.
45735         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45736         hidden libm prototypes.
45737         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45738         * math/Makefile (libm-calls): Add s_issignaling.
45739         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45740         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
45741         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45742         declaration.
45743         * math/math.h [__USE_GNU] (issignaling): New macro.
45744         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45745         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45746         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45747         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45748         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45749         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45750         * manual/arith.texi (issignaling): New section.
45751         * manual/libm-err-tab.pl (@all_functions): Update comment.
45752         * math/gen-libm-test.pl (parse_args): Apply special handling for
45753         issignaling.
45754         * math/libm-test.inc (print_float, issignaling_test): New
45755         functions.
45756         (check_float_internal): Add issignaling checks.
45757         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
45758         default definition.
45759         * sysdeps/powerpc/math-tests.h: New file.
45760         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
45761         tests.
45762         * math/test-snan.c (TEST_FUNC): Likewise.
45764 2013-03-30  David S. Miller  <davem@davemloft.net>
45766         * po/de.po: Update from translation team.
45768 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
45770         [BZ #10357]
45771         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45772         imaginary part less than 1.0 and real part less than 0.5
45773         specially.
45774         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45775         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45776         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
45777         (cacos_test): Add more tests.
45778         (casin_test): Likewise.
45779         (casinh_test): Likewise.
45780         * sysdeps/i386/fpu/libm-test-ulps: Update.
45781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45783 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45785         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
45786         ONE with its value.
45788         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
45789         (__pow_mp): Replace ONE and MONE with their values.
45790         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45791         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
45792         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45793         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
45794         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45795         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45797         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
45799         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
45800         (__pow_mp): Replace ZERO and MZERO with their values.
45801         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45802         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45803         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45804         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45805         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45806         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
45807         (__sqr): Likewise.
45809         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
45811         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45813 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45815         * include/stdlib.h [!SHARED] (__call_tls_dtors):
45816         Declare with __attribute__ ((weak)).
45817         * stdlib/exit.c (__libc_atexit) [!SHARED]:
45818         Call __call_tls_dtors only if it's not NULL.
45820 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45822         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
45823         didn't do it already, then set _dl_phdr and _dl_phnum based on the
45824         magic __ehdr_start linker symbol if it's defined.
45825         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
45826         them up here if it was already done.
45828         * elf/dl-support.c (_dl_phdr): Make pointer to const.
45829         (_dl_aux_init): Use const in cast when setting it.
45830         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
45831         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
45832         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
45834         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
45835         Declare them here.
45836         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
45837         * csu/libc-tls.c: Nor here.
45838         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
45840         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
45841         (__libc_message): Never call vsyslog.
45843 2013-03-28  Alan Modra  <amodra@gmail.com>
45845         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
45846         Define as empty.
45847         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
45848         Likewise.
45850 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45852         [BZ #15214]
45853         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
45854         underflow.
45855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45857 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45859         [BZ #15304]
45860         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45861         Don't add gid passed as argument.
45863         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
45865 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
45867         [BZ #15307]
45868         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45869         imaginary part between 1.0 and 1.5 and real part less than 0.5
45870         specially.
45871         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45872         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45873         * math/libm-test.inc (cacos_test): Add more tests.
45874         (casin_test): Likewise.
45875         (casinh_test): Likewise.
45876         * sysdeps/i386/fpu/libm-test-ulps: Update.
45877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45879 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45881         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
45882         constants.
45883         (norm): Likewise.
45884         (denorm): Likewise.
45885         (__dbl_mp): Likewise.
45886         (add_magnitudes): Likewise.
45887         (sub_magnitudes): Likewise.
45888         (__add): Likewise.
45889         (__sub): Likewise.
45890         (__mul): Likewise.
45891         (__sqr): Likewise.
45892         (__inv): Likewise.
45893         (__dvd): Likewise.
45895         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
45896         commented code.
45897         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
45898         (__dubcos): Likewise.
45899         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
45900         (__ieee754_acos): Likewise.
45901         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45902         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
45903         (__exp1): Likewise.
45904         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45905         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45906         (log1): Likewise.
45907         (my_log2): Likewise.
45908         (checkint): Likewise.
45909         * sysdeps/ieee754/dbl-64/e_remainder.c
45910         (__ieee754_remainder): Likewise.
45911         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45912         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
45913         (bsloww): Likewise.
45914         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45916         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45917         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
45918         MANTISSA_STORE_T to store computations on mantissa.  Use
45919         macros for rounding and division.
45920         (denorm): Likewise.
45921         (__dbl_mp): Likewise.
45922         (add_magnitudes): Likewise.
45923         (sub_magnitudes): Likewise.
45924         (__mul): Likewise.
45925         (__sqr): Likewise.
45926         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45927         powers of two in terms of TWOPOW macro.
45928         (mp_no): Make type of mantissa as MANTISSA_T.
45929         [!RADIXI]: Define RADIXI.
45930         [!TWO52]: Define TWO52.
45931         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45933 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45935         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
45936         llroundl symbol when building for PPC32.
45938 2013-03-24  Mark H Weaver  <mhw@netris.org>
45940         * manual/arith.texi (Normalization Functions): Fix prototypes for
45941         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
45943 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45945         [BZ #13889]
45946         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
45947         high value to check if expl overflow.
45948         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
45949         to check for underflow and overflow.
45950         * math/libm-test.inc: Add exp test.
45952 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
45954         [BZ #11120]
45955         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
45956         with NOT_IN_libc.
45958 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45960         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
45961         symbol.
45963 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45965         * math/gen-libm-test.pl (parse_args, special_functions): Properly
45966         wrap blocks consisting of several statements.
45968         * sysdeps/generic/math-tests.h: New file.
45969         * sysdeps/i386/fpu/math-tests.h: Likewise.
45970         * math/test-snan.c: Include it.
45971         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
45973 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45975         [BZ #15285]
45976         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
45977         (__ieee754_j0l): Do not improve calculations using cos of twice
45978         input for inputs above LDBL_MAX / 2.0L.
45979         (__ieee754_y0l): Likewise.
45980         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
45981         (__ieee754_j1l): Do not improve calculations using cos of twice
45982         input for inputs above LDBL_MAX / 2.0L.
45983         (__ieee754_y1l): Likewise.
45984         * math/libm-test.inc (j0_test): Add another test.
45985         (j1_test): Likewise.
45986         (y0_test): Likewise.
45987         (y1_test): Likewise.
45988         * sysdeps/i386/fpu/libm-test-ulps: Update.
45990 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45992         * Rules ($(objpfx)bench-%.c): Include code from a C source
45993         file.
45995 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45997         [BZ #15287]
45998         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45999         imaginary part 1.0 and real part less than 0.5 specially.
46000         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46001         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46002         * math/libm-test.inc (cacos_test): Add more tests.
46003         (casin_test): Likewise.
46004         (casinh_test): Likewise.
46005         * sysdeps/i386/fpu/libm-test-ulps: Update.
46006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46008 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46010         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
46011         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
46013 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
46015         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
46016         * config.make.in (config-cflags-sse4): Remove variable.
46017         (config-cflags-avx): Likewise.
46018         (config-cflags-sse2avx): Likewise.
46019         (config-cflags-novzeroupper): Likewise.
46020         (config-asflags-i686): Likewise.
46021         (have-mfma4): Likewise.
46022         (have-as-vis3): Likewise.
46023         (MIG): Likewise.
46024         * configure.in (MIG): Do not AC_SUBST.
46025         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
46026         (libc_cv_cc_sse4): Do not AC_SUBST.
46027         (libc_cv_cc_avx): Likewise.
46028         (libc_cv_cc_sse2avx): Likewise.
46029         (libc_cv_cc_novzeroupper): Likewise.
46030         (libc_cv_cc_fma4): Likewise.
46031         (libc_cv_as_i686): Likewise.
46032         (libc_cv_sparc_as_vis3): Likewise.
46033         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
46034         LIBC_CONFIG_VAR.
46035         (config-asflags-i686): Likewise.
46036         (config-cflags-avx): Likewise.
46037         (config-cflags-sse2avx): Likewise.
46038         (have-mfma4): Likewise.
46039         (config-cflags-novzeroupper): Likewise.
46040         * sysdeps/mach/configure.in (MIG): Likewise.
46041         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
46042         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
46043         LIBC_CONFIG_VAR.
46044         (config-cflags-avx): Likewise.
46045         (config-cflags-sse2avx): Likewise.
46046         (have-mfma4): Likewise.
46047         (config-cflags-novzeroupper): Likewise.
46048         * configure: Regenerated.
46049         * sysdeps/i386/configure: Likewise.
46050         * sysdeps/mach/configure: Likewise.
46051         * sysdeps/sparc/configure: Likewise.
46052         * sysdeps/x86_64/configure: Likewise.
46054 2013-03-20  Roland McGrath  <roland@hack.frob.com>
46056         [BZ #14812]
46057         * locale/programs/localedef.c (options): Put N_ translation marker
46058         on argument names, not just descriptions.
46060 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46062         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
46064 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
46066         [BZ #14176]
46067         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
46069 2013-03-19  Roland McGrath  <roland@hack.frob.com>
46071         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
46072         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
46073         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
46074         [!BEFORE_ABORT] (before_abort): New function.
46075         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
46076         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
46077         (writev_for_fatal): New function.
46078         (WRITEV_FOR_FATAL): New macro; call that.
46079         (backtrace_and_maps): New function.
46080         (BEFORE_ABORT): New macro; call that.
46081         (struct str_list): Type removed.
46082         (__libc_message, __libc_fatal): Functions removed.
46083         Include <sysdeps/posix/libc_fatal.c> instead.
46085 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
46087         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
46088         constants.
46089         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
46090         double constants.
46092 2013-03-19  Andreas Schwab  <schwab@suse.de>
46094         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
46095         * sysdeps/gnu/configure: Regenerate.
46097         * configure.in: Substitute libc_cv_rtlddir.
46098         * configure: Regenerate.
46099         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
46100         * Makeconfig (rtlddir, inst_rtlddir): New variables.
46101         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
46102         * elf/Makefile (install-others, CFLAGS-interp.c)
46103         (ldso_install, common-ldd-rewrite): Likewise.
46104         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
46105         $(inst_slibdir)/$(rtld-installed-name).
46106         * scripts/rellns-sh: Add -p option.
46107         * Makerules (make-shlib-link): Use rellns-sh to get relative name
46108         for source.
46110 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46112         * manual/nptl.texi: Renamed to ...
46113         * manual/threads.texi: ... this.
46114         * manual/Makefile (chapters): Update.
46116 2013-03-18  Roland McGrath  <roland@hack.frob.com>
46118         [BZ #14812]
46119         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
46120         on argument names, not just descriptions.
46121         * malloc/memusagestat.c (options): Likewise.
46122         * nss/getent.c (options): Likewise.
46124 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
46126         [BZ #14812]
46127         * iconv/iconv_prog.c (options): Put N_ translation marker
46128         on argument names, not just descriptions.
46129         * iconv/iconvconfig.c (options): Likewise.
46131 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
46133         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
46134         implementation which is faster on all x86_64 architectures.
46135         Tested on AMD, Intel Nehalem, SNB, IVB.
46136         * sysdeps/x86_64/strnlen.S: Likewise.
46138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46139         Remove all multiarch strlen and strnlen versions.
46140         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46141         Remove strlen and strnlen related parts.
46143         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
46144         Inline strlen part.
46145         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
46147         * sysdeps/x86_64/multiarch/strlen.S: Remove.
46148         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
46149         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
46150         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
46151         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46152         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
46154 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
46156         * manual/memory.texi (Malloc Tunable Parameters):
46157         Sort parameters alphabetically. Add comments for missing entries.
46159 2013-03-17  David S. Miller  <davem@davemloft.net>
46161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46163 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
46165         [BZ #15283]
46166         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
46167         for arguments at most half maximum finite value.
46168         * math/libm-test.inc (j0_test): Add more tests.
46169         (j1_test): Likewise.
46170         (y0_test): Likewise.
46171         (y1_test): Likewise.
46172         * sysdeps/i386/fpu/libm-test-ulps: Update.
46173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46175         [BZ #14155]
46176         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
46177         1 / x and functions P and Q for arguments above 0x1p256L.
46178         (__ieee754_y0l): Likewise.
46179         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
46180         (__ieee754_y1l): Likewise.
46181         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
46182         (j1_test): Likewise.
46183         (y0_test): Likewise.
46184         (y1_test): Likewise.
46186 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
46188         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
46189         variable.
46191 2013-03-15  Roland McGrath  <roland@hack.frob.com>
46193         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
46194         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
46195         zero since it's initialized to EXEC_PAGESIZE.
46197         * sysdeps/unix/sysv/linux/ldsodefs.h
46198         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
46199         * sysdeps/generic/ldsodefs.h: ... here.
46201 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
46203         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
46205         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
46206         math/test-snan.c.
46207         * math/test-snan.c: Renamed from
46208         sysdeps/powerpc/fpu/test-powerpc-snan.c.
46209         * math/Makefile (tests): Add test-snan.
46210         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
46211         test-powerpc-snan.
46213         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
46214         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
46215         functions.
46216         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
46217         __builtin_nan family of functions.
46218         * math/libm-test.inc (initialize): Initialize qnan_value with
46219         __builtin_nan family of functions.
46220         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
46221         Remove variables.
46222         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
46223         Remove functions.
46224         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
46225         storage class.  Initialize qNaN_var and sNaN_var with
46226         __builtin_nan and __builtin_nans families of functions,
46227         respectively.
46229         * math/libm-test.inc (acosh_test): Also test with qNaN input.
46230         (sqrt_test): Remove duplicate test with qNaN input.
46231         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
46232         (round_test, signbit_test, significand_test): Note missing +/-Inf
46233         as well as qNaN tests.
46235         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
46236         qNaN_var.  Fix a few strings, too.
46237         * math/libm-test.inc (nan_value): Rename to qnan_value.
46238         * math/gen-libm-test.pl (%beautify): Adjust to that.
46239         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
46240         * math/test-misc.c (main): Likewise.
46241         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
46242         to __qnan_bytes, and __qnan_union, respectively.
46243         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
46244         Likewise.
46245         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
46246         and lqnanval, respectively.
46247         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
46248         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
46249         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
46250         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
46252         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
46253         * math/test-misc.c (main) [__x86_64__]: Enable test for long
46254         doubles.
46256         * math/test-misc.c (main): Fix copy'n'pastos.
46257         * misc/tst-efgcvt.c (special): Likewise.
46259         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
46260         Remove declarations.
46262 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46264         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
46265         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
46266         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
46267         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
46269 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46271         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
46272         macro to return vdso values correctly in IFUNC implementations.
46273         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46274         Optimization by using IFUNC.
46276 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46277             Richard Henderson  <rth@redhat.com>
46278             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46280         * Makefile.in (bench): New target.
46281         * NEWS: Mention the benchmark framework.
46282         * Rules (bench): Likewise.
46283         (binaries-bench): Generate binaries for functions to
46284         benchmark.
46285         * benchtests/Makefile: New makefile for benchmark tests.
46286         * benchtests/bench-skeleton.c: New skeleton file for benchmark
46287         programs.
46288         * benchtests/exp-inputs: New input file for EXP function.
46289         * benchtests/pow-inputs: New input file for POW function.
46290         * scripts/bench.pl: New script to generate source files for
46291         benchmark programs.
46293 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46295         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46296         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
46297         computations on mantissa.  Use macros for rounding and
46298         division.
46299         (denorm): Likewise.
46300         (__dbl_mp): Likewise.
46301         (add_magnitudes): Likewise.
46302         (sub_magnitudes): Likewise.
46303         (__mul): Likewise.
46304         (__sqr): Likewise.
46305         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46306         powers of two in terms of TWOPOW macro.
46307         (mp_no): Make type of mantissa as MANTISSA_T.
46308         [!RADIXI]: Define RADIXI.
46309         [!TWO52]: Define TWO52.
46310         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46312         * manual/nptl.texi (cindex): Modify threads to pthreads.
46314 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
46316         * sysdeps/x86_64/preconfigure: Regenerated.
46318 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
46320         [BZ #14155]
46321         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
46322         0x1p28 and above.
46323         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
46324         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
46325         0x1p28 and above.
46326         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
46327         * math/libm-test.inc (j0_test): Do not allow one spurious
46328         underflow exception.
46329         (y1_test): Likewise.
46331 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46333         * manual/Makefile (chapters): Add nptl.
46334         * manual/debug.texi (Debugging Support): Add link to Threads
46335         chapter.
46336         * manual/nptl.texi: New file.
46338         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
46340 2013-03-14  Petr Baudis  <pasky@ucw.cz>
46342         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
46343         for non-NULL pointer before the memory validity test. Pointed
46344         out by Holger Brunck <holger.brunck@keymile.com>.
46346 2013-03-13  Andreas Schwab  <schwab@suse.de>
46348         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
46349         instead of .os.
46351 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
46353         * timezone/zic.c: Update from tzcode 2013b.
46355 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
46357         * manual/install.texi (Configuring and compiling):
46358         Mention i686 and i586.
46359         * INSTALL: Regenerate.
46361 2013-03-12  Roland McGrath  <roland@hack.frob.com>
46363         * sysdeps/init_array/elf-init.c: New file.
46364         * csu/elf-init.c
46365         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
46366         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
46368         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
46369         __gmon_start__ as global, but as static with a .preinit_array pointer.
46370         * sysdeps/init_array/gmon-start.c: New file.  Use that.
46371         * sysdeps/init_array/crti.S: New file, empty except for comments.
46372         * sysdeps/init_array/crtn.S: Likewise.
46374 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
46376         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
46377         definining bcopy.
46378         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46379         Remove Prefer_SSE_for_memop.
46380         * sysdeps/x86_64/multiarch/init-arch.h: Remove
46381         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
46382         HAS_PREFER_SSE_FOR_MEMOP.
46383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
46384         memset-x86-64.
46385         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46386         Remove bzero, memset ifunc support.
46387         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
46388         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
46389         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46390         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46392 2013-03-11  Andreas Schwab  <schwab@suse.de>
46394         [BZ #15234]
46395         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
46396         by SHLIB_COMPAT.
46397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
46398         (GLIBC_2.16): Remove pthread_atfork.
46400 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
46402         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
46403         (ptestcases.h): Likewise.
46405 2013-03-08  Roland McGrath  <roland@hack.frob.com>
46407         * Makeconfig ($(common-objpfx)config.status): Depend on
46408         sysdeps/*/preconfigure{,.in} too.
46410 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
46412         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
46413         (__free_hook): Use void * instead of __malloc_ptr_t.
46414         (__malloc_hook): Likewise.
46415         (__realloc_hook): Likewise.
46416         (__memalign_hook): Likewise.
46417         (__after_morecore_hook): Likewise.
46418         * malloc/arena.c (save_malloc_hook): Likewise.
46419         (save_free_hook): Likewise.
46420         * malloc/hooks.c (malloc_hook_ini): Likewise.
46421         (realloc_hook_ini): Likewise.
46422         (memalign_hook_ini): Likewise.
46423         * malloc/malloc.c (malloc_hook_ini): Likewise.
46424         (realloc_hook_ini): Likewise.
46425         (memalign_hook_ini): Likewise.
46426         (__free_hook): Likewise.
46427         (__malloc_hook): Likewise.
46428         (__realloc_hook): Likewise.
46429         (__memalign_hook): Likewise.
46430         (__libc_malloc): Likewise.
46431         (__libc_free): Likewise.
46432         (__libc_realloc): Likewise.
46433         (__libc_memalign): Likewise.
46434         (__libc_valloc): Likewise.
46435         (__libc_pvalloc): Likewise.
46436         (__libc_calloc): Likewise.
46437         (__posix_memalign): Likewise.
46438         * malloc/morecore.c (__sbrk): Likewise.
46439         (__default_morecore): Likewise.
46441         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
46443         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
46444         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
46445         __malloc_ptrdiff_t.
46447         * malloc/malloc.h (__malloc_size_t): Remove macro.
46448         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
46449         __malloc_size_t.
46450         (old_memalign_hook): Likewise.
46451         (old_realloc_hook): Likewise.
46452         (struct hdr): Likewise.
46453         (flood): Likewise.
46454         (mallochook): Likewise.
46455         (memalignhook): Likewise.
46456         (reallochook): Likewise.
46457         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
46458         (tr_old_realloc_hook): Likewise.
46459         (tr_old_memalign_hook): Likewise.
46460         (tr_mallochook): Likewise.
46461         (tr_reallochook): Likewise.
46462         (tr_memalignhook): Likewise.
46464 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46466         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
46467         default_ldbl_pack and using as default implementation.
46468         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
46469         implementation.
46470         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
46471         redundant definition.
46472         (ldbl_insert_mantissa): Likewise.
46473         (ldbl_canonicalize): Likewise.
46474         (ldbl_nearbyint): Likewise.
46475         (ldbl_pack): Rename to ldbl_pack_ppc.
46476         (ldbl_unpack): Rename to ldbl_unpack_ppc.
46477         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
46478         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
46480 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46482         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
46483         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
46484         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
46485         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
46486         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
46487         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
46488         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
46489         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
46491 2013-03-07  Andreas Jaeger  <aj@suse.de>
46493         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46494         bits/mman-linux.h.
46496 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46498         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
46499         Include mpa.h and declare __MPEXP.
46500         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
46501         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46502         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46503         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
46504         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46505         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46506         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
46508         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
46509         (__slowpow): Use long double EXPL and LOGL functions to
46510         compute POW.
46511         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46512         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46513         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
46514         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46515         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46516         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
46518         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
46519         intermediate variable to calculate exponent.
46520         (__sqr): Likewise.
46521         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46522         Likewise.
46523         (__sqr): Likewise.
46525         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
46526         [!NO__SQR]: Define __sqr.
46527         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
46528         and NO__SQR.  Remove all code except __mul and __sqr.  Include
46529         sysdeps/ieee754/dbl-64/mpa.c.
46530         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46532         [BZ #12723]
46533         * posix/Makefile (tests): Add tst-pathconf.
46534         * posix/tst-pathconf.c: New test case.
46535         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
46536         _PC_PIPE_BUF.
46537         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
46539 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
46541         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
46543 2013-03-06  Andreas Jaeger  <aj@suse.de>
46545         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
46546         definition via __MAP_ANONYMOUS.
46548         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
46549         it's not part of Linux headers.
46551         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
46552         (MAP_HUGE_MASK): Define.
46554         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46555         Define.
46556         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46557         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46558         Define.
46559         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46560         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46561         Define.
46562         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46563         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
46564         Define.
46565         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46567         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
46568         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
46569         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
46570         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
46571         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
46572         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
46574         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46575         Handle f2fs.
46577         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46578         Handle f2fs and efivarfs.
46580         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
46581         f2fs.
46583         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
46584         (EFIVARFS_MAGIC): Add.
46585         (F2FS_LINK_MAX): Add.
46587 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46589         * stdio-common/vfprintf.c: Replace __builtin_expect with
46590         __glibc_unlikely.
46592 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
46594         [BZ #13550]
46595         * sysdeps/generic/bp-sym.h: Remove file.
46596         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
46597         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
46598         <bp-sym.h> and <bp-asm.h>.
46599         (__longjmp): Don't use BP_SYM.
46600         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
46601         and <bp-asm.h>.
46602         (memcpy): Don't use BP_SYM.
46603         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46604         <bp-sym.h> and <bp-asm.h>.
46605         (memcpy): Don't use BP_SYM.
46606         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46607         <bp-asm.h>.
46608         (memcpy): Don't use BP_SYM.
46609         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46610         <bp-asm.h>.
46611         (memset): Don't use BP_SYM.
46612         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46613         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46614         (__bzero): Don't use BP_SYM.
46615         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46616         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46617         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46618         <bp-sym.h> and <bp-asm.h>.
46619         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46620         pointers.
46621         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46622         <bp-sym.h> and <bp-asm.h>.
46623         (memcpy): Don't use BP_SYM.
46624         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46625         <bp-sym.h> and <bp-asm.h>.
46626         (memset): Don't use BP_SYM.
46627         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46628         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46629         (__bzero): Don't use BP_SYM.
46630         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46631         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46632         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46633         <bp-sym.h> and <bp-asm.h>.
46634         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46635         pointers.
46636         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46637         <bp-sym.h> and <bp-asm.h>.
46638         (memcpy): Don't use BP_SYM.
46639         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46640         <bp-sym.h> and <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/power7/memchr.S: Don't include
46648         <bp-sym.h> and <bp-asm.h>.
46649         (__memchr): Don't use BP_SYM.
46650         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46651         <bp-sym.h> and <bp-asm.h>.
46652         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46653         pointers.
46654         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46655         <bp-sym.h> and <bp-asm.h>.
46656         (memcpy): Don't use BP_SYM.
46657         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46658         <bp-sym.h> and <bp-asm.h>.
46659         (__mempcpy): Don't use BP_SYM.
46660         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46661         <bp-sym.h> and <bp-asm.h>.
46662         (__memrchr): Don't use BP_SYM.
46663         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46664         <bp-sym.h> and <bp-asm.h>.
46665         (memset): Don't use BP_SYM.
46666         (__bzero): Likewise.
46667         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46668         <bp-sym.h> and <bp-asm.h>.
46669         (__rawmemchr): Don't use BP_SYM.
46670         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46671         <bp-sym.h> and <bp-asm.h>.
46672         (__STRCMP): Don't use BP_SYM.
46673         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46674         <bp-sym.h> and <bp-asm.h>.
46675         (strchr): Don't use BP_SYM.
46676         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46677         <bp-sym.h> and <bp-asm.h>.
46678         (__strchrnul): Don't use BP_SYM.
46679         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46680         <bp-sym.h> and <bp-asm.h>.
46681         (strlen): Don't use BP_SYM.
46682         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46683         <bp-sym.h> and <bp-asm.h>.
46684         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46685         pointers.
46686         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46687         <bp-sym.h> and <bp-asm.h>.
46688         (__strnlen): Don't use BP_SYM.
46689         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46690         <bp-sym.h> and <bp-asm.h>.
46691         (__GI__setjmp): Don't use BP_SYM.
46692         (_setjmp): Likewise.
46693         (__sigsetjmp): Likewise.
46694         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46695         (L(start_addresses)): Don't use BP_SYM.
46696         (_start): Likewise.
46697         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46698         <bp-asm.h>.
46699         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46700         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46701         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46702         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46703         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46704         <bp-asm.h>.
46705         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46706         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
46707         about bounded pointers.
46708         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46709         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46710         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46711         <bp-asm.h>.
46712         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46713         about bounded pointers.  Remove GKM FIXME comments.
46714         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46715         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46716         <bp-asm.h>.
46717         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46718         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
46719         Remove GKM FIXME comments.
46720         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46721         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46722         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46723         <bp-asm.h>.
46724         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46725         about bounded pointers.  Remove GKM FIXME comment.
46726         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46727         and <bp-asm.h>.
46728         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46729         pointers.
46730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46731         <bp-sym.h> and <bp-asm.h>.
46732         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46734         <bp-sym.h> and <bp-asm.h>.
46735         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46736         comment.
46738 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46740         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46741         call free(NULL).
46743 2013-03-05  David S. Miller  <davem@davemloft.net>
46745         * po/es.po: Update from translation team.
46747 2013-03-05  Andreas Jaeger  <aj@suse.de>
46749         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46750         <bits/mman-linux.h>.
46751         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46752         is fine.
46753         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46754         <bits/mman-linux.h> to end of file.
46755         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46756         is fine.
46757         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
46758         <bits/mman-linux.h> to end of file.
46759         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46760         is fine.
46761         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
46762         <bits/mman-linux.h> to end of file.
46764         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
46765         (MCL_CURRENT, MCL_FUTURE): Define here.
46767 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46769         [BZ #15232]
46770         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
46771         attribute_hidden.
46772         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46774 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46776         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
46777         fourth parameter needed for rt_sigprocmask syscall.
46778         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46779         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46780         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
46781         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46782         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46783         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46785 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
46787         [BZ #13550]
46788         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46789         comment about bounded pointers.
46790         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
46791         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
46793 2013-03-04  Andreas Jaeger  <aj@suse.de>
46795         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
46796         common definitions.
46798         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
46799         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
46800         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
46801         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46802         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46803         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46805 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46807         [BZ #15055]
46808         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
46809         __ieee754_sqrl instead of __sqrl.
46811 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
46813         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
46814         * sysdeps/powerpc/fpu_control.h: ... here.
46815         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
46816         * sysdeps/powerpc/bits/fenvinline.h: ... here.
46817         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
46818         * sysdeps/powerpc/bits/mathinline.h: ... here.
46820 2013-03-01  Roland McGrath  <roland@hack.frob.com>
46822         * elf/dl-hwcaps.c (_dl_important_hwcaps):
46823         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
46824         to just [NEED_DL_SYSINFO_DSO].
46825         * elf/dl-support.c: Likewise.
46826         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
46827         * elf/rtld.c (dl_main): Likewise.
46828         * elf/setup-vdso.h (setup_vdso): Likewise.
46829         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
46830         * sysdeps/unix/sysv/linux/dl-sysdep.c
46831         (_dl_discover_osversion): Likewise.
46833 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
46835         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
46836         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46838 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46840         * NEWS: Mention libm performance improvements and non-x86 PI
46841         futex support.
46843         * csu/libc-start.c (__pthread_initialize_minimal): Change
46844         function arguments.
46845         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46847 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
46849         [BZ #13550]
46850         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
46851         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
46852         <bp-sym.h> and <bp-asm.h>.
46853         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46854         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46855         and <bp-asm.h>.
46856         (memcpy): Don't use BP_SYM.
46857         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
46858         <bp-asm.h>.
46859         (__mpn_add_n): Don't use BP_SYM.
46860         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
46861         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
46862         and <bp-asm.h>.
46863         (__mpn_addmul_1): Don't use BP_SYM.
46864         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46865         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
46866         <bp-sym.h>.
46867         (_setjmp): Don't use BP_SYM.
46868         (__novmx_setjmp): Likewise.
46869         (__GI__setjmp): Likewise.
46870         (__vmx_setjmp): Likewise.
46871         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
46872         <bp-sym.h>.
46873         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
46874         (__bzero): Don't use BP_SYM.
46875         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46876         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46877         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
46878         <bp-sym.h> and <bp-asm.h>.
46879         (memcpy): Don't use BP_SYM.
46880         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
46881         <bp-sym.h> and <bp-asm.h>.
46882         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46883         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
46884         <bp-sym.h> and <bp-asm.h>.
46885         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46886         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
46887         <bp-asm.h>.
46888         (__mpn_lshift): Don't use BP_SYM.
46889         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46890         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
46891         <bp-asm.h>.
46892         (memset): Don't use BP_SYM.
46893         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46894         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46895         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
46896         <bp-asm.h>.
46897         (__mpn_mul_1): Don't use BP_SYM.
46898         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46899         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
46900         <bp-sym.h> and <bp-asm.h>.
46901         (memcmp): Don't use BP_SYM.
46902         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
46903         <bp-sym.h> and <bp-asm.h>.
46904         (memcpy): Don't use BP_SYM.
46905         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
46906         <bp-sym.h> and <bp-asm.h>.
46907         (memset): Don't use BP_SYM.
46908         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
46909         <bp-sym.h> and <bp-asm.h>.
46910         (strncmp): Don't use BP_SYM.
46911         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
46912         <bp-sym.h> and <bp-asm.h>.
46913         (memcpy): Don't use BP_SYM.
46914         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
46915         <bp-sym.h> and <bp-asm.h>.
46916         (memset): Don't use BP_SYM.
46917         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
46918         <bp-sym.h> and <bp-asm.h>.
46919         (__memchr): Don't use BP_SYM.
46920         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
46921         <bp-sym.h> and <bp-asm.h>.
46922         (memcmp): Don't use BP_SYM.
46923         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
46924         <bp-sym.h> and <bp-asm.h>.
46925         (memcpy): Don't use BP_SYM.
46926         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
46927         <bp-sym.h> and <bp-asm.h>.
46928         (__mempcpy): Don't use BP_SYM.
46929         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
46930         <bp-sym.h> and <bp-asm.h>.
46931         (__memrchr): Don't use BP_SYM.
46932         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
46933         <bp-sym.h> and <bp-asm.h>.
46934         (memset): Don't use BP_SYM.
46935         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
46936         <bp-sym.h> and <bp-asm.h>.
46937         (__rawmemchr): Don't use BP_SYM.
46938         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
46939         <bp-sym.h> and <bp-asm.h>.
46940         (__STRCMP): Don't use BP_SYM.
46941         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
46942         <bp-sym.h> and <bp-asm.h>.
46943         (strchr): Don't use BP_SYM.
46944         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
46945         <bp-sym.h> and <bp-asm.h>.
46946         (__strchrnul): Don't use BP_SYM.
46947         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
46948         <bp-sym.h> and <bp-asm.h>.
46949         (strlen): Don't use BP_SYM.
46950         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
46951         <bp-sym.h> and <bp-asm.h>.
46952         (strncmp): Don't use BP_SYM.
46953         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
46954         <bp-sym.h> and <bp-asm.h>.
46955         (__strnlen): Don't use BP_SYM.
46956         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
46957         <bp-asm.h>.
46958         (__mpn_rshift): Don't use BP_SYM.
46959         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46960         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
46961         <bp-sym.h> and <bp-asm.h>.
46962         (__sigsetjmp): Don't use BP_SYM.
46963         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
46964         (L(start_addresses)): Don't use BP_SYM.
46965         (_start): Likewise.
46966         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
46967         <bp-asm.h>.
46968         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
46969         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46970         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46971         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
46972         <bp-asm.h>.
46973         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
46974         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46975         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46976         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
46977         <bp-asm.h>.
46978         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46979         comments.
46980         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46981         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
46982         <bp-asm.h>.
46983         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
46984         FIXME comments.
46985         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46986         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46987         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
46988         <bp-asm.h>.
46989         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46990         comment.
46991         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
46992         and <bp-asm.h>.
46993         (strncmp): Don't use BP_SYM,
46994         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
46995         <bp-asm.h>.
46996         (__mpn_sub_n): Don't use BP_SYM.
46997         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46998         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
46999         and <bp-asm.h>.
47000         (__mpn_submul_1): Don't use BP_SYM.
47001         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
47003         <bp-sym.h> and <bp-asm.h>.
47004         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
47006         <bp-sym.h> and <bp-asm.h>.
47007         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47008         comment.
47010 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47012         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
47013         Use ZK to minimize writes to Z.
47014         (sub_magnitudes): Simplify code a bit.
47015         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
47016         Use ZK to minimize writes to Z.
47017         (sub_magnitudes): Simplify code a bit.
47019 2013-02-27  Roland McGrath  <roland@hack.frob.com>
47021         * csu/gmon-start.c: Add special exception to license text.
47023 2013-02-27  Richard Henderson  <rth@redhat.com>
47025         * scripts/config.guess: Update from config.git.
47026         * scripts/config.sub: Likewise.
47028 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47030         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
47032         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
47034         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
47036         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
47038         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
47040 2013-02-26  Roland McGrath  <roland@hack.frob.com>
47042         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
47043         [$(build-shared = yes].
47045 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47047         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
47048         (__mul): Reduce iterations for calculating mantissa.
47050         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
47051         MPTWO.
47052         (__mpranred): Likewise.
47054         [BZ #15160]
47055         * malloc/memusagestat.c (main): Draw graphs for heap and stack
47056         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
47058 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
47060         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
47061         Define __attribute__.
47063 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47065         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
47066         unused.
47067         * posix/regex_internal.h (__attribute): Remove.
47068         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
47069         (re_string_context_at): Likewise.
47070         (bitset_not): Use __attribute__ and mark function as possibly
47071         unused.
47072         (bitset_merge): Likewise.
47073         (bitset_mask): Likewise.
47074         (re_string_char_size_at): Likewise.
47075         (re_string_wchar_at): Likewise.
47076         (re_string_elem_size_at): Likewise.
47078 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47080         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
47081         code.
47082         (cc32): Likewise.
47084         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
47085         (__acr): Likewise.
47086         (__cpy): Likewise.
47087         (norm): Likewise.
47088         (denorm): Likewise.
47089         (__dbl_mp): Likewise.
47090         (add_magnitudes): Likewise.
47091         (sub_magnitudes): Likewise.
47092         (__mul): Likewise.
47093         (__inv): Likewise.
47095         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
47096         style.
47098         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
47099         style.
47101         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
47102         code.
47104         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
47105         up changes with default code.
47106         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
47107         Likewise.
47109 2013-02-24  Allan McRae  <allan@archlinux.org>
47111         * manual/socket.texi (The Internet Namespace): Order menu items
47112         to match that in the file.
47114         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
47115         node listing of the info page menu.
47117 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
47119         [BZ #13550]
47120         * sysdeps/i386/bp-asm.h: Remove file.
47121         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47122         (PARMS): Do not use macros from bp-asm.h.
47123         (S1): Likewise.
47124         (S2): Likewise.
47125         (SIZE): Likewise.
47126         (__mpn_add_n): Do not use BP_SYM
47127         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
47128         "bp-asm.h".
47129         (PARMS): Do not use macros from bp-asm.h.
47130         (S1): Likewise.
47131         (SIZE): Likewise.
47132         (__mpn_addmul_1): Do not use BP_SYM
47133         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
47134         "bp-asm.h".
47135         (PARMS): Do not use macros from bp-asm.h.
47136         (SIGMSK): Likewise.
47137         (_setjmp): Likewise.  Do not use BP_SYM.
47138         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
47139         "bp-asm.h".
47140         (PARMS): Do not use macros from bp-asm.h.
47141         (SIGMSK): Likewise.
47142         (setjmp): Likewise.  Do not use BP_SYM.
47143         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
47144         "bp-asm.h".
47145         (PARMS): Do not use macros from bp-asm.h.
47146         (__frexp): Do not use BP_SYM.
47147         (frexp): Likewise.
47148         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
47149         "bp-asm.h".
47150         (PARMS): Do not use macros from bp-asm.h.
47151         (__frexpf): Do not use BP_SYM.
47152         (frexpf): Likewise.
47153         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
47154         "bp-asm.h".
47155         (PARMS): Do not use macros from bp-asm.h.
47156         (__frexpl): Do not use BP_SYM.
47157         (frexpl): Likewise.
47158         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
47159         "bp-asm.h".
47160         (PARMS): Do not use macros from bp-asm.h.
47161         (__remquo): Do not use BP_SYM.
47162         (remquo): Likewise.
47163         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
47164         "bp-asm.h".
47165         (PARMS): Do not use macros from bp-asm.h.
47166         (__remquof): Do not use BP_SYM.
47167         (remquof): Likewise.
47168         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
47169         "bp-asm.h".
47170         (PARMS): Do not use macros from bp-asm.h.
47171         (__remquol): Do not use BP_SYM.
47172         (remquol): Likewise.
47173         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
47174         "bp-asm.h".
47175         (PARMS): Do not use macros from bp-asm.h.
47176         (DEST): Likewise.
47177         (SRC): Likewise.
47178         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
47179         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
47180         "bp-asm.h".
47181         (PARMS): Do not use macros from bp-asm.h.
47182         (strlen): Do not use BP_SYM.
47183         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
47184         "bp-asm.h".
47185         (PARMS): Do not use macros from bp-asm.h.
47186         (S1): Likewise.
47187         (S2): Likewise.
47188         (SIZE): Likewise.
47189         (__mpn_add_n): Do not use BP_SYM.
47190         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
47191         "bp-asm.h".
47192         (PARMS): Do not use macros from bp-asm.h.
47193         (S1): Likewise.
47194         (SIZE): Likewise.
47195         (__mpn_addmul_1): Do not use BP_SYM.
47196         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
47197         weak_alias.
47198         (bzero): Likewise.
47199         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
47200         "bp-asm.h".
47201         (PARMS): Do not use macros from bp-asm.h.
47202         (S): Likewise.
47203         (SIZE): Likewise.
47204         (__mpn_lshift): Do not use BP_SYM.
47205         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
47206         "bp-asm.h".
47207         (PARMS): Do not use macros from bp-asm.h.
47208         (DEST): Likewise.
47209         (SRC): Likewise.
47210         (LEN): Likewise.
47211         (memcpy): Likewise.  Do not use BP_SYM.
47212         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
47213         libc_hidden_def and weak_alias.
47214         (mempcpy): Do not use BP_SYM in weak_alias.
47215         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
47216         "bp-asm.h".
47217         (PARMS): Do not use macros from bp-asm.h.
47218         (DEST): Likewise.
47219         (LEN): Likewise.
47220         [!BZERO_P] (CHR): Likewise.
47221         (memset): Likewise.  Do not use BP_SYM.
47222         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
47223         "bp-asm.h".
47224         (PARMS): Do not use macros from bp-asm.h.
47225         (S1): Likewise.
47226         (SIZE): Likewise.
47227         (__mpn_mul_1): Do not use BP_SYM.
47228         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
47229         "bp-asm.h".
47230         (PARMS): Do not use macros from bp-asm.h.
47231         (S): Likewise.
47232         (SIZE): Likewise.
47233         (__mpn_rshift): Do not use BP_SYM.
47234         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
47235         "bp-asm.h".
47236         (PARMS): Do not use macros from bp-asm.h.
47237         (STR): Likewise.
47238         (CHR): Likewise.
47239         (strchr): Likewise.  Do not use BP_SYM.
47240         (index): Do not use BP_SYM in weak_alias.
47241         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
47242         "bp-asm.h".
47243         (PARMS): Do not use macros from bp-asm.h.
47244         (DEST): Likewise.
47245         (SRC): Likewise.
47246         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
47247         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
47248         "bp-asm.h".
47249         (PARMS): Do not use macros from bp-asm.h.
47250         (strlen): Do not use BP_SYM.
47251         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
47252         "bp-asm.h".
47253         (PARMS): Do not use macros from bp-asm.h.
47254         (S1): Likewise.
47255         (S2): Likewise.
47256         (SIZE): Likewise.
47257         (__mpn_sub_n): Do not use BP_SYM.
47258         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
47259         "bp-asm.h".
47260         (PARMS): Do not use macros from bp-asm.h.
47261         (S1): Likewise.
47262         (SIZE): Likewise.
47263         (__mpn_submul_1): Do not use BP_SYM.
47264         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
47265         "bp-asm.h".
47266         (PARMS): Do not use macros from bp-asm.h.
47267         (S1): Likewise.
47268         (S2): Likewise.
47269         (SIZE): Likewise.
47270         (__mpn_add_n): Do not use BP_SYM.
47271         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
47272         weak_alias.
47273         (bzero): Likewise.
47274         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
47275         "bp-asm.h".
47276         (PARMS): Do not use macros from bp-asm.h.
47277         (BLK2): Likewise.
47278         (LEN): Likewise.
47279         (memcmp): Do not use BP_SYM.
47280         (bcmp): Do not use BP_SYM in weak_alias.
47281         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
47282         "bp-asm.h".
47283         (PARMS): Do not use macros from bp-asm.h.
47284         (DEST): Likewise.
47285         (SRC): Likewise.
47286         (LEN): Likewise.
47287         (memcpy): Likewise.  Do not use BP_SYM.
47288         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
47289         "bp-asm.h".
47290         (PARMS): Do not use macros from bp-asm.h.
47291         (DEST): Likewise.
47292         (SRC): Likewise.
47293         (LEN): Likewise.
47294         (memmove): Likewise.  Do not use BP_SYM.
47295         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
47296         "bp-asm.h".
47297         (PARMS): Do not use macros from bp-asm.h.
47298         (DEST): Likewise.
47299         (SRC): Likewise.
47300         (LEN): Likewise.
47301         (__mempcpy): Likewise.  Do not use BP_SYM.
47302         (mempcpy): Do not use BP_SYM in weak_alias.
47303         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
47304         "bp-asm.h".
47305         (PARMS): Do not use macros from bp-asm.h.
47306         (DEST): Likewise.
47307         (LEN): Likewise.
47308         [!BZERO_P] (CHR): Likewise.
47309         (memset): Likewise.  Do not use BP_SYM.
47310         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
47311         "bp-asm.h".
47312         (PARMS): Do not use macros from bp-asm.h.
47313         (STR2): Likewise.
47314         (strcmp): Do not use BP_SYM.
47315         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
47316         "bp-asm.h".
47317         (PARMS): Do not use macros from bp-asm.h.
47318         (STR): Likewise.
47319         (DELIM): Likewise.
47320         [USE_AS_STRTOK_R] (SAVE): Likewise.
47321         (FUNCTION): Likewise.  Do not use BP_SYM.
47322         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
47323         aliases.
47324         (strtok_r): Likewise.
47325         (__GI___strtok_r): Likewise.
47326         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47327         (PARMS): Do not use macros from bp-asm.h.
47328         (S): Likewise.
47329         (SIZE): Likewise.
47330         (__mpn_lshift): Do not use BP_SYM.
47331         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47332         (PARMS): Do not use macros from bp-asm.h.
47333         (STR): Likewise.
47334         (CHR): Likewise.
47335         (__memchr): Do not use BP_SYM.
47336         (memchr): Do not use BP_SYM in weak_alias.
47337         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47338         (PARMS): Do not use macros from bp-asm.h.
47339         (BLK2): Likewise.
47340         (LEN): Likewise.
47341         (memcmp): Do not use BP_SYM.
47342         (bcmp): Do not use BP_SYM in weak_alias.
47343         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
47344         (PARMS): Do not use macros from bp-asm.h.
47345         (S1): Likewise.
47346         (SIZE): Likewise.
47347         (__mpn_mul_1): Do not use BP_SYM.
47348         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
47349         "bp-asm.h".
47350         (PARMS): Do not use macros from bp-asm.h.
47351         (STR): Likewise.
47352         (CHR): Likewise.
47353         (__rawmemchr): Do not use BP_SYM.
47354         (rawmemchr): Do not use BP_SYM in weak_alias.
47355         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47356         (PARMS): Do not use macros from bp-asm.h.
47357         (S): Likewise.
47358         (SIZE): Likewise.
47359         (__mpn_rshift): Do not use BP_SYM.
47360         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47361         (PARMS): Do not use macros from bp-asm.h.
47362         (SIGMSK): Likewise.
47363         (__sigsetjmp): Likewise.  Do not use BP_SYM.
47364         * sysdeps/i386/start.S: Do not include "bp-sym.h".
47365         (_start): Do not use BP_SYM.
47366         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
47367         (PARMS): Do not use macros from bp-asm.h.
47368         (DEST): Likewise.
47369         (SRC): Likewise.
47370         (__stpcpy): Likewise.  Do not use BP_SYM.
47371         (stpcpy): Do not use BP_SYM in weak_alias.
47372         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
47373         "bp-asm.h".
47374         (PARMS): Do not use macros from bp-asm.h.
47375         (DEST): Likewise.
47376         (SRC): Likewise.
47377         (LEN): Likewise.
47378         (__stpncpy): Likewise.  Do not use BP_SYM.
47379         (stpncpy): Do not use BP_SYM in weak_alias.
47380         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47381         (PARMS): Do not use macros from bp-asm.h.
47382         (STR): Likewise.
47383         (CHR): Likewise.
47384         (strchr): Likewise.  Do not use BP_SYM.
47385         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
47386         "bp-asm.h".
47387         (PARMS): Do not use macros from bp-asm.h.
47388         (STR): Likewise.
47389         (CHR): Likewise.
47390         (__strchrnul): Likewise.  Do not use BP_SYM.
47391         (strchrnul): Do not use BP_SYM in weak_alias.
47392         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
47393         "bp-asm.h".
47394         (PARMS): Do not use macros from bp-asm.h.
47395         (STOP): Likewise.
47396         (strcspn): Do not use BP_SYM.
47397         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
47398         "bp-asm.h".
47399         (PARMS): Do not use macros from bp-asm.h.
47400         (STR): Likewise.
47401         (STOP): Likewise.
47402         (strpbrk): Likewise.  Do not use BP_SYM.
47403         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
47404         "bp-asm.h".
47405         (PARMS): Do not use macros from bp-asm.h.
47406         (STR): Likewise.
47407         (CHR): Likewise.
47408         (strrchr): Likewise.  Do not use BP_SYM.
47409         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
47410         (PARMS): Do not use macros from bp-asm.h.
47411         (SKIP): Likewise.
47412         (strspn): Do not use BP_SYM.
47413         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
47414         (PARMS): Do not use macros from bp-asm.h.
47415         (STR): Likewise.
47416         (DELIM): Likewise.
47417         (SAVE): Likewise.
47418         (FUNCTION): Likewise.  Do not use BP_SYM.
47419         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
47420         aliases.
47421         (strtok_r): Likewise.
47422         (__GI___strtok_r): Likewise.
47423         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47424         (PARMS): Do not use macros from bp-asm.h.
47425         (S1): Likewise.
47426         (S2): Likewise.
47427         (SIZE): Likewise.
47428         (__mpn_sub_n): Do not use BP_SYM.
47429         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
47430         "bp-asm.h".
47431         (PARMS): Do not use macros from bp-asm.h.
47432         (S1): Likewise.
47433         (SIZE): Likewise.
47434         (__mpn_submul_1): Do not use BP_SYM.
47435         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
47436         <bp-sym.h>.
47437         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
47438         and <bp-asm.h>.
47439         (PARMS): Do not use macros from bp-asm.h.
47440         (FLAGS): Likewise.
47441         (PTID): Likewise.
47442         (TLS): Likewise.
47443         (CTID): Likewise.
47444         (__clone): Do not use BP_SYM.
47445         (clone): Do not use BP_SYM in weak_alias.
47446         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
47447         and <bp-asm.h>.
47448         (PARMS): Do not use macros from bp-asm.h.
47449         (LEN): Likewise.
47450         (__mmap64): Do not use BP_SYM.
47451         (mmap64): Do not use BP_SYM in weak_alias.
47452         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47453         <bp-sym.h> and <bp-asm.h>.
47454         (PARMS): Do not use macros from bp-asm.h.
47455         (__posix_fadvise64_l64): Do not use BP_SYM.
47456         * sysdeps/unix/sysv/linux/i386/semtimedop.S
47457         (PARMS): Do not use macros from bp-asm.h.
47458         (NSOPS): Likewise.
47459         (semtimedop): Do not use BP_SYM.
47460         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
47461         and <bp-asm.h>.
47463 2013-02-21  Allan McRae  <allan@archlinux.org>
47465         * manual/message.texi (Charset conversion in gettext):
47466         Move @end statement to beginning of line.
47468 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
47471         static.
47472         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47473         Likewise.
47475         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
47476         (denorm): Likewise.
47477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
47478         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
47480 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47482         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
47483         tail-call to the resolved function if pltexit isn't needed.
47485 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47487         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
47488         or Y being zero as being unlikely.
47489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47490         Likewise.
47492 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
47494         * manual/nss.texi (System Databases and Name Service Switch):
47495         Remove frobnicate @pxref.
47497 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47499         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47500         __attribute__ ((unused)) to __attribute__ ((__unused__)).
47502 2013-02-20  Petr Machata  <pmachata@redhat.com>
47504         * elf/elf.h (R_ARM_TARGET1): New macro.
47505         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
47506         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
47507         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
47508         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
47509         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
47510         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
47511         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
47512         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
47513         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
47514         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
47515         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
47516         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
47517         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
47518         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
47519         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
47520         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
47521         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
47522         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
47523         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
47524         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
47525         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
47526         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
47527         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
47528         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
47529         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
47530         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
47531         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
47532         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
47533         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
47534         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
47535         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
47536         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
47537         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
47538         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
47539         (R_ARM_THM_GOT_BREL12): Likewise.
47540         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
47541         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
47542         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
47543         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
47544         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
47545         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
47546         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
47547         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47548         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
47550 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47552         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47553         __attribute_used__ to __attribute__ ((unused)).
47555 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47557         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
47558         powerpc mpa.c.
47559         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
47560         comment formatting.
47561         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
47563 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
47565         [BZ #13550]
47566         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
47567         Remove macro.
47568         (ENTER): Remove both macro definitions.
47569         (LEAVE): Likewise.
47570         (CHECK_BOUNDS_LOW): Likewise.
47571         (CHECK_BOUNDS_HIGH): Likewise.
47572         (CHECK_BOUNDS_BOTH): Likewise.
47573         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
47574         (RETURN_BOUNDED_POINTER): Likewise.
47575         (RETURN_NULL_BOUNDED_POINTER): Likewise.
47576         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
47577         (POP_ERRNO_LOCATION_RETURN): Likewise.
47578         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
47579         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47580         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
47581         macros.
47582         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47583         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
47584         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
47585         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
47586         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
47587         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
47588         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
47589         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
47590         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
47591         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
47592         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
47593         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
47594         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47595         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
47596         removed macros.
47597         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47598         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
47599         macros.
47600         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47601         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
47602         * sysdeps/i386/i586/memset.S (memset): Likewise.
47603         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47604         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47605         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47606         macros.
47607         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47608         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47609         Change uses of L(2) to L(out).
47610         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47611         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47612         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47613         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47614         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47615         removed macros.
47616         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47617         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47618         macros.
47619         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47620         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47621         (RETURN): Do not use macro LEAVE.
47622         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47623         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47624         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47625         * sysdeps/i386/i686/memset.S (memset): Likewise.
47626         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47627         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47628         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47629         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47630         Likewise.
47631         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47632         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
47633         L(1_2) and L(1_3) into L(1).
47634         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47635         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47636         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47637         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47638         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47639         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47640         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47641         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47642         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47643         macros.
47644         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47645         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47646         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47647         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47648         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47649         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47650         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47651         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47652         * sysdeps/i386/strcspn.S (strcspn): Likewise.
47653         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47654         * sysdeps/i386/strrchr.S (strrchr): Likewise.
47655         * sysdeps/i386/strspn.S (strspn): Likewise.
47656         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47657         conditional code.
47658         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47659         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47660         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47661         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
47662         L(1_3) into L(1_1).
47663         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47664         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47665         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47666         macros.
47667         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47669 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
47671         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47672         macro.
47674 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47676         * math/atest-exp.c (exp_mpn): Remove ROUND.
47677         * math/atest-exp2.c (exp_mpn): Likewise.
47678         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47680         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47681         * stdlib/tst-tls-atexit-lib.c: Likewise.
47682         * stdlib/tst-tls-atexit.c: Likewise.
47684 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47686         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47687         and __attribute_alloc_size__.
47689 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47691         * include/programs/xmalloc.h: Change __attribute_alloc_size to
47692         __attribute_alloc_size__.
47693         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47694         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47696 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47698         * include/programs/xmalloc.h: New file.
47699         * catgets/gencat.c: Include it.
47700         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47701         * elf/pldd.c: Likewise.
47702         * iconv/iconv_charmap.c: Likewise.
47703         * iconv/iconvconfig.c: Likewise.
47704         * iconv/strtab.c: Likewise.
47705         * locale/programs/locale.c: Likewise.
47706         * locale/programs/localedef.h: Likewise.
47707         * locale/programs/simple-hash.c: Likewise.
47708         * nscd/nscd.h: Likewise.
47709         * nss/makedb.c: Likewise.
47710         * sysdeps/generic/ldconfig.h: Likewise.
47712 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47714         * Versions.def: Add GLIBC_2.18.
47715         * include/link.h (struct link_map): New member l_tls_dtor_count.
47716         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47717         (__call_tls_dtors): Likewise.
47718         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47719         __cxa_thread_atexit_impl.
47720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47721         Likewise.
47722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47723         Likewise.
47724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47725         Likewise.
47726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47727         Likewise.
47728         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47730         Likewise.
47731         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47732         Likewise.
47733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47735         Likewise.
47736         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47737         (tests): Add test case tst-tls-atexit.
47738         (modules-names): Add shared library for tst-tls-atexit.
47739         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47740         (GLIBC_PRIVATE): Add __call_tls_dtors.
47741         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47742         for libstdc++.
47743         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47744         * stdlib/tst-tls-atexit.c: New test case.
47745         * stdlib/tst-tls-atexit-lib.c: New test case.
47747         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47749         * elf/Versions (ld): Add _dl_find_dso_for_object.
47750         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47751         * elf/dl-open.c (_dl_find_dso_for_object): New function.
47752         (dl_open_worker): Use _dl_find_dso_for_object.
47753         * elf/dl-sym.c (do_sym): Likewise.
47754         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47756 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47758         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
47759         Syntactic changes only.
47760         (_dl_runtime_profile): Do a tail-call to the resolved function.
47762 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
47764         [BZ #13550]
47765         * sysdeps/x86_64/bp-asm.h: Remove file.
47766         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
47767         <bp-sym.h> and <bp-asm.h>.
47768         (__clone): Do not use BP_SYM.
47769         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
47770         <bp-sym.h> and <bp-asm.h>.
47771         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47772         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
47773         "bp-asm.h".
47774         (_setjmp): Do not use BP_SYM.
47775         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
47776         "bp-asm.h".
47777         (setjmp): Do not use BP_SYM.
47778         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
47779         libc_hidden_def.
47780         (mempcpy): Do not use BP_SYM in weak_alias.
47781         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
47782         "bp-asm.h".
47783         (strchr): Do not use BP_SYM.
47784         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
47785         "bp-asm.h".
47786         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
47787         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
47788         (_start): Do not use BP_SYM.
47789         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
47790         "bp-asm.h".
47791         (strcat): Do not use BP_SYM.
47792         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47793         "bp-asm.h".
47794         (STRCMP): Do not use BP_SYM.
47795         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
47796         "bp-asm.h".
47797         (STRCPY): Do not use BP_SYM.
47798         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
47799         "bp-asm.h".
47800         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
47801         "bp-asm.h".
47802         (FUNCTION): Do not use BP_SYM.
47803         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
47804         weak_alias.
47805         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
47807 2013-02-17  Andreas Jaeger  <aj@suse.de>
47809         * time/Versions: Sort entries.
47810         * string/Versions: Likewise.
47811         * resolv/Versions: Likewise.
47812         * posix/Versions: Likewise.
47813         * iconv/Versions: Likewise.
47814         * elf/Versions: Likewise.
47815         * wcsmbs/Versions: Likewise.
47817 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47819         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
47820         loop termination condition.
47822         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
47823         variable to calculate EZ.
47824         (__sqr): Likewise.
47826         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
47827         the lower precision input.
47829 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
47831         [BZ #13550]
47832         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
47833         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
47834         (run-via-rtld-prefix): Do not handle %-bp tests.
47835         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
47836         (all-object-suffixes): Remove .ob.
47837         (bppfx): Remove variable.
47838         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
47839         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
47840         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
47841         [$(build-bounded) = yes] (libtype.ob): Likewise.
47842         * Makerules (elide-routines.ob): Remove variable.
47843         (do-tests-clean): Do not handle *-bp.out.
47844         (common-mostlyclean): Do not handle *-bp and *-bp.out.
47845         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
47846         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
47847         (tests): Do not include $(tests-bp.out).
47848         (xtests): Do not include $(xtests-bp.out).
47849         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
47850         [$(build-bounded) = yes] ($(addprefix
47851         $(objpfx),$(binaries-bounded))): Remove rule.
47852         ($(objpfx)%-bp.out): Remove rule.
47853         * config.make.in (build-bounded): Remove variable.
47854         * crypt/Makefile [$(build-bounded) = yes]
47855         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
47856         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
47857         append to variable.
47858         [$(build-bounded) = yes] (install-lib): Likewise.
47859         [$(build-bounded) = yes] (generated): Likewise.
47860         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
47861         Remove rule.
47862         * intl/Makefile [$(build-bounded) = yes]
47863         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
47864         * math/Makefile [$(build-bounded) = yes]
47865         ($(tests:%=$(objpfx)%-bp): Likewise.
47866         * misc/Makefile [$(build-bounded) = yes]
47867         ($(objpfx)tst-tsearch-bp): Likewise.
47868         * nptl/Makeconfig (bounded-thread-library): Remove variable.
47869         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
47870         Remove dependency.
47871         * string/Makefile (o-objects.ob): Remove variable.
47872         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
47873         (CFLAGS-.ob): Remove variable.
47874         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
47875         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
47876         both definitions of variable.
47877         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
47878         (ASFLAGS-.ob): Remove variable.
47880 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
47882         [BZ #13550]
47883         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
47884         Remove __BOUNDED_POINTERS__ from condition.
47885         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
47886         * string/bits/string2.h [!__NO_STRING_INLINES &&
47887         !__BOUNDED_POINTERS__]: Likewise.
47888         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
47889         Likewise.
47890         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
47891         Remove conditional code.
47892         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
47893         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
47894         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
47895         condition.
47897         [BZ #13550]
47898         * csu/libc-start.c: Do not include <bp-sym.h>.
47899         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
47900         * elf/dl-open.c: Do not include <bp-sym.h>.
47901         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
47902         * math/fegetenv.c: Do not include <bp-sym.h>.
47903         (fegetenv): Do not use BP_SYM in versioned symbols.
47904         * nptl/sysdeps/pthread/bits/libc-lockP.h
47905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
47906         <bp-sym.h>.
47907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47908         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
47909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47910         (__pthread_mutex_destroy): Likewise.
47911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47912         (__pthread_mutex_lock): Likewise.
47913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47914         (__pthread_mutex_trylock): Likewise.
47915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47916         (__pthread_mutex_unlock): Likewise.
47917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47918         (__pthread_mutexattr_init): Likewise.
47919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47920         (__pthread_mutexattr_destroy): Likewise.
47921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47922         (__pthread_mutexattr_settype): Likewise.
47923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47924         (__pthread_rwlock_init): Likewise.
47925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47926         (__pthread_rwlock_destroy): Likewise.
47927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47928         (__pthread_rwlock_rdlock): Likewise.
47929         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47930         (__pthread_rwlock_tryrdlock): Likewise.
47931         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47932         (__pthread_rwlock_wrlock): Likewise.
47933         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47934         (__pthread_rwlock_trywrlock): Likewise.
47935         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47936         (__pthread_rwlock_unlock): Likewise.
47937         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47938         (__pthread_key_create): Likewise.
47939         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47940         (__pthread_setspecific): Likewise.
47941         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47942         (__pthread_getspecific): Likewise.
47943         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
47944         Likewise.
47945         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47946         (_pthread_cleanup_push_defer): Likewise.
47947         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47948         (_pthread_cleanup_pop_restore): Likewise.
47949         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47950         (pthread_setcancelstate): Likewise.
47951         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
47952         <bp-sym.h>.
47953         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
47954         (memchr): Do not use BP_SYM in weak_alias.
47955         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
47956         (fegetenv): Do not use BP_SYM in versioned symbols.
47957         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
47958         (fesetenv): Do not use BP_SYM in versioned symbols.
47959         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47960         (feupdateenv): Do not use BP_SYM in versioned symbols.
47961         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47962         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47963         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
47964         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
47965         (open64): Do not use BP_SYM in weak_alias.
47966         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
47967         (fegetenv): Do not use BP_SYM in versioned symbols.
47968         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
47969         (fesetenv): Do not use BP_SYM in versioned symbols.
47970         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47971         (feupdateenv): Do not use BP_SYM in versioned symbols.
47972         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
47973         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
47974         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
47975         (feraiseexcept): Do not use BP_SYM in versioned symbols.
47976         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47977         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47978         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
47979         <bp-sym.h>.
47980         (__libc_start_main): Do not use BP_SYM.
47982 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
47985         redundant return line.
47986         (norm): Likewise.
47987         (denorm): Likewise.
47988         (dbl_mp): Likewise.
47989         (sub_magnitudes): Likewise.
47990         (__add): Likewise.
47991         (__sub): Likewise.
47992         (__mul): Likewise.
47993         (__inv): Likewise.
47994         (__dvd): Likewise.
47995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
47996         (norm): Likewise.
47997         (denorm): Likewise.
47998         (dbl_mp): Likewise.
47999         (sub_magnitudes): Likewise.
48000         (__add): Likewise.
48001         (__sub): Likewise.
48002         (__mul): Likewise.
48003         (__inv): Likewise.
48004         (__dvd): Likewise.
48006         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
48007         instead of __mul.
48008         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48009         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
48010         (cc32): Likewise.
48012         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
48013         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
48014         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
48015         of __mul for squares.
48016         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
48017         function
48018         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
48019         Likewise.
48020         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
48021         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48023 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
48025         [BZ #13550]
48026         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
48027         code.
48028         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
48029         prototype or function definition.  Rename ubp_* variables and
48030         parameters.  Remove argv definitions conditional on
48031         [__BOUNDED_POINTERS__].
48032         * debug/backtrace.c (__backtrace): Do not use __unbounded.
48033         * elf/dl-runtime.c (_dl_fixup): Likewise.
48034         * include/set-hooks.h (RUN_HOOK): Likewise.
48035         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
48036         definition.
48037         * string/strcpy.c (strcpy): Do not use __unbounded.
48038         * sysdeps/generic/frame.h (struct layout): Likewise.
48039         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
48040         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
48041         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
48042         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
48043         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
48044         (__backtrace): Likewise.
48045         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
48046         use __ptrvalue.
48047         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
48048         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48049         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
48050         Likewise.
48051         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
48052         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
48053         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48054         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48055         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
48056         Do not use __unbounded.
48057         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
48058         Rename __unboundedrlimits parameter to rlimits in prototype.
48059         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
48060         Do not use __unbounded.
48061         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
48062         not use __ptrvalue.
48063         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48064         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
48065         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48066         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
48067         __ptrvalue or __unbounded.
48068         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
48069         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
48070         use __unbounded.
48071         (__new_msgctl): Do not use __ptrvalue.
48072         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
48073         __unbounded.
48074         (__libc_msgrcv): Do not use __ptrvalue.
48075         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
48076         startup_info): Do not use __unbounded.
48077         (__libc_start_main): Likewise.  Rename ubp_* variables and
48078         parameters.  Remove argv definitions conditional on
48079         [__BOUNDED_POINTERS__].
48080         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
48081         __ptrvalue.
48082         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
48083         use __unbounded.
48084         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
48085         or __ptrvalue.
48086         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
48087         use __unbounded.
48088         (__new_shmctl): Do not use __ptrvalue.
48089         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
48090         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
48091         Likewise.
48092         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
48093         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
48094         (__libc_sigaction): Likewise.
48095         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
48096         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
48097         Likewise.
48098         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48100 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
48102         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
48104         * string/mempcpy.c: Implement by calling memcpy.
48106 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48108         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
48110         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
48111         evaluation.
48113         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
48114         values in the mantissa.
48116         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
48117         minimize writes to Z.
48118         (sub_magnitudes): Simplify code a bit.
48120 2013-02-12  Roland McGrath  <roland@hack.frob.com>
48122         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
48123         from the message.  The linker prefixes all warnings with that already.
48125 2013-02-12  Andreas Schwab  <schwab@suse.de>
48127         [BZ #15078]
48128         * posix/regexec.c (extend_buffers): Add parameter min_len.
48129         (check_matching): Pass minimum needed length.
48130         (clean_state_log_if_needed): Likewise.
48131         (get_subexp): Likewise.
48132         * posix/Makefile (tests): Add bug-regex34.
48133         (bug-regex34-ENV): Define.
48134         * posix/bug-regex34.c: New file.
48136         [BZ #11561]
48137         * posix/regcomp.c (parse_bracket_exp): When looking up collating
48138         elements compare against the byte sequence of it, not its name.
48139         * posix/Makefile (tests): Add bug-regex35.
48140         (bug-regex35-ENV): Define.
48141         * posix/bug-regex35.c: New file.
48143 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48145         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
48146         comment.
48147         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
48148         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
48149         (CHECK_EOL): Add undef.
48151 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
48153         * bits/stdlib-bsearch.h: New file.
48154         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
48155         * stdlib/stdlib.h: Likewise.
48157 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48159         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
48160         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
48161         declaration.
48162         * manual/search.texi (Array Search Function): Add missing const in
48163         lfind prototype.
48164         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
48165         declaration to use rlim_t.
48166         (Basic Scheduling Functions): Remove erroneous const from
48167         sched_getparam prototype.  Remove erroneous * from
48168         sched_get_priority_max and sched_get_priority_min prototypes.
48169         (Resource Usage): Fix summary @comment on vtimes to refer to
48170         sys/vtimes.h rather than vtimes.h.
48171         Add missing *s in vtimes prototype.
48172         (Limits on Resources): Fix ulimit prototype to return long int.
48173         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
48174         prototypes to use long int rather than double.
48175         (BSD Random): Fix initstate and setstate to use char *, not void *.
48176         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
48177         prototype to make second argument 'struct aiocb64 *const[]'.
48178         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
48179         (Status of AIO Operations): Remove erroneous const in aio_return and
48180         aio_return64 prototypes.
48181         (Synchronizing I/O): Fix sync prototype to return void.
48182         * manual/startup.texi (Suboptions): Remove an erroneous const in
48183         getsubopt prototype.
48184         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
48185         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
48186         use size_t rather than int.
48187         (Scanning All Users): Likewise for getpwent_r.
48188         (Setting Groups): Add missing const to setgroups prototype.
48189         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
48190         * manual/socket.texi (Host Names): Fix gethostbyaddr and
48191         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
48192         'const void *' rather than 'const char *'.
48193         (Host Address Functions): Likewise for inet_ntop.
48194         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
48195         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
48196         ssize_t for return value.
48197         (Sending Data): Likewise for send, sendto, sendmsg.
48198         (Socket Option Functions): Add a missing const in setsockopt prototype.
48199         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
48200         use wchar_t for the argument.
48201         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
48202         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
48203         take no arguments.
48204         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
48205         double/float/long double for second argument.
48206         Fix return types of significand, significandf, significandl.
48207         * manual/filesys.texi (Setting Permissions): Use mode_t for second
48208         argument in fchmod prototype.
48209         (File Owner): Use uid_t and gid_t in fchown prototype.
48210         (File Times): Add const to utimes, futimes, and lutimes prototypes.
48211         (Making Special Files): Use mode_t and dev_t in mknod prototype.
48212         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
48213         use 'const struct dirent **' as argument types to CMP function pointer
48214         argument.
48215         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
48216         (File Times): Fix summary magic @comment for struct utimbuf and utime
48217         to refer to utime.h, not time.h.
48218         * manual/string.texi (Argz Functions): Add missing const in
48219         argz_extract and argz_next prototypes.
48220         (Finding Tokens in a String): Likewise for basename.
48221         (String/Array Comparison): Fix typo in wcscasecmp prototype.
48222         (Copying and Concatenation): Fix typo in wmemmove prototype.
48223         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
48224         (Signal Stack): Remove erroneous const in sigstack prototype.
48225         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
48226         prototype.
48227         (Simple Calendar Time): Likewise for stime.
48228         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
48229         prototype.
48230         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
48231         say sys/sysctl.h instead.
48232         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
48233         and vsyslog prototypes.
48235 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48237         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
48238         Remove.
48240 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48242         * misc/sys/mman.h: Fix typo in mremap comment.
48244 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48246         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
48247         the '\0' terminator.
48249 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48251         [BZ #13550]
48252         * debug/segfault.c: Don't include <bp-checks.h>.
48253         * sysdeps/generic/bp-checks.h: Remove file.
48254         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
48255         (__GETDENTS): Don't use CHECK_N.
48256         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
48257         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
48258         (__getgroups): Don't use CHECK_N.
48259         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
48260         (setgroups): Don't use CHECK_N.
48261         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
48262         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
48263         (__libc_msgrcv): Don't use CHECK_N.
48264         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
48265         (__libc_msgsnd): Don't use CHECK_N.
48266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
48267         <bp-checks.h>.
48268         (__libc_pread): Don't use CHECK_N.
48269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
48270         include <bp-checks.h>.
48271         (__libc_pread64): Don't use CHECK_N.
48272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
48273         include <bp-checks.h>.
48274         (__libc_pwrite): Don't use CHECK_N.
48275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
48276         include <bp-checks.h>.
48277         (__libc_pwrite64): Don't use CHECK_N.
48278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
48279         <bp-checks.h>.
48280         (__libc_pread): Don't use CHECK_N.
48281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
48282         include <bp-checks.h>.
48283         (__libc_pread64): Don't use CHECK_N.
48284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
48285         include <bp-checks.h>.
48286         (__libc_pwrite): Don't use CHECK_N.
48287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
48288         include <bp-checks.h>.
48289         (__libc_pwrite64): Don't use CHECK_N.
48290         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
48291         (do_pread): Don't use CHECK_N.
48292         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
48293         (do_pread64): Don't use CHECK_N.
48294         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
48295         (do_pwrite): Don't use CHECK_N.
48296         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
48297         (do_pwrite64): Don't use CHECK_N.
48298         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
48299         (__libc_readv): Don't use CHECK_N.
48300         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
48301         (semop): Don't use CHECK_N.
48302         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
48303         <bp-checks.h>.
48304         (semtimedop): Don't use CHECK_N.
48305         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
48306         (__libc_pread): Don't use CHECK_N.
48307         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
48308         <bp-checks.h>.
48309         (__libc_pread64): Don't use CHECK_N.
48310         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
48311         <bp-checks.h>.
48312         (__libc_pwrite): Don't use CHECK_N.
48313         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
48314         <bp-checks.h>.
48315         (__libc_pwrite64): Don't use CHECK_N.
48316         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
48317         <bp-checks.h>.
48318         (__libc_msgrcv): Don't use CHECK_N.
48319         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
48320         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
48321         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
48322         (__libc_writev): Don't use CHECK_N.
48324 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48326         * string/strcpy.c: Removed unused variable.
48328         * Makeconfig (+sysdep-includes): Define with := rather than =.
48329         Use an existing include/ subdir of each sysdeps dir before it.
48331 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48333         * nscd/connection.c (register_traced_file): Comment function.
48334         [HAVE_INOTIFY] (union __inev): Define.
48335         [HAVE_INOTIFY] (inotify_check_files): New function.
48336         [HAVE_INOTIFY] (clear_db_cache): Likewise.
48337         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
48338         clear_db_cache.
48339         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
48341 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48343         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
48344         loaded if not already and that a failure is permanent.
48346 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48348         [BZ #15006]
48349         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
48350         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
48352 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48354         [BZ #13550]
48355         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
48356         (CHECK_1_NULL_OK): Likewise.
48357         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
48358         (__fxstat): Do not use CHECK_1.
48359         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
48360         <bp-checks.h>.
48361         (___fxstat64): Do not use CHECK_1.
48362         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48363         <bp-checks.h>.
48364         (__fxstatat): Do not use CHECK_1.
48365         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48366         <bp-checks.h>.
48367         (__fxstatat64): Do not use CHECK_1.
48368         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
48369         <bp-checks.h>.
48370         (__fxstat): Do not use CHECK_1.
48371         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48372         <bp-checks.h>.
48373         (__fxstatat): Do not use CHECK_1.
48374         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48375         <bp-checks.h>.
48376         (__getresgid): Do not use CHECK_1.
48377         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48378         <bp-checks.h>.
48379         (__getresuid): Do not use CHECK_1.
48380         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
48381         <bp-checks.h>.
48382         (__lxstat): Do not use CHECK_1.
48383         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48384         <bp-checks.h>.
48385         (__old_msgctl): Do not use CHECK_1.
48386         (__new_msgctl): Likewise.
48387         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
48388         <bp-checks.h>.
48389         (__new_setrlimit): Do not use CHECK_1.
48390         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48391         <bp-checks.h>.
48392         (__old_shmctl): Do not use CHECK_1.
48393         (__new_shmctl): Likewise.
48394         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
48395         <bp-checks.h>.
48396         (__xstat): Do not use CHECK_1.
48397         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
48398         (__lxstat): Do not use CHECK_1.
48399         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
48400         <bp-checks.h>.
48401         (___lxstat64): Do not use CHECK_1.
48402         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
48403         (__old_msgctl): Do not use CHECK_1.
48404         (__new_msgctl): Likewise.
48405         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
48406         <bp-checks.h>.
48407         (__gettimeofday): Do not use CHECK_1.
48408         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
48409         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
48410         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
48411         <bp-checks.h>.
48412         (__gettimeofday): Do not use CHECK_1.
48413         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
48414         (__old_shmctl): Do not use CHECK_1_NULL_OK.
48415         (__new_shmctl): Do not use CHECK_1.
48416         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
48417         <bp-checks.h>.
48418         (do_sigtimedwait): Do not use CHECK_1.
48419         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
48420         <bp-checks.h>.
48421         (do_sigwaitinfo): Do not use CHECK_1.
48422         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
48423         <bp-checks.h>.
48424         (msgctl): Do not use CHECK_1.
48425         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
48426         <bp-checks.h>.
48427         (shmctl): Do not use CHECK_1.
48428         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
48429         (ustat): Do not use CHECK_1.
48430         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
48431         <bp-checks.h>.
48432         (__fxstat): Do not use CHECK_1.
48433         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48434         <bp-checks.h>.
48435         (__fxstatat): Do not use CHECK_1.
48436         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
48437         <bp-checks.h>.
48438         (__lxstat): Do not use CHECK_1.
48439         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
48440         <bp-checks.h>.
48441         (__xstat): Do not use CHECK_1.
48442         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
48443         (__xstat): Do not use CHECK_1.
48444         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
48445         (___xstat64): Do not use CHECK_1.
48447         [BZ #13550]
48448         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
48449         definitions.
48450         (CHECK_BOUNDS_HIGH): Likewise.
48451         * string/strcpy.c: Do not include <bp-checks.h>.
48452         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
48454 2013-02-07  Roland McGrath  <roland@hack.frob.com>
48456         * nscd/nscd-client.h (__nscd_drop_map_ref):
48457         Add __attribute__ ((unused)).
48458         * nis/nss-nisplus.h (niserr2nss): Likewise.
48460         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
48461         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
48463         * csu/libc-tls.c (init_static_tls, init_slotinfo):
48464         Remove inline keyword.
48465         * include/rounding-mode.h (round_away): Likewise.
48466         * libio/wfileops.c (adjust_wide_data): Likewise.
48467         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
48468         (__m128i_strloadu_tolower): Likewise.
48469         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
48470         (__m128i_strloadu_tolower): Likewise.
48471         * time/mktime.c (ydhms_diff): Likewise.
48472         * locale/elem-hash.h (elem_hash): Likewise.
48473         * locale/setlocale.c (setdata): Likewise.
48474         * posix/regex_internal.h (re_string_char_size_at): Likewise.
48475         (re_string_wchar_at): Likewise.
48476         (bitset_not, bitset_merge, bitset_mask): Likewise.
48477         [!(__GNUC__ > 3)] (inline): Remove macro.
48478         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
48479         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
48480         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
48481         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
48482         * string/memcmp.c (memcmp_bytes): Likewise.
48483         * locale/programs/locarchive.c (compute_hashval): Likewise.
48484         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
48485         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
48486         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
48487         * nss/getent.c (print_rpc, print_protocols): Likewise.
48488         (print_passwd, print_group, print_aliases): Likewise.
48489         * nis/nss-nisplus.h (niserr2nss): Likewise.
48490         * nscd/connections.c (restart_p): Likewise.
48491         Change return type to bool.
48493 2013-02-05  Roland McGrath  <roland@hack.frob.com>
48495         * Makeconfig (all-Depend-files): Add existing
48496         $(sorted-subdirs:=/Depend) files.
48497         (all-subdirs): Remove nss.
48498         * sysdeps/unix/inet/Subdirs: Add it here instead.
48499         * hesiod/Depend: New file.
48501         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
48502         instead of calling alloca.
48504         * io/lseek.c (__lseek): Rename to __libc_lseek.
48505         Define __lseek as an alias.
48507         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
48509 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
48511         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
48512         else clause and remove check for non-standard endianness.
48514 2013-02-04  David S. Miller  <davem@davemloft.net>
48516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48518 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
48520         [BZ #13550]
48521         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
48522         (__ubp_memchr): Remove prototype.
48523         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
48524         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48525         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
48526         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48527         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
48528         Remove alias.
48529         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
48530         (__ubp_memchr): Likewise.
48531         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
48532         (__ubp_memchr): Likewise.
48533         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
48534         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
48535         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
48536         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
48537         CHECK_STRING.
48538         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48539         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
48540         (__getcwd): Do not use CHECK_STRING.
48541         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48542         <bp-checks.h>.
48543         (__real_chown): Do not use CHECK_STRING.
48544         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
48545         <bp-checks.h>.
48546         (fchownat): Do not use CHECK_STRING.
48547         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
48548         CHECK_STRING.
48549         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48550         <bp-checks.h>.
48551         (__lchown): Do not use CHECK_STRING.
48552         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48553         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48554         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48555         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
48556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48557         include <bp-checks.h>.
48558         (truncate64): Do not use CHECK_STRING.
48559         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48560         <bp-checks.h>.
48561         (__real_chown): Do not use CHECK_STRING.
48562         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48563         <bp-checks.h>.
48564         (__lchown): Do not use CHECK_STRING.
48565         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48566         <bp-checks.h>.
48567         (__chown): Do not use CHECK_STRING.
48568         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
48569         <bp-checks.h>.
48570         (truncate64): Do not use CHECK_STRING.
48571         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
48572         Likewise.
48573         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
48574         (__xmknod): Do not use CHECK_STRING.
48575         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48576         <bp-checks.h>.
48577         (__xmknodat): Do not use CHECK_STRING.
48578         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48579         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
48581 2013-02-04  Andreas Schwab  <schwab@suse.de>
48583         [BZ #14142]
48584         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
48585         * include/netdb.h: Likewise for h_errno.
48586         * elf/tst-stackguard1.c: Include <tls.h>.
48588 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
48590         * elf/link.h (struct link_map): Extend the l_addr comment.
48591         * include/link.h (struct link_map): Likewise.
48593 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
48595         [BZ #13550]
48596         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
48597         (BOUNDED_1): Remove macro.
48598         * debug/backtrace.c: Don't include <bp-checks.h>.
48599         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
48600         (__backtrace): Likewise.
48601         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
48602         <bp-checks.h>.
48603         (__backtrace): Don't use BOUNDED_1.
48604         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48605         <bp-checks.h>.
48606         (__backtrace): Don't use BOUNDED_1.
48607         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48608         (__backtrace): Don't use BOUNDED_1.
48609         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48610         (shmat): Don't use BOUNDED_N.
48612 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
48614         [BZ #13550]
48615         * sysdeps/generic/bp-start.h: Remove file.
48616         * csu/libc-start.c: Don't include <bp-start.h>.
48617         (LIBC_START_MAIN): Set up __environ directly instead of using
48618         INIT_ARGV_and_ENVIRON.
48619         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48620         <bp-start.h>.
48622         [BZ #13550]
48623         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48624         definitions.
48625         (CHECK_FCNTL): Likewise.
48626         (CHECK_N_PAGES): Likewise.
48628         [BZ #13550]
48629         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48630         definitions.
48631         (CHECK_SIGSET_NULL_OK): Likewise.
48632         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48633         <bp-checks.h>.
48634         (sigpending): Don't use CHECK_SIGSET.
48635         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48636         <bp-checks.h>.
48637         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48638         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48639         <bp-checks.h>.
48640         (do_sigsuspend): Don't use CHECK_SIGSET.
48641         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48642         use CHECK_SIGSET.
48643         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48644         (do_sigwait): Don't use CHECK_SIGSET.
48645         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48646         use CHECK_SIGSET.
48647         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48648         include <bp-checks.h>.
48649         (sigpending): Don't use CHECK_SIGSET.
48650         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48651         include <bp-checks.h>.
48652         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48653         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48654         <bp-checks.h>.
48655         (sigpending): Don't use CHECK_SIGSET.
48656         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48657         <bp-checks.h>.
48658         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48660         [BZ #13550]
48661         * sysdeps/generic/bp-semctl.h: Remove file.
48662         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48663         <bp-checks.h> and <bp-semctl.h>.
48664         (__old_semctl): Don't use CHECK_SEMCTL.
48665         (__new_semctl): Likewise.
48666         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48667         and <bp-semctl.h>.
48668         (__old_semctl): Don't use CHECK_SEMCTL.
48669         (__new_semctl): Likewise.
48670         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48671         <bp-checks.h> and <bp-semctl.h>.
48672         (__old_semctl): Don't use CHECK_SEMCTL.
48673         (__new_semctl): Likewise.
48674         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48675         <bp-checks.h> and <bp-semctl.h>.
48676         (semctl): Don't use CHECK_SEMCTL.
48678         [BZ #13550]
48679         * Makerules (elide-bp-thunks): Remove variable.
48680         (elide-routines.oS): Don't use $(elide-bp-thunks).
48681         (elide-routines.os): Likewise.
48682         (elide-routines.o): Likewise.
48683         (elide-routines.op): Likewise.
48684         (elide-routines.og): Likewise.
48685         (objects): Don't use $(bp-thunks).
48686         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48687         include.
48688         (common-generated): Do not add s-proto-bp.d.
48689         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48690         (int): Likewise.
48691         (typ): Likewise.
48692         Do not generate makefile rules for bounded-pointer thunks.
48693         * sysdeps/generic/bp-thunks.h: Remove file.
48694         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48695         * sysdeps/unix/s-proto-bp.S: Likewise.
48697         [BZ #15062]
48698         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48699         parts of result separately when argument is not close to line from
48700         -i to i and one part of argument is small.
48701         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48702         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48703         * math/libm-test.inc (cacos_test): Add more tests.
48704         (casin_test): Likewise.
48705         (casinh_test): Likewise.
48706         * sysdeps/i386/fpu/libm-test-ulps: Update.
48707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48709 2013-01-31  David S. Miller  <davem@davemloft.net>
48711         * po/de.po: Update from translation team.
48713 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
48715         * time/tzfile.c: Include stdint.h for SIZE_MAX.
48717 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
48719         * configure.in (_AC_PROG_CC_C89): New definition.
48720         * configure: Regenerate.
48722         * configure.in (AC_PROG_CPP): New definition.
48723         * configure: Regenerate.
48725 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48727         * debug/tst-backtrace.h: New file.
48728         * debug/tst-backtrace2.c: Include tst-backtrace.h.
48729         (ret): Remove variable.
48730         (x): Likewise.
48731         (FAIL): Remove macro.
48732         (NO_INLINE): Likewise.
48733         (fn1): Use match function instead of strstr.
48734         * debug/tst-backtrace3.c: Include tst-backtrace.h.
48735         (ret): Remove variable.
48736         (x): Likewise.
48737         (FAIL): Remove macro.
48738         (NO_INLINE): Likewise.
48739         (fn): Use match function instead of strstr.
48740         * debug/tst-backtrace4.c: Include tst-backtrace.h.
48741         (ret): Remove variable.
48742         (x): Likewise.
48743         (FAIL): Remove macro.
48744         (NO_INLINE): Likewise.
48745         (handle_signal): Use match function instead of strstr.
48746         * debug/tst-backtrace5.c: Include tst-backtrace.h.
48747         (ret): Remove variable.
48748         (x): Likewise.
48749         (FAIL): Remove macro.
48750         (NO_INLINE): Likewise.
48751         (handle_signal): Use match function instead of strstr.
48753 2013-01-23  Roland McGrath  <roland@hack.frob.com>
48755         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48757 2013-01-23  David S. Miller  <davem@davemloft.net>
48759         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
48760         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
48761         argument of CAS if possible.
48762         * sysdeps/sparc/sparc64/bits/atomic.h
48763         (__arch_compare_and_exchange_val_32_acq): Likewise.
48764         (__arch_compare_and_exchange_val_64_acq): Likewise.
48766 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
48768         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
48769         * sysdeps/posix/ulimit.c: ... this.
48770         Include <limits.h>.
48771         * sysdeps/unix/bsd/ulimit.c: Remove file.
48773 2013-01-23  Adam Conrad  <adconrad@0c3.net>
48775         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
48776         (LDFLAGS-tst-array5): Likewise.
48778 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48780         [BZ #15036]
48781         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
48782         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
48783         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
48784         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
48786 2013-01-21  David S. Miller  <davem@davemloft.net>
48788         * sysdeps/sparc/backtrace.c: New file.
48789         * sysdeps/sparc/sparc32/backtrace.h: New file.
48790         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
48791         * sysdeps/sparc/sparc64/backtrace.h: New file.
48792         * sysdeps/sparc/sparc64/backtrace.c: Delete.
48793         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
48794         -funwind-tables.
48796 2013-01-21  Andreas Schwab  <schwab@suse.de>
48798         [BZ #15020]
48799         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
48800         closed its stdout.
48802 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
48804         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
48805         "mpa2.h".
48806         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48808 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
48809             Mark Mitchell  <mark@codesourcery.com>
48810             Tom de Vries  <tom@codesourcery.com>
48811             Paul Pluzhnikov  <ppluzhnikov@google.com>
48813         * debug/tst-backtrace2.c: New file.
48814         * debug/tst-backtrace3.c: Likewise.
48815         * debug/tst-backtrace4.c: Likewise.
48816         * debug/tst-backtrace5.c: Likewise.
48817         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
48818         (CFLAGS-tst-backtrace3.c): Likewise.
48819         (CFLAGS-tst-backtrace4.c): Likewise.
48820         (CFLAGS-tst-backtrace5.c): Likewise.
48821         (LDFLAGS-tst-backtrace2): Likewise.
48822         (LDFLAGS-tst-backtrace3): Likewise.
48823         (LDFLAGS-tst-backtrace4): Likewise.
48824         (LDFLAGS-tst-backtrace5): Likewise.
48825         (tests): Add new tests tst-backtrace2, tst-backtrace3,
48826         tst-backtrace4 and tst-backtrace5.
48828 2013-01-18  Anton Blanchard  <anton@samba.org>
48829             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48831         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
48832         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48833         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
48834         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
48835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48836         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
48837         "+r" and remove output regs list as redundant.  Add explicit inline
48838         asm to specify register of return val to work around compiler codegen
48839         bug.  Remove (int) cast on return value.  Add return type parameter to
48840         use in macro so that this macro does not truncate return value for
48841         64-bit values.
48842         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48843         pass to INTERNAL_VSYSCALL_NCS.
48844         (INLINE_VSYSCALL): Add 'long int' as return type to
48845         INTERNAL_VSYSCALL_NCS macro invocation.
48846         (INTERNAL_VSYSCALL): Add 'long int' as return type to
48847         INTERNAL_VSYSCALL_NCS macro invocation.
48848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48850 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48852         [BZ #14496]
48853         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
48854         Fix application of SIMD FP exception mask.
48856         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
48857         mp_no from a power of two.
48858         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
48859         __mpexp_twomm1.  Use __pow_mp.
48861         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
48862         multiplication.
48864 2013-01-17  David S. Miller  <davem@davemloft.net>
48866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48868 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48870         [BZ #15023]
48871         * include/complex.h: Condition contents on [!_COMPLEX_H].
48872         (__kernel_casinhf): New prototype.
48873         (__kernel_casinh): Likewise.
48874         (__kernel_casinhl): Likewise.
48875         * math/Makefile (libm_calls): Add k_casinh.
48876         * math/k_casinh.c: New file.
48877         * math/k_casinhf.c: Likewise.
48878         * math/k_casinhl.c: Likewise.
48879         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
48880         finite nonzero arguments.
48881         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
48882         finite nonzero arguments.
48883         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
48884         finite nonzero arguments.
48885         * math/s_casinh.c: Do not include <float.h>.
48886         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
48887         * math/s_casinhf.c: Do not include <float.h>.
48888         (__casinhf): Move code for finite nonzero arguments to
48889         k_casinhf.c.
48890         * math/s_casinhl.c: Do not include <float.h>.
48891         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
48892         redefine.
48893         (__casinhl): Move code for finite nonzero arguments to
48894         k_casinhl.c.
48895         * math/libm-test.inc (cacos_test): Add more tests.
48896         * sysdeps/i386/fpu/libm-test-ulps: Update.
48897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48899 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
48901         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
48902         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
48903         [!HAVE_MREMAP]: Remove [defined linux] case.
48904         * malloc/arena.c: Do not include <malloc-sysdep.h>.
48906 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48908         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
48910 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
48912         * elf/elf.h (R_386_SIZE32): New relocation.
48913         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
48914         R_386_SIZE32.
48915         (elf_machine_rela): Likewise.
48916         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48917         R_X86_64_SIZE64 and R_X86_64_SIZE32.
48919 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48921         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
48922         (FP_FAST_FMA): Do not define.
48923         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
48924         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
48925         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
48926         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
48927         !_SOFT_FLOAT]: Likewise.
48928         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
48929         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
48930         value.
48931         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
48932         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
48933         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
48934         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
48935         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
48936         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
48937         file.
48939 2013-01-16  Andreas Schwab  <schwab@suse.de>
48941         [BZ #14327]
48942         * include/stdlib.h (__mktemp): Add declaration.
48943         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
48944         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
48946 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48948         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
48949         definitions.
48950         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48951         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
48952         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48953         definitions here.
48954         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
48955         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
48956         definitions.
48957         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
48958         and ONE.
48959         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
48960         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
48961         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
48962         definitions.
48963         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
48964         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
48965         definitions.
48966         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48968         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
48970 2013-01-15  David S. Miller  <davem@davemloft.net>
48972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48973         trunc{,f} to libm-sysdep_routes.
48974         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
48976         file.
48977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
48978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
48979         file.
48980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
48981         file.
48982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
48983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
48984         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
48985         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
48986         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
48987         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
48988         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
48989         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
48991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48992         nearbyint{,f} to libm-sysdep_routes.
48993         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
48995         New file.
48996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
48997         file.
48998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
48999         New file.
49000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
49001         file.
49002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
49003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
49004         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
49005         file.
49006         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
49007         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
49008         file.
49009         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
49010         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
49011         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
49013         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49014         libc_feholdexcept and libc_fesetenv.
49016 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
49018         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
49020 2013-01-14  David S. Miller  <davem@davemloft.net>
49022         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
49023         (SPARC_ASM_VIS2_IFUNC): Likewise.
49024         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
49025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
49026         use of 'siam' instruction.
49027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
49028         Likewise.
49029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
49030         Likewise.
49031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
49032         Likewise.
49033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
49034         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
49035         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
49036         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
49037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
49038         file.
49039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
49040         file.
49041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
49042         file.
49043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
49044         file.
49045         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
49046         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
49047         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
49048         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
49049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
49050         new VIS2 routines.
49051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49054         Likewise.
49055         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49056         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49057         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49058         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
49060         routines to libm-sysdep_routines.
49061         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49064         fdim/fdimf to libm-sysdep_routines.
49065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
49066         file.
49067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
49068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
49069         file.
49070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
49071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
49072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
49073         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
49074         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
49075         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
49076         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
49078 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49080         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
49081         to optimize copies.
49083         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
49084         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49085         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
49088         local variable MPTWO.
49089         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49090         Likewise.
49092 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49094         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
49095         GLOB_NOESCAPE.
49097 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49099         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
49101 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49103         * manual/pattern.texi (glob_t): Document gl_flags.
49104         (glob64_t): Likewise.
49106 2013-01-11  David S. Miller  <davem@davemloft.net>
49108         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
49109         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
49110         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
49111         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
49112         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
49113         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
49114         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
49115         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
49116         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
49117         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
49118         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
49119         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
49120         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
49122         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49123         sparc V9 rather than using V8 code.
49124         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49125         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49127         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49128         Move to...
49129         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
49130         Here.
49132 2013-01-11  Roland McGrath  <roland@hack.frob.com>
49134         [BZ #14941]
49135         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
49136         not in the main loop.
49137         * configure: Regenerated.
49139 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
49141         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
49142         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
49143         to just #else.
49144         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
49145         [!__GLIBC_HAVE_LONG_LONG] case.
49146         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
49147         condition to just #else.
49148         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
49149         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
49150         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
49151         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
49152         unconditional.
49153         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
49154         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49155         #elif condition to just #else.
49156         * sysdeps/unix/sysv/linux/sys/sysmacros.h
49157         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
49158         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49159         #elif condition to just #else.
49161 2013-01-11  Steve Ellcey  <sellcey@mips.com>
49163         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
49164         (EF_MIPS_ARCH_64): Fix value.
49165         (EF_MIPS_ARCH_32R2): New.
49166         (EF_MIPS_ARCH_64R2): New.
49168 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
49170         * Makeconfig (+link-pie-before-libc): New.
49171         (+link-pie-after-libc): Likewise.
49172         (+link-pie-tests): Likewise.
49173         (+link-pie): Rewritten.
49174         (link-before-libc): Remove $(config-LDFLAGS).
49175         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
49176         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
49177         (config-LDFLAGS): Renamed to ...
49178         (rtld-LDFLAGS): This.
49179         (rtld-tests-LDFLAGS): New macro.
49180         (link-libc-rpath-link): Likewise.
49181         (link-libc-tests-rpath-link): Likewise.
49182         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
49183         (link-libc): Prepand $(link-libc-rpath-link).
49184         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
49185         (test-program-prefix): New macro.
49186         (test-via-rtld-prefix): Likewise.
49187         (test-program-cmd): Likewise.
49188         (host-test-program-cmd): Likewise.
49189         * Makefile ($(common-objpfx)testrun.sh): Replace
49190         $(run-program-prefix) with $(test-program-prefix).
49191         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
49192         $(rtld-LDFLAGS).
49193         ($(common-objpfx)shlib.lds): Likewise.
49194         (build-module-helper): Likewise.
49195         ($(common-objpfx)format.lds): Likewise.
49196         * Rules (binaries-pie-tests): New.
49197         (binaries-pie-notests): Likewise.
49198         (binaries-pie): Rewritten.
49199         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
49200         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
49201         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
49202         (make-test-out): Replace $(host-built-program-cmd) with
49203         $(host-test-program-cmd).
49204         * config.make.in (build-hardcoded-path-in-tests): New variable.
49205         * configure.in (--enable-hardcoded-path-in-tests): New configure
49206         option.
49207         (hardcoded_path_in_tests): New AC_SUBST.
49208         * configure: Regenerated.
49209         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
49210         $(built-program-cmd) with $(test-program-cmd).
49211         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
49212         (test_program_cmd): This.
49213         * elf/Makefile ($(objpfx)order.out): Run test with
49214         $(test-program-prefix).
49215         ($(objpfx)order2.out): Likewise.
49216         ($(objpfx)tst-initorder.out): Likewise.
49217         ($(objpfx)tst-initorder2.out): Likewise.
49218         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
49219         $(test-program-cmd).
49220         ($(objpfx)tst-array1-static.out): Likewise.
49221         ($(objpfx)tst-array2.out): Likewise.
49222         ($(objpfx)tst-array3.out): Likewise.
49223         ($(objpfx)tst-array4.out): Likewise.
49224         ($(objpfx)tst-array5.out): Likewise.
49225         ($(objpfx)tst-array5-static.out): Likewise.
49226         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
49227         $(test-program-cmd).
49228         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
49229         $(run-program-prefix) with $(test-program-prefix).
49230         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
49231         (test_program_prefix): This.
49232         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
49233         $(run-program-prefix) with $(test-program-prefix).
49234         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
49235         (test_program_prefix): This.
49236         * iconvdata/tst-tables.sh: Likewise.
49237         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
49238         $(run-program-prefix) with $(test-program-prefix).
49239         ($(objpfx)tst-translit.out): Likewise.
49240         ($(objpfx)tst-gettext2.out): Likewise.
49241         ($(objpfx)tst-gettext4.out): Likewise.
49242         ($(objpfx)tst-gettext6.out): Likewise.
49243         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
49244         (test_program_prefix): This.
49245         * intl/tst-gettext2.sh: Likewise.
49246         * intl/tst-gettext4.sh  Likewise.
49247         * intl/tst-gettext6.sh: Likewise.
49248         * intl/tst-translit.sh: Likewise.
49249         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
49250         with $(test-program-cmd).
49251         * libio/Makefile ($(objpfx)test-freopen.out): Replace
49252         $(run-program-prefix) with $(test-program-prefix).
49253         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
49254         (test_program_prefix): This.
49255         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
49256         $(run-program-prefix) with $(test-program-prefix).
49257         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
49258         (test_program_prefix): This.
49259         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
49260         * posix/Makefile ($(objpfx)globtest.out): Replace
49261         $(run-via-rtld-prefix) and $(test-wrapper) with
49262         $(test-program-prefix) and $(test-via-rtld-prefix).
49263         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
49264         $(test-program-prefix).
49265         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
49266         $(host-test-program-cmd).
49267         (tst-spawn-ARGS): Likewise.
49268         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
49269         $(test-program-prefix).
49270         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
49271         (test_via_rtld_prefix): This.
49272         (test_wrapper): Renamed to ...
49273         (test_program_prefix): This.
49274         (run_program_prefix): Replaced by test_program_prefix.
49275         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
49276         (test_program_prefix): This.
49277         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
49278         with $(host-test-program-cmd).
49279         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
49280         $(run-program-prefix) with $(test-program-prefix).
49281         ($(objpfx)tst-printf.out): Likewise.
49282         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
49283         $(test-program-cmd).
49284         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
49285         (test_program_prefix): This.
49286         * stdio-common/tst-unbputc.sh: Likewise.
49287         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
49288         $(run-program-prefix) with $(test-program-prefix).
49289         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
49290         (test_program_prefix): This.
49291         * string/Makefile ($(objpfx)tst-svc.out):  Replace
49292         $(built-program-cmd) with $(test-program-cmd).
49294 2013-01-11  Andreas Jaeger  <aj@suse.de>
49296         [BZ #15003]
49297         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
49298         value. Sync with Linux 3.7.
49300 2013-01-10  David S. Miller  <davem@davemloft.net>
49302         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
49303         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49304         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49306 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49308         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
49309         never set.
49310         * configure: Regenerated.
49312 2013-01-10  David S. Miller  <davem@davemloft.net>
49314         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49315         sparc V9 rather than using V8 code.
49316         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49317         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49319 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49321         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
49322         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
49323         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
49324         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
49325         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
49326         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
49327         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
49328         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
49329         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
49330         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
49331         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
49332         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
49333         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
49334         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
49335         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
49336         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
49337         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
49338         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
49339         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
49340         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
49341         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
49342         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
49343         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
49344         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
49345         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
49346         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
49347         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
49349 2013-01-10  David S. Miller  <davem@davemloft.net>
49351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49353 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49355         * posix/Makefile (tests-static): New variable.
49356         (tests): Add $(tests-static).
49357         (tst-exec-static-ARGS): New variable.
49358         (tst-spawn-static-ARGS): Likewise.
49359         * posix/tst-exec-static.c: New file.
49360         * posix/tst-spawn-static.c: Likewise.
49361         * posix/tst-exec.c: Support run directly.
49362         * posix/tst-spawn.c: Likewise.
49364 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
49366         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
49367         long.
49368         * math/bits/mathcalls.h (llrint): Likewise.
49369         (llround): Likewise.
49370         * stdlib/stdlib.h (struct drand48_data): Likewise.
49371         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
49372         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
49373         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
49374         Likewise.
49375         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
49376         Likewise.
49377         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
49378         (elf_greg_t): Likewise.
49379         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
49380         (__jmp_buf): Likewise.
49381         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
49382         definitions.
49383         (llrint): Likewise, for all definitions.
49384         (llrintl): Likewise.
49386         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
49387         Remove [__GNUC__] condition.
49388         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
49389         condition to just [__USE_ISOC99].
49390         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
49392 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49394         [BZ #14200]
49395         * sysdeps/unix/sysv/linux/x86/bits/environments.h
49396         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
49397         defined.
49398         (_POSIX_V6_ILP32_OFF32): Likewise.
49399         (_XBS5_ILP32_OFF32): Likewise.
49400         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
49401         (__ILP32_OFFBIG_LDFLAGS): Likewise.
49403 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49405         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
49407         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
49408         doubles __mpexp_twomm1.  Adjust usage.
49409         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
49410         Remove.
49412 2013-01-10  Andreas Schwab  <schwab@suse.de>
49414         [BZ #14964]
49415         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
49416         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
49418 2013-01-09  David S. Miller  <davem@davemloft.net>
49420         [BZ #15003]
49421         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
49422         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
49423         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
49424         (TCP_FASTOPEN): Define.
49425         (tcp_repair_opt): New structure.
49426         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
49427         enum values.
49428         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
49429         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
49430         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
49431         (tcp_cookie_transactions): New structure.
49433 2013-01-09  Anton Blanchard  <anton@samba.org>
49435         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
49436         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
49437         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
49438         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
49440 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
49442         * include/features.h (__USE_ANSI): Remove.
49444 2013-01-09  Roland McGrath  <roland@hack.frob.com>
49446         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
49448         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
49450 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
49452         * sysdeps/s390/fpu/libm-test-ulps: Update.
49454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49456         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
49457         (__acr): Likewise.
49458         (__cpy): Likewise.
49459         (norm): Likewise.
49460         (denorm): Likewise.
49461         (__mp_dbl): Likewise.
49462         (__dbl_mp): Likewise.
49463         (add_magnitudes): Likewise.
49464         (sub_magnitudes): Likewise.
49465         (__add): Likewise.
49466         (__sub): Likewise.
49467         (__mul): Likewise.
49468         (__inv): Likewise.
49469         (__dvd): Likewise.
49470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
49471         (__acr): Likewise.
49472         (__cpy): Likewise.
49473         (norm): Likewise.
49474         (denorm): Likewise.
49475         (__mp_dbl): Likewise.
49476         (__dbl_mp): Likewise.
49477         (add_magnitudes): Likewise.
49478         (sub_magnitudes): Likewise.
49479         (__add): Likewise.
49480         (__sub): Likewise.
49481         (__mul): Likewise.
49482         (__inv): Likewise.
49483         (__dvd): Likewise.
49484         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
49485         (__acr): Likewise.
49486         (__cpy): Likewise.
49487         (norm): Likewise.
49488         (denorm): Likewise.
49489         (__mp_dbl): Likewise.
49490         (__dbl_mp): Likewise.
49491         (add_magnitudes): Likewise.
49492         (sub_magnitudes): Likewise.
49493         (__add): Likewise.
49494         (__sub): Likewise.
49495         (__mul): Likewise.
49496         (__inv): Likewise.
49497         (__dvd): Likewise.
49499 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
49501         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
49502         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
49503         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
49504         2 && __USE_EXTERN_INLINES]: Likewise.
49506 2013-01-08  Andreas Jaeger  <aj@suse.de>
49508         [BZ# 14985]
49509         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
49510         Remove.
49511         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49512         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49514 2013-01-07  Anton Blanchard  <anton@samba.org>
49516         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
49517         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49518         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
49519         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49520         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49521         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49522         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
49523         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49524         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49525         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49526         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49527         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49528         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49529         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49530         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49531         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49532         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49533         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49534         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49535         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49536         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49537         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
49538         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49539         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49540         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
49541         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49542         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49543         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49544         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
49545         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49546         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49547         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49548         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49549         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49550         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49551         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49552         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49553         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49554         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
49555         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49556         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
49557         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49558         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49560 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
49562         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
49563         (__MALLOC_PMT): Likewise.
49564         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
49565         [__GNUC__], only on [_LIBC].
49566         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49567         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
49568         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49569         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
49570         forward declaration.
49571         (realloc_hook_ini): Likewise.
49572         (memalign_hook_ini): Likewise.
49573         (__libc_memalign): Do not use __MALLOC_PMT in variable
49574         declaration.
49575         (__libc_valloc): Likewise.
49576         (__libc_pvalloc): Likewise.
49577         (__libc_calloc): Likewise.
49578         (__posix_memalign): Likewise.
49580         [BZ #14996]
49581         * math/s_casinh.c: Include <float.h>.
49582         (__casinh): Do not do computation with squaring and square root
49583         for large arguments.
49584         * math/s_casinhf.c: Include <float.h>.
49585         (__casinhf): Do not do computation with squaring and square root
49586         for large arguments.
49587         * math/s_casinhl.c: Include <float.h>.
49588         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
49589         (__casinhl): Do not do computation with squaring and square root
49590         for large arguments.
49591         * math/libm-test.inc (casin_test): Add more tests.
49592         (casinh_test): Likewise.
49593         * sysdeps/i386/fpu/libm-test-ulps: Update.
49594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49596 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
49598         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
49599         (__x86_64_raw_data_cache_size): Likewise.
49600         (__x86_64_data_cache_size_half): Likewise.
49601         (__x86_64_raw_data_cache_size_half): Likewise.
49602         (__x86_64_shared_cache_size): Likewise.
49603         (__x86_64_raw_shared_cache_size): Likewise.
49604         (__x86_64_shared_cache_size_half): Likewise.
49605         (__x86_64_raw_shared_cache_size_half): Likewise.
49606         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49607         to ...
49608         (__x86_data_cache_size): This.
49609         (__x86_64_raw_data_cache_size): Renamed to ...
49610         (__x86_raw_data_cache_size): This.
49611         (__x86_64_data_cache_size_half): Renamed to ...
49612         (__x86_data_cache_size_half): This.
49613         (__x86_64_raw_data_cache_size_half): Renamed to ...
49614         (__x86_raw_data_cache_size_half): This.
49615         (__x86_64_shared_cache_size): Renamed to ...
49616         (__x86_shared_cache_size): This.
49617         (__x86_64_raw_shared_cache_size): Renamed to ...
49618         (__x86_raw_shared_cache_size): This.
49619         (__x86_64_shared_cache_size_half): Renamed to ...
49620         (__x86_shared_cache_size_half): This.
49621         (__x86_64_raw_shared_cache_size_half): Renamed to ...
49622         (__x86_raw_shared_cache_size_half): This.
49623         * sysdeps/x86_64/memcpy.S: Updated.
49624         * sysdeps/x86_64/memset.S: Likewise.
49625         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49626         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49627         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49629 2013-01-04  David S. Miller  <davem@davemloft.net>
49631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49633 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
49635         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49636         1 to avoid redefinition warning.
49637         (__USE_GNU): Don't define.
49638         (init_signaling_nan): Protoize.
49640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49642 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49644         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49645         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49646         (__cpymn): Likewise.
49647         (norm): Remove commented code.
49648         (denorm): Likewise.
49649         (__mp_dbl): Likewise.
49650         (__inv): Likewise.
49651         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49652         (__cpymn): Likewise.
49653         (norm): Remove commented code.
49654         (denorm): Likewise.
49655         (__mp_dbl): Likewise.
49656         (__inv): Likewise.
49658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49659         mp_no value for 1.0 and 2.0.
49660         (norm): Use RADIXI instead of radixi.d.
49661         (denorm): Likewise.
49662         (__mul): Use 0.0 instead of zero.d.
49663         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49664         mp_no value for 1.0 and 2.0.
49665         (norm): Use RADIXI instead of radixi.d.
49666         (denorm): Likewise.
49667         (__mul): Use 0.0 instead of zero.d.
49669 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
49671         [BZ #14994]
49672         * math/s_casinh.c (__casinh): Reduce finite argument to first
49673         quadrant then set signs of results at the end.
49674         * math/s_casinhf.c (__casinhf): Likewise.
49675         * math/s_casinhl.c (__casinhl): Likewise.
49676         * math/libm-test.inc (casin_test): Add more tests.
49677         (casinh_test): Likewise.
49678         * sysdeps/i386/fpu/libm-test-ulps: Update.
49679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49681 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49683         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49685         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49687         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49688         declarations.
49689         (denorm): Likewise.
49690         (__mp_dbl): Likewise.
49691         (__inv): Likewise.
49693         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49694         and adjust the header comment.
49696         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49697         variable name from declaration.
49699 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
49701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49702         Initialize COMMON_CPUID_INDEX_7 element.
49703         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49704         (CPUID_RTM): Likewise.
49705         (HAS_RTM): Likewise.
49706         (COMMON_CPUID_INDEX_7): New enum.
49708 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
49710         [BZ #14981]
49711         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49712         size is zero, record memory as freed.
49714 2013-01-03  Andreas Jaeger  <aj@suse.de>
49716         * po/ia.po: Add new Interlingua translation.
49718 2012-01-03  Allan McRae  <allan@archlinux.org>
49720         * locale/programs/localedef.c: Fix description of '--posix' flag.
49722 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
49724         * NEWS: Update dates in second copyright notice.
49725         * README: Update copyright dates in example.
49726         * manual/libc.texinfo: Update copyright dates.
49727         * scripts/test-installation.pl: Update copyright date in --version
49728         output.
49730         * hurd/ctty-input.c: Fix copyright notice formatting.
49731         * hurd/ctty-output.c: Likewise.
49732         * hurd/dtable.c: Likewise.
49733         * hurd/hurd-raise.c: Likewise.
49734         * hurd/hurdprio.c: Likewise.
49735         * hurd/msgportdemux.c: Likewise.
49736         * misc/sys/file.h: Likewise.
49737         * misc/sys/ioctl.h: Likewise.
49738         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49739         * sysdeps/mach/hurd/chdir.c: Likewise.
49740         * sysdeps/mach/hurd/fchdir.c: Likewise.
49741         * sysdeps/mach/hurd/rename.c: Likewise.
49742         * sysdeps/mach/hurd/rmdir.c: Likewise.
49743         * sysdeps/mach/hurd/seekdir.c: Likewise.
49744         * sysdeps/mach/hurd/setsid.c: Likewise.
49745         * sysdeps/posix/wait3.c: Likewise.
49747         * All files with FSF copyright notices: Update copyright dates
49748         using scripts/update-copyrights.
49749         * intl/plural.c: Regenerated.
49750         * locale/programs/charmap-kw.h: Likewise.
49751         * locale/programs/locfile-kw.h: Likewise.
49753 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49755         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
49756         four values.
49758         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
49759         calculation loop and add branch prediction.
49761         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
49762         check access beyond bounds of m1np.
49764         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49765         MPTWO.
49766         (__inv): Remove local variable MPTWO to use the global
49767         constant.
49768         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
49769         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49770         variable MPTWO.
49771         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
49772         MP3HALFS static const.
49774 2013-01-01  David S. Miller  <davem@davemloft.net>
49776         * po/ca.po: Update from translation team.
49778 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
49780         * scripts/update-copyrights: New file.
49781         * Makeconfig: Reformat copyright notice.
49782         * ctype/ctype.h: Likewise.
49783         * debug/swprintf_chk.c: Likewise.
49784         * elf/dl-cache.c: Likewise.
49785         * elf/dl-debug.c: Likewise.
49786         * elf/dl-object.c: Likewise.
49787         * grp/initgroups.c: Likewise.
49788         * hurd/Makefile: Likewise.
49789         * hurd/hurd/signal.h: Likewise.
49790         * hurd/hurdfault.c: Likewise.
49791         * hurd/hurdioctl.c: Likewise.
49792         * hurd/hurdlookup.c: Likewise.
49793         * hurd/intr-msg.c: Likewise.
49794         * iconv/gconv_open.c: Likewise.
49795         * libio/swprintf.c: Likewise.
49796         * locale/lc-ctype.c: Likewise.
49797         * locale/nl_langinfo.c: Likewise.
49798         * mach/Machrules: Likewise.
49799         * mach/Makefile: Likewise.
49800         * malloc/obstack.h: Likewise.
49801         * manual/Makefile: Likewise.
49802         * manual/tsort.awk: Likewise.
49803         * misc/bits/stab.def: Likewise.
49804         * nis/nis_print_group_entry.c: Likewise.
49805         * nis/nis_table.c: Likewise.
49806         * nis/nss_compat/compat-pwd.c: Likewise.
49807         * nis/nss_compat/compat-spwd.c: Likewise.
49808         * po/Makefile: Likewise.
49809         * posix/fnmatch.c: Likewise.
49810         * posix/regex.h: Likewise.
49811         * resolv/Makefile: Likewise.
49812         * resolv/nss_dns/dns-network.c: Likewise.
49813         * resolv/res_hconf.c: Likewise.
49814         * scripts/gen-sorted.awk: Likewise.
49815         * soft-fp/soft-fp.h: Likewise.
49816         * stdio-common/printf.h: Likewise.
49817         * stdlib/monetary.h: Likewise.
49818         * stdlib/random.c: Likewise.
49819         * stdlib/random_r.c: Likewise.
49820         * sysdeps/generic/Makefile: Likewise.
49821         * sysdeps/gnu/Makefile: Likewise.
49822         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49823         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49824         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49825         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49826         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49827         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49828         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49829         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49830         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49831         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49832         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49833         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49834         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49835         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49836         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
49837         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49838         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49839         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49840         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49841         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49842         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49843         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49844         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49845         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49846         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
49847         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49848         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49849         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
49850         * sysdeps/mach/hurd/errnos.awk: Likewise.
49851         * sysdeps/mach/hurd/fork.c: Likewise.
49852         * sysdeps/mach/hurd/getcwd.c: Likewise.
49853         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
49854         * sysdeps/mach/hurd/mmap.c: Likewise.
49855         * sysdeps/mach/hurd/utimes.c: Likewise.
49856         * sysdeps/mach/hurd/xmknod.c: Likewise.
49857         * sysdeps/posix/profil.c: Likewise.
49858         * sysdeps/posix/readdir_r.c: Likewise.
49859         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49860         * sysdeps/powerpc/bits/setjmp.h: Likewise.
49861         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
49862         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49863         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49864         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49865         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49866         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49867         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49868         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49869         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49870         * sysdeps/pthread/lio_listio.c: Likewise.
49871         * sysdeps/sparc/dl-procinfo.h: Likewise.
49872         * sysdeps/unix/i386/sysdep.S: Likewise.
49873         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
49874         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
49875         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
49876         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
49877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49878         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
49879         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
49880         * sysdeps/unix/sysv/linux/speed.c: Likewise.
49881         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49882         * sysdeps/wordsize-32/divdi3.c: Likewise.
49883         * time/sys/time.h: Likewise.
49884         * wcsmbs/Makefile: Likewise.
49886 2013-01-01  David S. Miller  <davem@davemloft.net>
49888         * po/fr.po: Update from translation team.
49890         * catgets/gencat.c: Update copyright year.
49891         * csu/version.c: Likewise.
49892         * debug/catchsegv.sh: Likewise.
49893         * debug/pcprofiledump.c: Likewise.
49894         * debug/xtrace.sh: Likewise.
49895         * elf/ldconfig.c: Likewise.
49896         * elf/ldd.bash.in: Likewise.
49897         * elf/pldd.c: Likewise.
49898         * elf/sotruss.ksh: Likewise.
49899         * elf/sprof.c: Likewise.
49900         * iconv/iconv_prog.c: Likewise.
49901         * iconv/iconvconfig.c: Likewise.
49902         * locale/programs/locale.c: Likewise.
49903         * locale/programs/localedef.c: Likewise.
49904         * login/programs/pt_chown.c: Likewise.
49905         * malloc/memusage.sh: Likewise.
49906         * malloc/memusagestat.c: Likewise.
49907         * malloc/mtrace.pl: Likewise.
49908         * nscd/nscd.c: Likewise.
49909         * nss/getent.c: Likewise.
49910         * nss/makedb.c: Likewise.
49911         * posix/getconf.c: Likewise.
49913 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49915         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
49916         numbers.
49918 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
49920         * math/bits/mathcalls.h (modf): Use __nonnull.
49922 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49924         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
49925         (split): Use macro CN instead of the bare value.
49926         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
49927         could be used.
49928         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
49929         instead of the bare value.
49930         (power1): Likewise.
49932 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49934         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
49935         __ATAN_TWOM.
49936         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49938         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
49939         their values.
49940         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49941         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49942         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
49943         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49945 2012-12-28  Andreas Jaeger  <aj@suse.de>
49947         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
49948         values are from Linux 3.7.
49950         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
49951         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
49953 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49955         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
49956         TRUE case.
49958         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
49959         (norm): Likewise.
49960         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
49961         variables with preprocessor constants.
49962         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49963         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49964         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49966 2012-12-27  Bruno Haible  <bruno@clisp.org>
49968         [BZ #14317]
49969         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
49970         only if needed.
49972 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49974         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
49975         and use variable directly.
49976         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
49978         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49979         MPONE.
49980         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
49981         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49982         variable MPONE.
49983         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49984         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49985         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
49986         include directive.  Remove local variable MPONE.
49987         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
49988         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
49989         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49991 2012-12-25  David S. Miller  <davem@davemloft.net>
49993         * version.h (RELEASE): Set to "development".
49994         (VERSION): Set to "2.17.90".
49995         * NEWS: Add 2.18 section.
49997 2012-12-21  David S. Miller  <davem@davemloft.net>
49999         * po/hr.po: Update from translation team.
50001 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50003         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
50005 2012-12-19  Steve Ellcey  <sellcey@mips.com>
50007         * NEWS:  Mention new memcpy for MIPS.
50009 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50011         * manual/contrib.texi (Contributors): Spelling correction.
50013 2012-12-15  David S. Miller  <davem@davemloft.net>
50015         * po/ru.po: Update from translation team.
50017 2012-12-13  David S. Miller  <davem@davemloft.net>
50019         * NEWS: Mention IFUNC testsuite enhancements.
50021         * po/pl.po: Update from translation team.
50022         * po/bg.po: Likewise.
50024         * manual/contrib.texi (Contributors): Update entries for Hongjiu
50025         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
50027 2012-12-11  David S. Miller  <davem@davemloft.net>
50029         * po/sv.po: Update from translation team.
50031         * po/vi.po: Update from translation team.
50033         * po/cs.po: Update from translation team.
50035         * po/de.po: Update from translation team.
50036         * po/eo.po: Likewise.
50037         * po/nl.po: Likewise.
50039 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50041         [BZ #14246]
50042         * manual/argp.texi (Argp Helper Functions): Move node to follow
50043         Argp Parsing State.
50045         [BZ #14872]
50046         * manual/conf.texi (Limits on File System Capacity): Mention if
50047         terminating null is included in the max size.
50049 2012-12-10  Andreas Jaeger  <aj@suse.de>
50051         * po/cs.po: Update from translation team.
50053 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50055         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
50056         void pointer and cast to uintptr_t.
50057         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
50058         path.
50059         * sysdeps/s390/s390-64/memcpy.S: Likewise.
50060         * sysdeps/s390/s390-64/memset.S: Likewise.
50062 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
50064         [BZ #14833]
50065         * menual/message.texi (Message Translation): Fix typos.
50066         (Helper programs for gettext): Likewise.
50068 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
50070         [BZ #14898]
50071         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
50072         Change to -1.
50074 2012-12-07  David S. Miller  <davem@davemloft.net>
50076         * po/libc.pot: Update.
50078 2012-12-07  Richard Henderson  <rth@redhat.com>
50080         [BZ #10114]
50081         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
50082         normal/normal case to before the switch.
50083         (_FP_DIV): Likewise.
50085 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
50086             Mike Frysinger  <vapier@gentoo.org>
50088         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
50089         check for __NR_fadvise64_64.
50091 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
50093         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
50094         0, not just to plain "0" as a statement.
50095         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
50096         with cw.
50098 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
50100         * NEWS: Use sourceware.org in Bugzilla URL.
50102 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
50105         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50107         * stdio-common/tst-put-error.c (do_test): Add newline to the
50108         padded test to ensure flush.
50110 2012-12-05  Jeff Law  <law@redhat.com>
50112         * sunrpc/etc.rpc (fedfs_admin): Add entry.
50114 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
50116         * README: Don't refer to ports add-on as distributed separately.
50117         Mention AArch64 in list of systems supported in the ports add-on.
50119         * LICENSES: Add more non-FSF copyright and license notices.
50121         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
50122         ((unused)).
50124         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
50126         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
50127         10000 as width of padded output.
50129 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50131         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
50133         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
50134         variable LX with __attribute__ ((unused)).
50135         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50136         Likewise.
50137         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50138         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50139         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
50140         with __attribute__ ((unused)).
50142 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
50144         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
50146 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50148         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
50149         (CFLAGS-nldbl-acos.c): New variable.
50150         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
50151         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
50152         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
50153         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
50154         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
50155         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
50156         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
50157         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
50158         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
50159         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
50160         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
50161         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
50162         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
50163         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
50164         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
50165         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
50166         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
50167         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
50168         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
50169         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
50170         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
50171         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
50172         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
50173         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
50174         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
50175         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
50176         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
50177         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
50178         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
50179         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
50180         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
50181         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
50182         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
50183         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
50184         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
50185         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
50186         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
50187         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
50188         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
50189         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
50190         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
50191         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
50192         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
50193         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
50194         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
50195         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
50196         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
50197         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
50198         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
50199         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
50200         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
50201         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
50202         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
50203         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
50204         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
50205         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
50206         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
50207         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
50208         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
50209         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
50210         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
50211         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
50212         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
50213         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
50214         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
50215         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
50216         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
50217         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
50218         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
50219         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
50220         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
50221         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
50222         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
50223         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
50224         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
50225         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
50226         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
50227         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
50228         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
50229         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
50230         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
50231         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
50232         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
50233         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
50234         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
50235         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
50236         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
50237         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
50238         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
50239         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
50240         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
50241         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
50242         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
50243         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
50244         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
50245         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
50246         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
50248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50249         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50251         [BZ #14914]
50252         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
50253         whole low double instead of just low 47 bits when splitting values
50254         into two parts.
50256 2012-12-03  Allan McRae  <allan@archlinux.org>
50258         * manual/stdio.texi (Predefined Printf Handlers): Remove
50259         @hsep and @vsep usage.
50261 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
50263         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
50264         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
50266 2012-12-03  Jeff Law  <law@redhat.com>
50268         * time/sys/time.h (settimeofday): Do not mark TV argument
50269         as __nonnull.
50271 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
50273         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
50274         when currently writing and seek to current position when not.
50275         * libio/Makefile (tests): Remove bug-fclose1.
50276         * libio/bug-fclose1.c: Delete.
50278 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
50280         * manual/arith.texi (feenableexcept): Fix typo.
50281         (fedisableexcept): Likewise.
50283 2012-11-30  Roland McGrath  <roland@hack.frob.com>
50285         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
50286         second, differently-typed declaration, rather than a cast.
50288 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50290         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
50291         * include/rpc/svc.h: ... here.
50293 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
50295         [BZ #13013]
50296         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
50297         depending n and resplen2 to catch cases where answer
50298         equals answerp2.
50300 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
50302         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
50303         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
50305 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
50307         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
50309 2012-11-29  Roland McGrath  <roland@hack.frob.com>
50311         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
50313 2012-11-28  Jeff Law  <law@redhat.com>
50315         [BZ #13761]
50316         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
50317         dataset_temporary.  Track alloca usage into alloca_used.
50318         If dataset is large allocate and release it via malloc/free.
50320 2012-06-04  Florian Weimer  <fweimer@redhat.com>
50322         [BZ #14197]
50323         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
50325 2012-11-28  David S. Miller  <davem@davemloft.net>
50327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50329 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50331         [BZ #14803]
50332         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
50333         of pi/2 rounded to nearest to 64 bits.
50334         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
50335         nearest to 64 bits.
50336         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
50337         bits.
50339 2012-11-28  Jeff Law <law@redhat.com>
50340             Martin Osvald <mosvald@redhat.com>
50342         [BZ #14889]
50343         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
50344         * sunrpc/svc.c: Include time.h.
50345         (__svc_accept_failed): New function.
50346         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
50347         any reason other than EINTR, call __svc_accept_failed.
50348         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
50349         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
50351 2012-11-28  Andreas Schwab  <schwab@suse.de>
50353         * scripts/abilist.awk: Also handle indirect functions in .opd
50354         section.
50356 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50358         [BZ #13881]
50359         * sysdeps/x86/fpu/powl_helper.c: New file.
50360         * sysdeps/x86/fpu/Makefile: Likewise.
50361         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
50362         (p3): New object.
50363         (__ieee754_powl): Use __powl_helper for finite arguments except
50364         integer exponents below 8.
50365         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
50366         (p3): New object.
50367         (__ieee754_powl): Use __powl_helper for finite arguments except
50368         integer exponents below 8.
50369         * math/libm-test.inc (pow_test): Add more tests and enable some
50370         previously disabled tests.
50371         * sysdeps/i386/fpu/libm-test-ulps: Update.
50372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50374 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50375             Carlos O'Donell  <carlos_odonell@mentor.com>
50377         * nss/makedb.c (is_prime): Assert that input is odd and greater
50378         than 4.  Note that fact in a comment too.
50379         (next_prime): Add 4 to input.
50381 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50383         [BZ #11741]
50384         * libio/Makefile (tests): Add test case tst-fwrite-error.
50385         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
50386         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
50387         * libio/tst-fwrite-error.c: New test case.
50389 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
50391         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
50392         before casting to void *.
50393         * include/libc-internal.h (__pointer_type): New macro.
50394         (__integer_if_pointer_type_sub): Likewise.
50395         (__integer_if_pointer_type): Likewise.
50396         (cast_to_integer): Likewise.
50397         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
50398         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
50399         before casting to atomic64_t.
50400         (atomic_exchange_acq): Likewise.
50401         (__arch_exchange_and_add_body): Likewise.
50402         (__arch_add_body): Likewise.
50403         (atomic_add_negative): Likewise.
50404         (atomic_add_zero): Likewise.
50406 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
50408         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
50409         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
50410         (add_fdes): Likewise.
50411         (linear_search_fdes): Likewise.
50412         (binary_search_unencoded_fdes): Likewise.
50414 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
50416         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
50418 2012-11-24  Adam Conrad  <adconrad@0c3.net>
50420         * configure.in: Autodetect C++ header directories.
50421         * configure: Regenerated.
50423 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
50425         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
50427 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
50429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50431 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
50433         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
50434         LDBL_MANT_DIG == 106]: Disable some tests.
50435         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50436         Likewise.
50437         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50438         Likewise.
50440         [BZ #14871]
50441         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
50442         input for small inputs.  Return +/- pi/2 for large inputs.
50443         * math/libm-test.inc (atan_test): Add more tests.
50445         * sysdeps/generic/unwind-dw2-fde-glibc.c
50446         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
50447         __attribute__ ((unused)).
50449         [BZ #14645]
50450         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
50451         x * y if x and y are nonzero and z is zero.
50453         [BZ #14811]
50454         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
50455         nonzero exponents with absolute value below 0x1p-117 to +/-
50456         0x1p-117.
50458         [BZ #14869]
50459         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
50460         up arguments below 2**-450, not just those below 2**-500.
50461         * math/libm-test.inc (hypot_test): Add another test.
50463         [BZ #14868]
50464         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
50465         Return a+b for ratio over 2**120, not 2**60.
50466         * math/libm-test.inc (hypot_test): Add another test.
50468         * math/libm-test.inc (clog_test): Use
50469         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
50470         (clog10_test): Likewise.
50472         [BZ #6778]
50473         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
50475 2012-11-22  Andreas Schwab  <schwab@suse.de>
50477         * sysdeps/i386/fpu/libm-test-ulps: Update.
50479 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
50481         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
50482         printf output with newline.
50484 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
50486         [BZ #14865]
50487         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
50488         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
50489         -z nodlopen, -z initfirst and -z execstack support.
50490         * configure: Regenerated.
50492         * elf/elf.h (DF_1_NODIRECT): New macro.
50493         (DF_1_IGNMULDEF): Likewise.
50494         (DF_1_NOKSYMS): Likewise.
50495         (DF_1_NOHDR): Likewise.
50496         (DF_1_EDITED): Likewise.
50497         (DF_1_NORELOC): Likewise.
50498         (DF_1_SYMINTPOSE): Likewise.
50499         (DF_1_GLOBAUDIT): Likewise.
50500         (DF_1_SINGLETON): Likewise.
50501         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
50502         DT_1_SUPPORTED_MASK bits.
50503         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
50505 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
50507         * sysdeps/unix/make-syscalls.sh: Document prefixes.
50509 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
50511         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
50512         macro.
50514         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
50515         (sendmmsg): Move declarations...
50516         * socket/sys/socket.h: ... here.
50517         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
50518         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
50519         include it from...
50520         * socket/recvmmsg.c: ... this new file.
50521         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
50522         (sendmmsg): Rename to __sendmmsg, create weak alias and make
50523         definition of __sendmmsg hidden.
50524         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
50525         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
50526         Move ENOSYS stub into and include it from...
50527         * socket/sendmmsg.c: ... this new file.
50528         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
50529         (sysdep_routines): Move recvmmsg and sendmmsg...
50530         * socket/Makefile (routines): ... here.
50531         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
50532         (GLIBC_PRIVATE): Add __sendmmsg.
50533         * include/sys/socket.h (__sendmmsg): Add declarations.
50534         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
50535         sendmmsg.
50537 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
50539         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
50540         variable I1 with __attribute__ ((unused)).
50541         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50543 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50545         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
50546         DUMMY variables with __attribute__ ((unused)).
50548         * bits/byteswap.h: Include <bits/types.h>.
50549         (__bswap_64): Use __uint64_t instead of unsigned long long int.
50551 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50553         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
50554         string_t.  Do not manually set errno.
50555         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
50556         length with __strnlen.  Make sure to both set errno and return it on
50557         failure.
50559 2012-11-19  David S. Miller  <davem@davemloft.net>
50561         With help from Joseph Myers.
50562         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
50563         very large arguments properly.
50564         * math/libm-test.inc (atan_test): New tests.
50565         (atan2_test): New tests.
50566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50567         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50569 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50571         [BZ #14856]
50572         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
50573         Define to 3.
50575         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
50576         [POSIX] (EADDRNOTAVAIL): Likewise.
50577         [POSIX] (EAFNOSUPPORT): Likewise.
50578         [POSIX] (EALREADY): Likewise.
50579         [POSIX] (ECONNABORTED): Likewise.
50580         [POSIX] (ECONNREFUSED): Likewise.
50581         [POSIX] (ECONNRESET): Likewise.
50582         [POSIX] (EDESTADDRREQ): Likewise.
50583         [POSIX] (EDQUOT): Likewise.
50584         [POSIX] (EHOSTUNREACH): Likewise.
50585         [POSIX] (EIDRM): Likewise.
50586         [POSIX] (EISCONN): Likewise.
50587         [POSIX] (ELOOP): Likewise.
50588         [POSIX] (EMULTIHOP): Likewise.
50589         [POSIX] (ENETDOWN): Likewise.
50590         [POSIX] (ENETUNREACH): Likewise.
50591         [POSIX] (ENOBUFS): Likewise.
50592         [POSIX] (ENODATA): Likewise.
50593         [POSIX] (ENOLINK): Likewise.
50594         [POSIX] (ENOMSG): Likewise.
50595         [POSIX] (ENOPROTOOPT): Likewise.
50596         [POSIX] (ENOSR): Likewise.
50597         [POSIX] (ENOSTR): Likewise.
50598         [POSIX] (ENOTCONN): Likewise.
50599         [POSIX] (ENOTSOCK): Likewise.
50600         [POSIX] (EOPNOTSUPP): Likewise.
50601         [POSIX] (EOVERFLOW): Likewise.
50602         [POSIX] (EPROTO): Likewise.
50603         [POSIX] (EPROTONOSUPPORT): Likewise.
50604         [POSIX] (EPROTOTYPE): Likewise.
50605         [POSIX] (ESTALE): Likewise.
50606         [POSIX] (ETIME): Likewise.
50607         [POSIX] (ETXTBSY): Likewise.
50608         [POSIX] (EWOULDBLOCK): Likewise.
50609         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50610         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50611         [POSIX] (SEEK_CUR): Likewise.
50612         [POSIX] (SEEK_END): Likewise.
50613         [POSIX || UNIX98] (mode_t): Do not require.
50614         [POSIX] (off_t): Likewise.
50615         [POSIX] (pid_t): Likewise.
50616         [POSIX] (sys/stat.h): Do not allow header.
50617         [POSIX] (unistd.h): Likewise.
50618         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50619         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50620         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50621         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50622         require.
50623         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50624         sigevent): Specify elements.
50625         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50626         entry.
50627         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50628         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50630         * conform/data/cpio.h-data [POSIX]: Disable whole file.
50631         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50632         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50633         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50634         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50635         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50636         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50637         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50638         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50639         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50640         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50641         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50642         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50643         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50644         Likewise.
50645         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50646         Likewise.
50647         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50648         Likewise.
50649         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50650         Likewise.
50651         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50652         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50653         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50654         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50655         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50656         Specify lower bound on value.
50657         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50658         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50659         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50660         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50661         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50662         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50663         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50664         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50665         value.
50666         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50667         as optional.
50668         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50669         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50670         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50671         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50672         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50673         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50674         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50675         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50676         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50677         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50678         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50679         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50680         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50681         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50682         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50683         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50684         entry.
50685         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50686         optional.
50687         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50688         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50689         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50690         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50691         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50692         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50693         Likewise.
50694         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50695         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50696         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50697         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50698         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
50699         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50700         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50701         as optional.
50702         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50703         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50704         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50705         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50706         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50707         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50708         specify as optional.
50709         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50710         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50711         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50712         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50713         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50714         [XPG3] (NL_LANGMAX): Likewise.
50715         [POSIX || XPG3] (NL_MSGMAX): Likewise.
50716         [POSIX || XPG3] (NL_NMAX): Likewise.
50717         [POSIX || XPG3] (NL_SETMAX): Likewise.
50718         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50719         [XPG3] (NZERO): Likewise.
50720         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50721         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50722         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50723         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50724         (REG_ERANGE): Expect.
50725         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50726         optional-constant.
50727         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50728         Use (void) in prototype.
50729         [POSIX] (*_t): Allow.
50730         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50731         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50732         (WRDE_BADVAL): Expect.
50734         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50735         expect.
50736         [XPG3 || XPG4] (O_RSYNC): Likewise.
50737         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50738         Likewise.
50739         [XPG3 || XPG4] (pthread_sigmask): Likewise.
50740         [XPG3 || XPG4] (sigqueue): Likewise.
50741         [XPG3 || XPG4] (sigtimedwait): Likewise.
50742         [XPG3 || XPG4] (sigwaitinfo): Likewise.
50743         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50744         [XPG3 || XPG4] (vsnprintf): Likewise.
50745         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50746         Likewise.
50747         [XPG3 || XPG4] (blksize_t): Likewise.
50748         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50749         Likewise.
50750         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50751         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50752         [XPG3 || XPG4] (struct itimerspec): Likewise.
50753         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50754         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50755         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50756         [XPG3 || XPG4] (clockid_t): Likewise.
50757         [XPG3 || XPG4] (timer_t): Likewise.
50758         [XPG3 || XPG4] (clock_getres): Likewise.
50759         [XPG3 || XPG4] (clock_gettime): Likewise.
50760         [XPG3 || XPG4] (clock_settime): Likewise.
50761         [XPG3 || XPG4] (nanosleep): Likewise.
50762         [XPG3 || XPG4] (timer_create): Likewise.
50763         [XPG3 || XPG4] (timer_delete): Likewise.
50764         [XPG3 || XPG4] (timer_gettime): Likewise.
50765         [XPG3 || XPG4] (timer_getoverrun): Likewise.
50766         [XPG3 || XPG4] (timer_settime): Likewise.
50767         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
50768         [XPG3 || XPG4] (getlogin_r): Likewise.
50769         [XPG3 || XPG4] (pread): Likewise.
50770         [XPG3 || XPG4] (pthread_atfork): Likewise.
50771         [XPG3 || XPG4] (pwrite): Likewise.
50773         [BZ #14835]
50774         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
50775         <bits/siginfo.h>.
50777 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50779         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
50780         finalizing MALLSTREAM.
50782         * sysdeps/mach/hurd/syncfs.c: New file.
50784 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50786         [BZ #14719]
50787         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
50788         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
50789         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
50790         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
50791         (_nss_dns_gethostbyname4_r): Likewise.
50792         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
50793         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
50795 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
50797         [BZ #13763]
50798         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
50800 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
50802         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
50803         * elf/cache.c (print_entry): Print ",AArch64" for
50804         FLAG_AARCH64_LIB64
50806         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
50807         * elf/cache.c (print_entry): Print ",hard-float" for
50808         FLAG_ARM_LIBHF.
50810 2012-11-18  David S. Miller  <davem@davemloft.net>
50812         With help from Joseph Myers.
50813         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
50814         cutoff to 2**-13.
50815         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
50816         cutoff to 2**-25.
50817         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
50818         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50819         small.
50820         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
50821         * math/libm-test.inc (y0_test): New tests.
50822         (y1_test): New tests.
50823         * sysdeps/i386/fpu/libm-test-ulps: Update.
50824         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50827 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
50829         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
50830         64-bit targets.
50831         * configure: Regenerated.
50833 2012-11-17  David S. Miller  <davem@davemloft.net>
50835         [BZ #14811]
50836         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
50837         nonzero exponents with absolute value below 0x1p-128 to +/-
50838         0x1p-128.
50840 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
50842         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
50844         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
50846         * posix/getconf-speclist.c: New file.
50847         * posix/posix-envs.def: Likewise.
50848         * posix/confstr.c (START_ENV_GROUP): New macro.
50849         (END_ENV_GROUP): Likewise.
50850         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50851         (KNOWN_PRESENT_ENV_STRING): Likewise.
50852         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50853         (UNKNOWN_ENVIRONMENT): Likewise.
50854         (confstr): Include posix-envs.def instead of handling
50855         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
50856         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
50857         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
50858         (END_ENV_GROUP): Likewise.
50859         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50860         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50861         (UNKNOWN_ENVIRONMENT): Likewise.
50862         (__sysconf): Include posix-envs.def instead of handling associated
50863         cases directly here.
50864         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
50865         preprocessing getconf-speclist.c rather than running getconf or
50866         generating empty file.
50868 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
50870         * scripts/check-local-headers.sh: Ignore 'mach' headers.
50872 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
50874         [BZ #14672]
50875         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
50877 2012-11-16  David S. Miller  <davem@davemloft.net>
50879         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
50880         smaller than LDBL_EPSILON/2.0L, just return xm1.
50882 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
50884         * elf/tst-array1.c (init): Set constructor priority to 1000.
50885         (fini): Set destructor priority to 1000.
50886         * elf/tst-array2dep.c: Likewise.
50888 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50890         [BZ #11741]
50891         * libio/fileops.c (_IO_new_file_write): Correctly return error.
50892         (_IO_new_file_xsputn): Also return EOF if none of the input
50893         data was written when overflow failed.
50894         * libio/iopadn.c (_IO_padn): Likewise.
50895         * libio/iowpadn.c (_IO_wpadn): Likewise.
50896         * stdio-common/tst-put-error.c: Add copyright notice.
50897         (do_test): Add case for printing padded string.
50898         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
50899         _IO_padn returned error.
50900         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
50901         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
50902         return EOF.
50904 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50906         * libio/libioP.h: Add comment note that the references to C++
50907         bits are now obsolete.
50909 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50911         * math/libm-test.inc (check_complex): Use asprintf.
50913 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
50915         * debug/pcprofiledump.c (print_version): Update copyright year.
50916         * malloc/memusagestat.c (print_version): Likewise.
50918 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
50920         [BZ #14831]
50921         * elf/Makefile (tests): Add tst-audit8.
50922         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
50923         ($(objpfx)tst-audit8.out): New target.
50924         (tst-audit8-ENV): New variable.
50925         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
50926         audit if l_reloc_result is NULL.
50927         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
50928         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
50929         * elf/tst-audit8.c: New file.
50931 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50933         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
50934         * misc/Makefile (CFLAGS-select.c): Define.
50935         * posix/Makefile (CFLAGS-pause.c): Define.
50937 2012-11-13  David S. Miller  <davem@davemloft.net>
50939         * crypt/Makefile: Move test targets after toplevel Rules
50940         inclusion.  Grab any necessary sysdep routines when linking.
50941         * crypt/md5.c (md5_process_block): Remove define, we will always
50942         name it __md5_process_block.
50943         (md5_finish_ctx): Update md5_process_block call.
50944         (md5_stream): Likewise.
50945         (md5_process_bytes): Likewise.
50946         (md5_process_block): Rename to __md5_process_block and move to ...
50947         * crypt/md5-block.c: ... here.
50948         * crypt/sha256.c (sha256_process_block): Move to ...
50949         * crypt/sha256-block.c: ... here.
50950         * crypt/sha512.c (sha512_process_block): Move to ...
50951         * crypt/sha512-block.c: ... here.
50952         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
50953         path.
50954         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
50955         * sysdeps/sparc/sparc64/multiarch/Makefile
50956         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
50957         crypt subdir.
50958         (localedef-aux): Add md5 crypto assembler when in locale subdir.
50959         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
50960         multiarch changes.
50961         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
50962         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
50963         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
50964         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
50965         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
50966         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
50967         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
50968         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
50969         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
50970         file.
50971         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
50972         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
50973         file.
50974         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
50976 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
50978         * timezone/tzselect.ksh: Update from tzcode git revision
50979         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
50980         * timezone/zdump.c: Likewise.
50981         * timezone/zic.c: Likewise.
50982         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
50983         in TZVERSION setting, not $(PKGVERSION).
50984         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
50985         REPORT_BUGS_TO settings.
50987         [BZ #14838]
50988         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
50989         macro.
50991 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50993         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
50994         detection to immediately after _FP_ROUND().
50995         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
50996         bits are 0.
50998 2012-11-11  David S. Miller  <davem@davemloft.net>
51000         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
51001         inttypes.h
51002         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
51003         __close rather than their public counterparts.
51005 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
51007         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
51008         file.
51009         [UNIX98] (sem_timedwait): Do not expect.
51010         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
51011         [XPG4 || UNIX98] (sockatmark): Do not expect.
51012         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
51013         (clock_getcpuclockid): Do not expect.
51014         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
51015         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
51016         Do not expect.
51017         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
51018         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
51019         [UNIX98] (vwscanf): Likewise.
51020         [UNIX98] (vswscanf): Likewise.
51022 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
51024         * timezone/version.h: Remove file.
51025         * timezone/README: Do not refer to version.h.
51026         * timezone/Makefile ($(objpfx)zic.o): New dependency on
51027         $(objpfx)version.h.
51028         ($(objpfx)zdump.o): Likewise.
51029         ($(objpfx)version.h): New target.
51031         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
51032         2012i.
51033         * timezone/README: Don't mention modification to tzselect.ksh.
51034         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
51035         work on unmodified tzselect.ksh.  Substitute version numbers in
51036         tzselect.ksh.
51038         * Makefile (format-me): Remove.
51039         (INSTALL): Adjust indentation.  Use commands directly instead of
51040         using $(format-me).
51042         * aclocal.m4 (ACX_PKGVERSION): New macro.
51043         (ACX_BUGURL): Likewise.
51044         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
51045         (PKGVERSION): New AC_DEFINE_UNQUOTED.
51046         (REPORT_BUGS_TO): Likewise.
51047         * configure: Regenerated.
51048         * config.h.in (PKGVERSION): New macro.
51049         (REPORT_BUGS_TO): Likewise.
51050         * config.make.in (PKGVERSION): New variable.
51051         (PKGVERSION_TEXI): Likewise.
51052         (REPORT_BUGS_TO): Likewise.
51053         (REPORT_BUGS_TEXI): Likewise.
51054         * Makefile (format-me): Use -I$(common-objpfx)manual.
51055         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
51056         ($(common-objpfx)manual/%): New target.
51057         (manual/%): Remove target.
51058         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
51059         (print_version): Use PKGVERSION.
51060         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
51061         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
51062         and REPORT_BUGS_TO.
51063         ($(objpfx)xtrace): Likewise.
51064         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
51065         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
51066         (print_version): Use PKGVERSION.
51067         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
51068         (do_version): Use PKGVERSION.
51069         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
51070         REPORT_BUGS_TO.
51071         (common-ldd-rewrite): Likewise.
51072         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
51073         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
51074         (print_version): Use PKGVERSION.
51075         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
51076         * elf/pldd.c (argp_program_bug_address): Remove variable.
51077         (more_help): New function.
51078         (argp): Use more_help.
51079         (print_version): Use PKGVERSION.
51080         * elf/sln.c (main): Use PKGVERSION.
51081         (usage): Use REPORT_BUGS_TO.
51082         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
51083         (top level): Use PKGVERSION.
51084         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
51085         (print_version): Use PKGVERSION.
51086         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
51087         (print_version): Use PKGVERSION.
51088         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
51089         (print_version): Use PKGVERSION.
51090         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
51091         (print_version): Use PKGVERSION.
51092         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
51093         (print_version): Use PKGVERSION.
51094         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
51095         (print_version): Use PKGVERSION.
51096         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
51097         and BUGURL.
51098         ($(objpfx)memusage): Likewise.
51099         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
51100         (do_version): Use PKGVERSION.
51101         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
51102         (print_version): Use PKGVERSION.
51103         * malloc/mtrace.pl ($PACKAGE): Remove variable.
51104         ($PKGVERSION): New variable.
51105         ($REPORT_BUGS_TO): Likewise.
51106         (usage): Use $REPORT_BUGS_TO.
51107         (top level): Use $PKGVERSION.
51108         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
51109         ($(objpfx)pkgvers.texi): New rule.
51110         ($(objpfx)stamp-pkgvers): Likewise.
51111         * manual/install.texi: Include pkgvers.texi.
51112         (--with-pkgversion): Document new configure option.
51113         (--with-bugurl): Likewise.
51114         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
51115         than necessarily for this particular distribution.  Use
51116         REPORT_BUGS_TO for where to report bugs.
51117         * INSTALL: Regenerated.
51118         * manual/libc.texinfo: Include pkgvers.texi.
51119         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
51120         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
51121         (print_version): Use PKGVERSION.
51122         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
51123         (print_version): Use PKGVERSION.
51124         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
51125         (print_version): Use PKGVERSION.
51126         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
51127         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
51128         macro.
51129         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
51130         (print_version): Use PKGVERSION.
51131         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
51132         (print_version): Use PKGVERSION.
51133         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
51134         and PKGVERSION.
51136         * timezone/checktab.awk: Update from tzcode 2012i.
51137         * timezone/ialloc.c: Likewise.
51138         * timezone/private.h: Likewise.
51139         * timezone/scheck.c: Likewise.
51140         * timezone/tzfile.h: Likewise.
51141         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
51142         (TZVERSION): Hardcode tzcode version number.
51143         * timezone/zdump.c: Update from tzcode 2012i.
51144         * timezone/zic.c: Likewise.
51145         * timezone/version.h: New file.
51146         * timezone/README: Describe version.h.  Update upstream location.
51148         [BZ #14824]
51149         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
51150         (mktemp): Enable declaration.
51151         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
51152         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
51153         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
51154         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
51155         Likewise.
51156         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
51157         Likewise.
51158         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
51159         Likewise.
51160         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
51161         Likewise.
51162         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
51163         Likewise.
51164         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
51165         Likewise.
51167         [BZ #14821]
51168         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
51169         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
51170         for copies of such integer values.
51171         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51172         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51174 2012-11-09  Andreas Jaeger  <aj@suse.de>
51176         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
51177         definitions and declarations that are provided by
51178         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51180 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51182         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
51183         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
51184         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
51185         definition.
51187 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51189         * elf/elf.h: Update comment before AArch64 relocations.
51191 2012-11-07  David S. Miller  <davem@davemloft.net>
51193         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
51194         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51195         (__start_context): Declare.
51196         (__makecontext_ret): Delete.
51197         (__makecontext): Hook up __start_context instead of
51198         __makecontext_ret.
51199         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
51200         (sysdep_routines): Add __start_context when in stdlib.
51202 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51204         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
51205         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
51206         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
51207         hardcoded "nm".
51208         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
51209         (READELF): New variable.  Use it instead of hardcoded "readelf".
51211 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51213         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
51214         * sysdeps/x86/Makefile: Here.
51215         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
51216         * sysdeps/x86/tst-xmmymm.sh: This.
51218 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51220         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
51221         expectations.
51222         [UNIX98] (pthread_barrier_t): Do not expect.
51223         [UNIX98] (pthread_barrierattr_t): Likewise.
51224         [UNIX98] (pthread_spinlock_t): Likewise.
51225         [UNIX98] (pthread_barrier_destroy): Likewise.
51226         [UNIX98] (pthread_barrier_init): Likewise.
51227         [UNIX98] (pthread_barrier_wait): Likewise.
51228         [UNIX98] (pthread_barrierattr_destroy): Likewise.
51229         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
51230         [UNIX98] (pthread_barrierattr_init): Likewise.
51231         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
51232         [UNIX98] (pthread_getcpuclockid): Likewise.
51233         [UNIX98] (pthread_mutex_timedlock): Likewise.
51234         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
51235         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
51236         [UNIX98] (pthread_sigmask): Likewise.
51237         [UNIX98] (pthread_spin_destroy): Likewise.
51238         [UNIX98] (pthread_spin_init): Likewise.
51239         [UNIX98] (pthread_spin_lock): Likewise.
51240         [UNIX98] (pthread_spin_trylock): Likewise.
51241         [UNIX98] (pthread_spin_unlock): Likewise.
51242         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
51243         Do not expect.
51244         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
51245         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
51246         [XPG3 || XPG4] (pthread_cond_t): Likewise.
51247         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
51248         [XPG3 || XPG4] (pthread_key_t): Likewise.
51249         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
51250         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
51251         [XPG3 || XPG4] (pthread_once_t): Likewise.
51252         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
51253         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
51254         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
51255         [XPG3 || XPG4] (pthread_t): Likewise.
51257         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
51258         not expect.
51259         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
51261         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
51262         Change function return type to int.
51264         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
51265         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
51266         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
51267         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
51268         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
51269         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
51270         [!POSIX] (posix_madvise): Likewise.
51271         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
51272         && !UNIX98].
51273         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
51274         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
51275         (mode_t): Likewise.
51276         (posix_mem_offset): Likewise.
51277         (posix_typed_mem_get_info): Likewise.
51278         (posix_typed_mem_open): Likewise.
51280         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
51281         Change condition to [XOPEN2K8].
51283         * conform/conformtest.pl: Preprocess allow-header data with -x c
51284         instead of from stdin.
51285         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
51286         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
51287         [C99-based standards] (cerfc): Likewise.
51288         [C99-based standards] (cexp2): Likewise.
51289         [C99-based standards] (cexpm1): Likewise.
51290         [C99-based standards] (clog10): Likewise.
51291         [C99-based standards] (clog1p): Likewise.
51292         [C99-based standards] (clog2): Likewise.
51293         [C99-based standards] (clgamma): Likewise.
51294         [C99-based standards] (ctgamma): Likewise.
51295         [C99-based standards] (cerff): Likewise.
51296         [C99-based standards] (cerfcf): Likewise.
51297         [C99-based standards] (cexp2f): Likewise.
51298         [C99-based standards] (cexpm1f): Likewise.
51299         [C99-based standards] (clog10f): Likewise.
51300         [C99-based standards] (clog1pf): Likewise.
51301         [C99-based standards] (clog2f): Likewise.
51302         [C99-based standards] (clgammaf): Likewise.
51303         [C99-based standards] (ctgammaf): Likewise.
51304         [C99-based standards] (cerfl): Likewise.
51305         [C99-based standards] (cerfcl): Likewise.
51306         [C99-based standards] (cexp2l): Likewise.
51307         [C99-based standards] (cexpm1l): Likewise.
51308         [C99-based standards] (clog10l): Likewise.
51309         [C99-based standards] (clog1pl): Likewise.
51310         [C99-based standards] (clog2l): Likewise.
51311         [C99-based standards] (clgammal): Likewise.
51312         [C99-based standards] (ctgammal): Likewise.
51313         * conform/data/inttypes.h-data [C99-based standards]: Include
51314         stdint.h-data.  Remove all expectations for stdint.h contents.
51315         [C99-based standards] (PRI*): Do not allow.
51316         [C99-based standards] (SCN*): Likewise.
51317         [C99-based standards] (*_t): Likewise.
51318         [C99-based-standards] (PRId8): Expect macro.
51319         [C99-based-standards] (PRIi8): Likewise.
51320         [C99-based-standards] (PRIo8): Likewise.
51321         [C99-based-standards] (PRIu8): Likewise.
51322         [C99-based-standards] (PRIx8): Likewise.
51323         [C99-based-standards] (PRIX8): Likewise.
51324         [C99-based-standards] (SCNd8): Likewise.
51325         [C99-based-standards] (SCNi8): Likewise.
51326         [C99-based-standards] (SCNo8): Likewise.
51327         [C99-based-standards] (SCNu8): Likewise.
51328         [C99-based-standards] (SCNx8): Likewise.
51329         [C99-based-standards] (PRIdLEAST8): Likewise.
51330         [C99-based-standards] (PRIiLEAST8): Likewise.
51331         [C99-based-standards] (PRIoLEAST8): Likewise.
51332         [C99-based-standards] (PRIuLEAST8): Likewise.
51333         [C99-based-standards] (PRIxLEAST8): Likewise.
51334         [C99-based-standards] (PRIXLEAST8): Likewise.
51335         [C99-based-standards] (SCNdLEAST8): Likewise.
51336         [C99-based-standards] (SCNiLEAST8): Likewise.
51337         [C99-based-standards] (SCNoLEAST8): Likewise.
51338         [C99-based-standards] (SCNuLEAST8): Likewise.
51339         [C99-based-standards] (SCNxLEAST8): Likewise.
51340         [C99-based-standards] (PRIdFAST8): Likewise.
51341         [C99-based-standards] (PRIiFAST8): Likewise.
51342         [C99-based-standards] (PRIoFAST8): Likewise.
51343         [C99-based-standards] (PRIuFAST8): Likewise.
51344         [C99-based-standards] (PRIxFAST8): Likewise.
51345         [C99-based-standards] (PRIXFAST8): Likewise.
51346         [C99-based-standards] (SCNdFAST8): Likewise.
51347         [C99-based-standards] (SCNiFAST8): Likewise.
51348         [C99-based-standards] (SCNoFAST8): Likewise.
51349         [C99-based-standards] (SCNuFAST8): Likewise.
51350         [C99-based-standards] (SCNxFAST8): Likewise.
51351         [C99-based-standards] (PRId16): Likewise.
51352         [C99-based-standards] (PRIi16): Likewise.
51353         [C99-based-standards] (PRIo16): Likewise.
51354         [C99-based-standards] (PRIu16): Likewise.
51355         [C99-based-standards] (PRIx16): Likewise.
51356         [C99-based-standards] (PRIX16): Likewise.
51357         [C99-based-standards] (SCNd16): Likewise.
51358         [C99-based-standards] (SCNi16): Likewise.
51359         [C99-based-standards] (SCNo16): Likewise.
51360         [C99-based-standards] (SCNu16): Likewise.
51361         [C99-based-standards] (SCNx16): Likewise.
51362         [C99-based-standards] (PRIdLEAST16): Likewise.
51363         [C99-based-standards] (PRIiLEAST16): Likewise.
51364         [C99-based-standards] (PRIoLEAST16): Likewise.
51365         [C99-based-standards] (PRIuLEAST16): Likewise.
51366         [C99-based-standards] (PRIxLEAST16): Likewise.
51367         [C99-based-standards] (PRIXLEAST16): Likewise.
51368         [C99-based-standards] (SCNdLEAST16): Likewise.
51369         [C99-based-standards] (SCNiLEAST16): Likewise.
51370         [C99-based-standards] (SCNoLEAST16): Likewise.
51371         [C99-based-standards] (SCNuLEAST16): Likewise.
51372         [C99-based-standards] (SCNxLEAST16): Likewise.
51373         [C99-based-standards] (PRIdFAST16): Likewise.
51374         [C99-based-standards] (PRIiFAST16): Likewise.
51375         [C99-based-standards] (PRIoFAST16): Likewise.
51376         [C99-based-standards] (PRIuFAST16): Likewise.
51377         [C99-based-standards] (PRIxFAST16): Likewise.
51378         [C99-based-standards] (PRIXFAST16): Likewise.
51379         [C99-based-standards] (SCNdFAST16): Likewise.
51380         [C99-based-standards] (SCNiFAST16): Likewise.
51381         [C99-based-standards] (SCNoFAST16): Likewise.
51382         [C99-based-standards] (SCNuFAST16): Likewise.
51383         [C99-based-standards] (SCNxFAST16): Likewise.
51384         [C99-based-standards] (PRId32): Likewise.
51385         [C99-based-standards] (PRIi32): Likewise.
51386         [C99-based-standards] (PRIo32): Likewise.
51387         [C99-based-standards] (PRIu32): Likewise.
51388         [C99-based-standards] (PRIx32): Likewise.
51389         [C99-based-standards] (PRIX32): Likewise.
51390         [C99-based-standards] (SCNd32): Likewise.
51391         [C99-based-standards] (SCNi32): Likewise.
51392         [C99-based-standards] (SCNo32): Likewise.
51393         [C99-based-standards] (SCNu32): Likewise.
51394         [C99-based-standards] (SCNx32): Likewise.
51395         [C99-based-standards] (PRIdLEAST32): Likewise.
51396         [C99-based-standards] (PRIiLEAST32): Likewise.
51397         [C99-based-standards] (PRIoLEAST32): Likewise.
51398         [C99-based-standards] (PRIuLEAST32): Likewise.
51399         [C99-based-standards] (PRIxLEAST32): Likewise.
51400         [C99-based-standards] (PRIXLEAST32): Likewise.
51401         [C99-based-standards] (SCNdLEAST32): Likewise.
51402         [C99-based-standards] (SCNiLEAST32): Likewise.
51403         [C99-based-standards] (SCNoLEAST32): Likewise.
51404         [C99-based-standards] (SCNuLEAST32): Likewise.
51405         [C99-based-standards] (SCNxLEAST32): Likewise.
51406         [C99-based-standards] (PRIdFAST32): Likewise.
51407         [C99-based-standards] (PRIiFAST32): Likewise.
51408         [C99-based-standards] (PRIoFAST32): Likewise.
51409         [C99-based-standards] (PRIuFAST32): Likewise.
51410         [C99-based-standards] (PRIxFAST32): Likewise.
51411         [C99-based-standards] (PRIXFAST32): Likewise.
51412         [C99-based-standards] (SCNdFAST32): Likewise.
51413         [C99-based-standards] (SCNiFAST32): Likewise.
51414         [C99-based-standards] (SCNoFAST32): Likewise.
51415         [C99-based-standards] (SCNuFAST32): Likewise.
51416         [C99-based-standards] (SCNxFAST32): Likewise.
51417         [C99-based-standards] (PRId64): Likewise.
51418         [C99-based-standards] (PRIi64): Likewise.
51419         [C99-based-standards] (PRIo64): Likewise.
51420         [C99-based-standards] (PRIu64): Likewise.
51421         [C99-based-standards] (PRIx64): Likewise.
51422         [C99-based-standards] (PRIX64): Likewise.
51423         [C99-based-standards] (SCNd64): Likewise.
51424         [C99-based-standards] (SCNi64): Likewise.
51425         [C99-based-standards] (SCNo64): Likewise.
51426         [C99-based-standards] (SCNu64): Likewise.
51427         [C99-based-standards] (SCNx64): Likewise.
51428         [C99-based-standards] (PRIdLEAST64): Likewise.
51429         [C99-based-standards] (PRIiLEAST64): Likewise.
51430         [C99-based-standards] (PRIoLEAST64): Likewise.
51431         [C99-based-standards] (PRIuLEAST64): Likewise.
51432         [C99-based-standards] (PRIxLEAST64): Likewise.
51433         [C99-based-standards] (PRIXLEAST64): Likewise.
51434         [C99-based-standards] (SCNdLEAST64): Likewise.
51435         [C99-based-standards] (SCNiLEAST64): Likewise.
51436         [C99-based-standards] (SCNoLEAST64): Likewise.
51437         [C99-based-standards] (SCNuLEAST64): Likewise.
51438         [C99-based-standards] (SCNxLEAST64): Likewise.
51439         [C99-based-standards] (PRIdFAST64): Likewise.
51440         [C99-based-standards] (PRIiFAST64): Likewise.
51441         [C99-based-standards] (PRIoFAST64): Likewise.
51442         [C99-based-standards] (PRIuFAST64): Likewise.
51443         [C99-based-standards] (PRIxFAST64): Likewise.
51444         [C99-based-standards] (PRIXFAST64): Likewise.
51445         [C99-based-standards] (SCNdFAST64): Likewise.
51446         [C99-based-standards] (SCNiFAST64): Likewise.
51447         [C99-based-standards] (SCNoFAST64): Likewise.
51448         [C99-based-standards] (SCNuFAST64): Likewise.
51449         [C99-based-standards] (SCNxFAST64): Likewise.
51450         [C99-based-standards] (PRIdMAX): Likewise.
51451         [C99-based-standards] (PRIiMAX): Likewise.
51452         [C99-based-standards] (PRIoMAX): Likewise.
51453         [C99-based-standards] (PRIuMAX): Likewise.
51454         [C99-based-standards] (PRIxMAX): Likewise.
51455         [C99-based-standards] (PRIXMAX): Likewise.
51456         [C99-based-standards] (SCNdMAX): Likewise.
51457         [C99-based-standards] (SCNiMAX): Likewise.
51458         [C99-based-standards] (SCNoMAX): Likewise.
51459         [C99-based-standards] (SCNuMAX): Likewise.
51460         [C99-based-standards] (SCNxMAX): Likewise.
51461         [C99-based-standards] (PRIdPTR): Likewise.
51462         [C99-based-standards] (PRIiPTR): Likewise.
51463         [C99-based-standards] (PRIoPTR): Likewise.
51464         [C99-based-standards] (PRIuPTR): Likewise.
51465         [C99-based-standards] (PRIxPTR): Likewise.
51466         [C99-based-standards] (PRIXPTR): Likewise.
51467         [C99-based-standards] (SCNdPTR): Likewise.
51468         [C99-based-standards] (SCNiPTR): Likewise.
51469         [C99-based-standards] (SCNoPTR): Likewise.
51470         [C99-based-standards] (SCNuPTR): Likewise.
51471         [C99-based-standards] (SCNxPTR): Likewise.
51472         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
51473         allow.
51474         * conform/data/stdint.h-data: Update comments to clarify
51475         requirements.
51476         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
51477         type.
51478         [C99-based standards] (INT8_MAX): Likewise.
51479         [C99-based standards] (INT16_MIN): Likewise.
51480         [C99-based standards] (INT16_MAX): Likewise.
51481         [C99-based standards] (INT32_MIN): Likewise.
51482         [C99-based standards] (INT32_MAX): Likewise.
51483         [C99-based standards] (INT64_MIN): Likewise.
51484         [C99-based standards] (INT64_MAX): Likewise.
51485         [C99-based standards] (UINT8_MAX): Likewise.
51486         [C99-based standards] (UINT16_MAX): Likewise.
51487         [C99-based standards] (UINT32_MAX): Likewise.
51488         [C99-based standards] (UINT64_MAX): Likewise.
51489         [C99-based standards] (INT_LEAST8_MIN): Likewise.
51490         [C99-based standards] (INT_LEAST8_MAX): Likewise.
51491         [C99-based standards] (INT_LEAST16_MIN): Likewise.
51492         [C99-based standards] (INT_LEAST16_MAX): Likewise.
51493         [C99-based standards] (INT_LEAST32_MIN): Likewise.
51494         [C99-based standards] (INT_LEAST32_MAX): Likewise.
51495         [C99-based standards] (INT_LEAST64_MIN): Likewise.
51496         [C99-based standards] (INT_LEAST64_MAX): Likewise.
51497         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
51498         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
51499         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
51500         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
51501         [C99-based standards] (INT_FAST8_MIN): Likewise.
51502         [C99-based standards] (INT_FAST8_MAX): Likewise.
51503         [C99-based standards] (INT_FAST16_MIN): Likewise.
51504         [C99-based standards] (INT_FAST16_MAX): Likewise.
51505         [C99-based standards] (INT_FAST32_MIN): Likewise.
51506         [C99-based standards] (INT_FAST32_MAX): Likewise.
51507         [C99-based standards] (INT_FAST64_MIN): Likewise.
51508         [C99-based standards] (INT_FAST64_MAX): Likewise.
51509         [C99-based standards] (UINT_FAST8_MAX): Likewise.
51510         [C99-based standards] (UINT_FAST16_MAX): Likewise.
51511         [C99-based standards] (UINT_FAST32_MAX): Likewise.
51512         [C99-based standards] (UINT_FAST64_MAX): Likewise.
51513         [C99-based standards] (INTPTR_MIN): Likewise.
51514         [C99-based standards] (INTPTR_MAX): Likewise.
51515         [C99-based standards] (UINTPTR_MAX): Likewise.
51516         [C99-based standards] (INTMAX_MIN): Likewise.
51517         [C99-based standards] (INTMAX_MAX): Likewise.
51518         [C99-based standards] (UINTMAX_MAX): Likewise.
51519         [C99-based standards] (PTRDIFF_MIN): Likewise.
51520         [C99-based standards] (PTRDIFF_MAX): Likewise.
51521         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
51522         [C99-based standards] (SIZE_MAX): Likewise.
51523         [C99-based standards] (WCHAR_MAX): Likewise.
51524         [C99-based standards] (WINT_MAX): Likewise.
51525         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
51526         constraint on value.
51527         [C99-based standards] (WCHAR_MIN): Likewise.
51528         [C99-based standards] (WINT_MIN): Likewise.
51529         [C99-based standards] (*_t): Allow.
51530         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
51531         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
51532         Include math.h-data and complex.h-data.  Remove all expectations
51533         of math.h and complex.h contents.
51534         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
51535         at end of line.
51536         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
51537         (struct tm): Expect tag.
51538         [C99-based-standards] (wcstof): Expect function.
51539         [C99-based-standards] (wcstold): Likewise.
51540         [C99-based-standards] (wcstoll): Likewise.
51541         [C99-based-standards] (wcstoull): Likewise.
51542         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
51543         macro-int-constant.  Specify type.
51544         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
51545         constraint on value.
51546         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51547         Specify type.
51548         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
51549         Specify value.
51550         [ISO C standards]: Do not allow headers.
51551         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
51552         wcs[abcdefghijklmnopqrstuvwxyz]*.
51553         [ISO C standards] (*_t): Do not allow.
51554         * conform/data/wctype.h-data [C99-based standards] (iswblank):
51555         Expect function.
51556         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
51557         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51558         Specify type.
51559         [ISO C standards]: Do not allow headers.
51560         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
51561         is[abcdefghijklmnopqrstuvwxyz]*.
51562         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
51563         to[abcdefghijklmnopqrstuvwxyz]*.
51564         [ISO C standards] (*_t): Do not allow.
51565         * conform/data/stdalign.h-data: New file.
51566         * conform/data/stdbool.h-data: Likewise.
51567         * conform/data/stdnoreturn.h-data: Likewise.
51569 2012-11-07  Roland McGrath  <roland@hack.frob.com>
51571         [BZ #14815]
51572         * manual/filesys.texi (Directory Entries): Typo fix.
51573         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
51575 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51577         * elf/elf.h (EM_AARCH64): New macro.
51578         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
51579         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
51580         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
51581         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
51582         (R_AARCH64_TLSDESC): Likewise.
51583         (NT_ARM_TLS): Likewise.
51584         (NT_ARM_HW_BREAK): Likewise.
51585         (NT_ARM_HW_WATCH): Likewise.
51587 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51589         [BZ #14811]
51590         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
51591         (__ieee754_powl): Saturate nonzero exponents with absolute value
51592         below 0x1p-79 to +/- 0x1p-79.
51593         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
51594         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
51595         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
51596         nonzero exponents with absolute value below 0x1p-32 to +/-
51597         0x1p-32.
51598         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
51599         (__ieee754_powl): Saturate nonzero exponents with absolute value
51600         below 0x1p-79 to +/- 0x1p-79.
51601         * math/libm-test.inc (pow_test): Add more tests.
51603 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51605         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51606         _dl_s390_cap_flags with kernel. Increase string length.
51607         (_dl_s390_platforms): Add z196 and zEC12.
51609 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51611         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51612         Change XOPEN21K to XOPEN2K.
51614 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
51616         * string/memmove.c: Use memcpy when possible.
51618 2012-11-06  Andreas Jaeger  <aj@suse.de>
51620         * po/eo.po: Update from translation team.
51622 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
51624         [BZ #14793]
51625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51626         exponent and small x and y exponents, scale x or y up.  Increase
51627         by 2 the exponent used in scaling up.
51628         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51629         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51630         * math/libm-test.inc (fma_test): Add more tests.
51631         (fma_test_towardzero): Likewise.
51632         (fma_test_downward): Likewise.
51633         (fma_test_upward): Likewise.
51635 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
51637         [BZ #14805]
51638         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51639         fenv_t *.
51641         [BZ #14801]
51642         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51643         namespace for names of struct fields.
51644         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51645         fenv_t fields.
51646         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51647         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51649 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51651         [BZ #3665]
51652         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51654 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51656         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51657         PTR_DEMANGLE.
51659         [BZ #5246]
51660         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51661         PTR_DEMANGLE.
51663 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
51665         [BZ #14797]
51666         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51667         definitely overflow as x * y not x * y + z.
51668         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51669         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51670         * math/libm-test.inc (fma_test): Add more tests.
51671         (fma_test_towardzero): Likewise.
51672         (fma_test_downward): Likewise.
51673         (fma_test_upward): Likewise.
51675 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51677         [BZ #157]
51679         * include/stub-tag.h: Remove file.
51680         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51681         '#include' of it.
51682         * manual/maint.texi (Porting): Don't reference it.
51683         * Makerules ($(objpfx)stubs): Likewise.
51684         * dirent/closedir.c: Don't include <stub-tag.h>.
51685         * dirent/dirfd.c: Likewise.
51686         * dirent/fdopendir.c: Likewise.
51687         * dirent/getdents.c: Likewise.
51688         * dirent/getdents64.c: Likewise.
51689         * dirent/opendir.c: Likewise.
51690         * dirent/readdir.c: Likewise.
51691         * dirent/readdir64.c: Likewise.
51692         * dirent/readdir64_r.c: Likewise.
51693         * dirent/readdir_r.c: Likewise.
51694         * dirent/rewinddir.c: Likewise.
51695         * dirent/seekdir.c: Likewise.
51696         * dirent/telldir.c: Likewise.
51697         * gmon/profil.c: Likewise.
51698         * grp/setgroups.c: Likewise.
51699         * inet/if_index.c: Likewise.
51700         * io/access.c: Likewise.
51701         * io/chdir.c: Likewise.
51702         * io/chmod.c: Likewise.
51703         * io/chown.c: Likewise.
51704         * io/close.c: Likewise.
51705         * io/dup.c: Likewise.
51706         * io/dup2.c: Likewise.
51707         * io/dup3.c: Likewise.
51708         * io/euidaccess.c: Likewise.
51709         * io/faccessat.c: Likewise.
51710         * io/fchdir.c: Likewise.
51711         * io/fchmod.c: Likewise.
51712         * io/fchmodat.c: Likewise.
51713         * io/fchown.c: Likewise.
51714         * io/fchownat.c: Likewise.
51715         * io/fcntl.c: Likewise.
51716         * io/flock.c: Likewise.
51717         * io/fstatfs.c: Likewise.
51718         * io/fstatfs64.c: Likewise.
51719         * io/fstatvfs.c: Likewise.
51720         * io/fstatvfs64.c: Likewise.
51721         * io/futimens.c: Likewise.
51722         * io/fxstat.c: Likewise.
51723         * io/fxstat64.c: Likewise.
51724         * io/fxstatat.c: Likewise.
51725         * io/fxstatat64.c: Likewise.
51726         * io/getcwd.c: Likewise.
51727         * io/isatty.c: Likewise.
51728         * io/lchmod.c: Likewise.
51729         * io/lchown.c: Likewise.
51730         * io/link.c: Likewise.
51731         * io/linkat.c: Likewise.
51732         * io/lseek.c: Likewise.
51733         * io/lseek64.c: Likewise.
51734         * io/lxstat64.c: Likewise.
51735         * io/mkdir.c: Likewise.
51736         * io/mkdirat.c: Likewise.
51737         * io/mkfifo.c: Likewise.
51738         * io/mkfifoat.c: Likewise.
51739         * io/open.c: Likewise.
51740         * io/open64.c: Likewise.
51741         * io/openat.c: Likewise.
51742         * io/openat64.c: Likewise.
51743         * io/pipe.c: Likewise.
51744         * io/pipe2.c: Likewise.
51745         * io/poll.c: Likewise.
51746         * io/posix_fadvise.c: Likewise.
51747         * io/posix_fadvise64.c: Likewise.
51748         * io/posix_fallocate.c: Likewise.
51749         * io/posix_fallocate64.c: Likewise.
51750         * io/read.c: Likewise.
51751         * io/readlink.c: Likewise.
51752         * io/readlinkat.c: Likewise.
51753         * io/rmdir.c: Likewise.
51754         * io/sendfile.c: Likewise.
51755         * io/sendfile64.c: Likewise.
51756         * io/statfs.c: Likewise.
51757         * io/statfs64.c: Likewise.
51758         * io/statvfs.c: Likewise.
51759         * io/statvfs64.c: Likewise.
51760         * io/symlink.c: Likewise.
51761         * io/symlinkat.c: Likewise.
51762         * io/ttyname.c: Likewise.
51763         * io/ttyname_r.c: Likewise.
51764         * io/umask.c: Likewise.
51765         * io/unlink.c: Likewise.
51766         * io/unlinkat.c: Likewise.
51767         * io/utime.c: Likewise.
51768         * io/utimensat.c: Likewise.
51769         * io/write.c: Likewise.
51770         * io/xmknod.c: Likewise.
51771         * io/xmknodat.c: Likewise.
51772         * io/xstat.c: Likewise.
51773         * io/xstat64.c: Likewise.
51774         * login/getpt.c: Likewise.
51775         * login/grantpt.c: Likewise.
51776         * login/unlockpt.c: Likewise.
51777         * math/e_acoshl.c: Likewise.
51778         * math/e_acosl.c: Likewise.
51779         * math/e_asinl.c: Likewise.
51780         * math/e_atan2l.c: Likewise.
51781         * math/e_atanhl.c: Likewise.
51782         * math/e_coshl.c: Likewise.
51783         * math/e_expl.c: Likewise.
51784         * math/e_fmodl.c: Likewise.
51785         * math/e_gammal_r.c: Likewise.
51786         * math/e_hypotl.c: Likewise.
51787         * math/e_j0l.c: Likewise.
51788         * math/e_j1l.c: Likewise.
51789         * math/e_jnl.c: Likewise.
51790         * math/e_lgammal_r.c: Likewise.
51791         * math/e_log10l.c: Likewise.
51792         * math/e_log2l.c: Likewise.
51793         * math/e_logl.c: Likewise.
51794         * math/e_powl.c: Likewise.
51795         * math/e_rem_pio2l.c: Likewise.
51796         * math/e_sinhl.c: Likewise.
51797         * math/e_sqrtl.c: Likewise.
51798         * math/fclrexcpt.c: Likewise.
51799         * math/fedisblxcpt.c: Likewise.
51800         * math/feenablxcpt.c: Likewise.
51801         * math/fegetenv.c: Likewise.
51802         * math/fegetexcept.c: Likewise.
51803         * math/fegetround.c: Likewise.
51804         * math/feholdexcpt.c: Likewise.
51805         * math/fesetenv.c: Likewise.
51806         * math/fesetround.c: Likewise.
51807         * math/feupdateenv.c: Likewise.
51808         * math/fgetexcptflg.c: Likewise.
51809         * math/fraiseexcpt.c: Likewise.
51810         * math/fsetexcptflg.c: Likewise.
51811         * math/ftestexcept.c: Likewise.
51812         * math/k_cosl.c: Likewise.
51813         * math/k_rem_pio2l.c: Likewise.
51814         * math/k_sinl.c: Likewise.
51815         * math/k_tanl.c: Likewise.
51816         * math/s_asinhl.c: Likewise.
51817         * math/s_atanl.c: Likewise.
51818         * math/s_cbrtl.c: Likewise.
51819         * math/s_erfl.c: Likewise.
51820         * math/s_expm1l.c: Likewise.
51821         * math/s_log1pl.c: Likewise.
51822         * math/s_tanhl.c: Likewise.
51823         * misc/acct.c: Likewise.
51824         * misc/brk.c: Likewise.
51825         * misc/chflags.c: Likewise.
51826         * misc/chroot.c: Likewise.
51827         * misc/fchflags.c: Likewise.
51828         * misc/fgetxattr.c: Likewise.
51829         * misc/flistxattr.c: Likewise.
51830         * misc/fremovexattr.c: Likewise.
51831         * misc/fsetxattr.c: Likewise.
51832         * misc/fsync.c: Likewise.
51833         * misc/ftruncate.c: Likewise.
51834         * misc/futimes.c: Likewise.
51835         * misc/futimesat.c: Likewise.
51836         * misc/getdomain.c: Likewise.
51837         * misc/getdtsz.c: Likewise.
51838         * misc/gethostid.c: Likewise.
51839         * misc/gethostname.c: Likewise.
51840         * misc/getloadavg.c: Likewise.
51841         * misc/getpagesize.c: Likewise.
51842         * misc/getsysstats.c: Likewise.
51843         * misc/getxattr.c: Likewise.
51844         * misc/gtty.c: Likewise.
51845         * misc/ioctl.c: Likewise.
51846         * misc/lgetxattr.c: Likewise.
51847         * misc/listxattr.c: Likewise.
51848         * misc/llistxattr.c: Likewise.
51849         * misc/lremovexattr.c: Likewise.
51850         * misc/lsetxattr.c: Likewise.
51851         * misc/lutimes.c: Likewise.
51852         * misc/madvise.c: Likewise.
51853         * misc/mincore.c: Likewise.
51854         * misc/mlock.c: Likewise.
51855         * misc/mlockall.c: Likewise.
51856         * misc/mmap.c: Likewise.
51857         * misc/mprotect.c: Likewise.
51858         * misc/msync.c: Likewise.
51859         * misc/munlock.c: Likewise.
51860         * misc/munlockall.c: Likewise.
51861         * misc/munmap.c: Likewise.
51862         * misc/preadv.c: Likewise.
51863         * misc/preadv64.c: Likewise.
51864         * misc/ptrace.c: Likewise.
51865         * misc/pwritev.c: Likewise.
51866         * misc/pwritev64.c: Likewise.
51867         * misc/readv.c: Likewise.
51868         * misc/reboot.c: Likewise.
51869         * misc/remap_file_pages.c: Likewise.
51870         * misc/removexattr.c: Likewise.
51871         * misc/revoke.c: Likewise.
51872         * misc/select.c: Likewise.
51873         * misc/setdomain.c: Likewise.
51874         * misc/setegid.c: Likewise.
51875         * misc/seteuid.c: Likewise.
51876         * misc/sethostid.c: Likewise.
51877         * misc/sethostname.c: Likewise.
51878         * misc/setregid.c: Likewise.
51879         * misc/setreuid.c: Likewise.
51880         * misc/setxattr.c: Likewise.
51881         * misc/sstk.c: Likewise.
51882         * misc/stty.c: Likewise.
51883         * misc/swapoff.c: Likewise.
51884         * misc/swapon.c: Likewise.
51885         * misc/sync.c: Likewise.
51886         * misc/syncfs.c: Likewise.
51887         * misc/syscall.c: Likewise.
51888         * misc/truncate.c: Likewise.
51889         * misc/ualarm.c: Likewise.
51890         * misc/usleep.c: Likewise.
51891         * misc/ustat.c: Likewise.
51892         * misc/utimes.c: Likewise.
51893         * misc/vhangup.c: Likewise.
51894         * misc/writev.c: Likewise.
51895         * posix/_exit.c: Likewise.
51896         * posix/alarm.c: Likewise.
51897         * posix/execve.c: Likewise.
51898         * posix/fexecve.c: Likewise.
51899         * posix/fork.c: Likewise.
51900         * posix/fpathconf.c: Likewise.
51901         * posix/getaddrinfo.c: Likewise.
51902         * posix/getegid.c: Likewise.
51903         * posix/geteuid.c: Likewise.
51904         * posix/getgid.c: Likewise.
51905         * posix/getgroups.c: Likewise.
51906         * posix/getlogin.c: Likewise.
51907         * posix/getlogin_r.c: Likewise.
51908         * posix/getpgid.c: Likewise.
51909         * posix/getpid.c: Likewise.
51910         * posix/getppid.c: Likewise.
51911         * posix/getresgid.c: Likewise.
51912         * posix/getresuid.c: Likewise.
51913         * posix/getsid.c: Likewise.
51914         * posix/getuid.c: Likewise.
51915         * posix/glob64.c: Likewise.
51916         * posix/nanosleep.c: Likewise.
51917         * posix/pathconf.c: Likewise.
51918         * posix/pause.c: Likewise.
51919         * posix/posix_madvise.c: Likewise.
51920         * posix/pread.c: Likewise.
51921         * posix/pread64.c: Likewise.
51922         * posix/pwrite.c: Likewise.
51923         * posix/pwrite64.c: Likewise.
51924         * posix/sched_getaffinity.c: Likewise.
51925         * posix/sched_getp.c: Likewise.
51926         * posix/sched_gets.c: Likewise.
51927         * posix/sched_primax.c: Likewise.
51928         * posix/sched_primin.c: Likewise.
51929         * posix/sched_rr_gi.c: Likewise.
51930         * posix/sched_setaffinity.c: Likewise.
51931         * posix/sched_setp.c: Likewise.
51932         * posix/sched_sets.c: Likewise.
51933         * posix/sched_yield.c: Likewise.
51934         * posix/setgid.c: Likewise.
51935         * posix/setlogin.c: Likewise.
51936         * posix/setpgid.c: Likewise.
51937         * posix/setresgid.c: Likewise.
51938         * posix/setresuid.c: Likewise.
51939         * posix/setsid.c: Likewise.
51940         * posix/setuid.c: Likewise.
51941         * posix/sleep.c: Likewise.
51942         * posix/spawni.c: Likewise.
51943         * posix/sysconf.c: Likewise.
51944         * posix/times.c: Likewise.
51945         * posix/wait.c: Likewise.
51946         * posix/wait3.c: Likewise.
51947         * posix/wait4.c: Likewise.
51948         * posix/waitpid.c: Likewise.
51949         * resolv/gai_sigqueue.c: Likewise.
51950         * resource/getpriority.c: Likewise.
51951         * resource/getrlimit.c: Likewise.
51952         * resource/getrusage.c: Likewise.
51953         * resource/nice.c: Likewise.
51954         * resource/setpriority.c: Likewise.
51955         * resource/setrlimit.c: Likewise.
51956         * resource/ulimit.c: Likewise.
51957         * rt/aio_cancel.c: Likewise.
51958         * rt/aio_fsync.c: Likewise.
51959         * rt/aio_read.c: Likewise.
51960         * rt/aio_sigqueue.c: Likewise.
51961         * rt/aio_suspend.c: Likewise.
51962         * rt/aio_write.c: Likewise.
51963         * rt/clock_getres.c: Likewise.
51964         * rt/clock_gettime.c: Likewise.
51965         * rt/clock_nanosleep.c: Likewise.
51966         * rt/clock_settime.c: Likewise.
51967         * rt/lio_listio.c: Likewise.
51968         * rt/mq_close.c: Likewise.
51969         * rt/mq_getattr.c: Likewise.
51970         * rt/mq_notify.c: Likewise.
51971         * rt/mq_open.c: Likewise.
51972         * rt/mq_receive.c: Likewise.
51973         * rt/mq_send.c: Likewise.
51974         * rt/mq_setattr.c: Likewise.
51975         * rt/mq_timedreceive.c: Likewise.
51976         * rt/mq_timedsend.c: Likewise.
51977         * rt/mq_unlink.c: Likewise.
51978         * rt/shm_open.c: Likewise.
51979         * rt/shm_unlink.c: Likewise.
51980         * rt/timer_create.c: Likewise.
51981         * rt/timer_delete.c: Likewise.
51982         * rt/timer_getoverr.c: Likewise.
51983         * rt/timer_gettime.c: Likewise.
51984         * rt/timer_settime.c: Likewise.
51985         * setjmp/__longjmp.c: Likewise.
51986         * setjmp/setjmp.c: Likewise.
51987         * signal/kill.c: Likewise.
51988         * signal/killpg.c: Likewise.
51989         * signal/raise.c: Likewise.
51990         * signal/sigaction.c: Likewise.
51991         * signal/sigaltstack.c: Likewise.
51992         * signal/sigblock.c: Likewise.
51993         * signal/sigignore.c: Likewise.
51994         * signal/sigintr.c: Likewise.
51995         * signal/signal.c: Likewise.
51996         * signal/sigpause.c: Likewise.
51997         * signal/sigpending.c: Likewise.
51998         * signal/sigqueue.c: Likewise.
51999         * signal/sigreturn.c: Likewise.
52000         * signal/sigset.c: Likewise.
52001         * signal/sigsetmask.c: Likewise.
52002         * signal/sigstack.c: Likewise.
52003         * signal/sigsuspend.c: Likewise.
52004         * signal/sigtimedwait.c: Likewise.
52005         * signal/sigvec.c: Likewise.
52006         * signal/sigwait.c: Likewise.
52007         * signal/sigwaitinfo.c: Likewise.
52008         * signal/sysv_signal.c: Likewise.
52009         * socket/accept.c: Likewise.
52010         * socket/accept4.c: Likewise.
52011         * socket/bind.c: Likewise.
52012         * socket/connect.c: Likewise.
52013         * socket/getpeername.c: Likewise.
52014         * socket/getsockname.c: Likewise.
52015         * socket/getsockopt.c: Likewise.
52016         * socket/isfdtype.c: Likewise.
52017         * socket/listen.c: Likewise.
52018         * socket/recv.c: Likewise.
52019         * socket/recvfrom.c: Likewise.
52020         * socket/recvmsg.c: Likewise.
52021         * socket/send.c: Likewise.
52022         * socket/sendmsg.c: Likewise.
52023         * socket/sendto.c: Likewise.
52024         * socket/setsockopt.c: Likewise.
52025         * socket/shutdown.c: Likewise.
52026         * socket/sockatmark.c: Likewise.
52027         * socket/socket.c: Likewise.
52028         * socket/socketpair.c: Likewise.
52029         * stdio-common/ctermid.c: Likewise.
52030         * stdio-common/cuserid.c: Likewise.
52031         * stdio-common/remove.c: Likewise.
52032         * stdio-common/rename.c: Likewise.
52033         * stdio-common/renameat.c: Likewise.
52034         * stdio-common/tempname.c: Likewise.
52035         * stdlib/getcontext.c: Likewise.
52036         * stdlib/makecontext.c: Likewise.
52037         * stdlib/setcontext.c: Likewise.
52038         * stdlib/swapcontext.c: Likewise.
52039         * stdlib/system.c: Likewise.
52040         * streams/fattach.c: Likewise.
52041         * streams/fdetach.c: Likewise.
52042         * streams/getmsg.c: Likewise.
52043         * streams/getpmsg.c: Likewise.
52044         * streams/putmsg.c: Likewise.
52045         * streams/putpmsg.c: Likewise.
52046         * sysdeps/unix/bsd/getpt.c: Likewise.
52047         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
52048         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
52049         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52051         Likewise.
52052         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
52053         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52054         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
52055         * sysvipc/msgctl.c: Likewise.
52056         * sysvipc/msgget.c: Likewise.
52057         * sysvipc/msgrcv.c: Likewise.
52058         * sysvipc/msgsnd.c: Likewise.
52059         * sysvipc/semctl.c: Likewise.
52060         * sysvipc/semget.c: Likewise.
52061         * sysvipc/semop.c: Likewise.
52062         * sysvipc/semtimedop.c: Likewise.
52063         * sysvipc/shmat.c: Likewise.
52064         * sysvipc/shmctl.c: Likewise.
52065         * sysvipc/shmdt.c: Likewise.
52066         * sysvipc/shmget.c: Likewise.
52067         * termios/tcdrain.c: Likewise.
52068         * termios/tcflow.c: Likewise.
52069         * termios/tcflush.c: Likewise.
52070         * termios/tcgetattr.c: Likewise.
52071         * termios/tcgetpgrp.c: Likewise.
52072         * termios/tcsendbrk.c: Likewise.
52073         * termios/tcsetattr.c: Likewise.
52074         * termios/tcsetpgrp.c: Likewise.
52075         * time/adjtime.c: Likewise.
52076         * time/clock.c: Likewise.
52077         * time/getitimer.c: Likewise.
52078         * time/gettimeofday.c: Likewise.
52079         * time/setitimer.c: Likewise.
52080         * time/settimeofday.c: Likewise.
52081         * time/stime.c: Likewise.
52082         * time/time.c: Likewise.
52084 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
52086         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
52087         /usr/old/bin.
52089         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
52090         instead of spaces.
52091         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
52093 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
52095         [BZ #14796]
52096         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
52097         FE_TONEAREST before applying Dekker multiplication and Knuth
52098         addition.  Clear inexact exceptions and check for exact zero
52099         results afterwards.
52100         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52101         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52102         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52103         * math/libm-test.inc (fma_test): Add more tests.
52104         (fma_test_towardzero): Likewise.
52105         (fma_test_downward): Likewise.
52106         (fma_test_upward): Likewise.
52107         * sysdeps/generic/math_private.h (default_libc_fesetround): New
52108         function.
52109         (libc_fesetround): New macro.
52110         (libc_fesetroundf): Likewise.
52111         (libc_fesetroundl): Likewise.
52112         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
52113         function.
52114         (libc_fesetround_387): Likewise.
52115         (libc_fesetroundf): New macro.
52116         (libc_fesetround): Likewise.
52117         (libc_fesetroundl): Likewise.
52118         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
52119         function.
52120         (libc_fesetroundf): New macro.
52121         (libc_fesetround): Likewise.
52122         (libc_fesetroundl): Likewise.
52123         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
52124         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
52125         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
52126         libm_hidden_ver.
52127         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
52128         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
52129         libm_hidden_def.
52130         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
52131         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
52132         libm_hidden_ver.
52133         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
52134         libm_hidden_def.
52136         [BZ #3439]
52137         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
52138         integer constant usable in #if and use that to give value to enum
52139         constant.
52140         (FE_DIVBYZERO): Likewise.
52141         (FE_UNDERFLOW): Likewise.
52142         (FE_OVERFLOW): Likewise.
52143         (FE_INVALID): Likewise.
52144         (FE_INVALID_SNAN): Likewise.
52145         (FE_INVALID_ISI): Likewise.
52146         (FE_INVALID_IDI): Likewise.
52147         (FE_INVALID_ZDZ): Likewise.
52148         (FE_INVALID_IMZ): Likewise.
52149         (FE_INVALID_COMPARE): Likewise.
52150         (FE_INVALID_SOFTWARE): Likewise.
52151         (FE_INVALID_SQRT): Likewise.
52152         (FE_INVALID_INTEGER_CONVERSION): Likewise.
52153         (FE_TONEAREST): Likewise.
52154         (FE_TOWARDZERO): Likewise.
52155         (FE_UPWARD): Likewise.
52156         (FE_DOWNWARD): Likewise.
52157         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
52158         (FE_DIVBYZERO): Likewise.
52159         (FE_OVERFLOW): Likewise.
52160         (FE_UNDERFLOW): Likewise.
52161         (FE_INEXACT): Likewise.
52162         (FE_TONEAREST): Likewise.
52163         (FE_DOWNWARD): Likewise.
52164         (FE_UPWARD): Likewise.
52165         (FE_TOWARDZERO): Likewise.
52166         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
52167         (FE_UNDERFLOW): Likewise.
52168         (FE_OVERFLOW): Likewise.
52169         (FE_DIVBYZERO): Likewise.
52170         (FE_INVALID): Likewise.
52171         (FE_TONEAREST): Likewise.
52172         (FE_TOWARDZERO): Likewise.
52173         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
52174         (FE_OVERFLOW): Likewise.
52175         (FE_UNDERFLOW): Likewise.
52176         (FE_DIVBYZERO): Likewise.
52177         (FE_INEXACT): Likewise.
52178         (FE_TONEAREST): Likewise.
52179         (FE_TOWARDZERO): Likewise.
52180         (FE_UPWARD): Likewise.
52181         (FE_DOWNWARD): Likewise.
52182         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
52183         (FE_DIVBYZERO): Likewise.
52184         (FE_OVERFLOW): Likewise.
52185         (FE_UNDERFLOW): Likewise.
52186         (FE_INEXACT): Likewise.
52187         (FE_TONEAREST): Likewise.
52188         (FE_DOWNWARD): Likewise.
52189         (FE_UPWARD): Likewise.
52190         (FE_TOWARDZERO): Likewise.
52192 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
52194         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
52196 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
52198         * scripts/cross-test-ssh.sh (command): Use newlines to separate
52199         commands.  Quote $PWD.
52200         (blacklist_exports): Don't use remove_newlines.  Replace "declare
52201         -x" by "export".
52202         (remove_newlines): Remove.
52204 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
52206         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
52207         * stdlib/stdlib.h (atof): Moved to ...
52208         * include/bits/stdlib-float.h: Here.  New file.
52209         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
52210         * stdlib/bits/stdlib-float.h: New file.
52211         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
52212         -mno-sse -mno-mmx.
52213         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
52214         <xmmintrin.h>.
52216 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52218         * conform/conformtest.pl (@headers): Add fenv.h.
52219         * conform/data/fenv.h-data: New file.
52220         * include/fenv.h [_ISOMAC]: Disable all contents of file except
52221         include of <math/fenv.h>.
52223         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
52224         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
52225         && !UNIX98].  Enables tests for XOPEN2K8.
52226         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
52227         POSIX2008]: Likewise.
52229         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
52230         (struct rusage): Do not expect type or its members.
52232         [BZ #3439]
52233         * math/math.h (FP_NAN): Define macro to integer constant usable in
52234         #if and use that to give value to enum constant.
52235         (FP_INFINITE): Likewise.
52236         (FP_ZERO): Likewise.
52237         (FP_SUBNORMAL): Likewise.
52238         (FP_NORMAL): Likewise.
52240 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
52242         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
52243         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
52244         arguments.
52246 2012-11-02  Roland McGrath  <roland@hack.frob.com>
52248         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
52249         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
52250         autoconf-time if not.
52251         * configure.in: Remove AC_PREREQ.
52253 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52255         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
52256         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
52257         of the internal implementation.
52259 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52261         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
52262         except include of <misc/sys/syslog.h>.
52264 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
52267         function returns with a NULL context exit with zero.
52269 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52271         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
52273 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
52275         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
52276         (run_program_cmd): This.
52277         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
52278         (tst_langinfo): New variable.  Use it.
52280 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
52282         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
52283         floating point opcodes.
52285 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52287         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
52288         variable.
52290         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
52292         * sysdeps/mach/hurd/powerpc: Remove directory.
52293         * sysdeps/mach/powerpc: Likewise.
52295 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52297         * scripts/check-local-headers.sh: Ignore c++ headers.
52299 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52301         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
52302         __libc_cleanup_region_start argument.
52304 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
52306         [BZ #14784]
52307         [BZ #14785]
52308         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
52309         x * y using scaling, not as x * y + z.
52310         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52311         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52312         * math/libm-test.inc (fma_test): Add more tests.
52313         (fma_test_towardzero): Likewise.
52314         (fma_test_downward): Likewise.
52315         (fma_test_upward): Likewise.
52317 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52319         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
52321 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52323         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
52324         New variable.
52326 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
52328         * rt/tst-shm.c (worker): Correct checking for mmap failure.
52330 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52333         Fix sort order.
52334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52335         Likewise.
52337 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52340         Fix the order of the list for glibc 2.17.
52341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52342         Likewise.
52344 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52348 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52350         [BZ #14610]
52351         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
52352         for low part of x being zero before using __atanl (y).
52353         * math/libm-test.inc (atan2_test): Add another test.
52355         * manual/install.texi (Configuring and compiling): Document
52356         general use of test-wrapper and test-wrapper-env.
52357         * INSTALL: Regenerated.
52359         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
52360         (__fma): Do not extract and scale down low bits on after-rounding
52361         systems when result rounded to normal precision would have normal
52362         exponent.
52363         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
52364         (__fmal): Do not extract and scale down low bits on after-rounding
52365         systems when result rounded to normal precision would have normal
52366         exponent.
52367         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
52368         (__fmal): Do not extract and scale down low bits on after-rounding
52369         systems when result rounded to normal precision would have normal
52370         exponent.
52371         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
52372         macro.
52373         (fma_test): Add more tests.
52374         (fma_test_towardzero): Likewise.
52375         (fma_test_downward): Likewise.
52376         (fma_test_upward): Likewise.
52378 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
52380         * sysdeps/i386/tininess.h: Renamed to ...
52381         * sysdeps/x86/tininess.h: This.
52382         * sysdeps/x86_64/tininess.h: Removed.
52384 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52386         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
52387         input.  Use $(build-program-cmd).
52388         ($(objpfx)tst-array1-static.out): Likewise.
52389         ($(objpfx)tst-array2.out): Likewise.
52390         ($(objpfx)tst-array3.out): Likewise.
52391         ($(objpfx)tst-array4.out): Likewise.
52392         ($(objpfx)tst-array5.out): Likewise.
52393         ($(objpfx)tst-array5-static.out): Likewise.
52395 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
52397         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
52398         if defined.
52400         * nss/nsswitch.h (nss_interface_function): Provide new
52401         macro for use with NSS functions.
52402         * grp/initgroups.c: Use new macro.
52403         * nss/getXXbyYY.c: Likewise.
52404         * nss/getXXbyYY_r.c: Likewise.
52405         * nss/getXXent.c: Likewise.
52406         * nss/getXXent_r.c: Likewise.
52407         * sysdeps/posix/getaddrinfo.c: Likewise.
52409 2012-10-30  Andreas Jaeger  <aj@suse.de>
52411         * po/ru.po: Update Russion translation from translation project.
52413 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52415         [BZ #14152]
52416         [BZ #14783]
52417         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
52418         result and shift together with sticky bit instead of replicating
52419         round-to-nearest rounding.
52420         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52421         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52422         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
52423         missing underflow exceptions.
52424         (fma_test_towardzero): Add more tests.
52425         (fma_test_downward): Likewise.
52426         (fma_test_upward): Likewise.
52428         [BZ #14047]
52429         * sysdeps/generic/tininess.h: New file.
52430         * sysdeps/i386/tininess.h: Likewise.
52431         * sysdeps/sh/tininess.h: Likewise.
52432         * sysdeps/x86_64/tininess.h: Likewise.
52433         * stdlib/tst-strtod-underflow.c: Likewise.
52434         * stdlib/tst-tininess.c: Likewise.
52435         * stdlib/strtod_l.c: Include <tininess.h>.
52436         (round_and_return): Do not set errno for exact underflow cases.
52437         Force an underflow exception when setting errno for underflow.
52438         Determine underflow based on rounding to normal precision if
52439         TININESS_AFTER_ROUNDING.
52440         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
52441         ERANGE for exact underflow cases.
52442         * stdlib/Makefile (tests): Add tst-tininess and
52443         tst-strtod-underflow.
52444         ($(objpfx)tst-tininess): Use $(link-libm).
52445         ($(objpfx)tst-strtod-underflow): Likewise.
52447 2012-10-30  Andreas Jaeger  <aj@suse.de>
52449         [BZ#14767]
52450         * elf/Makefile (tests): Remove conditional for have-initfini-array
52451         since this is now always required and the variable does not exist
52452         anymore.
52453         (tests-static): Likewise.
52454         (modules-names): Likewise.
52456         * po/eo.po: Add Esperanto translation from translation project.
52458         * elf/tst-array1.c (fini_array): Make writeable so that it can be
52459         merged with constructor/destructor.
52460         (init_array): Likewise.
52461         * elf/tst-array2dep.c (fini_array): Likewise.
52462         (init_array): Likewise.
52464 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
52466         * manual/message.texi: Delete @cartouche tags.
52468 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
52470         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
52471         EOPNOTSUPP.
52472         * sysdeps/mach/hurd/fsync.c: Likewise.
52474         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
52475         [_POSIX_REALTIME_SIGNALS]: Change condition to
52476         [_POSIX_REALTIME_SIGNALS > 0].
52478 2012-10-27  Andreas Jaeger  <aj@suse.de>
52480         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
52481         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
52482         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
52483         [__WORDSIZE != 64]: Likewise.
52485 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
52487         *  iconvdata/tst-table.sh: Remove ${SHELL}.
52488         *  iconvdata/tst-tables.sh: Likewise.
52490 2012-10-25  David S. Miller  <davem@davemloft.net>
52492         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52493         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
52494         of strtoull.
52496         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
52497         ifunc-impl-list.c
52498         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52499         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
52500         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
52501         file.
52503 2012-10-25  Roland McGrath  <roland@hack.frob.com>
52505         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52506         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
52507         __getdirentries.
52509 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52510             Jim Blandy  <jimb@codesourcery.com>
52512         * scripts/cross-test-ssh.sh: New file.
52513         * manual/install.texi (Configuring and compiling): Document use of
52514         cross-test-ssh.sh.
52515         * INSTALL: Regenerated.
52517 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
52519         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
52520         EOPNOTSUPP.
52522 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52524         * Makeconfig (run-program-prefix): Fix comment.
52526 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52527             Jim Blandy  <jimb@codesourcery.com>
52529         * Makeconfig (test-wrapper): New variable,
52530         (test-wrapper-env): Likewise.
52531         [$(cross-compiling) = yes && $(test-wrapper) != ""]
52532         (run-built-tests): Define to yes.
52533         (run-program-prefix): Use $(test-wrapper).
52534         (built-program-cmd): Likewise.
52535         * Rules (make-test-out): Use $(test-wrapper-env) and
52536         $(host-built-program-cmd).
52537         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
52538         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
52539         tst-pathopt.sh.
52540         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
52541         $(test-wrapper-env) to tst-rtld-load-self.sh.
52542         ($(objpfx)order2.out): Use $(test-wrapper).
52543         ($(objpfx)tst-initorder.out): Likewise.
52544         ($(objpfx)tst-initorder2.out): Likewise.
52545         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
52546         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
52547         (test_wrapper_env): New variable.  Use it to run ld.so.
52548         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
52549         Use it to run ld.so.
52550         (test_wrapper_env): Likewise.
52551         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
52552         $(test-wrapper) to run-iconv-test.sh.
52553         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
52554         (ICONV): Use $test_wrapper.
52555         * posix/Makefile ($(objpfx)globtest.out): Pass
52556         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
52557         globtest.sh, not $(run-program-prefix).
52558         * posix/globtest.sh (run_via_rtld_prefix): New variable.
52559         (test_wrapper): Likewise.
52560         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
52561         set together with run_via_rtld_prefix.
52562         (run_program_prefix): Define in terms of test_wrapper and
52563         run_via_rtld_prefix.
52565 2012-10-24  Roland McGrath  <roland@hack.frob.com>
52567         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
52568         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
52569         Targets removed.
52571         [BZ #14743]
52572         * include/time.h: Remove librt_hidden_proto (clock_gettime).
52573         Declare __clock_getres, __clock_gettime, __clock_settime,
52574         __clock_nanosleep, and __clock_getcpuclockid.
52575         * rt/clock_gettime.c: Define __clock_gettime as an alias.
52576         Remove librt_hidden_def (clock_gettime).
52577         * sysdeps/unix/clock_gettime.c: Likewise.
52578         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
52579         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
52580         * rt/clock_getres.c: Define __clock_getres as an alias.
52581         * sysdeps/posix/clock_getres.c: Likewise.
52582         * rt/clock_settime.c: Define __clock_settime as an alias.
52583         * sysdeps/unix/clock_settime.c: Likewise.
52584         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
52585         * sysdeps/unix/clock_nanosleep.c: Likewise.
52586         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
52587         * rt/clock-compat.c: New file.
52588         * rt/Makefile (librt-routines): Add clock-compat and move
52589         $(clock-routines) to ...
52590         (routines): ... here, new variable.
52591         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
52592         Don't add get_clockfreq here.
52593         * rt/Versions (libc: GLIBC_2.17): New version set.
52594         Add clock_* symbols here.
52595         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
52596         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
52597         (GLIBC_2.17): Add clock_* symbols.
52598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52600         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52602         Likewise.
52603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52604         Likewise.
52605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52609         * NEWS: Mention the move.
52611         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52612         Use __open, __read, __close rather than their public counterparts.
52613         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52614         (__get_clockfreq_via_cpuinfo): Likewise.
52615         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52616         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52618         * config.h.in (HAVE_IFUNC): New #undef.
52619         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52620         was successful.
52621         * configure: Regenerated.
52623 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52625         * configure.in: Move READELF check to start of file.
52626         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52627         libc_cv_asm_gnu_indirect_function in the process.
52628         * configure: Regenerated.
52630 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52632         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52633         send the output to /dev/null.
52634         (libc_cv_cc_with_libunwind): Likewise.
52635         (libc_cv_as_noexecstack): Likewise.
52636         * configure: Regenerate.
52638 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52640         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52642         * posix/globtest.sh (TMPDIR): Do not set.
52643         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52644         (testout): Likewise.
52646 2012-10-24  Andreas Jaeger  <aj@suse.de>
52648         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52649         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52650         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52651         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52652         posix_fadvise64, posix_fallocate64.
52654         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52655         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52656         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52657         Likewise.
52658         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52659         Likewise.
52660         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52662         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52663         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52664         <bits/fcntl-linux.h>.
52665         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52667         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52668         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52669         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52670         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52671         [__WORDSIZE != 64]: Likewise.
52673 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52675         * Makeconfig (run-built-tests): New variable.
52676         * Rules [$(cross-compiling) = yes]: Change condition to
52677         [$(run-built-tests) = no].
52678         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52679         to [$(run-built-tests) = yes].
52680         * elf/Makefile [$(cross-compiling) = no]: Likewise.
52681         * grp/Makefile [$(cross-compiling) = no]: Likewise.
52682         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52683         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52684         * intl/Makefile [$(cross-compiling) = no]: Likewise.
52685         * io/Makefile [$(cross-compiling) = no]: Likewise.
52686         * libio/Makefile [$(cross-compiling) = no]: Likewise.
52687         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52688         * misc/Makefile [$(cross-compiling) = no]: Likewise.
52689         * posix/Makefile [$(cross-compiling) = no]: Likewise.
52690         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52691         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52692         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52693         * string/Makefile [$(cross-compiling) = no]: Likewise.
52695         * posix/Makefile ($(objpfx)globtest.out): Pass
52696         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52697         $(rtld-installed-name).
52698         * posix/globtest.sh (elf_objpfx): Remove variable.
52699         (rtld_installed_name): Likewise.
52700         (library_path): Likewise.
52701         (run_program_prefix): New variable.  Use for running globtest
52702         binary.
52704 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
52705             Joseph Myers  <joseph@codesourcery.com>
52707         * Makeconfig (host-built-program-cmd): New variable.
52708         * elf/Makefile (tst-stackguard1-ARGS): Use
52709         $(host-built-program-cmd).
52710         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52711         (tst-spawn-ARGS): Likewise.
52712         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52714 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52715             Jim Blandy  <jimb@codesourcery.com>
52717         * Makeconfig (run-via-rtld-prefix): New variable.
52718         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52719         (built-program-cmd): Likewise.
52721 2012-10-22  Andreas Jaeger  <aj@suse.de>
52723         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52724         __O_RSYNC if it exists, otherwise to O_SYNC.
52726 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
52727             Joseph Myers  <joseph@codesourcery.com>
52729         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52730         /dev/null.
52731         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52732         from /dev/null
52733         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52734         /dev/null.
52736 2012-10-22  Andreas Jaeger  <aj@suse.de>
52738         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52739         Define always.
52740         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52742         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52743         bits/fcntl-linux.h.
52745         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52746         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52748         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52749         to __O_LARGEFILE.
52750         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52751         to __O_LARGEFILE.
52753 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
52754             Joseph Myers  <joseph@codesourcery.com>
52756         * config.make.in (NM): New variable.
52758 2012-10-21  Andreas Jaeger  <aj@suse.de>
52760         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
52761         definitions and declarations that are provided by
52762         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52764 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52766         [BZ #14683]
52767         * elf/Makefile (tests-static): Add tst-leaks1-static.
52768         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
52769         ($(objpfx)tst-leaks1-static): New rule.
52770         ($(objpfx)tst-leaks1-static-mem): Likewise.
52771         (tst-leaks1-static-ENV): New macro.
52772         * elf/dl-open.c (dl_open_worker): Check the main application
52773         only if SHARED is defined.
52774         * elf/tst-leaks1-static.c: New file.
52776 2012-10-20  Andreas Jaeger  <aj@suse.de>
52778         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
52779         generic values for Linux.
52780         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
52781         and declarations that are provided by <bits/fcntl-linux.h> and
52782         include <bits/fcntl-linux.h>.
52783         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52784         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52786 2012-10-20  Roland McGrath  <roland@hack.frob.com>
52788         * io/fcntl.h: Move include of <bits/types.h> to the top and
52789         include it unconditionally.
52791 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52793         * wcsmbs/Makefile (tests-ifunc): New variable.
52794         (tests): Add $(tests-ifunc).
52795         * wcsmbs/test-wcschr-ifunc.c: New file.
52796         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
52797         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
52798         * wcsmbs/test-wcslen-ifunc.c: Likewise.
52799         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
52800         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
52802         * string/Makefile (tests-ifunc): New variable.
52803         (tests): Add $(tests-ifunc).
52804         * string/test-memccpy.c (TEST_NAME): New macro.
52805         * string/test-memchr.c (TEST_NAME): Likewise.
52806         * string/test-memcmp.c (TEST_NAME): Likewise.
52807         * string/test-memcpy.c (TEST_NAME): Likewise.
52808         * string/test-memmem.c (TEST_NAME): Likewise.
52809         * string/test-memmove.c (TEST_NAME): Likewise.
52810         * string/test-memset.c (TEST_NAME): Likewise.
52811         * string/test-rawmemchr.c (TEST_NAME): Likewise.
52812         * string/test-stpcpy.c (TEST_NAME): Likewise.
52813         * string/test-stpncpy.c (TEST_NAME): Likewise.
52814         * string/test-strcasecmp.c (TEST_NAME): Likewise.
52815         * string/test-strcasestr.c (TEST_NAME): Likewise.
52816         * string/test-strcat.c (TEST_NAME): Likewise.
52817         * string/test-strchr.c (TEST_NAME): Likewise.
52818         * string/test-strcmp.c(TEST_NAME): Likewise.
52819         * string/test-strcpy.c (TEST_NAME): Likewise.
52820         * string/test-strcspn.c (TEST_NAME): Likewise.
52821         * string/test-strlen.c (TEST_NAME): Likewise.
52822         * string/test-strncasecmp.c (TEST_NAME): Likewise.
52823         * string/test-strncmp.c (TEST_NAME): Likewise.
52824         * string/test-strncpy.c (TEST_NAME): Likewise.
52825         * string/test-strnlen.c (TEST_NAME): Likewise.
52826         * string/test-strpbrk.c (TEST_NAME): Likewise.
52827         * string/test-strrchr.c (TEST_NAME): Likewise.
52828         * string/test-strspn.c (TEST_NAME): Likewise.
52829         * string/test-strstr.c (TEST_NAME): Likewise.
52830         * string/test-bcopy-ifunc.c: New file.
52831         * string/test-bzero-ifunc.c: Likewise.
52832         * string/test-memccpy-ifunc.c: Likewise.
52833         * string/test-memchr-ifunc.c: Likewise.
52834         * string/test-memcmp-ifunc.c: Likewise.
52835         * string/test-memcpy-ifunc.c: Likewise.
52836         * string/test-memmem-ifunc.c: Likewise.
52837         * string/test-memmove-ifunc.c: Likewise.
52838         * string/test-mempcpy-ifunc.c: Likewise.
52839         * string/test-memset-ifunc.c: Likewise.
52840         * string/test-rawmemchr-ifunc.c: Likewise.
52841         * string/test-stpcpy-ifunc.c: Likewise.
52842         * string/test-stpncpy-ifunc.c: Likewise.
52843         * string/test-strcasecmp-ifunc.c: Likewise.
52844         * string/test-strcasestr-ifunc.c: Likewise.
52845         * string/test-strcat-ifunc.c: Likewise.
52846         * string/test-strchr-ifunc.c: Likewise.
52847         * string/test-strchrnul-ifunc.c: Likewise.
52848         * string/test-strcmp-ifunc.c: Likewise.
52849         * string/test-strcpy-ifunc.c: Likewise.
52850         * string/test-strcspn-ifunc.c: Likewise.
52851         * string/test-strlen-ifunc.c: Likewise.
52852         * string/test-strncasecmp-ifunc.c: Likewise.
52853         * string/test-strncat-ifunc.c: Likewise.
52854         * string/test-strncmp-ifunc.c: Likewise.
52855         * string/test-strncpy-ifunc.c: Likewise.
52856         * string/test-strnlen-ifunc.c: Likewise.
52857         * string/test-strpbrk-ifunc.c: Likewise.
52858         * string/test-strrchr-ifunc.c: Likewise.
52859         * string/test-strspn-ifunc.c: Likewise.
52860         * string/test-strstr-ifunc.c: Likewise.
52862         * debug/Makefile (tests-ifunc): New variable.
52863         (tests): Add $(tests-ifunc).
52864         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
52865         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
52866         * debug/test-stpcpy_chk-ifunc.c: New file.
52867         * debug/test-strcpy_chk-ifunc.c: Likewise.
52869 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52871         [BZ #13601]
52872         * elf/dl-load.c (open_verify): Retry read if the entire ELF
52873         header is not read in.
52875 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
52877         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
52878         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
52879         directly.  Pass built executable to script as
52880         $(built-program-cmd).
52881         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
52882         $testprogram without using LD_LIBRARY_PATH and $ldso.
52884         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
52885         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
52886         $(rtld-installed-name).
52887         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
52888         (rtld_installed_name): Likewise.
52889         (library_path): Likewise.
52890         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
52891         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
52892         $(run-program-prefix) to tst-tables.sh.
52893         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
52894         it to run tst-table-from and tst-table-to.
52895         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
52896         Pass it to tst-table.sh.
52897         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
52898         $(run-program-prefix) to tst-gettext.sh.
52899         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
52900         tst-translit.sh.
52901         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
52902         tst-gettext2.sh.
52903         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
52904         to run tst-gettext.
52905         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
52906         to run tst-gettext2.
52907         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
52908         to run tst-translit.
52909         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
52910         $(run-program-prefix) to tst-mtrace.sh.
52911         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
52912         to run tst-mtrace.
52913         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
52914         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
52915         $(rtld-installed-name).
52916         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
52917         (rtld_installed_name): Likewise.
52918         (run_program_prefix): New variable.  Use it to run wordexp-test.
52920         * Makeconfig (ARCH): Remove all definitions.
52921         (machine): Likewise.
52922         [ARCH]: Remove conditional code.
52923         [!objdir]: Give error.
52924         [!objdir] (objpfx): Remove.
52925         [!objdir] (common-objpfx): Likewise.
52926         [!objdir] (common-objdir): Likewise.
52927         * configure.in (config_makefile): Remove.  Hardcode Makefile in
52928         AC_CONFIG_FILES call.
52929         * configure: Regenerated.
52931         [BZ #13888]
52932         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
52933         or TMPDIR.
52934         (testout): Likewise.
52936         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
52937         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
52938         $(rtld-installed-name).
52939         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
52940         (rtld_installed_name): Likwise.
52941         (runit): Remove function.
52942         (run_getconf): New variable,  Use it for running getconf binary.
52944 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
52946         [BZ #14716]
52947         * string/test-memmem.c (check_result): New function.
52948         (do_one_test): Use it.
52949         (check1): New function.
52950         (test_main): Use it.
52952 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
52954         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
52956 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
52958         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
52959         (_G_LSEEK64): Likewise.
52960         (_G_MMAP64): Likewise.
52961         (_G_FSTAT64): Likewise.
52962         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
52963         (_G_LSEEK64): Likewise.
52964         (_G_MMAP64): Likewise.
52965         (_G_FSTAT64): Likewise.
52966         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
52967         unconditional.  Call __mmap64 directly.
52968         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
52969         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
52970         __lseek64 directly.
52971         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
52972         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
52973         __mmap64 directly.
52974         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
52975         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52976         __lseek64 directly.
52977         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
52978         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52979         __lseek64 directly.
52980         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
52981         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
52982         __lseek64 directly.
52983         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
52984         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
52985         __fxstat64 directly.
52986         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
52987         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
52988         unconditional.
52989         (freopen64) [!_G_OPEN64]: Remove conditional code.
52990         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
52991         unconditional.
52992         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
52993         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
52994         unconditional.
52995         (ftello64) [!_G_LSEEK64]: Remove conditional code.
52996         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
52997         unconditional.
52998         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52999         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
53000         unconditional.
53001         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
53002         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
53003         unconditional.
53004         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53005         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
53006         unconditional.
53007         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53008         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
53009         unconditional.
53010         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53012 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53014         [BZ #12140]
53015         * manual/memory.texi (Malloc Tunable Parameters): Add note
53016         about free list pointers overwriting some perturb bytes.
53017         Wording suggested by Roland McGrath.
53019 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
53021         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
53022         (lgamma_test): Likewise.
53023         (tgamma_test): Likewise.
53025 2012-10-16  Florian Weimer  <fweimer@redhat.com>
53027         [BZ #14700]
53028         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
53029         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
53031 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
53033         * NEWS: Mention BZ #14716.
53034         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
53035         when removing AVAILABLE1_USES_J macro.
53037 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
53039         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
53040         (__bswap_64): __uint64_t for unsigned 64-bit int.
53042 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
53044         * include/string.h (memmem): Declare libc hidden alias.
53045         * string/memmem.c (memmem): Define libc hidden alias.
53046         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
53047         __read, __close instead of open, read, close.
53049 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
53051         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
53052         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
53053         global and hidden.
53054         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
53055         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
53056         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
53057         Likewise.
53058         (__rawmemchr_sse2): Likewise.
53059         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
53060         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
53061         (__strchr_sse2): Likewise.
53062         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
53063         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
53064         (__strcasecmp_sse2): Likewise.
53065         (__strncasecmp_sse2): Likewise.
53066         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
53067         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
53068         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
53069         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
53070         (__strrchr_sse2): Likewise.
53071         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
53072         ifunc-impl-list.c.
53073         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
53074         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
53075         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
53076         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53077         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
53078         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
53079         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53080         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53081         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
53082         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
53083         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
53084         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
53085         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
53086         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
53087         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
53088         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53089         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
53090         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
53091         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
53092         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
53093         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
53094         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
53095         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
53096         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53097         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
53098         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53099         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
53100         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53101         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
53102         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
53104         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
53105         global and hidden.
53106         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
53107         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
53108         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
53109         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
53110         Likewise.
53111         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
53112         Likewise.
53113         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
53114         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
53115         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
53116         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
53117         ifunc-impl-list.c.
53118         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53119         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53120         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53121         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53122         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53123         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53124         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53125         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53126         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53127         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53128         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53129         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53130         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53131         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
53132         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
53133         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53134         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
53135         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
53136         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53137         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53138         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53139         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53140         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53141         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53142         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53143         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
53144         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
53145         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
53146         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
53147         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53148         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
53149         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53150         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53151         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
53152         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53153         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53154         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53155         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53156         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53157         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53158         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
53160         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
53161         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
53162         * include/ifunc-impl-list.h: New file.
53163         * misc/ifunc-impl-list.c: Likewise.
53164         * misc/Makefile (routines): Add ifunc-impl-list.
53165         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
53166         * string/test-string.h: Include <ifunc-impl-list.h>.
53167         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
53168         TEST_NAME]: New variables.
53169         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
53170         are defined.
53171         (test_init): Call __libc_ifunc_impl_list to initialize
53172         func_list if TEST_IFUNC and TEST_NAME are defined.
53174         * string/Makefile (strop-tests): Add bcopy and bzero.
53175         * string/test-bcopy.c: New file.
53176         * string/test-bzero.c: Likewise.
53177         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
53178         defined.
53179         * string/test-memset.c: Support bzero test if TEST_BZERO is
53180         defined.
53181         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
53182         __libc_memmove.
53183         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
53184         __libc_memset.
53185         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
53186         of memset.
53188 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
53190         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
53191         * configure: Regenerated.
53193         * Makeconfig (+link-static-before-libc): Don't include
53194         $(link-static-libc).
53196         * libio/libio.h (_IO_pos_t): Remove.
53198 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53200         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
53201         McGrath.
53203 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53205         * crypt/crypt-entry.c: Include fips-private.h.
53206         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
53207         * crypt/md5c-test.c (main): Tolerate disabled MD5.
53208         * sysdeps/unix/sysv/linux/fips-private.h: New file.
53209         * sysdeps/generic/fips-private.h: New file, dummy fallback.
53211 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53213         * crypt/crypt-private.h: Include stdbool.h.
53214         (_ufc_setup_salt_r): Return bool.
53215         * crypt/crypt-entry.c: Include errno.h.
53216         (__crypt_r): Return NULL with EINVAL for bad salt.
53217         * crypt/crypt_util.c (bad_for_salt): New.
53218         (_ufc_setup_salt_r): Check that salt is long enough and within
53219         the specified alphabet.
53220         * crypt/badsalttest.c: New file.
53221         * crypt/Makefile (tests): Add it.
53222         ($(objpfx)badsalttest): New.
53224 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
53226         * NEWS: Add entry for BZ #14602.
53228 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53230         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
53231         type-generic.
53232         * math/libm-test.inc: Update comment listing what functions and
53233         macros are tested.
53234         (isgreater_test): New function.
53235         (isgreaterequal_test): Likewise.
53236         (isless_test): Likewise.
53237         (islessequal_test): Likewise.
53238         (islessgreater_test): Likewise.
53239         (isunordered_test): Likewise.
53240         (main): Call the new functions.
53242 2012-10-09  Roland McGrath  <roland@hack.frob.com>
53244         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
53245         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
53246         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
53247         * sysdeps/i386/configure: Regenerated.
53248         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
53249         * sysdeps/mach/configure: Regenerated.
53250         * sysdeps/mach/hurd/configure: Regenerated.
53251         * sysdeps/powerpc/configure: Regenerated.
53252         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53253         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53254         * sysdeps/s390/s390-32/configure: Regenerated.
53255         * sysdeps/s390/s390-64/configure: Regenerated.
53256         * sysdeps/sh/configure: Regenerated.
53257         * sysdeps/sparc/configure: Regenerated.
53258         * sysdeps/unix/sysv/linux/configure: Regenerated.
53259         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
53260         * sysdeps/x86_64/configure: Regenerated.
53262         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
53263         defined.  Don't check if MAP is NULL.
53265 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53267         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
53268         (_G_stat64): Likewise.
53269         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
53270         (_G_stat64): Likewise.
53271         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
53272         instead of struct _G_stat64.
53273         * libio/fileops.c (mmap_remap_check): Likewise.
53274         (decide_maybe_mmap): Likewise.
53275         (_IO_new_file_seekoff): Likewise.
53276         (_IO_file_stat): Likewise.
53277         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
53278         _G_off64_t.
53279         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
53280         instead of struct _G_stat64.
53281         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53283 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
53285         [BZ #14602]
53286         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53287         Replace with ...
53288         (CHECK_EOL): New macro.
53289         (two_way_short_needle): Check beginning of haystack for EOL.  Use
53290         CHECK_EOL.
53291         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53292         Replace with CHECK_EOL.
53293         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53294         Replace with CHECK_EOL.
53296 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
53298         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
53299         type-generic.
53300         * math/libm-test.inc: Update comment listing what functions and
53301         macros are tested.
53302         (finite_test): New function.
53303         (isinf_test): Likewise.
53304         (isnan_test): Likewise.
53305         (fpclassify_test): Test subnormal input.
53306         (isfinite_test): Likewise.
53307         (isnormal_test): Likewise.
53308         (main): Call the new functions.
53310 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
53312         [BZ #14660]
53313         * Makerules (%.dynsym): Force C locale when running
53314         $(OBJDUMP) --dynamic-syms.
53316 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
53318         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
53319         <stdint.h>.
53321 2012-10-06  David S. Miller  <davem@davemloft.net>
53323         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
53324         upper 32-bits of the length value in %o2 since we use branch-on-register
53325         tests which consider the entire 64-bit register.
53327 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
53329         * string/test-strstr.c (check2): Add a test for page boundary.
53331 2012-10-05  David S. Miller  <davem@davemloft.net>
53333         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
53334         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
53335         file.
53336         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53337         sysdep_routines.
53338         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53339         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
53340         and bzero when HWCAP_SPARC_CRYPTO is present.
53342 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
53344         [BZ #14602]
53345         * string/test-strstr.c (check2): New function.
53346         (test_main): Call check2.
53348         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
53349         and bug-strchr1.
53350         * string/bug-strcasestr1.c (do_test): Moved to ...
53351         * string/test-strcasestr.c (check1): Here.  New function.
53352         (do_one_test): Break out result checking code into ...
53353         (check_result): This.  New function.
53354         (do_one_test): Call check_result.
53355         (test_main): Call check1.
53356         * string/bug-strchr1.c (do_test): Moved to ...
53357         * string/test-strchr.c (check1): Here.  New function.
53358         (do_one_test): Break out result checking code into ...
53359         (check_result): This.  New function.
53360         (do_one_test): Call check_result.
53361         (test_main): Call check1.
53362         * string/bug-strstr1.c (main): Moved to ...
53363         * string/test-strstr.c (check1): Here.  New function.
53364         (do_one_test): Break out result checking code into ...
53365         (check_result): This.  New function.
53366         (do_one_test): Call check_result.
53367         (test_main): Call check1.
53368         * string/bug-strcasestr1.c: Removed.
53369         * string/bug-strchr1.c: Likewise.
53370         * string/bug-strstr1.c: Likewise.
53372         * elf/Makefile (dl-routines): Add hwcaps.
53373         * elf/dl-support.c (_dl_important_hwcaps): Removed.
53374         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
53375         (_dl_important_hwcaps): Moved to ...
53376         * elf/dl-hwcaps.c: Here.  New file.
53377         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
53379         [BZ #14557]
53380         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
53381         if IS_IN_rtld isn't defined.
53383         * elf/dl-support.c (_dl_sysinfo_map): New.
53384         Include "get-dynamic-info.h" and "setup-vdso.h".
53385         (_dl_non_dynamic_init): Call setup_vdso.
53386         * elf/dynamic-link.h: Don't include <assert.h>.
53387         (elf_get_dynamic_info): Moved to ...
53388         * elf/get-dynamic-info.h: Here.  New file.
53389         * elf/dynamic-link.h: Include "get-dynamic-info.h".
53390         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
53391         * elf/setup-vdso.h: Here.  New file.
53392         * elf/rtld.c: Include "setup-vdso.h".
53393         (dl_main): Call setup_vdso.
53395 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
53397         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
53398         creal in comment listing functions tested.  List finite, isinf,
53399         isnan, isless, islessequal, isgreater, isgreaterequal,
53400         islessgreater, isunordered, lgamma_r and pow10 as functions and
53401         macros not tested.  Mention which functions not tested are aliases
53402         for other functions.  Fix typo.  Note that signs of NaNs are not
53403         tested.
53405         * scripts/config.guess: Update from config.git.
53406         * scripts/config.sub: Likewise.
53408 2012-10-04  Roland McGrath  <roland@hack.frob.com>
53410         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
53411         * misc/madvise.c (madvise): Renamed to __madvise.
53412         Make madvise a weak alias.
53413         * include/sys/mman.h: Declare __madvise.
53414         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
53415         * sysdeps/unix/syscalls.list
53416         (madvise): Make __madvise the strong name, and madvise a weak alias.
53417         * sysdeps/unix/sysv/linux/syscalls.list
53418         (madvise, mmap): Remove redundant entries.
53419         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
53420         * malloc/malloc.c (mtrim): Likewise.
53421         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
53423 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53425         * sysdeps/mach/hurd/dl-cache.c: File removed.
53426         * config.h.in (USE_LDCONFIG): New #undef.
53427         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
53428         * configure: Regenerated.
53429         * elf/Makefile (dl-routines): Add dl-cache only under
53430         [$(use-ldconfig) = yes].
53431         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
53432         cache on [USE_LDCONFIG].
53433         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
53434         [USE_LDCONFIG].
53435         * elf/rtld.c (dl_main): Likewise.
53437 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
53439         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
53440         _SC_LEVEL4_CACHE_LINESIZE.
53442 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53444         * sysdeps/unix/bsd/confstr.h: File removed.
53446 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
53448         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
53449         sys/sdt-config.h.
53451 2012-10-02  Roland McGrath  <roland@hack.frob.com>
53453         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
53454         Make 'mapoff' field ElfW(Off) rather than off_t.
53456 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
53458         * nscd/Makefile: Remove nscd-cflags and all its users.
53459         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
53460         (CFLAGS-nonlib): Add compiler flags for nscd modules.
53462         [BZ #10631]
53463         * malloc.c (malloc_printerr): Clarify error message.
53465 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
53467         [BZ #14648]
53468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53469         Set bit_FMA_Usable if FMA is supported.
53470         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
53471         macro.
53472         (bit_FMA4_Usable): Updated.
53473         (index_FMA_Usable): New macro.
53474         (CPUID_FMA): Likewise.
53475         (HAS_FMA): Defined with bit_FMA_Usable.
53477 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53479         * bits/types.h (__swblk_t): Type removed.
53480         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
53481         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
53482         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53483         (__SWBLK_T_TYPE): Likewise.
53484         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53485         (__SWBLK_T_TYPE): Likewise.
53486         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53487         (__SWBLK_T_TYPE): Likewise.
53488         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53489         (__SWBLK_T_TYPE): Likewise.
53491 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
53492             Honza Horak <hhorak@redhat.com>
53494         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
53495         (xdr_mapname): Use YPMAXMAP as maxsize.
53496         (xdr_peername): Use YPMAXPEER as maxsize.
53497         (xdr_keydat): Use YPAXRECORD as maxsize.
53498         (xdr_valdat): Use YPMAXRECORD as maxsize.
53500 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53502         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
53504         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
53505         * csu/init-first.c: ... here.
53506         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
53507         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
53508         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
53509         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
53510         * sysdeps/i386/init-first.c: File removed.
53511         * sysdeps/sh/init-first.c: File removed.
53513 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
53515         [BZ #14645]
53516         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
53517         if x * y might underflow to zero and z is zero.
53518         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53519         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53520         * math/libm-test.inc (min_subnorm_value): New variable.
53521         (fma_test): Add more tests.
53522         (fma_test_towardzero): Likewise.
53523         (fma_test_downward): Likewise.
53524         (fma_test_upward): Likewise.
53525         (initialize): Set min_subnorm_value.
53527 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
53529         [BZ #14638]
53530         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
53531         0 + 0.
53532         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
53533         mode for addition resulting in exact zero.
53534         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
53535         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
53536         exact 0 + 0.
53537         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53538         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53539         * math/libm-test.inc (fma_test): Add more tests.
53540         (fma_test_towardzero): New function.
53541         (fma_test_downward): Likewise.
53542         (fma_test_upward): Likewise.
53543         (main): Call the new functions.
53545 2012-09-28  David S. Miller  <davem@davemloft.net>
53547         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
53549 2012-09-28  Roland McGrath  <roland@hack.frob.com>
53551         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53552         instead of SIGALRM.
53554         * sysdeps/gnu/_G_config.h: Moved to ...
53555         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
53556         * sysdeps/mach/hurd/_G_config.h: Moved to ...
53557         * sysdeps/generic/_G_config.h: ... here.
53559         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
53561         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
53563         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
53564         Conditionalize target on [libnss_test1.so-version].
53566         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
53568         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
53569         (elfobjdir): Move out of conditionals.
53571         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
53572         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
53573         (__nss_lookup_function): Conditionalize label remove_from_tree on
53574         [!DO_STATIC_NSS || SHARED], matching its only use.
53576 2012-09-28  David S. Miller  <davem@davemloft.net>
53578         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
53579         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
53580         file.
53581         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53582         sysdep_routines.
53583         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53584         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
53585         when HWCAP_SPARC_CRYPTO is present.
53587 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53589         * io/tst-mknodat.c: Create a FIFO instead of a socket.
53591 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
53593         [BZ #6530]
53594         * stdio-common/vfprintf.c (process_string_arg): Revert
53595         2000-07-22 change.
53597 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
53599         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
53600         for testcase.
53601         * stdio-common/tst-sprintf.c: Include <locale.h>
53602         (main): Test sprintf's handling of incomplete multibyte
53603         characters.
53605 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
53607         * elf/dl-runtime.c (VERSYMIDX): Removed.
53608         * elf/dl-version.c (VERSYMIDX): Likewise.
53609         * elf/do-rel.h (VERSYMIDX): Likewise.
53610         (VALIDX): Likewise.
53611         * elf/dynamic-link.h (VERSYMIDX): Likewise.
53612         * elf/rtld.c (VALIDX): Likewise.
53613         (ADDRIDX): Likewise.
53614         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53615         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53616         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53617         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53618         (VALIDX): Likewise.
53619         (ADDRIDX): Likewise.
53621 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53623         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53625 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
53627         [BZ #11438]
53628         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53629         to global scope.
53630         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53631         addresses are in the same scope as 192.0.2/24.
53632         * posix/gai.conf: Document new scope table defaults.
53634 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53636         [BZ #5298]
53637         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53638         for ftell.  Compute offsets from write pointers instead.
53639         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53641 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53643         [BZ #14543]
53644         * libio/Makefile (tests): New test case tst-fseek.
53645         * libio/tst-fseek.c: New test case to verify that fseek/ftell
53646         combination works in wide mode.
53647         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53648         state when the external buffer state changes.
53650 2012-09-27  David S. Miller  <davem@davemloft.net>
53652         [BZ #14376]
53653         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53654         pass reloc->r_addend in as the 'high' argument to
53655         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53659 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53661         * rt/tst-aio2.c: Include <pthread.h>.
53662         * rt/tst-aio3.c: Likewise.
53664 2012-09-27  Steve Ellcey  <sellcey@mips.com>
53666         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53668 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
53670         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53671         contents on [SHARED].
53673 2012-09-26  Marek Polacek  <polacek@redhat.com>
53675         [BZ #14530]
53676         [BZ #13741]
53677         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53678         for C++ and GCC <4.3 as well as for non GCC compilers.
53680 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53682         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53684 2012-09-25  Roland McGrath  <roland@hack.frob.com>
53686         * Makefile.in (all, install): Declare with .PHONY.
53687         Reported by Michael Hope <michael.hope@linaro.org>.
53689 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53691         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53692         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53693         system header.
53694         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53695         Likewise.
53696         (sydep_routines): Add the new and the internal functions.
53697         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53698         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53700         (GLIBC_2.17): Add the new function.
53701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53702         (GLIBC_2.17): Likewise.
53703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53704         (GLIBC_2.17): Likewise.
53705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53706         (GLIBC_2.17): Likewise.
53707         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53709 2012-09-25  Alan Modra  <amodra@gmail.com>
53711         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53712         Add release barrier before setting once_control to say
53713         initialisation is done.  Add hints on lwarx.  Use macro in
53714         place of isync.
53715         (clear_once_control): Add release barrier.
53717 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53719         [BZ #13629]
53720         * math/s_clog.c (__clog): Handle more values close to |z| = 1
53721         specially.
53722         * math/s_clog10.c (__clog10): Likewise.
53723         * math/s_clog10f.c (__clog10f): Likewise.
53724         * math/s_clog10l.c (__clog10l): Likewise.
53725         * math/s_clogf.c (__clogf): Likewise.
53726         * math/s_clogl.c (__clogl): Likewise.
53727         * math/Makefile (libm-calls): Add x2y2m1.
53728         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53729         (__x2y2m1): Likewise.
53730         (__x2y2m1l): Likewise.
53731         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53732         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53733         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53734         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53735         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53736         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53737         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53738         * sysdeps/i386/fpu/libm-test-ulps: Update.
53739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53741         [BZ #14621]
53742         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53743         int as type of variable DEPTH.
53744         (glob): Use size_t instead of int as type of variables NEWCOUNT
53745         and OLD_PATHC.
53747 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53749         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53750         Add s_sincosf-sse2.
53751         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53752         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53753         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53754         macros for using routine as __sincosf_ia32.
53755         Use macro for function declaration and weak_alias.
53756         * sysdeps/i386/fpu/libm-test-ulps: Update.
53758         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
53759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53761         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
53762         subnormal argument.
53763         * math/s_cexpf.c (__cexpf): Likewise.
53764         * math/s_csinf.c (__csinf): Likewise.
53765         * math/s_csinhf.c (__csinhf): Likewise.
53766         * math/s_ctanf.c (__ctanf): Likewise.
53767         * math/s_ctanhf.c (__ctanhf): Likewise.
53768         * math/s_ccosh.c (__ccoshf): Likewise.
53769         * math/s_cexp.c (__cexpl): Likewise.
53770         * math/s_csin.c (__csin): Likewise.
53771         * math/s_csinh.c (__csinh): Likewise.
53772         * math/s_ctan.c (__ctan): Likewise.
53773         * math/s_ctanh.c (ctanh): Likewise.
53774         * math/s_ccoshl.c (__ccoshl): Likewise.
53775         * math/s_cexpl.c (__cexpl): Likewise.
53776         * math/s_csinl.c (__csinl): Likewise.
53777         * math/s_csinhl.c (__csinhl): Likewise.
53778         * math/s_ctanl.c (__ctanl): Likewise.
53779         * math/s_ctanhl.c (__ctanhl): Likewise.
53781 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53783         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
53784         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
53785         (_IO_off_t): Define to __off_t, not _G_off_t.
53786         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
53787         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
53788         (_IO_wint_t): Define to wint_t, not _G_wint_t.
53789         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
53790         type of __dummy and __dummy2 fields.
53791         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
53792         (_G_ssize_t): Likewise.
53793         (_G_off_t): Likewise.
53794         (_G_pid_t): Likewise.
53795         (_G_uid_t): Likewise.
53796         (_G_wchar_t): Likewise.
53797         (_G_wint_t): Likewise.
53798         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
53799         (_G_ssize_t): Likewise.
53800         (_G_off_t): Likewise.
53801         (_G_pid_t): Likewise.
53802         (_G_uid_t): Likewise.
53803         (_G_wchar_t): Likewise.
53804         (_G_wint_t): Likewise.
53805         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
53806         (_G_ssize_t): Likewise.
53807         (_G_off_t): Likewise.
53808         (_G_pid_t): Likewise.
53809         (_G_uid_t): Likewise.
53810         (_G_wchar_t): Likewise.
53811         (_G_wint_t): Likewise.
53813 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53815         * malloc/arena.c: Include malloc-sysdep.h.
53816         (shrink_heap): Use check_may_shrink_heap to decide if madvise
53817         is sufficient to shrink the heap or an unmap is needed.
53818         * sysdeps/generic/malloc-sysdep.h: New file.  Define
53819         new function check_may_shrink_heap.
53820         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
53821         new function check_may_shrink_heap.
53823 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53825         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
53826         comments.
53828 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
53830         * catgets/test-gencat.sh: Add "set -e".
53831         * elf/tst-pathopt.sh: Likewise.
53832         * grp/tst_fgetgrent.sh: Likewise.
53833         * iconvdata/run-iconv-test.sh: Likewise.
53834         * intl/tst-gettext.sh: Likewise.
53835         * intl/tst-gettext2.sh: Likewise.
53836         * intl/tst-gettext4.sh: Likewise.
53837         * intl/tst-gettext6.sh: Likewise.
53838         * intl/tst-translit.sh: Likewise.
53839         * io/ftwtest-sh: Likewise.
53840         * libio/test-freopen.sh: Likewise.
53841         * malloc/tst-mtrace.sh: Likewise.
53842         * posix/globtest.sh: Likewise.
53843         * posix/tst-getconf.sh: Likewise.
53844         * posix/wordexp-tst.sh: Likewise.
53845         * stdio-common/tst-printf.sh: Likewise.
53846         * stdio-common/tst-unbputc.sh: Likewise.
53847         * stdlib/tst-fmtmsg.sh: Likewise.
53848         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53849         * catgets/Makefile: Do not specify -e option when running
53850         testsuite shell scripts.
53851         * elf/Makefile: Likewise.
53852         * grp/Makefile: Likewise.
53853         * iconvdata/Makefile: Likewise.
53854         * intl/Makefile: Likewise.
53855         * io/Makefile: Likewise.
53856         * libio/Makefile: Likewise.
53857         * malloc/Makefile: Likewise.
53858         * posix/Makefile: Likewise.
53859         * stdio-common/Makefile: Likewise.
53860         * stdlib/Makefile: Likewise.
53861         * sysdeps/x86_64/Makefile: Likewise.
53863         * io/ftwtest-sh: Add copyright header.
53864         * posix/globtest.sh: Likewise.
53865         * posix/tst-getconf.sh: Likewise.
53866         * posix/wordexp-tst.sh: Likewise.
53867         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53869 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
53871         [BZ #13679]
53872         * Makeconfig (+link): Defined as $(+link-static) if
53873         $(build-shared) isn't yes.
53874         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
53875         isn't yes.
53876         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
53878         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
53880         [BZ #14562]
53881         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
53882         new chunk size with MALLOC_ALIGN_MASK.
53884 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
53886         [BZ #5044]
53887         * stdio-common/printf_fphex.c: Include <stdbool.h> and
53888         <rounding-mode.h>.
53889         (__printf_fphex): Determine rounding using get_rounding_mode and
53890         round_away.
53891         * stdio-common/tst-printf-round.c (struct hex_test): New
53892         structure.
53893         (hex_tests): New variable.
53894         (test_hex_in_one_mode): New function.
53895         (do_test): Also run tests for hex float output.
53897 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
53899         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53900         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53901         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
53902         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53903         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53904         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
53905         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53906         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53908 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
53910         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
53911         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
53912         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
53913         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
53915 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
53917         [BZ #14579]
53918         * elf/rtld.c (dl_main): Limit the check for self loading to normal
53919         mode only.
53920         * elf/tst-rtld-load-self.sh: New test.
53921         * elf/Makefile: Run it.
53923 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
53925         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
53926         (tst-writev-ENV): Remove.
53927         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
53929 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
53931         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
53933 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
53935         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
53936         unconditional.
53937         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
53938         Likewise.
53939         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
53940         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
53941         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
53942         Likewise.
53944 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
53946         [BZ #14587]
53947         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
53948         * config.make.in (have-cpp-asm-debuginfo): Removed.
53949         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
53950         * configure: Regenerated.
53952 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
53954         [BZ #5044]
53955         * stdio-common/printf_fp.c: Include <stdbool.h> and
53956         <rounding-mode.h>.
53957         (___printf_fp): Determine rounding using get_rounding_mode and
53958         round_away.
53959         * stdio-common/tst-printf-round.c: New file.
53960         * stdio-common/Makefile (tests): Add tst-printf-round.
53961         (link-libm): New variable.
53962         ($(objpfx)tst-printf-round): Depend in $(link-libm).
53964 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
53966         [BZ #14576]
53967         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
53968         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
53969         Likewise.
53970         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
53971         Likewise.
53973 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
53975         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
53976         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53977         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53978         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53980 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
53982         [BZ #14518]
53983         * include/rounding-mode.h: New file.
53984         * sysdeps/generic/get-rounding-mode.h: Likewise.
53985         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
53986         * stdlib/strtod_l.c: Include <rounding-mode.h>.
53987         (MAX_VALUE): New macro.
53988         (MIN_VALUE): Likewise.
53989         (overflow_value): New function.
53990         (underflow_value): Likewise.
53991         (round_and_return): Use overflow_value and underflow_value to
53992         determine return values in overflow and underflow cases.  Use
53993         round_away to determine rounding depending on rounding mode.
53994         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
53995         determine return values in overflow and underflow cases.
53996         * stdlib/tst-strtod-round.c: Include <fenv.h>.
53997         (struct test_results): New structure.
53998         (struct test): Use struct test_results to store expected results
53999         for all rounding modes.
54000         (TEST): Include expected results for all rounding modes.
54001         (test_in_one_mode): New function.
54002         (do_test): Use test_in_one_mode to compute and check results.
54003         Check results for all rounding modes.
54004         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
54005         $(link-libm).
54007 2012-12-09  Allan McRae  <allan@archlinux.org>
54009         * sysdeps/i386/fpu/libm-test-ulps: Update
54011 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
54013         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
54014         (_G_int32_t): Likewise.
54015         (_G_uint16_t): Likewise.
54016         (_G_uint32_t): Likewise.
54017         (_G_HAVE_BOOL): Likewise.
54018         (_G_HAVE_ATEXIT): Likewise.
54019         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54020         (_G_HAVE_IO_FILE_OPEN): Likewise.
54021         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
54022         (_G_int32_t): Likewise.
54023         (_G_uint16_t): Likewise.
54024         (_G_uint32_t): Likewise.
54025         (_G_HAVE_BOOL): Likewise.
54026         (_G_HAVE_ATEXIT): Likewise.
54027         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54028         (_G_HAVE_IO_FILE_OPEN): Likewise.
54029         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
54030         (_G_int32_t): Likewise.
54031         (_G_uint16_t): Likewise.
54032         (_G_uint32_t): Likewise.
54033         (_G_HAVE_BOOL): Likewise.
54034         (_G_HAVE_ATEXIT): Likewise.
54035         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54036         (_G_HAVE_IO_FILE_OPEN): Likewise.
54038 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
54040         * csu/libc-tls.c: Update copyright years.
54042 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
54044         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
54045         [!_G_USING_THUNKS]: Remove conditional code.
54046         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
54047         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
54049         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
54050         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
54051         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54052         (_G_VTABLE_LABEL_PREFIX): Likewise.
54053         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54054         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54055         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54056         (_G_VTABLE_LABEL_PREFIX): Likewise.
54057         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54058         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54059         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54060         (_G_VTABLE_LABEL_PREFIX): Likewise.
54061         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54063 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
54065         * libio/Makefile: Include ../Makeconfig before tests.
54066         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
54067         only if $(build-shared) is yes.
54069         * iconv/gconv_db.c: Update copyright years.
54071 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54073         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
54074         unwind info if defined PIC. Fix special cases description.
54075         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
54077         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
54078         DP_HI_MASK entry.
54079         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
54081 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
54083         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
54085         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
54086         is NULL.
54088         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
54089         (LDLIBS-tst-chk4): This.
54090         (LDFLAGS-tst-chk5): Renamed to ...
54091         (LDLIBS-tst-chk5): This.
54092         (LDFLAGS-tst-chk6): Renamed to ...
54093         (LDLIBS-tst-chk6): This.
54094         (LDFLAGS-tst-lfschk4): Renamed to ...
54095         (LDLIBS-tst-lfschk4): This.
54096         (LDFLAGS-tst-lfschk5): Renamed to ...
54097         (LDLIBS-tst-lfschk5): This.
54098         (LDFLAGS-tst-lfschk6): Renamed to ...
54099         (LDLIBS-tst-lfschk6): This.
54101         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
54102         on $(common-objpfx)soversions.mk.
54104 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
54106         [BZ #10014]
54107         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
54108         example host name.
54110 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54112         * malloc/arena.c (arena_get_retry): New function that gets
54113         another arena for the caller to try its request on.
54114         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
54115         current arena cannot fulfill the request.
54116         (__libc_memalign): Likewise.
54117         (__libc_memalign): Likewise.
54118         (__libc_pvalloc): Likewise.
54119         (__libc_calloc): Likewise.
54121 2012-09-05  John Tobey  <john.tobey@gmail.com>
54123         [BZ #13542]
54124         * manual/arith.texi (Operations on Complex): Fix description
54125         of carg branch cut.
54127 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54129         [BZ #10014]
54130         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
54131         host name.
54133         [BZ #10038]
54134         * manual/memory.texi (Memory): Make order of menu items match
54135         order of sections.
54137 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54139         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
54140         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
54141         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
54143 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54145         * csu/libc-tls.c (static_dtv): Renamed to ...
54146         (_dl_static_dtv): This.  Make it global.
54147         (_dl_initial_dtv): Removed.
54148         (__libc_setup_tls): Updated.
54149         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
54150         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
54151         DL_INITIAL_DTV.
54153 2012-09-06  Petr Machata  <pmachata@redhat.com>
54155         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
54156         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
54157         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
54158         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
54160 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54162         [BZ #14545]
54163         * csu/libc-tls.c (_dl_initial_dtv): New variable.
54164         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
54165         freeing dtv[-1].
54167 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54169         [BZ #14544]
54170         * Makeconfig (link-static-before-libc): Replace $(+prector)
54171         with $(+prectorT).
54172         (link-static-after-libc): Replace $(+postctor) with
54173         $(+postctorT).
54174         (link-bounded): Replace $(+prector)/$(+postctor) with
54175         $(+prectorT)/$(+postctorT).
54176         (+prectorT): New macro.
54177         (+postctorT): Likewise.
54179 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54181         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
54182         (round_str): Handle values above the maximum for IBM long double
54183         as inexact.
54184         * stdlib/tst-strtod-round.c (tests): Regenerated.
54186 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54188         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
54189         assembler flag.
54190         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
54191         zarch_nohighgprs around the zarch optimized routines.
54192         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
54193         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
54194         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
54195         for zarch.
54197 2012-09-05  David S. Miller  <davem@davemloft.net>
54199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54201         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
54202         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
54203         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
54204         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54205         entries.
54207 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54209         * malloc/arena.c: Fold copyright years.
54210         * malloc/mcheck.c, malloc/memusage.c: Likewise.
54212 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54214         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
54216 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54218         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
54220 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54222         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
54223         change internal state upon failure.
54225 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54227         * malloc/mcheck.c (mcheck_check_all): Fix typo.
54228         * malloc/memusage.c (mmap): Likewise.
54229         (mmap64, mremap): Likewise.  Adjust name in comment.
54231 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54233         * libio/fileops.c: Fix typos in comments.
54234         * libio/oldfileops.c: Likewise.
54235         * libio/wfileops.c: Likewise.
54237 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54239         [BZ #1349]
54240         * malloc/Makefile (tests): Add tst-malloc-usable test case.
54241         (tst-malloc-usable-ENV): Set environment for test case.
54242         * malloc/hooks.c (malloc_check_get_size): New function to get
54243         requested size.
54244         * malloc/malloc.c (musable): Use malloc_check_get_size.
54245         * malloc/tst-malloc-usable.c: New test case.
54247 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54249         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
54251 2012-09-05  Allan McRae  <allan@archlinux.org>
54253         [BZ #13966]
54254         * configure.in (CXX_SYSINCLUDES): Use compiler output to
54255         determine header location.
54256         * configure: Regenerated.
54258 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54260         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
54261         float format.
54262         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
54263         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
54264         format.
54265         (test): Regenerate.
54267 2012-09-04  David S. Miller  <davem@davemloft.net>
54269         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
54270         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
54271         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
54273 2012-09-04  Florian Weimer  <fweimer@redhat.com>
54275         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
54276         failures.
54278         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
54280 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
54282         [BZ #9914]
54283         * libio/iogetdelim.c: Include <limits.h>.
54284         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
54285         + len + 1 would overflow.
54287 2012-09-03  Andreas Jaeger  <aj@suse.de>
54289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54290         * sysdeps/i386/fpu/libm-test-ulps: Update.
54292 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54294         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54295         Add s_sinf-sse2, s_conf-sse2.
54297         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
54298         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
54299         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
54300         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
54302         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
54303         for using routine as __sinf_ia32.
54304         Use macro for function declaration and weak_alias.
54305         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
54306         for using routine as __cosf_ia32.
54307         Use macro for function declaration and weak_alias.
54309         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
54310         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
54312         * sysdeps/x86_64/fpu/s_sinf.S: New file.
54313         * sysdeps/x86_64/fpu/s_cosf.S: New file.
54314         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54316         * math/libm-test.inc (cos_test): Add more test cases.
54317         (sin_test): Likewise.
54318         (sincos_test): Likewise.
54320 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54322         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
54323         (IFUNC_RESOLVE): Make pointers to the specialized implementations
54324         hidden.
54325         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54327 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
54329         [BZ #14538]
54330         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
54331         first element of the GOT.
54332         (elf_machine_load_address): Return the difference between
54333         the runtime address of _DYNAMIC and elf_machine_dynamic ().
54335 2012-09-01  Allan McRae  <allan@archlinux.org>
54337         [BZ #13412]
54338         * configure.in (AWK): Require gawk version 3.0 or later.
54339         * configure: Regenerated.
54341 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
54343         * sysdeps/unix/sysv/linux/kernel-features.h
54344         (__ASSUME_POSIX_CPU_TIMERS): Remove.
54345         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54346         [__NR_clock_getres]: Make code unconditional.
54347         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
54348         (clock_getcpuclockid): Remove code left unreachable by removal of
54349         conditionals.
54350         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
54351         code unconditional.
54352         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54353         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54354         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
54355         Make code unconditional.
54356         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54357         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54358         * sysdeps/unix/sysv/linux/clock_settime.c
54359         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
54360         conditional code.
54361         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
54362         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54364 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
54366         [BZ #14476]
54367         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
54368         scripts/test-installation.pl.
54370         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
54371         and $ld_so_version if it is set.
54373 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54375         [BZ #14516]
54376         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
54377         failure if reading from procfs failed.
54378         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
54380 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54382         * sysdeps/unix/sysv/linux/kernel-features.h
54383         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
54384         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54385         Remove conditional code.
54386         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54387         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
54388         Remove conditional code.
54389         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54390         * sysdeps/unix/sysv/linux/i386/fxstat.c
54391         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54392         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54393         * sysdeps/unix/sysv/linux/i386/fxstatat.c
54394         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54395         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54396         * sysdeps/unix/sysv/linux/i386/lxstat.c
54397         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54398         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54399         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
54400         Remove conditional code.
54401         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54402         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54403         Remove conditional code.
54404         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54405         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
54406         <kernel-features.h>.
54407         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
54408         Remove.
54409         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
54410         Remove conditional code.
54411         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54412         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
54413         Remove conditional.
54415 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
54417         [BZ #5400]
54418         * NEWS: Add fixed bug number.
54420 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54422         [BZ #14519]
54423         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
54424         underflowing exponent in case of negative sign.
54425         * stdlib/tst-strtod-round-data: Add more tests.
54426         * stdlib/tst-strtod-round.c (tests): Regenerated.
54428         [BZ #3479]
54429         * stdlib/strtod_l.c (NDIG): Remove.
54430         (HEXNDIG): Likewise.
54431         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
54432         smallest representable value.
54433         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
54434         lie within an exact representation of 1/2 ulp of the result.
54435         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
54436         unconditionally.
54437         (TENS_P9_IDX): Define unconditionally.
54438         (TENS_P9_SIZE): Likewise.
54439         (TENS_P10_IDX): Likewise.
54440         (TENS_P10_SIZE): Likewise.
54441         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
54442         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
54443         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
54444         entries for 10^2^13 and 10^2^14.
54445         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
54446         (TENS_P13_IDX): Define.
54447         (TENS_P13_SIZE): Likewise.
54448         (TENS_P14_IDX): Likewise.
54449         (TENS_P14_SIZE): Likewise.
54450         (_fpioconst_pow10): Change array size to
54451         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
54452         unconditional.
54453         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
54454         1024]: Add entries for 10^2^13 and 10^2^14.
54455         [LAST_POW10 > _LAST_POW10]: Remove #error.
54456         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
54457         (_fpioconst_pow10): Change array size to
54458         FPIOCONST_POW10_ARRAY_SIZE.
54459         * stdlib/gen-fpioconst.c: New file.
54460         * stdlib/gen-tst-strtod-round.c: Likewise.
54461         * stdlib/tst-strtod-round-data: Likewise.
54462         * stdlib/tst-strtod-round.c: Likewise.
54463         * stdlib/Makefile (tests): Add tst-strtod-round.
54465         [BZ #14459]
54466         * stdlib/strtod_l.c: Include <stdint.h>.
54467         (NDEBUG): Do not define.
54468         (round_and_return): Change EXPONENT parameter to type intmax_t.
54469         Rearrange calculations to avoid internal overflow possibilities.
54470         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
54471         Rearrange calculations to avoid internal overflow possibilities.
54472         Assert that number fits inside MPNSIZE limbs.
54473         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
54474         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
54475         calculations and add assertions to avoid internal overflow
54476         possibilities.  Add casts to avoid signed/unsigned operations.
54477         * stdlib/tst-strtod-overflow.c: New file.
54478         * stdlib/Makefile (tests): Add tst-strtod-overflow.
54480 2012-08-25  Marek Polacek  <polacek@redhat.com>
54482         * time/time.h: Fix some typos in comments.
54484 2012-08-23  Roland McGrath  <roland@hack.frob.com>
54486         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
54487         * posix/tst-rfc3484-2.c: Likewise.
54488         * posix/tst-rfc3484-3.c: Likewise.
54490 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
54492         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
54493         (EF_ARM_ABI_FLOAT_HARD): Likewise.
54495 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
54497         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
54498         #include of fxstatat64.c.
54500 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54502         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
54503         * shadow/getspent_r.c: Likewise.
54504         * shadow/getspnam.c: Likewise.
54505         * shadow/getspnam_r.c: Likewise.
54506         * gshadow/getsgent.c: Likewise.
54507         * gshadow/getsgent_r.c: Likewise.
54508         * gshadow/getsgnam.c: Likewise.
54509         * gshadow/getsgnam_r.c: Likewise.
54510         * inet/getnetbyad.c: Likewise.
54511         * inet/getnetbyad_r.c: Likewise.
54512         * inet/getnetbynm.c: Likewise.
54513         * inet/getnetbynm_r.c: Likewise.
54514         * inet/getnetent.c: Likewise.
54515         * inet/getnetent_r.c: Likewise.
54516         * inet/getproto.c: Likewise.
54517         * inet/getproto_r.c: Likewise.
54518         * inet/getprtent.c: Likewise.
54519         * inet/getprtent_r.c: Likewise.
54520         * inet/getprtname.c: Likewise.
54521         * inet/getprtname_r.c: Likewise.
54522         * inet/getrpcbyname.c: Likewise.
54523         * inet/getrpcbyname_r.c: Likewise.
54524         * inet/getrpcbynumber.c: Likewise.
54525         * inet/getrpcbynumber_r.c: Likewise.
54526         * inet/getrpcent.c: Likewise.
54527         * inet/getrpcent_r.c: Likewise.
54528         * inet/getaliasent.c: Likewise.
54529         * inet/getaliasent_r.c: Likewise.
54530         * inet/getaliasname.c: Likewise.
54531         * inet/getaliasname_r.c: Likewise.
54532         * nscd/getgrgid_r.c: Likewise.
54533         * nscd/getgrnam_r.c: Likewise.
54534         * nscd/gethstbyad_r.c: Likewise.
54535         * nscd/gethstbynm3_r.c: Likewise.
54536         * nscd/getpwnam_r.c: Likewise.
54537         * nscd/getpwuid_r.c: Likewise.
54538         * nscd/getsrvbynm_r.c: Likewise.
54539         * nscd/getsrvbypt_r.c: Likewise.
54540         * nscd/gai.c: Likewise.
54542         * configure.in (build_nscd): New substituted variable, set
54543         by --disable-build-nscd and defaults to $use_nscd.
54544         * configure: Regenerated.
54545         * config.make.in (build-nscd): New substituted variable.
54546         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
54547         Change conditional to require [$(build-nscd) = yes] as well.
54548         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
54550         [BZ# 13696]
54551         * configure.in (use_nscd): New substituted variable, set by
54552         --disable-nscd.  If enabled, define USE_NSCD.
54553         * configure: Regenerated.
54554         * config.h.in: Add USE_NSCD.
54555         * config.make.in (use-nscd): New substituted variable.
54556         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
54557         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
54558         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
54559         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
54560         (CFLAGS-getgrnam_r.c): Likewise.
54561         (CFLAGS-initgroups.c): Likewise.
54562         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
54563         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
54564         Variables removed.
54565         * inet/getnetgrent_r.c
54566         (nscd_setnetgrent): New function, broken out of ...
54567         (setnetgrent): ... here.  Call it.
54568         (innetgr): Conditionalize nscd bits on [USE_NSCD].
54569         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
54570         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
54571         * nscd/Makefile (routines, aux): Move definitions after include of
54572         Makeconfig.  Conditionalize on [$(use-nscd) != no].
54573         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
54574         Conditionalize on [USE_NSCD].
54575         (is_nscd, nscd_init_cb): Likewise.
54576         (nss_load_library): Conditionalize init callback on [USE_NSCD].
54577         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
54578         * nss/nss_db/db-init.c: Likewise.
54579         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
54580         [USE_NSCD].
54581         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
54582         (make_request): Use it.
54583         (cache_valid_p): New function.
54584         (__check_pf): Use it.
54585         * NEWS: Add item for --disable-nscd.
54587 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
54589         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
54590         to support sed >= 4.2.1-20-ga9bf076.
54591         * configure: Regenerated.
54593 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54595         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
54596         Conditionalize whole body on [IREL].
54598 2012-08-22  Jeff Law <law@redhat.com>
54600         [BZ #14505]
54601         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
54602         if the family is PF_UNSPEC.
54604 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
54606         * Makerules (lib-version): Rename from V.
54607         (install-lib-nosubdir): Change V to lib-version.
54609 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
54611         [BZ #14252]
54612         * powerpc32/power6/wcschr.c: New file.
54613         * powerpc32/power6/wcscpy.c: New file.
54614         * powerpc32/power6/wcsrchr.c: New file.
54615         * powerpc64/power6/wcschr.c: New file.
54616         * powerpc64/power6/wcscpy.c: New file.
54617         * powerpc64/power6/wcsrchr.c: New file.
54619 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54621         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54622         (two_way_short_needle): Use it.
54623         * string/strstr.c (AVAILABLE1_USES_J): Define.
54624         * string/strcasestr.c: Likewise.
54626         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54627         array references.
54628         * string/strcasestr.c (TOLOWER): Make side-effect safe.
54630         [BZ #11607]
54631         * NEWS: Add an entry.
54632         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54633         define their defaults.
54634         (two_way_short_needle): Detect end-of-string on-the-fly.
54635         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54636         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54637         * string/bug-strcasestr1.c: New test.
54638         * string/Makefile: Run it.
54640 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54642         [BZ #11607]
54643         * string/str-two-way.h (two_way_short_needle): Optimize matching of
54644         the first character.
54646 2012-08-21  Roland McGrath  <roland@hack.frob.com>
54648         * csu/elf-init.c (__libc_csu_irel): Function removed.
54649         * csu/libc-start.c (apply_irel): New function.
54650         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54652 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
54654         * sysdeps/unix/sysv/linux/kernel-features.h
54655         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54656         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54657         <kernel-features.h>.
54658         [__NR_fadvise64_64]: Make code unconditional.
54659         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54660         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54661         !__NR_fadvise64_64)]: Likewise.
54662         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54663         !__NR_fadvise64_64))]: Likewise.
54664         [__NR_fadvise64]: Make code unconditional.
54665         [!__NR_fadvise64]: Remove conditional code.
54666         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54667         <kernel-features.h>.
54668         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54669         unconditional.
54670         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54671         conditional code.
54672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54673         not include <kernel-features.h>.
54674         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54675         unconditional.
54676         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54677         conditional code.
54678         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54679         include <kernel-features.h>.
54680         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54681         unconditional.
54682         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54683         conditional code.
54685 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54687         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54688         slight instruction rearrangements per scrollpipe analysis.
54689         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54691 2012-08-20  Roland McGrath  <roland@hack.frob.com>
54693         * manual/syslog.texi (syslog; vsyslog, closelog):
54694         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54695         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54697         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54698         DSOCAPS to match condition on defining it.
54700 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
54702         * sysdeps/unix/sysv/linux/kernel-features.h
54703         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54705         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54706         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54708         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54709         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54711         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54712         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54714         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54715         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54717         * sysdeps/unix/sysv/linux/kernel-features.h
54718         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54719         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54720         unconditional.
54721         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54722         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54723         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54724         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54725         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54726         Make code unconditional.
54727         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54728         (__mmap64) [!__NR_mmap2]: Likewise.
54729         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54730         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54731         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54732         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54733         [__NR_mmap2]: Make code unconditional.
54734         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54735         (__mmap64) [!__NR_mmap2]: Likewise.
54737 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54739         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54741 2012-08-18  Andreas Jaeger  <aj@suse.de>
54743         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54745 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54747         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54748         * include/unistd.h (__have_sock_cloexec): Likewise.
54749         (__have_pipe2): Likewise.
54750         (__have_dup3): Likewise.
54752 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54754         [BZ #9685]
54755         * include/unistd.h (__have_pipe2): Change define into an extern int.
54756         (__have_dup3): Likewise.
54757         * socket/have_sock_cloexec.c: Include fcntl.h.
54758         (__have_pipe2): New variable.
54759         (__have_dup3): Likewise.
54761 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
54763         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
54765 2012-08-17  Marek Polacek  <polacek@redhat.com>
54767         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54768         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
54770 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54772         * configure.in: Add AC_SUBST for sysheaders.
54773         * configure: Regenerated.
54774         * config.make.in (sysheaders): New substituted variable.
54776         * sysdeps/unix/mkfifo.c: Moved ...
54777         * sysdeps/posix/mkfifo.c: ... here.
54778         * sysdeps/unix/mkfifoat.c: Moved ...
54779         * sysdeps/posix/mkfifoat.c: ... here.
54781         * sysdeps/unix/utime.c: Moved ...
54782         * sysdeps/posix/utime.c: ... here.
54784         * sysdeps/unix/time.c: Moved ...
54785         * sysdeps/posix/time.c: ... here.
54786         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
54787         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
54789         * sysdeps/unix/nice.c: Moved ...
54790         * sysdeps/posix/nice.c: ... here.
54792         * sysdeps/unix/alarm.c: Moved ...
54793         * sysdeps/posix/alarm.c: ... here.
54795         * intl/Makefile ($(codeset_mo)): Depend on the input file.
54797 2012-08-17  Jeff Law <law@redhat.com>
54799         * intl/Makefile (codeset_mo): New variable.
54800         ($(codeset_mo)): New target.
54801         (tst-codeset.out): Depend on that.  Remove explicit rule.
54802         (tst-gettext3.out, tst-gettext5.out): Likewise.
54803         (LOCPATH-ENV, tst-codeset-ENV): New variables.
54804         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54805         * intl/tst-codeset.sh: Remove.
54806         * intl/tst-gettext3.sh: Likewise.
54807         * intl/tst-gettext5.sh: Likewise.
54809 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54811         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
54812         * sysdeps/unix/syscalls.list: ... here.
54814         * sysdeps/posix/getaddrinfo.c
54815         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
54816         (gaiconf_init, gaiconf_reload): Use them.
54817         [!_STATBUF_ST_NSEC]
54818         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
54819         Define using time_t rather than struct timespec.
54821         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
54822         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
54823         Macros removed.
54824         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
54825         [!NO_THREADS].
54826         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
54827         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
54828         Likewise.
54830         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
54831         __libc_cleanup_push argument.
54833         * bits/param.h: New file.
54834         * misc/sys/param.h: New file.
54835         * include/sys/param.h: New file.
54836         * misc/Makefile (headers): Add bits/param.h.
54837         * sysdeps/generic/sys/param.h: File removed.
54838         * sysdeps/unix/sysv/linux/bits/param.h: New file.
54839         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
54840         * sysdeps/mach/hurd/bits/param.h: New file.
54841         * sysdeps/mach/hurd/sys/param.h: File removed.
54843         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
54844         last change.
54846         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
54847         [_IO_MTSAFE_IO].
54848         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
54849         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
54850         New macros.
54852         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
54853         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
54854         rather than -D_IO_MTSAFE_IO conditionally.
54855         * stdio-common/Makefile (CPPFLAGS): Likewise.
54856         * wcsmbs/Makefile (CPPFLAGS): Likewise.
54857         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
54858         Use $(libio-mtsafe).
54859         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
54860         of -D_IO_MTSAFE_IO.
54861         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
54862         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
54863         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
54864         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
54865         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
54866         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
54867         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
54868         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
54869         (CFLAGS-fread_u_chk.c): Likewise.
54870         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
54871         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
54872         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
54873         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
54874         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
54875         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
54876         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
54877         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
54878         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
54880         * libio/Makefile: Test [$(libc-reentrant) = yes]
54881         instead of [$(filter %REENTRANT, $(defines)) nonempty].
54883         * Makeconfig
54884         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
54885         * sysdeps/pthread/configure: File removed.
54886         * sysdeps/pthread/Makeconfig: New file.
54887         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
54888         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
54890 2012-08-16  Gary Benson  <gbenson@redhat.com>
54892         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
54893         unmapping the first object in a namespace.
54895 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54897         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
54898         (__internal_setnetgrent): ... this.  Add internal_function to
54899         definition.  Add libc_hidden_def.
54900         (setnetgrent): Update caller.
54901         (internal_endnetgrent): Renamed to ...
54902         (__internal_endnetgrent): ... this.  Add internal_function to
54903         definition.  Add libc_hidden_def.
54904         (endnetgrent): Update caller.
54905         (internal_getnetgrent_r): Renamed to ...
54906         (__internal_getnetgrent_r): ... this.  Add internal_function to
54907         definition.  Add libc_hidden_def.
54908         (__getnetgrent_r): Update caller.
54909         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
54911 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54913         * stdlib/longlong.h: Update from GCC.
54915 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54917         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
54918         on _QL, which is set by umul_ppmm but never used.
54919         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
54920         variables, which are set by GMP macros but never used.
54921         * stdio-common/_itowa.c (_itowa): Likewise.
54922         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
54923         * stdlib/mod_1.c (mpn_mod_1): Likewise.
54925 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
54927         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
54928         struct La_sh_regs is not constant.
54929         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
54930         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
54931         and struct La_sparc64_regs are not constant.
54933 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54935         * sysdeps/unix/sysv/linux/kernel-features.h
54936         (__ASSUME_POSIX_TIMERS): Remove.
54937         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54938         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54939         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
54940         Make code unconditional.
54941         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54942         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
54943         Make code unconditional.
54944         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54945         * sysdeps/unix/sysv/linux/clock_nanosleep.c
54946         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
54947         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54948         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
54949         Make code unconditional.
54950         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54951         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
54952         (__libc_missing_posix_timers): Remove.
54954 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54956         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
54957         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
54959         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
54961         * elf/dl-sym.c: Include <stdlib.h>.
54963         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
54964         constants, which avoids warnings in 32-bit builds.
54966         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
54967         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
54969         * misc/lseek.c: File moved to ...
54970         * io/lseek.c: ... here.
54972         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
54974         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
54975         shifting LEN more than 31 bits at once.
54977 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54979         [BZ #14195]
54980         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
54981         segmentation fault for a case of two empty input strings.
54982         * string/test-strncasecmp.c (check1): Renamed to...
54983         (bz12205): ...this.
54984         (bz14195): Add new testcase for two empty input strings and N > 0.
54985         (test_main): Call new testcase, adapt for renamed function.
54987 2012-08-15  Andreas Jaeger  <aj@suse.de>
54989         [BZ #14090]
54990         * crypt/md5test2.c: New test, based on test supplied by Serge
54991         Belyshev <belyshev@depni.sinp.msu.ru>.
54992         * crypt/Makefile (xtests): Add md5test-giant..
54993         * crypt/Makefile ($(objpfx)md5test-giant): Add.
54995 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
54997         [BZ #14090]
54998         * crypt/md5.c (md5_process_block): Don't assume the buffer
54999         length is less than 2**32.
55000         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
55001         length is less than 2**64.
55003 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55005         * string/str-two-way.h: Include <sys/param.h>.
55006         (MAX): Macro removed.
55008         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
55009         Move #define and #undef of memmove to just before and after
55010         including <string.h>.
55012         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
55013         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
55014         and after including <string.h>.  Move declarations of
55015         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
55016         to before #include "string/memmove.c".
55018         * include/dirent.h: Declare __getdirentries.
55020         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
55021         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
55023 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
55025         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
55026         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
55027         * sysdeps/i386/configure: Regenerated.
55028         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
55029         STABS_CURRENT_FILE, and STABS_FUN.
55030         (END): Remove call to STABS_FUN_END.
55031         (STABS_CURRENT_FILE1): Delete.
55032         (STABS_CURRENT_FILE): Likewise.
55033         (STABS_FUN): Likewise.
55034         (STABS_FUN_END): Likewise.
55035         (STABS_FUN2): Likewise.
55036         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
55037         * sysdeps/x86_64/configure: Regenerated.
55039 2012-08-14  Roland McGrath  <roland@hack.frob.com>
55041         * elf/dl-open.c: Include <atomic.h>.
55042         * elf/dl-lookup.c: Likewise.
55044 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
55046         * sysdeps/unix/sysv/linux/kernel-features.h
55047         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
55048         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
55049         unconditionally.
55050         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
55051         unconditionally.
55052         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
55053         condition on __ASSUME_CLONE_THREAD_FLAGS.
55055 2012-08-14  Andreas Jaeger  <aj@suse.de>
55057         * sysdeps/i386/fpu/libm-test-ulps: Update.
55059 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
55061         * include/atomic.h (atomic_exchange_and_add): Split into ...
55062         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
55063         New atomic macros.
55065 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
55067         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55069 2012-08-13  Jeff Law <law@redhat.com>
55071         * manual/stdio.texi (snprintf): Clarify handling of the trailing
55072         null byte in the output string.
55074 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
55076         * sysdeps/unix/sysv/linux/kernel-features.h
55077         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
55078         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
55079         (__ASSUME_ARG_MAX_STACK_BASED): Define.
55080         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
55081         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
55082         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
55083         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
55085 2012-08-09  Jeff Law <law@redhat.com>
55087         [BZ #13939]
55088         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
55089         When avoid_arena is set, don't retry in the that arena.  Pick the
55090         next one, whatever it might be.
55091         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
55092         (arena_lock): Pass in new parameter to arena_get2.
55093         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
55094         arena_get2.
55095         (__libc_malloc): Unify retrying after main arena failure with
55096         __libc_memalign version.
55097         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
55099 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
55101         [BZ #14166]
55102         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
55103         to __redirect_strstr.
55104         (__strstr_sse42): Use typeof __redirect_strstr.
55105         (__strstr_ia32): Likewise.
55106         (__libc_strstr): New prototype.
55107         (strstr): Renamed to ...
55108         (__libc_strstr): This.
55109         (strstr): New strong alias of __libc_strstr.
55110         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55111         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
55112         __redirect_time.
55113         Include <time.h>.
55114         (__libc_time): New prototype.
55115         (time_ifunc): Replace time with __libc_time.
55116         (time): New strong alias and hidden definition of __libc_time.
55117         (__GI_time): Remove strong alias.
55118         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
55119         Include <stddef.h>.
55120         (memmove): Redefined to __redirect_memmove.
55121         (__memmove_sse2): Use typeof __redirect_memmove.
55122         (__memmove_ssse3): Likewise.
55123         (__memmove_ssse3_back): Likewise.
55124         (__libc_memmove): New prototype.
55125         (memmove): Renamed to ...
55126         (__libc_memmove): This.
55127         (memmove): New strong alias of __libc_memmove.
55129 2012-08-08  Mark Salter  <msalter@redhat.com>
55131         * elf/elf.h
55132         (R_MN10300_TLS_GD): Define.
55133         (R_MN10300_TLS_LD): Likewise.
55134         (R_MN10300_TLS_LDO): Likewise.
55135         (R_MN10300_TLS_GOTIE): Likewise.
55136         (R_MN10300_TLS_IE): Likewise.
55137         (R_MN10300_TLS_LE): Likewise.
55138         (R_MN10300_TLS_DTPMOD): Likewise.
55139         (R_MN10300_TLS_DTPOFF): Likewise.
55140         (R_MN10300_TLS_TPOFF): Likewise.
55141         (R_MN10300_SYM_DIFF): Likewise.
55142         (R_MN10300_ALIGN): Likewise.
55143         (R_MN10300_NUM): Update.
55145 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
55147         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
55148         Remove.
55150 2012-08-08  Roland McGrath  <roland@hack.frob.com>
55152         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
55154         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
55155         sysdeps/unix -> sysdeps/posix move.
55156         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55158 2012-08-07      Allan McRae     <allan@archlinux.org>
55160         [BZ #14303]
55161         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
55162         (SUNOS_CPP): Likewise.
55163         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
55164         not found.
55165         (open_input): Call CPP using execvp.
55167 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55169         * sysdeps/unix/sysv/linux/kernel-features.h
55170         (__ASSUME_PROT_GROWSUPDOWN): Remove.
55171         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55172         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55173         (__ASSUME_WAITID_SYSCALL): Likewise.
55174         * sysdeps/unix/sysv/linux/dl-execstack.c
55175         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
55176         code unconditional.
55177         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
55178         conditional code.
55179         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
55180         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
55181         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
55182         code.
55183         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
55184         unconditional.
55185         [__ASSUME_WAITID_SYSCALL]: Likewise.
55186         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
55188 2012-08-07  Roland McGrath  <roland@hack.frob.com>
55190         * sysdeps/unix/closedir.c: Renamed to ...
55191         * sysdeps/posix/closedir.c: ... here.
55192         * sysdeps/unix/dirfd.c: Renamed to ...
55193         * sysdeps/posix/dirfd.c: ... here.
55194         * sysdeps/unix/dirstream.h: Renamed to ...
55195         * sysdeps/posix/dirstream.h: ... here.
55196         * sysdeps/unix/fdopendir.c: Renamed to ...
55197         * sysdeps/posix/fdopendir.c: ... here.
55198         * sysdeps/unix/opendir.c: Renamed to ...
55199         * sysdeps/posix/opendir.c: ... here.
55200         * sysdeps/unix/readdir.c: Renamed to ...
55201         * sysdeps/posix/readdir.c: ... here.
55202         * sysdeps/unix/readdir_r.c: Renamed to ...
55203         * sysdeps/posix/readdir_r.c: ... here.
55204         * sysdeps/unix/rewinddir.c: Renamed to ...
55205         * sysdeps/posix/rewinddir.c: ... here.
55206         * sysdeps/unix/seekdir.c: Renamed to ...
55207         * sysdeps/posix/seekdir.c: ... here.
55208         * sysdeps/unix/telldir.c: Renamed to ...
55209         * sysdeps/posix/telldir.c: ... here.
55210         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
55211         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
55212         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
55213         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
55215         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
55216         * bits/fcntl.h: ... here.
55218         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
55219         not 0.
55220         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
55221         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
55222         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
55223         (struct flock): Move l_start, l_len to the beginning.
55224         Use __pid_t for l_pid.
55225         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
55226         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
55227         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
55228         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
55229         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
55230         [__USE_LARGEFILE64] (struct flock64): New type.
55231         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
55233         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
55234         * bits/dirent.h: ... here.
55236         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
55237         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
55239 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55241         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55242         Change from 2.6.0 to 2.6.16.
55243         * sysdeps/unix/sysv/linux/configure: Regenerated.
55244         * sysdeps/unix/sysv/linux/kernel-features.h
55245         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
55246         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
55247         version.
55248         (__ASSUME_UTIMES): Likewise.
55249         (__ASSUME_CLONE_STOPPED): Remove.
55250         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
55251         architectures, not kernel version.
55252         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
55253         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55254         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55255         (__ASSUME_WAITID_SYSCALL): Likewise.
55256         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
55257         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
55258         * README: State 2.6.16 as minimum Linux kernel version.  Do not
55259         refer to older versions.
55261 2012-08-06  Roland McGrath  <roland@hack.frob.com>
55263         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
55264         Define alphasort64 as an alias.
55265         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
55266         Define versionsort64 as an alias.
55267         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
55268         Define scandir64 as an alias.
55269         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
55270         Define scandirat64 as an alias.
55271         * dirent/alphasort64.c (alphasort64):
55272         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
55273         * dirent/versionsort64.c: Likewise.
55274         * dirent/scandir64.c: Likewise.
55275         * dirent/scandirat64.c: Likewise.
55276         * sysdeps/wordsize-64/alphasort.c: File removed.
55277         * sysdeps/wordsize-64/alphasort64.c: File removed.
55278         * sysdeps/wordsize-64/scandir.c: File removed.
55279         * sysdeps/wordsize-64/scandir64.c: File removed.
55280         * sysdeps/wordsize-64/scandirat.c: File removed.
55281         * sysdeps/wordsize-64/scandirat64.c: File removed.
55282         * sysdeps/wordsize-64/versionsort.c: File removed.
55283         * sysdeps/wordsize-64/versionsort64.c: File removed.
55284         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
55285         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
55286         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
55287         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
55288         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
55289         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
55290         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
55291         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
55293         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
55294         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55295         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
55296         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55297         [defined __arch64__ || defined __sparcv9]
55298         (__INO_T_MATCHES_INO64_T): New macro.
55299         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55300         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
55301         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
55302         * sysdeps/unix/sysv/linux/bits/dirent.h
55303         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
55304         (_DIRENT_MATCHES_DIRENT64): New macro.
55306         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
55307         Define lockf64 as an alias.
55308         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
55309         Define fseeko64 as an alias.
55310         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
55311         Define ftello64 as an alias.
55312         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
55313         Define _IO_fgetpos64 and fgetpos64 as aliases.
55314         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
55315         Define _IO_fsetpos64 and fsetpos64 as aliases.
55316         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
55317         Conditionalize body on this.
55318         * libio/fseeko64.c: Likewise.
55319         * libio/ftello64.c: Likewise.
55320         * libio/iofgetpos64.c: Likewise.
55321         * libio/iofsetpos64.c: Likewise.
55322         * sysdeps/wordsize-64/lockf.c: File removed.
55323         * sysdeps/wordsize-64/lockf64.c: File removed.
55324         * sysdeps/wordsize-64/fseeko.c: File removed.
55325         * sysdeps/wordsize-64/fseeko64.c: File removed.
55326         * sysdeps/wordsize-64/ftello.c: File removed.
55327         * sysdeps/wordsize-64/ftello64.c: File removed.
55328         * sysdeps/wordsize-64/iofgetpos.c: File removed.
55329         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
55330         * sysdeps/wordsize-64/iofsetpos.c: File removed.
55331         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
55332         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
55333         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
55334         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
55335         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
55336         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
55337         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
55338         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
55339         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
55340         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
55341         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
55343         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55344         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55345         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
55346         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55347         [defined __arch64__ || defined __sparcv9]
55348         (__OFF_T_MATCHES_OFF64_T): New macro.
55349         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55350         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55351         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55352         (__OFF_T_MATCHES_OFF64_T): New macro.
55354 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55356         * stdlib/secure-getenv.c (__secure_getenv): Replace
55357         GLIBC_2_16 with GLIBC_2_17.
55359 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55361         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
55362         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55364 2012-08-03  David S. Miller  <davem@davemloft.net>
55366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55368 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55370         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
55371         Remove.
55372         (__ASSUME_CORRECT_SI_PID): Likewise.
55373         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
55374         (__ASSUME_TMPFS_NAME): Likewise.
55375         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
55376         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
55377         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
55378         (HAVE_AUX_SECURE): Make definition unconditional.
55379         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
55380         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
55382 2012-08-03  Roland McGrath  <roland@hack.frob.com>
55384         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
55385         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
55386         * sysdeps/mach/hurd/eloop-threshold.h: New file.
55387         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55388         __eloop_threshold instead of SYMLOOP_MAX.
55390         * sysdeps/generic/eloop-threshold.h: New file.
55391         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
55392         of MAXSYMLINKS.
55393         * elf/chroot_canon.c (chroot_canon): Likewise.
55395 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55397         [BZ #13717]
55398         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55399         Change to 2.6.0 everywhere.
55400         * sysdeps/unix/sysv/linux/configure: Regenerated.
55401         * sysdeps/unix/sysv/linux/kernel-features.h
55402         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
55403         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
55404         kernel versions.
55405         (__ASSUME_POSIX_TIMERS): Define unconditionally.
55406         (__ASSUME_FUTEX_REQUEUE): Remove.
55407         (__ASSUME_STATFS64): Define unconditionally.
55408         (__ASSUME_AT_SECURE): Likewise.
55409         (__ASSUME_CORRECT_SI_PID): Likewise.
55410         (__ASSUME_TGKILL): Define without depending on kernel version for
55411         i386.
55412         (__ASSUME_UTIMES): Likewise.
55413         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
55414         kernel version.
55415         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
55416         (__ASSUME_TMPFS_NAME): Likewise.
55417         * README: Update reference to Linux kernel versions.
55419 2012-08-02  Marek Polacek  <polacek@redhat.com>
55421         [BZ# 14150]
55422         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
55423         libc_cv_asm_type_prefix with %.
55424         * configure: Regenerated.
55425         * include/libc-symbols.h: Remove comment about
55426         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55427         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
55428         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
55429         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
55430         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
55431         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55432         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
55433         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
55434         * elf/tst-unique2mod1.c: Likewise.
55435         * elf/tst-unique1mod2.c: Likewise.
55436         * elf/tst-unique1mod1.c: Likewise.
55437         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
55438         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
55439         Replace ASM_TYPE_DIRECTIVE with .type.
55440         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55441         * sysdeps/i386/sysdep.h: Likewise.
55442         * sysdeps/x86_64/sysdep.h: Likewise.
55443         * sysdeps/sh/sysdep.h: Likewise.
55444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55445         Do not define ASM_TYPE_DIRECTIVE.
55446         * sysdeps/powerpc/sysdep.h: Likewise.
55447         * sysdeps/powerpc/powerpc32/sysdep.h:
55448         Replace ASM_TYPE_DIRECTIVE with .type.
55449         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55450         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55451         * sysdeps/i386/fpu/e_powf.S: Likewise.
55452         * sysdeps/i386/fpu/e_expl.S: Likewise.
55453         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55454         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55455         * sysdeps/i386/fpu/e_pow.S: Likewise.
55456         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55457         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55458         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55459         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55460         * sysdeps/i386/fpu/e_log2.S: Likewise.
55461         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55462         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55463         * sysdeps/i386/fpu/e_powl.S: Likewise.
55464         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55465         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55466         * sysdeps/i386/fpu/e_logl.S: Likewise.
55467         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55468         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55469         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55470         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55471         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55472         * sysdeps/i386/fpu/e_log.S: Likewise.
55473         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55474         * sysdeps/i386/fpu/e_logf.S: Likewise.
55475         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55476         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55477         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55478         * sysdeps/i386/fpu/e_log10.S: Likewise.
55479         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55480         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55481         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55482         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55483         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55484         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
55485         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55486         * sysdeps/i386/i686/strtok.S: Likewise.
55487         * sysdeps/i386/i386-mcount.S: Likewise.
55488         * sysdeps/i386/strtok.S: Likewise.
55489         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
55490         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55491         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55492         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55493         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55494         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55495         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55496         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55497         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55498         * sysdeps/x86_64/_mcount.S: Likewise.
55499         * sysdeps/x86_64/strtok.S: Likewise.
55500         * sysdeps/sh/_mcount.S: Likewise.
55502 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55504         * libio/iofopen.c: Include <fcntl.h>.
55505         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
55506         (_IO_fopen64, fopen64): Define as aliases.
55507         * libio/iofopen64.c: Include <fcntl.h>.
55508         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
55509         Conditionalize body on this.
55510         * sysdeps/wordsize-64/iofopen.c: File removed.
55511         * sysdeps/wordsize-64/iofopen64.c: File removed.
55513 2012-08-01  Marek Polacek  <polacek@redhat.com>
55515         * libc/Makeconfig: Use elf in place of binfmt-subdir.
55516         Use dlfcn directly instead of a variable.
55517         (binfmt-subdir): Do not define.
55518         (dlfcn): Likewise.
55520 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
55522         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
55523         Remove all definitions.
55524         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
55525         <kernel-features.h>.
55526         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55527         (miss_F_GETOWN_EX): Remove all definitions.
55528         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
55529         macro definition.
55530         [!__ASSUME_FCNTL64]: Remove conditional code.
55531         [__ASSUME_FCNTL64]: Make code unconditional.
55532         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
55533         <kernel-features.h>.
55534         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55535         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
55536         (lockf64) [__NR_fcntl64]: Make code unconditional.
55537         (lockf64) [__ASSUME_FCNTL64]: Likewise.
55539         * sysdeps/unix/sysv/linux/kernel-features.h
55540         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
55541         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
55542         Make code unconditional.
55543         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55544         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
55546         [__NR_vfork]: Make code unconditional.
55547         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55548         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
55550         [__NR_vfork]: Make code unconditional.
55551         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55552         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55554 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55556         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
55557         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
55559         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55560         Define mkstemp64 as an alias.
55561         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55562         Define mkstemps64 as an alias.
55563         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55564         Define mkostemp64 as an alias.
55565         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55566         Define mkostemps64 as an alias.
55567         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
55568         Conditionalize body on this.
55569         * misc/mkostemp64.c: Likewise.
55570         * misc/mkostemps64.c: Likewise.
55571         * misc/mkstemps64.c: Likewise.
55572         * sysdeps/wordsize-64/mkstemp64.c: File removed.
55573         * sysdeps/wordsize-64/mkostemp64.c: File removed.
55574         * sysdeps/wordsize-64/mkostemp.c: File removed.
55575         * sysdeps/wordsize-64/mkstemp.c: File removed.
55576         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
55577         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
55578         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
55579         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
55581         [BZ #14138]
55582         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
55583         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
55584         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
55585         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
55587         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
55588         compat_symbol macros from <shlib-compat.h> rather than the underlying
55589         default_symbol_version and symbol_version macros, so that DEFAULT
55590         lines in shlib-versions are respected.
55591         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
55593 2012-08-01  Florian Weimer  <fweimer@redhat.com>
55595         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
55596         Declare with warn_unused_result.
55597         (setgid, setregid, setegid, setresgid): Likewise.
55598         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
55599         Likewise.
55600         * WUR-REPORT: Remove set*id functions.
55602 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
55604         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55606 2012-07-31  Roland McGrath  <roland@hack.frob.com>
55608         [BZ #10191]
55609         * include/sys/socket.h (__libc_accept, __libc_accept4):
55610         Add attribute_hidden.
55611         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55613         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55614         use of PTR_MANGLE.
55615         * inet/getnetgrent_r.c (setup): Likewise.
55617         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55619 2012-07-31  David S. Miller  <davem@davemloft.net>
55621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55623 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
55625         [BZ #13629]
55626         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55627         value between 1.0 and 2.0 and smaller part has absolute value less
55628         than 1.0.
55629         * math/s_clog10.c (__clog10): Likewise.
55630         * math/s_clog10f.c (__clog10f): Likewise.
55631         * math/s_clog10l.c (__clog10l): Likewise.
55632         * math/s_clogf.c (__clogf): Likewise.
55633         * math/s_clogl.c (__clogl): Likewise.
55634         * math/libm-test.inc (clog_test): Add more tests.
55635         (clog10_test): Likewise.
55636         * sysdeps/i386/fpu/libm-test-ulps: Update.
55637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55639 2012-07-31  Florian Weimer  <fweimer@redhat.com>
55641         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55642         Exit with zero in case no suitable GID is found, and write a
55643         message to standard error.
55645 2012-07-30  Roland McGrath  <roland@hack.frob.com>
55647         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55648         rather than to 1.
55649         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55650         (MAXPATHLEN): Removed.
55651         (NOGROUP, NODEV): New macros.
55652         (setbit, clrbit, isset, isclr): New macros.
55653         (howmany, roundup, powerof2): New macros.
55654         (DEV_BSIZE): New macro.
55656         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55657         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55659         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55660         definition on [!__NO_LONG_DOUBLE_MATH].
55662         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55663         PTR_MANGLE and PTR_DEMANGLE.
55665         * socket/accept4.c (accept4): Rename to __libc_accept4.
55666         Define accept4 as a weak alias.
55668         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55669         on [_DIRENT_HAVE_D_TYPE].
55670         * io/ftw.c (ftw_dir): Likewise.
55672         * io/xmknod.c (__xmknod): Don't check PATH for being null.
55674         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55676         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55677         Use the BSD numbers rather than the arbitrary ones we had.
55678         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55679         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55680         (SIGXCPU, SIGXFSZ): New macros.
55681         (_NSIG): Now 32.
55683         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55684         initializer on [_LIBC_REENTRANT].
55686         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55687         definitions inside [_POSIX_MAPPED_FILES].
55689         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55691         * dirent/opendir.c: Include <fcntl.h>.
55693         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55694         (__libc_getspecific): Likewise.
55695         (__libc_key_create): Likewise.
55697         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55698         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55699         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55700         (tmpfile64): Define as alias.
55701         * sysdeps/wordsize-64/tmpfile.c: File removed.
55702         * sysdeps/wordsize-64/tmpfile64.c: File removed.
55703         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55704         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55706         * stdio-common/vfscanf.c: Include <stdbool.h>.
55707         * nss/makedb.c: Likewise.
55708         * stdio-common/_i18n_number.h: Likewise.
55709         * argp/argp-help.c: Likewise.
55710         * posix/wordexp.c: Likewise.
55711         * sysdeps/posix/spawni.c: Likewise.
55712         * nss/nss_files/files-initgroups.c: Likewise.
55713         * stdio-common/reg-modifier.c: Include <stdlib.h>.
55714         * nss/nss_files/files-initgroups.c: Likewise.
55715         * nss/nss_db/db-netgrp.c: Likewise.
55716         * nss/nss_db/db-initgroups.c: Likewise.
55717         * io/fchmodat.c: Include <sys/stat.h>.
55719         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55720         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55722         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55723         [HAVE_MMAP].
55725         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55726         Add multiple inclusion protection.
55728 2012-07-27  David S. Miller  <davem@davemloft.net>
55730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55732 2012-07-27  Gary Benson  <gbenson@redhat.com>
55734         [BZ #14298]
55735         * elf/rtld.c: Include <stap-probe.h>.
55736         (dl_main): Added static probes "init_start" and "init_complete".
55737         * elf/dl-load.c: Include <stap-probe.h>.
55738         (lose): Take new parameter "nsid".
55739         Added static probe "map_failed".
55740         (_dl_map_object_from_fd): Pass namespace id to lose.
55741         Added static probe "map_start".
55742         (open_verify): Pass namespace id to lose.
55743         * elf/dl-open.c: Include <stap-probe.h>.
55744         (dl_open_worker) Added static probes "map_complete", "reloc_start"
55745         and "reloc_complete".
55746         * elf/dl-close.c: Include <stap-probe.h>.
55747         (_dl_close_worker): Added static probes "unmap_start" and
55748         "unmap_complete".
55749         * elf/rtld-debugger-interface.txt: New file documenting the above.
55751 2012-07-26  Roland McGrath  <roland@hack.frob.com>
55753         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55754         rather than a string variable.
55755         * sunrpc/rpc_main.c (h_output): Likewise.
55756         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
55758 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
55760         * inet/check_native.c: New file.
55762 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
55764         [BZ #13629]
55765         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
55766         if larger part has absolute value 1.0.
55767         * math/s_clog10.c (__clog10): Likewise.
55768         * math/s_clog10f.c (__clog10f): Likewise.
55769         * math/s_clog10l.c (__clog10l): Likewise.
55770         * math/s_clogf.c (__clogf): Likewise.
55771         * math/s_clogl.c (__clogl): Likewise.
55772         * math/libm-test.inc (clog_test): Add more tests.
55773         (clog10_test): Likewise.
55774         * sysdeps/i386/fpu/libm-test-ulps: Update.
55775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55777         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
55778         (pltexit): Likewise.
55779         (La_regs): Likewise.
55780         (La_retval): Likewise.
55781         (int_retval): Likewise.
55782         Update #error for removed macros to refer only to definitions in
55783         tst-audit.h.
55784         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
55785         macro.
55786         (pltexit): Likewise.
55787         (La_regs): Likewise.
55788         (La_retval): Likewise.
55789         (int_retval): Likewise.
55790         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
55791         macro.
55792         (pltexit): Likewise.
55793         (La_regs): Likewise.
55794         (La_retval): Likewise.
55795         (int_retval): Likewise.
55796         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
55797         macro.
55798         (pltexit): Likewise.
55799         (La_regs): Likewise.
55800         (La_retval): Likewise.
55801         (int_retval): Likewise.
55802         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
55803         macro.
55804         (pltexit): Likewise.
55805         (La_regs): Likewise.
55806         (La_retval): Likewise.
55807         (int_retval): Likewise.
55808         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
55809         macro.
55810         (pltexit): Likewise.
55811         (La_regs): Likewise.
55812         (La_retval): Likewise.
55813         (int_retval): Likewise.
55814         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
55815         macro.
55816         (pltexit): Likewise.
55817         (La_regs): Likewise.
55818         (La_retval): Likewise.
55819         (int_retval): Likewise.
55820         * sysdeps/generic/tst-audit.h: Update comment to refer only to
55821         macro definitions in tst-audit.h.
55822         * sysdeps/i386/tst-audit.h: New file.
55823         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
55824         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
55825         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
55826         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
55827         * sysdeps/sh/tst-audit.h: Likewise.
55828         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55829         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
55830         * sysdeps/x86_64/tst-audit.h: Likewise.
55832 2012-07-26  Andreas Jaeger  <aj@suse.de>
55834         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
55835         ptrace.
55837         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
55838         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
55839         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
55840         PTRACE_O_MASK.
55841         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
55842         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
55843         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
55845         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
55846         value.
55848         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
55849         _sigsys.
55850         (si_call_addr, si_syscall, si_arch): Define new macro.
55851         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
55852         _sigsys.
55853         (si_call_addr, si_syscall, si_arch): Define new marcro.
55854         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
55855         _sigsys.
55856         (si_call_addr, si_syscall, si_arch): Define new macro.
55857         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
55858         _sigsys.
55859         (si_call_addr, si_syscall, si_arch): Define new macro.
55861 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55863         [BZ #13717]
55864         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55865         Change to 2.4.21 where previously 2.4.1.
55866         * sysdeps/unix/sysv/linux/configure: Regenerated.
55867         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
55868         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
55869         Linux kernel version.
55870         (__ASSUME_STD_AUXV): Remove.
55871         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
55872         kernel version.
55873         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
55874         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
55875         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
55876         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
55877         (__ASSUME_NETLINK_SUPPORT): Likewise.
55878         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
55879         (__no_netlink_support): Remove conditional definition.
55880         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
55881         Remove.
55882         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55883         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
55884         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
55885         (if_nameindex_ioctl): Remove.
55886         (if_nameindex_netlink): Do not handle __no_netlink_support.
55887         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55888         code.
55889         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
55890         Remove conditional code.
55891         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55892         code.
55893         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
55894         unconditional.
55895         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55896         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
55897         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
55898         Remove.
55899         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
55900         [!__ASSUME_STD_AUXV]: Remove conditional code.
55901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
55902         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
55903         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
55904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
55905         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
55906         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55907         code.
55908         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55910         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
55911         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55912         conditional code.
55913         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55915         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55916         code.
55917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55918         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55919         conditional code.
55920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
55921         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55922         code unconditional.
55923         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55924         conditional code.
55925         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55926         unconditional.
55927         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55928         conditional code.
55929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55930         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55931         unconditional.
55932         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55933         conditional code.
55934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
55935         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55936         code unconditional.
55937         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55938         conditional code.
55939         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55940         unconditional.
55941         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55942         conditional code.
55943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
55944         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55945         code unconditional.
55946         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55947         conditional code.
55948         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55949         unconditional.
55950         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55951         conditional code.
55953 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
55955         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
55956         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
55957         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
55958         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
55959         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
55960         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
55961         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
55962         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
55963         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
55964         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
55965         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
55966         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
55967         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
55968         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
55969         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
55970         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
55971         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
55972         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
55973         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
55974         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
55975         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
55976         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
55977         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55979 2012-07-25  Florian Weimer  <fweimer@redhat.com>
55981         * Versions.def: Add GLIBC_2.17.
55982         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
55983         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
55984         Introduce __libc_secure_getenv.
55985         * stdlib/Versions (2.17): Add secure_getenv
55986         (GLIBC_PRIVATE): Add __libc_secure_getenv.
55987         * stdlib/secure-getenv.c: Rename __secure_getenv to
55988         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
55989         symbol __secure_getenv for GLIBC_2.0.
55990         * stdlib/tst-secure-getenv.c: New.
55991         * stdlib/Makefile (tests): Add testcase.
55992         * manual/startup.texi (Environment Access): Document
55993         secure_getenv.
55994         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
55995         __libc_secure_getenv.
55996         * inet/ruserpass.c (ruserpass): Likewise.
55997         * malloc/mtrace.c (mtrace): Likewise.
55998         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
55999         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
56000         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
56001         * sysdeps/posix/tempname.c: Likewise.  Evaluate
56002         HAVE_SECURE_GETENV.
56003         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
56004         __secure_getenv to __libc_secure_getenv.
56005         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
56006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56007         Likewise.
56008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56009         Likewise.
56010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56012         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56018 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56020         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
56021         (struct La_i86_retval): Likewise.
56022         (struct La_x86_64_regs): Likewise.
56023         (struct La_x86_64_retval): Likewise.
56024         (struct La_x32_regs): Likewise.
56025         (struct La_x32_retval): Likewise.
56026         (struct La_ppc32_regs): Likewise.
56027         (struct La_ppc32_retval): Likewise.
56028         (struct La_ppc64_regs): Likewise.
56029         (struct La_ppc64_retval): Likewise.
56030         (struct La_sh_regs): Likewise.
56031         (struct La_sh_retval): Likewise.
56032         (struct La_s390_32_regs): Likewise.
56033         (struct La_s390_32_retval): Likewise.
56034         (struct La_s390_64_regs): Likewise.
56035         (struct La_s390_64_retval): Likewise.
56036         (struct La_sparc32_regs): Likewise.
56037         (struct La_sparc32_retval): Likewise.
56038         (struct La_sparc64_regs): Likewise.
56039         (struct La_sparc64_retval): Likewise.
56040         (struct audit_ifaces): Remove architecture-specific pltenter and
56041         pltexit members.
56042         * sysdeps/i386/ldsodefs.h: New file.
56043         * sysdeps/powerpc/ldsodefs.h: Likewise.
56044         * sysdeps/s390/ldsodefs.h: Likewise.
56045         * sysdeps/sh/ldsodefs.h: Likewise.
56046         * sysdeps/sparc/ldsodefs.h: Likewise.
56047         * sysdeps/x86_64/ldsodefs.h: Likewise.
56049 2012-07-25  Marek Polacek  <polacek@redhat.com>
56051         [BZ #6808]
56052         * math/libm-test.inc (yn_test): Add another test.
56053         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
56054         to ERANGE when the result is +-Inf.
56055         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56056         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
56057         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
56058         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
56060 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
56062         * conform/data/time.h-data (NULL): Use macro-constant.  Require
56063         equal to 0.
56064         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
56065         clock_t.
56066         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
56068 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
56070         * configure.in <sysdeps resolving>: Correct printing
56071         Implies_before.
56072         * configure: Regenerate.
56074 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
56076         * math/w_ilogb.c: Include <limits.h>.
56077         * math/w_ilogbl.c: Likewise.
56079 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56081         * manual/lang.texi (__va_copy): Document primarily as ISO C99
56082         va_copy.  Document allowing for unavailable va_copy only as
56083         pre-C99 compatibility.
56084         * manual/string.texi (Copying and Concatenation): Use va_copy
56085         instead of __va_copy in concat example.
56087 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
56089         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
56090         (__sendto): Use create_address_port.  Initialize APORT and deallocate
56091         it if not null.
56093         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
56094         with O_NOLINK passed to __file_name_lookup.
56096         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
56097         with O_NOLINK passed to __file_name_lookup.
56099         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
56100         negative N or less than NGIDS.
56102         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
56103         type to string_t.  Set ERANGE as errno and return it if NAME is not big
56104         enough.  Use memcpy instead of strncpy.
56106 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56108         * elf/Makefile (check-data): Remove.
56109         (localplt.data): New vpath directive.
56110         ($(objpfx)check-localplt.out): Use localplt.data from vpath
56111         instead of $(check-data).
56112         * scripts/data/localplt-generic.data: Move to ...
56113         * sysdeps/generic/localplt.data: ... here.
56114         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
56115         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
56116         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
56117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
56118         ... here.
56119         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
56120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
56121         ... here.
56122         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
56123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
56124         ... here.
56125         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
56126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
56127         ... here.
56128         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
56129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
56130         ... here.
56131         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
56132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
56133         ... here.
56135 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56137         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
56138         PPC32 and PPC64 files.
56139         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
56140         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
56142 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56144         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
56145         __makecontext_ret to ...
56146         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
56147         ... here and call exit if uc_link is NULL.  New file.
56148         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
56149         __makecontext_ret.S.
56150         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
56151         __makecontext_ret to ...
56152         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
56153         ... here and call exit if uc_link is NULL.  New file.
56154         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
56155         __makecontext_ret.S.
56157 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56159         * elf/elf.h (R_390_IRELATIVE): New definition.
56160         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
56161         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
56162         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
56163         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56164         (elf_machine_lazy_rel): Likewise.
56165         * sysdeps/s390/dl-irel.h: New file.
56166         * sysdeps/s390/s390-64/memcpy.S: New asm code.
56167         * sysdeps/s390/s390-64/memset.S: New asm code.
56168         * sysdeps/s390/s390-64/memcmp.S: New asm code.
56169         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
56170         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
56171         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
56172         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
56173         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
56174         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
56175         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
56176         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
56177         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
56178         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
56179         * sysdeps/s390/s390-32/memcpy.S: New asm code.
56180         * sysdeps/s390/s390-32/memset.S: New asm code.
56181         * sysdeps/s390/s390-32/memcmp.S: New asm code.
56183 2012-07-17  Marek Polacek  <polacek@redhat.com>
56185         [BZ #14349]
56186         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
56187         * sysdeps/s390/s390-64/configure.in: Likewise.
56188         * sysdeps/sparc/configure.in: Likewise.
56189         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
56190         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
56191         * sysdeps/i386/configure.in: Likewise.
56192         * sysdeps/x86_64/configure.in: Likewise.
56193         * sysdeps/sh/configure.in: Likewise.
56194         * sysdeps/s390/s390-32/configure: Regenerated.
56195         * sysdeps/s390/s390-64/configure: Likewise.
56196         * sysdeps/x86_64/configure: Likewise.
56197         * sysdeps/sh/configure: Likewise.
56198         * sysdeps/powerpc/powerpc64/configure: Likewise.
56199         * sysdeps/powerpc/powerpc32/configure: Likewise.
56200         * sysdeps/sparc/configure: Likwise.
56201         * sysdeps/i386/configure: Likewise.
56203         * elf/dl-open.c: Comment fixes.
56205 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
56207         * Makefile [CXX] (check-data): Remove.
56208         [CXX] (c++-types.data): New vpath directive.
56209         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
56210         vpath.  Do not allow for C++ type data being missing.
56211         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
56212         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
56213         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
56214         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
56215         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
56216         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
56217         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
56218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
56219         ... here.
56220         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
56221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
56222         ... here.
56223         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
56224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
56225         ... here.
56226         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
56227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
56228         ... here.
56229         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
56230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
56231         ... here.
56232         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
56233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
56234         ... here.
56235         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
56236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
56237         ... here.
56238         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
56239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
56241         * elf/tls-macros.h (TLS_LE): Move architecture-specific
56242         definitions to architecture-specific files.
56243         (TLS_IE): Likewise.
56244         (TLS_LD): Likewise.
56245         (TLS_GD): Likewise.
56246         * sysdeps/i386/tls-macros.h: New file.
56247         * sysdeps/powerpc/tls-macros.h: Likewise.
56248         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
56249         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
56250         * sysdeps/sh/tls-macros.h: Likewise.
56251         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
56252         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
56253         * sysdeps/x86_64/tls-macros.h: Likewise.
56255 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56257         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
56258         zero value for regular exit case.
56260         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
56261         (__start_context): Preserve zero value for regular exit case.
56263 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56264             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56266         * manual/setjmp.texi (setcontext): Clarify normal process
56267         termination when uc_link is the null pointer.
56268         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
56269         exit call.
56271 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
56273         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
56274         preprocessor.  Test for each exception mask separately.
56276 2012-07-16  Andreas Jaeger  <aj@suse.de>
56278         * po/ru.po: Update from translation team.
56280 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
56282         * conform/data/string.h-data (NULL): Use macro-constant.  Require
56283         equal to 0.
56284         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56285         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56286         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
56287         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
56288         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56290 2012-07-13  Andreas Jaeger  <aj@suse.de>
56292         * po/fr.po: Update from translation team.
56294 2012-07-12  Marek Polacek  <polacek@redhat.com>
56296         [BZ #14173]
56297         * math/libm-test.inc (yn_test): Add test for BZ #14173.
56298         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
56299         loop condition.
56301 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
56303         [BZ #13717]
56304         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56305         Change to 2.4.1 where previously 2.4.0.
56306         * sysdeps/unix/sysv/linux/configure: Regenerated.
56307         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
56308         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
56309         version.
56310         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
56311         (__ASSUME_AT_CLKTCK): Remove.
56312         (__ASSUME_AT_PAGESIZE): Likewise.
56313         (__ASSUME_AT_XID): Likewise.
56314         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
56315         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
56316         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
56317         unconditionally.
56318         (HAVE_AUX_PAGESIZE): Likewise.
56319         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
56320         [__ASSUME_AT_CLKTCK]: Make code unconditional.
56321         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
56323 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
56325         [BZ #14307]
56326         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
56327         the temporary buffer used to invoke __gethostbyname2_r,
56328         __gethostbyaddr_r and gethostbyname4_r to make room for struct
56329         host_data / struct gaih_addrtuple.
56330         * resolv/nss_dns/dns-host.c (global scope): Move definition of
56331         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
56332         header file nss/nsswitch.h.
56333         * nss/nsswitch.h (global scope): Add definition of implementation
56334         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
56335         resolv/nss_dns/dns-host.c).
56337 2012-07-11  Andreas Jaeger  <aj@suse.de>
56339         * po/fr.po: Update from translation team.
56341         * po/sv.po: Update from translation team
56342         * po/fr.po: Another update from translation team.
56344 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56346         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
56347         for subnormals or multiply small sinh result by itself.
56348         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56351 2012-07-11  David S. Miller  <davem@davemloft.net>
56353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56355 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
56357         [BZ #14347]
56358         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
56359         (INTERNAL_MARK): Shift it here.
56361 2012-07-10  Marek Polacek  <polacek@redhat.com>
56363         [BZ #14151]
56364         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
56365         libc_cv_asm_global_directive with .globl.
56366         * configure: Regenerated.
56367         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
56368         with .globl.
56369         * sysdeps/i386/configure: Regenerated.
56370         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
56371         with .globl.
56372         * sysdeps/x86_64/configure: Regenerated.
56373         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
56374         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
56375         * elf/tst-unique2mod2.c: Likewise.
56376         * elf/tst-unique2mod1.c: Likewise.
56377         * elf/tst-unique1mod2.c: Likewise.
56378         * elf/tst-unique1mod1.c: Likewise.
56379         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56380         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56381         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56382         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56383         * sysdeps/mach/sysdep.h: Likewise.
56384         * sysdeps/i386/sysdep.h: Likewise.
56385         * sysdeps/i386/i386-mcount.S: Likewise.
56386         * sysdeps/x86_64/_mcount.S: Likewise.
56387         * sysdeps/x86_64/sysdep.h: Likewise.
56388         * sysdeps/sh/_mcount.S: Likewise.
56389         * sysdeps/sh/sysdep.h: Likewise.
56390         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
56391         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
56392         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
56393         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56394         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
56395         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
56396         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
56397         * locale/localeinfo.h: Likewise.
56398         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
56399         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
56401 2012-07-09  Roland McGrath  <roland@hack.frob.com>
56403         [BZ #14336]
56404         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
56405         system".
56406         * manual/message.texi (The Uniforum approach): Likewise.
56407         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
56408         (glibc iconv Implementation): Likewise.
56410 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
56412         [BZ #14337]
56413         * math/s_clog.c (__clog): Avoid scaling a value down where that
56414         could result in underflow.
56415         * math/s_clog10.c (__clog10): Likewise.
56416         * math/s_clog10f.c (__clog10f): Likewise.
56417         * math/s_clog10l.c (__clog10l): Likewise.
56418         * math/s_clogf.c (__clogf): Likewise.
56419         * math/s_clogl.c (__clogl): Likewise.
56420         * math/libm-test.inc (clog_test): Add more tests.
56421         (clog10_test): Likewise.
56422         * sysdeps/i386/fpu/libm-test-ulps: Update.
56423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56425 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
56427         [BZ #14283]
56428         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
56429         by 7 not 8 to examine high bit of fractional part.
56431         [BZ #14042]
56432         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
56433         for call to __mcount_internal.
56434         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
56435         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
56436         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
56438 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
56440         [BZ #14154]
56441         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
56442         approximation for values within 0x1p-13f of an odd multiple of
56443         pi/4.
56444         * math/libm-test.inc (tan_test): Do not allow spurious underflow
56445         exception.  Add more tests.
56446         * sysdeps/i386/fpu/libm-test-ulps: Update.
56448         [BZ #6778]
56449         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
56450         inputs and return -1 for them.  Do not check for +Inf in case not
56451         reachable for +Inf.
56452         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56453         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
56454         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56455         and return -1 for them.  Do not check for +Inf in case not
56456         reachable for +Inf.
56457         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
56458         define.
56459         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56460         and return -1 for them.  Do not check for +Inf in case not
56461         reachable for +Inf.
56462         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
56463         spurious underflow.
56464         * sysdeps/i386/fpu/libm-test-ulps: Update.
56465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56467 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
56469         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
56471 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
56473         [BZ #14157]
56474         [BZ #14331]
56475         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
56476         could result in spurious underflow.  Scale down values above
56477         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
56478         * math/s_csqrtf.c (__csqrtf): Likewise.
56479         * math/s_csqrtl.c (__csqrtl): Likewise.
56480         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
56481         spurious underflow.
56482         * sysdeps/i386/fpu/libm-test-ulps: Update.
56483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56485 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
56487         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
56488         xopen-msg.sed.
56489         * catgets/xopen-msg.awk: New file.
56490         * catgets/xopen-msg.sed: Removed.
56492         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
56493         po2text.sed.
56494         * intl/po2test.awk: New file.
56495         * intl/po2test.sed: Removed.
56497 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
56499         [BZ #14328]
56500         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
56501         or multiply small sinh result by itself.
56502         * math/s_ctanf.c (__ctanf): Likewise.
56503         * math/s_ctanh.c (__ctanh): Likewise.
56504         * math/s_ctanhf.c (__ctanhf): Likewise.
56505         * math/s_ctanhl.c (__ctanhl): Likewise.
56506         * math/s_ctanl.c (__ctanl): Likewise.
56507         * math/libm-test.inc (ctan_test_tonearest): New function.
56508         (ctan_test_towardzero): Likewise.
56509         (ctan_test_downward): Likewise.
56510         (ctan_test_upward): Likewise.
56511         (ctanh_test_tonearest): Likewise.
56512         (ctanh_test_towardzero): Likewise.
56513         (ctanh_test_downward): Likewise.
56514         (ctanh_test_upward): Likewise.
56515         (main): Call these new functions.
56516         * sysdeps/i386/fpu/libm-test-ulps: Update.
56517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56519 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
56521         * .gitignore: Delete /ports entry.
56523 2012-07-03  Andreas Jaeger  <aj@suse.de>
56525         * po/bg.po: Update from translation team.
56526         * po/cs.po: Likewise.
56527         * po/de.po: Likewise.
56528         * po/hr.po: Likewise.
56529         * po/nl.pl: Likewise.
56530         * po/pl.po: Likewise.
56531         * po/vi.po: Likewise.
56533 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
56535         * Makeconfig [!+link] (+link-before-libc): New variable.
56536         [!+link] (+link-after-libc): Likewise.
56537         [!+link] (+link-tests): Likewise.
56538         [!+link] (+link): Define in terms of $(+link-before-libc) and
56539         $(+link-after-libc).
56540         [!+link-static] (+link-static-before-libc): New variable.
56541         [!+link-static] (+link-static-after-libc): Likewise.
56542         [!+link-static] (+link-static-tests): Likewise.
56543         [!+link-static] (+link-static): Define in terms of
56544         $(+link-static-before-libc) and $(+link-static-after-libc).
56545         [build-shared] (link-libc-before-gnulib): New variable.
56546         [build-shared] (link-libc-tests): Likewise.
56547         [build-shared] (link-libc): Define in terms of
56548         $(link-libc-before-gnulib).
56549         [!build-shared] (link-libc-tests): New variable.
56550         (link-libc-static-tests): New variable.
56551         [!gnulib] (gnulib-arch): New variable.
56552         [!gnulib] (gnulib-tests): Likewise.
56553         [!gnulib] (static-gnulib-arch): Likewise.
56554         [!gnulib] (static-gnulib-tests): Likewise.
56555         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
56556         Define with "=" instead of ":=".
56557         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
56558         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
56559         * Rules (binaries-all-notests): New variable.
56560         (binaries-all-tests): Likewise.
56561         (binaries-static-notests): Likewise.
56562         (binaries-static-tests): Likewise.
56563         (binaries-all): Define using $(binaries-all-notests) and
56564         $(binaries-all-tests).
56565         (binaries-static): Define using $(binaries-static-notests) and
56566         $(binaries-static-tests).
56567         (binaries-shared-tests): New variable.
56568         (binaries-shared-notests): Likewise.
56569         (binaries-shared): Remove variable.
56570         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
56571         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
56572         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
56573         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
56574         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
56575         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
56576         * elf/Makefile (sln-modules): New variable.
56577         (extra-objs): Add $(sln-modules:=.o).
56578         (ldconfig-modules): Add static-stubs.
56579         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
56580         * elf/static-stubs.c: New file.
56582         [BZ #14283]
56583         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
56584         by 7 not 8 to examine high bit of fractional part.  Use volatile
56585         variables when splitting into final array of floats if
56586         __FLT_EVAL_METHOD__ != 0.
56587         * math/libm-test.inc (cos_test): Add another test.
56588         (sin_test): Likewise.
56589         * sysdeps/i386/fpu/libm-test-ulps: Update.
56591         [BZ #14273]
56592         * math/libm-test.inc (cosh_test): Add more tests.
56594         * version.h (RELEASE): Set to "development".
56595         (VERSION): Set to "2.16.90".
56597 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
56599         * NEWS: Update copyright. Remove last-updated date.
56600         Mention math library bug fixes and timezone data changes.
56601         * README: Mention GNU/Hurd, x32, and HPPA support status.
56603 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
56605         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56607 2012-06-27  Andreas Jaeger  <aj@suse.de>
56609         * manual/contrib.texi (Contributors): Add Samuel Thibault.
56611 2012-06-25  Andreas Jaeger  <aj@suse.de>
56613         * sysdeps/s390/fpu/libm-test-ulps: Update.
56615 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
56616             Thomas Schwinge  <thomas@codesourcery.com>
56618         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56619         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56620         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56621         fanotify_mark.
56623 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
56625         * sysdeps/mach/start.c: Remove file.
56626         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56627         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56628         * sysdeps/sh/init-first.c: Likewise.
56630         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56631         registers for frame unwinding purposes, add CFI directives.
56632         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56633         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56634         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56635         Likewise.
56637         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56638         __fortify_fail returning.
56639         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56641         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56642         sysdeps/sh/____longjmp_chk.S.
56643         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56644         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56645         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56646         (gen-as-const-headers): Append sigaltstack-offsets.sym.
56648         * sysdeps/sh/abort-instr.h: New file.
56649         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56650         process in case exit returns.
56652         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56653         initialize the GOT register before use.
56655         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56656         calculation of ARGC > 4.
56658         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56659         meaningful names to some local labels.
56661 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56662             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56664         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56665         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56666         (__arch_compare_and_exchange_val_16_acq): Likewise.
56667         (__arch_compare_and_exchange_val_32_acq): Likewise.
56668         (atomic_exchange_and_add): Fix gUSA sequence.
56669         (atomic_add): Likewise.
56670         (atomic_add_negative): Likewise.
56671         (atomic_add_zero): Likewise.
56672         (atomic_bit_test_set): Likewise.
56674 2012-06-22  Andreas Schwab  <schwab@redhat.com>
56676         [BZ #13579]
56677         * include/link.h (struct link_map): Add l_free_initfini.
56678         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56679         l_initfini.
56680         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56681         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56682         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56683         set.
56685 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
56687         * configure.in: Use AC_LANG_SOURCE.
56688         * configure: Regenerate.
56690 2012-06-22  Roland McGrath  <roland@hack.frob.com>
56692         * configure.in (libc_cv_localstatedir): New substituted variable.
56693         * configure: Regenerated.
56694         * config.make.in (localstatedir): New variable, substituted from
56695         libc_cv_localstatedir.
56696         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56697         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56698         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56699         * sysdeps/gnu/configure: Regenerated.
56701 2012-06-21  Jeff Law  <law@redhat.com>
56703         [BZ #14277]
56704         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56705         free.  Simplify list management for _LIBC case.
56707 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
56709         [BZ #14273]
56710         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56711         Clear sign bit of 64-bit integer value before comparing against
56712         overflow value.
56714         * sysdeps/mach/configure: Regenerated.
56716 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
56718         [BZ #14278]
56719         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56721 2012-06-21  Jeff Law  <law@redhat.com>
56723         [BZ #13882]
56724         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
56725         uint16_t for elements in the "seen" array to avoid char overflows.
56726         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56727         * elf/dl-open.c (dl_open_worker): Likewise.
56729 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
56731         * scripts/list-sources.sh: Scan PORTS for translations.
56732         * po/libc.pot: Regenerated.
56734 2012-06-21  Andreas Jaeger  <aj@suse.de>
56736         [BZ #12194]
56737         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56738         warning.
56739         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56740         * bits/byteswap-16.h (__bswap_16): Likewise.
56741         * bits/byteswap.h (__bswap_constant_16): Likewise.
56743 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
56745         [BZ #14117]
56746         * sysdeps/i386/fpu_control.h: Removed.
56747         * sysdeps/x86_64/fpu_control.h: Moved to ...
56748         * sysdeps/x86/fpu_control.h: Here.
56750         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56751         (_FPU_SETCW): Likewise.
56753 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
56755         [BZ #14117]
56756         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56757         * sysdeps/x86/fpu/bits/mathinline.h: This.
56758         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
56760         [BZ #14050]
56761         [BZ #14117]
56762         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
56763         functions if __x86_64__ is defined.
56765 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
56767         * string/endian.h: Add !__ASSEMBLER__ condition for including
56768         conversion interfaces.
56770 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
56772         [BZ #14241]
56773         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
56774         of ABS(x) in calculating zero to negative powers other than odd
56775         integers.
56776         * math/libm-test.inc (pow_test): Add more tests.
56778 2012-06-15  Andreas Jaeger  <aj@suse.de>
56780         * manual/contrib.texi (Contributors): Update entry of Liubov
56781         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
56782         Machado Filho.
56784 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
56786         * string/string.h: Add __wur to GNU version of strerror_r.
56788 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
56790         [BZ #14229]
56791         * string/Makefile (tests): Add tst-strtok_r.
56792         * string/tst-strtok_r.c: New file.
56793         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
56794         RAX_LP/RDX_LP on SAVE_PTR.
56796 2012-06-14  Roland McGrath  <roland@hack.frob.com>
56798         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
56800 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
56802         * libm_test.inc (csqrt_test): Allow more spurious underflow
56803         exceptions.
56804         (j0_test): Likewise.
56805         (j1_test): Likewise.
56806         (y0_test): Likewise.
56807         (y1_test): Likewise.
56809 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
56811         * po/Makefile (libc.pot): Use UTF-8 charset.
56813 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
56815         [BZ #14210]
56816         Suppress sign-conversion warning from FD_SET.
56817         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
56818         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
56819         not unsigned long int.
56820         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
56822 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
56824         [BZ #14050]
56825         [BZ #14117]
56826         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
56827         __extern_always_inline instead of __extern_inline.
56828         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
56829         (__signbit): Likewise.
56830         (__signbitl): Support C++ namespace.
56831         (lrintf): New inline function.
56832         (lrint): Likewise.
56833         (llrintf): Likewise.
56834         (llrint): Likewise.
56835         (fmaxf): Likewise.
56836         (fmax): Likewise.
56837         (fminf): Likewise.
56838         (fmin): Likewise.
56839         (rint): Likewise.
56840         (rintf): Likewise.
56841         (ceil): Likewise.
56842         (ceilf): Likewise.
56843         (floor): Likewise.
56844         (floorf): Likewise.
56845         (nearbyint): Likewise.
56846         (nearbyintf): Likewise.
56848 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
56850         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
56851         non-default versions.
56853 2012-06-11  Roland McGrath  <roland@hack.frob.com>
56855         [BZ #14218]
56856         * manual/argp.texi (Argp): Reword argp_parse description slightly.
56858 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
56860         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
56861         (FE_UPWARD, FE_DOWNWARD): Don't define.
56862         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
56863         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56865         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
56866         reading it.
56867         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56868         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56870 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56872         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56873         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
56874         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
56875         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
56877 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
56879         [BZ #14117]
56880         * sysdeps/i386/fpu/bits/fenv.h: Removed.
56881         * sysdeps/i386/fpu/Implies: New file.
56882         * sysdeps/x86_64/fpu/Implies: Likewise.
56883         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
56884         * sysdeps/x86/fpu/bits/fenv.h: This.
56886         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
56887         __SSE_MATH__.
56889 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56891         [BZ #14134]
56892         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
56893         character 0xffff that matches the last element of the
56894         conversion table.
56896 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56898         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
56899         fmodl commit.
56901 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56903         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
56904         values higher than 25.6283.
56906 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56908         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
56909         subnormal exponent extraction and add some __builtin_expect.
56910         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
56911         Fix for subnormal mantissa calculation.
56913 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
56915         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
56916         cpu2 is -1 and errno is not ENOSYS.
56918 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
56920         [BZ #14117]
56921         * sysdeps/i386/i486/bits/string.h: Renamed to ...
56922         * sysdeps/x86/bits/string.h: This.
56923         * sysdeps/x86_64/bits/string.h: Removed.
56925         * sysdeps/i386/i486/bits/string.h: Define inline functions only
56926         if not compiling for x86-64, but compiling for >= i486.
56928         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
56929         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
56931         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
56932         New macro from Linux kernel 3.4.0.
56933         (FP_XSTATE_MAGIC2): Likewise.
56934         (FP_XSTATE_MAGIC2_SIZE): Likewise.
56935         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
56936         (struct _fpx_sw_bytes): New struct.
56937         (struct _xsave_hdr): Likewise.
56938         (struct _ymmh_state): Likewise.
56939         (struct _xstate): Likewise.
56941         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
56942         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
56943         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
56944         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
56945         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
56946         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
56948         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
56949         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
56950         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
56951         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
56952         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
56953         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
56955 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56957         [BZ #13743]
56958         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
56959         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
56960         (sysdep_headers): Include sys/platform/ppc.h.
56961         * sysdeps/powerpc/test-gettimebase.c: Test for
56962         __ppc_get_timebase() to catch future ISA opcode/insn changes.
56963         * manual/Makefile (appendices): Include platform.texi.
56964         * manual/contrib.texi (Contributors): Update @node pointers.
56965         * manual/maint.texi (Maintenance): Likewise.
56966         (Platform): New node.
56967         * manual/platform.texi: New file.  Document the new features.
56969 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56970             Jakub Jelinek  <jakub@redhat.com>
56972         [BZ #14188]
56973         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
56974         where __builtin_expect is unavailable.
56976 2012-06-03  David S. Miller  <davem@davemloft.net>
56978         * stdlib/longlong.h: Updated from GCC.
56980 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
56982         [BZ #14042]
56983         * sysdeps/powerpc/powerpc32/mcount.c: New file.
56984         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
56985         __mcount_internal.
56986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56987         (GLIBC_2.16): Likewise.
56989 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56991         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
56993 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
56996         (default-abi): New variable.
56997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
56998         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
56999         variable.
57000         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57001         Likewise.
57002         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
57003         Likewise.
57004         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
57005         Likewise.
57007         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
57008         definition.  Document in comment.
57010 2012-06-01  David S. Miller  <davem@davemloft.net>
57012         * stdlib/longlong.h: Updated from GCC.
57014 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57016         [BZ #14117]
57017         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
57018         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
57019         sys/debugreg.h sys/io.h here.
57020         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
57021         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
57022         sys/io.h.
57023         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
57024         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
57025         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
57026         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
57027         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
57028         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
57030         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
57031         Define only if __x86_64__ is defined.
57033 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57035         [BZ #14048]
57036         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
57037         Use int64_t for variable i.
57038         * math/libm-test.inc (fmod_test): Add more tests.
57040         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
57041         z computation is not scheduled after fetestexcept.
57042         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
57043         Use math_force_eval instead of asm to ensure calculation scheduled
57044         before exception test.
57045         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
57046         Ensure a1 + u.d computation is not scheduled after fetestexcept.
57048 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
57050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
57051         computation is not scheduled after fetestexcept.
57053 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57055         [BZ #14117]
57056         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
57057         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
57059 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57061         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
57062         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57064 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57066         [BZ #14117]
57067         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
57068         <bits/wordsize.h>.
57069         (__WCHAR_MIN): Support __WORDSIZE == 64.
57070         (__WCHAR_MAX): Likewise.
57072         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
57073         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
57075         [BZ #14183]
57076         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
57077         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
57079         [BZ #14117]
57080         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
57081         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
57083         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
57084         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
57086         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
57087         Defined to 1 if __x86_64__ isn't defined.
57088         (_STAT_VER_LINUX_OLD): New.
57089         (st_atime): Remove duplicate.
57090         (st_mtime): Likewise.
57091         (st_ctime): Likewise.
57093 2012-05-31  David S. Miller  <davem@davemloft.net>
57095         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
57096         entries.
57098 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
57100         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
57101         gen-libm-test.pl.
57103         [BZ #14132]
57104         * elf/dl-reloc.c: Include <_itoa.h>.
57105         (_dl_reloc_bad_type): Remove use of INTUSE.
57106         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
57107         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
57108         * stdio-common/psiginfo.c (psiginfo): Likewise.
57109         * stdio-common/psignal.c (psignal): Likewise.
57110         * string/strsignal.c (strsignal): Likewise.
57111         * include/signal.h (_sys_siglist): Declare hidden proto.
57112         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
57113         INTVARDEF with libc_hidden_data_def.
57114         * stdio-common/itoa-udigits.c: Likewise.
57115         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
57116         (_itoa_lower_digits_internal): Remove declaration.
57117         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
57118         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
57119         (_sys_sigabbrev_internal): Remove aliases.
57120         (_sys_siglist): Define hidden alias.
57122 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
57124         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57125         bits/sysctl.h.
57127 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57129         [BZ #14117]
57130         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
57131         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
57133         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
57134         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
57135         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
57136         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
57137         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
57138         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
57140         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
57141         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
57142         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
57144         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
57145         with __addr.
57146         (insw): Likewise.
57147         (insl): Likewise.
57148         (outsb): Likewise.
57149         (outsw): Likewise.
57150         (outsl): Likewise.
57152         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
57153         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
57154         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
57156         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
57157         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
57158         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
57159         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
57160         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
57161         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
57163         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
57164         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
57166         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
57167         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
57169         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
57170         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
57171         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
57173         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
57174         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
57175         to ...
57176         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
57178         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
57179         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
57180         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
57182         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
57183         for x86-64.
57184         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
57186 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
57188         * math/math.h (M_El): Use two more decimal places.
57189         (M_LOG2El): Likewise.
57190         (M_LOG10El): Likewise.
57191         (M_LN2l): Likewise.
57192         (M_LN10l): Likewise.
57193         (M_PIl): Likewise.
57194         (M_PI_2l): Likewise.
57195         (M_PI_4l): Likewise.
57196         (M_1_PIl): Likewise.
57197         (M_2_PIl): Likewise.
57198         (M_2_SQRTPIl): Likewise.
57199         (M_SQRT2l): Likewise.
57200         (M_SQRT1_2l): Likewise.
57202 2012-05-31  David S. Miller  <davem@davemloft.net>
57204         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
57205         values between float registers.
57206         * sysdeps/sparc/sparc64/memset.S: Likewise.
57207         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57209 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
57211         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
57212         -D_FORTIFY_SOURCE=1.
57213         (CPPFLAGS-tst-longjmp_chk.c): Define.
57214         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
57215         (CPPFLAGS-tst-longjmp_chk2.c): Define.
57216         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
57217         CFLAGS-tst-wchar-h.c.
57219 2012-05-31  Marek Polacek  <polacek@redhat.com>
57221         [BZ #14132]
57222         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
57223         __endmntent_internal): Remove declaration.
57224         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
57225         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
57226         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
57228 2012-05-30  David S. Miller  <davem@davemloft.net>
57230         * sysdeps/sparc/sparc32/soft-fp/q_util.c
57231         (___Q_simulate_exceptions): Use real FP ops rather than writing
57232         into the %fsr.
57233         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
57234         Likewise.
57236 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57238         [BZ #14117]
57239         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
57240         * sysdeps/x86/bits/xtitypes.h: This.
57242         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
57243         * sysdeps/x86/bits/wordsize.h: This.
57245         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
57246         * sysdeps/x86/bits/huge_vall.h: This.
57248         * sysdeps/i386/bits/select.h: Removed.
57249         * sysdeps/x86_64/bits/select.h: Renamed to ...
57250         * sysdeps/x86/bits/select.h: This.
57252         * sysdeps/i386/bits/setjmp.h: Removed.
57253         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
57254         * sysdeps/x86/bits/setjmp.h: This.
57256         * sysdeps/i386/bits/mathdef.h: Removed.
57257         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
57258         * sysdeps/x86/bits/mathdef.h: This.
57260 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
57262         [BZ #14132]
57263         * include/sys/socket.h (__connect_internal)
57264         (__libc_sa_len_internal): Remove declaration.
57265         (__connect, __libc_sa_len): Declare hidden_proto.
57266         (SA_LEN): Remove use of INTUSE.
57267         * socket/connect.c: Add libc_hidden_def.
57268         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
57269         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
57270         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
57271         alias.
57272         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
57273         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
57274         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
57275         of adding _internal alias.
57277 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57279         [BZ #14117]
57280         * sysdeps/i386/bits/link.h: Removed.
57281         * sysdeps/i386/bits/linkmap.h: Likewise.
57282         * sysdeps/x86_64/bits/link.h: Renamed to ...
57283         * sysdeps/x86/bits/link.h: This.
57284         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
57285         * sysdeps/x86/bits/linkmap.h: This.
57287         * sysdeps/i386/bits/endian.h: Removed.
57288         * sysdeps/x86_64/bits/endian.h: Renamed to ...
57289         * sysdeps/x86/bits/endian.h: This.
57291         * sysdeps/i386/bits/byteswap.h: Removed.
57292         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57293         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
57294         * sysdeps/x86/bits/byteswap.h: This.
57295         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
57296         * sysdeps/x86/bits/byteswap-16.h: This.
57297         * sysdeps/i386/Implies: Add x86.
57298         * sysdeps/x86_64/Implies: Likewise.
57300 2012-05-30  David S. Miller  <davem@davemloft.net>
57302         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
57303         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
57304         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57305         (FP_TRAPPING_EXCEPTIONS): Define.
57306         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57307         (FP_TRAPPING_EXCEPTIONS): Define.
57308         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
57309         subnormals only when inexact has been signalled or underflow
57310         exceptions are enabled.
57311         (_FP_PACK_CANONICAL): Likewise.
57313 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57315         [BZ #14183]
57316         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
57317         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
57319 2012-05-30  Richard Henderson  <rth@twiddle.net>
57321         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
57322         with #ifndef NOT_IN_libc.
57324         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
57325         marked to avoid plt entry.
57327 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57329         [BZ #14112]
57330         * Makeconfig (default-abi): New macro.
57331         (abi-includes): Likewise.
57332         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
57333         $(abi-$(default-abi)-lib-soname) for soname if defined.
57334         ($(common-objpfx)gnu/lib-names.stmp): Generate from
57335         abi-variants.
57336         * Makefile (installed-stubs): Likewise.
57337         * include/stubs-biarch.h: Removed.
57338         * scripts/lib-names.awk: Only handle one library at a time.
57339         * scripts/soversions.awk: Remove WORDSIZE support.
57340         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
57341         entries.
57342         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
57343         Removed.
57344         (syscall-list-default-condition): Likewise.
57345         (syscall-list-default-condition): Likewise.
57346         (syscall-list-includes): Likewise.
57347         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
57348         syscall-list-* with abi-*.  Handle undefined abi-variants.
57349         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
57350         * sysdeps/unix/sysv/linux/i386/Implies: New file.
57351         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
57352         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
57353         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
57354         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
57355         Removed.
57356         (syscall-list-32-options): Likewise.
57357         (syscall-list-32-condition): Likewise.
57358         (syscall-list-64-options): Likewise.
57359         (syscall-list-64-condition): Likewise.
57360         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
57361         macro.
57362         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
57363         Renamed to ...
57364         (abi-*): This.
57365         (abi-64-ld-soname): New macro.
57366         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
57367         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
57368         Renamed to ...
57369         (abi-*): This.
57370         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
57371         * sysdeps/x86_64/x32/shlib-versions: Likewise.
57373 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
57375         * sysdeps/unix/sysv/linux/kernel-features.h
57376         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
57377         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
57378         include <kernel-features.h>.
57379         [!__NR_ftruncate64]: Remove conditional code.
57380         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57381         [__NR_ftruncate64]: Make code unconditional.
57382         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57383         * sysdeps/unix/sysv/linux/truncate64.c: Do not
57384         include <kernel-features.h>.
57385         [!__NR_ftruncate64]: Remove conditional code.
57386         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57387         [__NR_ftruncate64]: Make code unconditional.
57388         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
57390         include <kernel-features.h>.
57391         [!__NR_ftruncate64]: Remove conditional code.
57392         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57393         [__NR_ftruncate64]: Make code unconditional.
57394         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57396         include <kernel-features.h>.
57397         [!__NR_ftruncate64]: Remove conditional code.
57398         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57399         [__NR_ftruncate64]: Make code unconditional.
57400         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57402         * configure.in (libc_cv_fpie): Weaken to a compile test using
57403         LIBC_TRY_CC_OPTION.
57404         * configure: Regenerated.
57406 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
57409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
57410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
57411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57412         Refreshed.
57413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
57414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
57415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
57416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
57417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
57418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57419         Refreshed.
57421 2012-05-27  David S. Miller  <davem@davemloft.net>
57423         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
57424         (___Q_zero): New.
57425         (__Q_simulate_exceptions): Return void.  Change to simulate
57426         exceptions by writing into the %fsr.
57427         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
57428         (__Qp_handle_exceptions): Likewise.
57429         (numbers): Delete.
57430         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
57431         __Qp_handle_exceptions.
57432         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
57433         __Qp_handle_exceptions.
57434         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57435         as unused and give dummy FP_RND_NEAREST initializer.
57436         (FP_INHIBIT_RESULTS): Define.
57437         (___Q_simulate_exceptions): Update declaration.
57438         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
57439         formatting.
57440         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57441         as unused and give dummy FP_RND_NEAREST initializer.
57442         (__Qp_handle_exceptions): Update declaration.
57443         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
57444         formatting.
57446 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
57448         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
57449         the temporary FPU control word.
57450         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
57451         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
57452         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
57453         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57454         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57455         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
57456         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
57457         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57458         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
57459         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
57460         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57462 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57464         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
57465         fields.
57467 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
57469         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
57470         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
57471         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
57472         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
57473         Likewise.
57474         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
57475         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
57476         Likewise.
57478 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
57480         * po/h.po: Update from translation team.
57482 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
57484         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
57486         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
57487         handling of denormals.
57488         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57489         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57490         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57491         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57492         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57493         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
57494         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
57495         Likewise.
57497 2012-05-26  Marek Polacek  <polacek@redhat.com>
57499         [BZ #14152]
57500         * math/libm-test.inc (fma_test): Don't always expect underflow
57501         exception.
57503 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57505         [BZ #12416]
57506         * elf/tst-execstack.c: Include stackinfo.h.
57507         (do_test): Adjust test case to ensure that pthread_getattr_np
57508         behaviour remains the same after marking stack executable.
57510 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57512         * sysdeps/unix/sysv/linux/kernel-features.h
57513         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
57514         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
57515         kernel-features.h.
57516         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57517         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57518         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
57519         kernel-features.h.
57520         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57521         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57523 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
57525         * configure.in: Define the default includes to being none.
57526         * configure: Regenerated.
57528 2012-05-25  Roland McGrath  <roland@hack.frob.com>
57530         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
57531         * sysdeps/x86_64/setjmp.S: Likewise.
57532         * sysdeps/i386/bsd-setjmp.S: Likewise.
57533         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57534         * sysdeps/i386/setjmp.S: Likewise.
57535         * sysdeps/i386/__longjmp.S: Likewise.
57536         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57537         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
57539         * include/stap-probe.h: New file.
57540         * configure.in: Handle --enable-systemtap.
57541         * configure: Regenerated.
57542         * config.h.in (USE_STAP_PROBE): New #undef.
57543         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
57544         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
57545         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
57547 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57549         [BZ #13717]
57550         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57551         to 2.4.0 where earlier.
57552         * sysdeps/unix/sysv/linux/configure: Regenerated.
57553         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57554         <kernel-features.h>.
57555         [__ASSUME_32BITUIDS]: Make code unconditional.
57556         [!__ASSUME_32BITUIDS]: Remove conditional code.
57557         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
57558         <kernel-features.h>.
57559         [__ASSUME_32BITUIDS]: Make code unconditional.
57560         [!__ASSUME_32BITUIDS]: Remove conditional code.
57561         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
57562         [__ASSUME_32BITUIDS]: Make code unconditional.
57563         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
57564         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
57565         <kernel-features.h>.
57566         [__ASSUME_32BITUIDS]: Make code unconditional.
57567         [!__ASSUME_32BITUIDS]: Remove conditional code.
57568         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
57569         <kernel-features.h>.
57570         [__ASSUME_32BITUIDS]: Make code unconditional.
57571         [!__ASSUME_32BITUIDS]: Remove conditional code.
57572         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
57573         <kernel-features.h>.
57574         [__ASSUME_32BITUIDS]: Make code unconditional.
57575         [!__ASSUME_32BITUIDS]: Remove conditional code.
57576         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
57577         <kernel-features.h>.
57578         [__ASSUME_32BITUIDS]: Make code unconditional.
57579         [!__ASSUME_32BITUIDS]: Remove conditional code.
57580         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57581         <kernel-features.h>.
57582         [__ASSUME_32BITUIDS]: Make code unconditional.
57583         [!__ASSUME_32BITUIDS]: Remove conditional code.
57584         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57585         <kernel-features.h>.
57586         [__ASSUME_32BITUIDS]: Make code unconditional.
57587         [!__ASSUME_32BITUIDS]: Remove conditional code.
57588         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
57589         <kernel-features.h>.
57590         [__ASSUME_32BITUIDS]: Make code unconditional.
57591         [!__ASSUME_32BITUIDS]: Remove conditional code.
57592         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57593         <kernel-features.h>.
57594         [__ASSUME_32BITUIDS]: Make code unconditional.
57595         [!__ASSUME_32BITUIDS]: Remove conditional code.
57596         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57597         <kernel-features.h>.
57598         [__ASSUME_32BITUIDS]: Make code unconditional.
57599         [!__ASSUME_32BITUIDS]: Remove conditional code.
57600         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
57601         <kernel-features.h>.
57602         [__ASSUME_32BITUIDS]: Make code unconditional.
57603         [!__ASSUME_32BITUIDS]: Remove conditional code.
57604         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57605         <kernel-features.h>.
57606         [__NR_setresgid] (__setresgid): Do not declare.
57607         [__ASSUME_32BITUIDS]: Make code unconditional.
57608         [!__ASSUME_32BITUIDS]: Remove conditional code.
57609         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57610         <kernel-features.h>.
57611         [__NR_setresuid] (__setresuid): Do not declare.
57612         [__ASSUME_32BITUIDS]: Make code unconditional.
57613         [!__ASSUME_32BITUIDS]: Remove conditional code.
57614         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.c: Do not include
57635         <kernel-features.h>.
57636         [__ASSUME_32BITUIDS]: Make code unconditional.
57637         [!__ASSUME_32BITUIDS]: Remove conditional code.
57638         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
57639         <kernel-features.h>.
57640         [__ASSUME_32BITUIDS]: Make code unconditional.
57641         [!__ASSUME_32BITUIDS]: Remove conditional code.
57642         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
57643         <kernel-features.h>.
57644         [__ASSUME_32BITUIDS]: Make code unconditional.
57645         [!__ASSUME_32BITUIDS]: Remove conditional code.
57646         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57647         <kernel-features.h>.
57648         [__ASSUME_32BITUIDS]: Make code unconditional.
57649         [!__ASSUME_32BITUIDS]: Remove conditional code.
57650         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57651         <kernel-features.h>.
57652         [__ASSUME_32BITUIDS]: Make code unconditional.
57653         [!__ASSUME_32BITUIDS]: Remove conditional code.
57654         * sysdeps/unix/sysv/linux/kernel-features.h
57655         (__ASSUME_SETRESUID_SYSCALL): Remove.
57656         (__ASSUME_SETRESGID_SYSCALL): Likewise.
57657         (__ASSUME_32BITUIDS): Likewise.
57658         (__ASSUME_LDT_WORKS): Likewise.
57659         (__ASSUME_O_DIRECTORY): Likewise.
57660         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57661         architecture but not kernel version.
57662         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57663         (__ASSUME_MMAP2_SYSCALL): Likewise.
57664         (__ASSUME_STAT64_SYSCALL): Likewise.
57665         (__ASSUME_IPC64): Likewise.
57666         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57667         <kernel-features.h>.
57668         [__ASSUME_32BITUIDS]: Make code unconditional.
57669         [!__ASSUME_32BITUIDS]: Remove conditional code.
57670         * sysdeps/unix/sysv/linux/opendir.c: Do not include
57671         <kernel-features.h>.
57672         [__ASSUME_O_DIRECTORY]: Make code unconditional.
57673         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57674         132096]: Remove conditional code.
57675         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57676         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
57685         <kernel-features.h>.
57686         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57687         unconditional.
57688         (__setresgid): Do not declare.
57689         [__ASSUME_32BITUIDS]: Make code unconditional.
57690         [!__ASSUME_32BITUIDS]: Remove conditional code.
57691         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57692         <kernel-features.h>.
57693         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57694         unconditional.
57695         (__setresuid): Do not declare.
57696         [__ASSUME_32BITUIDS]: Make code unconditional.
57697         [!__ASSUME_32BITUIDS]: Remove conditional code.
57698         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57699         <kernel-features.h>.
57700         [__ASSUME_32BITUIDS]: Make code unconditional.
57701         [!__ASSUME_32BITUIDS]: Remove conditional code.
57702         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57703         <kernel-features.h>.
57704         [__ASSUME_32BITUIDS]: Make code unconditional.
57705         [!__ASSUME_32BITUIDS]: Remove conditional code.
57707 2012-05-25  Richard Henderson  <rth@twiddle.net>
57709         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57710         dl_hwcap to ifunc resolver.
57711         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57712         elf_ifunc_invoke.
57713         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57714         dl_hwcap to ifunc resolver.
57715         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57717 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57719         [BZ #14153]
57720         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57721         for |x| <= 2**-26, not 2**-57.
57722         * math/libm-test.inc (acos_test): Do not allow spurious underflow
57723         exception.
57725 2012-05-24  Jeff Law  <law@redhat.com>
57727         * stdio-common/Makefile (tests): Add bug25.
57728         * stdio-common/bug25.c: New test.
57730 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57732         [BZ #13576]
57733         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57734         multiple of MALLOC_ALIGNMENT in size.
57735         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57737 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57739         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57740         Require >= 256.
57741         (FILENAME_MAX): Use macro-int-constant.
57742         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
57743         (_IOFBF): Use macro-int-constant.
57744         (_IOLBF): Likewise.
57745         (_IONBF): Likewise.
57746         (SEEK_CUR): Likewise.
57747         (SEEK_END): Likewise.
57748         (SEEK_SET): Likewise.
57749         (TMP_MAX): Likewise.
57750         (EOF): Use macro-int-constant.  Require < 0.
57751         (NULL): Use macro-constant.  Require == 0.
57752         (stdin): Require type to be FILE *.
57753         (stdout): Likewise.
57754         (stderr): Likewise.
57755         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57756         macro-int-constant.
57757         (EXIT_SUCCESS): Likewise.
57758         (NULL): Use macro-constant.  Require == 0.
57759         (RAND_MAX): Use macro-int-constant.
57760         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
57761         [C99-based standards] (strtof): Require function.
57762         [C99-based standards] (strtold): Likewise.
57763         [C99-based standards] (strtoll): Likewise.
57764         [C99-based standards] (strtoull): Likewise.
57765         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57766         [ISO || ISO99 || ISO11] (limits.h): Likewise.
57767         [ISO || ISO99 || ISO11] (math.h): Likewise.
57768         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
57769         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57770         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57772 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
57774         [BZ #14132]
57775         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
57776         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
57777         * intl/dgettext.c (DCGETTEXT): Likewise.
57778         * intl/gettext.c (DCGETTEXT): Likewise.
57779         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
57780         * posix/regex_internal.h (gettext): Likewise.
57781         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
57782         Remove declaration.
57783         * include/argz.h (__argz_count_internal)
57784         (__argz_stringify_internal): Remove declaration.
57785         (__argz_count, __argz_stringify): Declare hidden proto.
57786         * intl/dcgettext.c: Remove use of INTDEF.
57787         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
57788         * string/argz-stringify.c: Likewise.
57789         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57790         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57791         Declare hidden proto.
57792         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57793         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57794         Declare hidden proto.
57795         * include/stdio.h (__asprintf_internal): Don't declare.
57796         (__asprintf): Don't define as macro.  Declare hidden proto.
57797         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
57798         (__fsetlocking): Declare hidden proto.
57799         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
57800         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
57801         hidden proto.
57802         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
57803         (_IO_setlinebuf): Remove use of INTUSE.
57804         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
57805         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
57806         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
57807         Remove declaration.
57808         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
57809         (_IO_do_flush): Remove use of INTUSE.
57810         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
57811         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
57812         (_IO_adjust_column, _IO_least_wmarker)
57813         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
57814         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
57815         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
57816         (_IO_default_doallocate, _IO_wdefault_doallocate)
57817         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
57818         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
57819         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
57820         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
57821         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
57822         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
57823         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
57824         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
57825         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
57826         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
57827         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
57828         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
57829         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
57830         proto.
57831         (_IO_flush_all_internal, _IO_adjust_column_internal)
57832         (_IO_default_uflow_internal, _IO_default_finish_internal)
57833         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
57834         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
57835         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
57836         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
57837         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
57838         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
57839         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
57840         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
57841         (_IO_file_close_internal, _IO_file_close_it_internal)
57842         (_IO_file_underflow_internal, _IO_file_overflow_internal)
57843         (_IO_file_init_internal, _IO_file_attach_internal)
57844         (_IO_file_fopen_internal, _IO_file_read_internal)
57845         (_IO_file_sync_internal, _IO_file_seek_internal)
57846         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
57847         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
57848         (_IO_str_underflow_internal, _IO_str_overflow_internal)
57849         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
57850         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
57851         (_IO_list_all_internal, _IO_link_in_internal)
57852         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
57853         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
57854         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
57855         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
57856         (_IO_do_write_internal, _IO_padn_internal)
57857         (_IO_getline_info_internal, _IO_getline_internal)
57858         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
57859         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
57860         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
57861         (_IO_vfscanf_internal, _IO_vfprintf_internal)
57862         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
57863         (_IO_init_internal, _IO_un_link_internal): Don't declare.
57864         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
57865         with libc_hidden_ver, remove use of INTUSE.
57866         * libio/genops.c: Likewise.
57867         * libio/freopen.c: Likewise.
57868         * libio/freopen64.c: Likewise.
57869         * libio/iofclose.c: Likewise.
57870         * libio/iofdopen.c: Likewise.
57871         * libio/iofflush.c: Likewise.
57872         * libio/iofflush_u.c: Likewise.
57873         * libio/iofgets.c: Likewise.
57874         * libio/iofgets_u.c: Likewise.
57875         * libio/iofopen.c: Likewise.
57876         * libio/iofopncook.c: Likewise.
57877         * libio/iofread.c: Likewise.
57878         * libio/iofread_u.c: Likewise.
57879         * libio/ioftell.c: Likewise.
57880         * libio/iofwrite.c: Likewise.
57881         * libio/iogetline.c: Likewise.
57882         * libio/iogets.c: Likewise.
57883         * libio/iogetwline.c: Likewise.
57884         * libio/iopadn.c: Likewise.
57885         * libio/iopopen.c: Likewise.
57886         * libio/ioseekoff.c: Likewise.
57887         * libio/ioseekpos.c: Likewise.
57888         * libio/iosetbuffer.c: Likewise.
57889         * libio/iosetvbuf.c: Likewise.
57890         * libio/ioungetc.c: Likewise.
57891         * libio/ioungetwc.c: Likewise.
57892         * libio/iovdprintf.c: Likewise.
57893         * libio/iovsprintf.c: Likewise.
57894         * libio/iovsscanf.c: Likewise.
57895         * libio/memstream.c: Likewise.
57896         * libio/obprintf.c: Likewise.
57897         * libio/oldfileops.c: Likewise.
57898         * libio/oldiofclose.c: Likewise.
57899         * libio/oldiofdopen.c: Likewise.
57900         * libio/oldiofopen.c: Likewise.
57901         * libio/oldiopopen.c: Likewise.
57902         * libio/oldstdfiles.c: Likewise.
57903         * libio/putc.c: Likewise.
57904         * libio/setbuf.c: Likewise.
57905         * libio/setlinebuf.c: Likewise.
57906         * libio/stdfiles.c: Likewise.
57907         * libio/strops.c: Likewise.
57908         * libio/vasprintf.c: Likewise.
57909         * libio/vscanf.c: Likewise.
57910         * libio/vsnprintf.c: Likewise.
57911         * libio/vswprintf.c: Likewise.
57912         * libio/wfiledoalloc.c: Likewise.
57913         * libio/wfileops.c: Likewise.
57914         * libio/wgenops.c: Likewise.
57915         * libio/wmemstream.c: Likewise.
57916         * libio/wstrops.c: Likewise.
57917         * libio/__fpurge.c: Likewise.
57918         * libio/__fsetlocking.c: Likewise.
57919         * assert/assert.c: Likewise.
57920         * debug/fgets_chk.c: Likewise.
57921         * debug/fgets_u_chk.c: Likewise.
57922         * debug/fread_chk.c: Likewise.
57923         * debug/fread_u_chk.c: Likewise.
57924         * debug/gets_chk.c: Likewise.
57925         * debug/obprintf_chk.c: Likewise.
57926         * debug/vasprintf_chk.c: Likewise.
57927         * debug/vdprintf_chk.c: Likewise.
57928         * debug/vsnprintf_chk.c: Likewise.
57929         * debug/vsprintf_chk.c: Likewise.
57930         * malloc/mtrace.c: Likewise.
57931         * misc/error.c: Likewise.
57932         * misc/syslog.c: Likewise.
57933         * stdio-common/asprintf.c: Likewise.
57934         * stdio-common/fxprintf.c: Likewise.
57935         * stdio-common/getw.c: Likewise.
57936         * stdio-common/isoc99_fscanf.c: Likewise.
57937         * stdio-common/isoc99_scanf.c: Likewise.
57938         * stdio-common/isoc99_vfscanf.c: Likewise.
57939         * stdio-common/isoc99_vscanf.c: Likewise.
57940         * stdio-common/isoc99_vsscanf.c: Likewise.
57941         * stdio-common/printf-prs.c: Likewise.
57942         * stdio-common/printf_fp.c: Likewise.
57943         * stdio-common/printf_fphex.c: Likewise.
57944         * stdio-common/printf_size.c: Likewise.
57945         * stdio-common/putw.c: Likewise.
57946         * stdio-common/scanf.c: Likewise.
57947         * stdio-common/sprintf.c: Likewise.
57948         * stdio-common/tmpfile.c: Likewise.
57949         * stdio-common/vfprintf.c: Likewise.
57950         * stdio-common/vfscanf.c: Likewise.
57951         * stdlib/strfmon_l.c: Likewise.
57952         * sunrpc/openchild.c: Likewise.
57953         * sunrpc/xdr_stdio.c: Likewise.
57954         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
57955         * sysdeps/mach/hurd/tmpfile.c: Likewise.
57957 2012-05-24  Roland McGrath  <roland@hack.frob.com>
57959         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57961         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
57962         in the third column, to generate for the shared library an IFUNC
57963         that uses _dl_vdso_vsym.
57964         * Makerules (COMPILE.c, compile-stdin.c): New variables.
57965         * Makeconfig (object-suffixes-noshared): New variable.
57967         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
57968         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
57969         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
57970         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
57972         [BZ #14132]
57973         * include/sys/time.h (__gettimeofday): Remove macro.
57974         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
57975         * time/gettimeofday.c (__gettimeofday): Remove #undef.
57976         Remove INTDEF.
57977         (__gettimeofday): Add libc_hidden_def.
57978         (gettimeofday): Add libc_hidden_weak.
57979         * sysdeps/mach/gettimeofday.c: Likewise.
57980         * sysdeps/posix/gettimeofday.c: Likewise.
57981         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
57982         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
57983         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
57984         (__gettimeofday_internal): Remove strong_alias.
57985         (__gettimeofday): Add libc_hidden_def.
57986         (gettimeofday): Add libc_hidden_weak.
57987         * sysdeps/unix/syscalls.list (gettimeofday):
57988         Remove __gettimeofday_internal alias.
57990 2012-05-24  Daniel Jacobowitz  <drow@false.org>
57991             H.J. Lu  <hongjiu.lu@intel.com>
57993         [BZ #12495]
57994         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
57995         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
57996         (largebin_index_32_big): New.
57997         (largebin_index): Use it for 16-byte alignment.
57998         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
57999         correction with front_misalign.
58001 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
58004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
58005         Likewise.
58006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
58007         Likewise.
58008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58009         Likewise.
58010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
58011         Likewise.
58012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
58013         Likewise.
58014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
58015         Likewise.
58016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
58017         Likewise.
58018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58019         Likewise.
58020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
58021         Likewise.
58022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
58023         Likewise.
58024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
58025         Likewise.
58026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
58027         Likewise.
58029         * scripts/data/c++-types-x32-linux-gnu.data: New file.
58030         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
58032 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58034         [BZ #10846]
58035         [BZ #14036]
58036         * math/libm-test.inc (exp_test): Add test from bug 14036.
58037         (pow_test): Add test from bug 10846.
58039         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
58040         and other flags.
58041         (special_function): Do not include flags in test name.
58042         (parse_args): Likewise.
58043         * sysdeps/i386/fpu/libm-test-ulps: Update.
58044         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58045         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58046         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58049         * math/gen-libm-test.pl (%beautify): Add entries for underflow
58050         exceptions.
58051         * math/libm-test.inc ("Philosophy"): Update comment about
58052         exception testing.
58053         (UNDERFLOW_EXCEPTION): New macro.
58054         (UNDERFLOW_EXCEPTION_OK): Likewise.
58055         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
58056         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
58057         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
58058         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
58059         (INVALID_EXCEPTION_OK): Update value.
58060         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58061         (OVERFLOW_EXCEPTION_OK): Likewise.
58062         (IGNORE_ZERO_INF_SIGN): Likewise.
58063         (test_exceptions): Handle underflow exceptions.
58064         (acos_test): Update for underflow exception expectations.
58065         (cexp_test): Likewise.
58066         (clog_test): Likewise.
58067         (clog10_test): Likewise.
58068         (csqrt_test): Likewise.
58069         (ctan_test): Likewise.
58070         (ctanh_test): Likewise.
58071         (exp_test): Likewise.
58072         (exp10_test): Likewise.
58073         (exp2_test): Likewise.
58074         (expm1_test): Likewise.
58075         (fma_test): Likewise.
58076         (j0_test): Likewise.
58077         (jn_test): Likewise.
58078         (nexttoward_test): Likewise.
58079         (pow_test): Likewise.
58080         (scalbn_test): Likewise.
58081         (scalbln_test): Likewise.
58082         (tan_test): Likewise.
58083         (y1_test): Likewise.
58084         * sysdeps/i386/fpu/libm-test-ulps: Update.
58085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58087 2012-05-23  David S. Miller  <davem@davemloft.net>
58089         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58090         (__libc_sigaction): Remove unused local variables.
58092 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58094         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
58096 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
58098         mktime: avoid signed integer overflow
58099         * time/mktime.c (__mktime_internal): Do not mishandle the case
58100         where diff == INT_MIN.
58102         mktime: simplify computation of average
58103         * time/mktime.c (ranged_convert): Use new time_t_avg function
58104         instead of rolling our own (probably-slower) code.
58106         mktime: do not assume signed right shift propagates sign bit
58107         * time/mktime.c (isdst_differ): New static function.
58108         (__mktime_internal): No need to normalize tm_isdst now.
58109         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
58110         tm_isdst values.
58112         mktime: merge another wrapv change from gnulib
58113         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
58114         from some compilers.
58116         mktime: remove incorrect attempt at unusual arithmetics
58117         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
58118         The code didn't really work on such machines anyway.
58119         (TYPE_MINIMUM): Assume two's complement.
58120         (twos_complement_arithmetic): Verify that long_int and time_t
58121         are two's complement (or unsigned, in the latter case).
58123         mktime: check signed shifts on long_int and time_t, too
58124         * time/mktime.c (SHR): Check that shifts work as desired
58125         on the types long_int and time_t too, as SHR is used on
58126         such types.
58128         mktime: do not assume 'long' is wide enough
58129         * time/mktime.c (verify): Move decl up.
58130         (long_int): New type.
58131         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
58132         to remove assumption in the code that 'long' is wide enough to
58133         store year values.  This assumption is not true on x32 and on
58134         some non-glibc platforms.
58136         mktime: merge wrapv change from gnulib
58137         * time/mktime.c (WRAPV): New macro.
58138         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
58139         (guess_time_tm, __mktime_internal): Do not assume that signed
58140         integer overflow wraps around; modern compilers generate code
58141         where this assumption is no longer valid.
58143 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58145         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58146         Replace "jmp L(pseudo_end)" with "ret".
58147         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
58148         Likewise.
58150 2012-05-23  Andreas Jaeger  <aj@suse.de>
58152         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
58153         * sysdeps/unix/sysv/linux/poll.c: Remove file.
58155 2012-05-23  Andreas Jaeger  <aj@suse.de>
58156             Maximilian Attems  <max@stro.at>
58158         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
58159         New macros.
58161 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58163         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
58164         code so that pseudo_end is just ret and the stack pointer is
58165         correct also for static library in error case.
58167 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
58169         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
58170         move to syscalls.list.
58171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
58172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
58173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
58174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
58176         * manual/install.texi (Running make install): Do not mention Linux
58177         kernel version for which pt_chown is not needed.
58178         (Linux): Do not mention problems with nscd with 2.0 kernels.
58179         * INSTALL: Regenerated.
58181 2012-05-23  Andreas Jaeger  <aj@suse.de>
58183         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
58184         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
58185         macro.
58186         * sysdeps/unix/sysv/linux/s390/bits/mman.h
58187         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58188         * sysdeps/unix/sysv/linux/sh/bits/mman.h
58189         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58190         * sysdeps/unix/sysv/linux/i386/bits/mman.h
58191         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58192         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
58193         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58194         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
58195         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58196         * sysdeps/unix/sysv/linux/bits/in.h
58197         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
58199 2012-05-22  Roland McGrath  <roland@hack.frob.com>
58201         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
58202         (PREPARE_VERSION): Just use assert instead, it will be elided
58203         under [NDEBUG] anyway.
58205 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58207         * sysdeps/unix/sysv/linux/Makefile: Include
58208         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
58209         (sysdep_routines): Remove sysctl.
58210         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
58211         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
58212         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
58213         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
58214         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
58216 2012-05-22  Andreas Jaeger  <aj@suse.de>
58218         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
58219         that pseudo_end is just ret and the stack pointer is correct also
58220         for static library in error case.
58222 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
58224         [BZ #14122]
58225         * nss/nsswitch.c (defconfig_entries): New variable.
58226         (__nss_database_lookup): Don't leak defconfig entries.
58227         (nss_parse_service_list): Don't leak on error paths.
58228         (free_database_entries): New function.
58229         (free_defconfig): New function.
58230         (free_mem): Move common code to free_database_entries.
58232 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58234         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
58235         Add arch_prctl.
58236         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
58238         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
58239         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
58240         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
58241         New macro.
58242         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
58243         (INTERNAL_SYSCALL_TYPES): Likewise.
58244         (LOAD_ARGS_TYPES_[1-6]): Likewise.
58245         (LOAD_REGS_TYPES_[1-6]): Likewise.
58246         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
58247         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
58249 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58251         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
58252         copysignl for GLIBC_2_0.
58253         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
58254         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
58255         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
58256         logbl for GLIBC_2_0.
58257         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
58258         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
58260 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58262         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
58263         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58265         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58266         Use "neg %eax".
58268         * time/mktime.c: Update copyright years.
58270 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
58272         mktime: merge comment-quoting-style change from gnulib
58273         * time/mktime.c: Quote 'like this' in comments.
58274         The GNU coding standards suggest that we no longer quote `like this',
58275         as "`" and "'" are typically rendered asymmetrically nowadays.
58276         The typical gnulib style is to quote 'like this' when quoting
58277         code, and "like this" when quoting English.
58279         * time/mktime.c (compile-command): Add "-I.".
58281         mktime: merge mktime-internal.h change from gnulib
58282         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
58284         mktime: merge time_r change from gnulib
58285         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
58287         mktime: merge DEBUG change from gnulib
58288         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
58289         case system <time.h> has a #define.
58291         mktime: merge <sys/types.h> change from gnulib
58292         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
58293         since <time.t> is now guaranteed to define time_t.
58295         mktime: merge HAVE_CONFIG_H change from gnulib
58296         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
58298 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58300         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58301         Use "neg %eax".
58303         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
58304         __rlim_t cast.
58305         (struct rusage): Use anonymous union to pad each field to
58306         __syscall_slong_t.
58308 2012-05-21  David S. Miller  <davem@davemloft.net>
58310         * Makefules (o-iterator): Remove .s cases.
58311         (compile-command.s): Delete.
58312         (COMPILE.s): Delete.
58313         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
58315 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
58317         * configure.in (libc_cv_predef_stack_protector): Only consider
58318         "foobar" and "__stack_chk_fail" lines in libc_undefs.
58319         * configure: Regenerated.
58321 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58323         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58324         New macro.  Use R*LP on int and pointer.
58325         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
58326         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
58327         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
58328         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
58330         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
58331         [__WORDSIZE_TIME64_COMPAT32] instead of
58332         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
58333         (struct utmp): Likewise.
58334         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
58335         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
58336         Renamed to ...
58337         (__WORDSIZE_TIME64_COMPAT32): This.
58338         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
58339         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
58340         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
58341         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
58342         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
58343         (__WORDSIZE_TIME64_COMPAT32): New macro.
58345 2012-05-21  Andreas Jaeger  <aj@suse.de>
58347         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
58348         only if [SHARED]. Add prototype for __wcschr_ia32.
58350 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58352         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
58353         of %rbp unmolested in the jmp_buf while mangling the low bits.
58354         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
58355         unmolested high bits of %rbp while demangling the low bits.
58356         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58358 2012-05-21  Andreas Jaeger  <aj@suse.de>
58360         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
58361         * sunrpc/svc_simple.c: Use it for registerrpc.
58362         * sunrpc/xcrypt.c: Use it for passwd2des.
58364         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
58366 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58368         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
58369         Don't define if [__SYSCALL_WORDSIZE != 32].
58370         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
58371         New macro.
58373 2012-05-21  Bruno Haible  <bruno@clisp.org>
58374             Andreas Jaeger  <aj@suse.de>
58376         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
58377         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
58378         inptr and inend for must_buffer_ch.
58379         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
58380         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
58381         * stdio-common/Makefile (tests): Remove bug15.
58382         (bug15-ENV): Remove macro.
58383         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
58384         anymore.
58386 2012-05-19  Andreas Jaeger  <aj@suse.de>
58387             Roland McGrath  <roland@hack.frob.com>
58389         * manual/contrib.texi: Completely rewritten. It contains now an
58390         alphabetical list of contributors and their contributions.
58392 2012-05-21  Richard Henderson  <rth@twiddle.net>
58394         * misc/getauxval.c (__getauxval): Use unsigned long int.
58395         * misc/sys/auxv.h: Include <sys/cdefs.h>.
58396         (getauxval): Use unsigned long int.
58398 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58400         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58402 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58404         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
58405         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
58406         __alignof__ (long double).
58408 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58412 2012-05-20  Richard Henderson  <rth@twiddle.net>
58414         * misc/getauxval.c: New file.
58415         * misc/sys/auxv.h: New file.
58416         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
58417         (routines): Add getauxval.
58418         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
58419         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
58420         * elf/dl-sysdep.c (_dl_auxv): Remove.
58421         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
58422         * elf/dl-support.c (_dl_auxv): New variable.
58423         (_dl_aux_init): Initialize it.
58424         * manual/startup.texi (Auxiliary Vector): New node.
58425         * sysdeps/generic/bits/hwcap.h: New file.
58426         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
58427         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
58428         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
58429         * sysdeps/sparc/sysdep.h: ... here.  Include it.
58430         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
58431         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
58432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58433         Update.
58434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
58435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
58436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
58437         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
58438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
58441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
58443 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58447 2012-05-19  David S. Miller  <davem@davemloft.net>
58449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58451 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58453         [BZ #14123]
58454         * math/s_ccosh.c: Include <float.h>
58455         (__ccosh): Avoid internal overflow calculating sinh and cosh
58456         values before multiplying by sin and cos values.
58457         * math/s_ccoshf.c: Likewise.
58458         * math/s_ccoshl.c: Likewise.
58459         * math/s_csin.c: Likewise.
58460         * math/s_csinf.c: Likewise.
58461         * math/s_csinl.c: Likewise.
58462         * math/s_csinh.c: Likewise.
58463         * math/s_csinhf.c: Likewise.
58464         * math/s_csinhl.c: Likewise.
58465         * math/libm-test.inc (ccos_test): Add more tests.
58466         (ccosh_test): Likewise.
58467         (csin_test): Likewise.
58468         (csinh_test): Likewise.
58469         * sysdeps/i386/fpu/libm-test-ulps: Update.
58470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58472 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
58474         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
58475         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
58477         * sysdeps/x86_64/x32/_itoa.h: Add comment.
58479 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58481         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
58482         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
58483         * sysdeps/powerpc/soft-fp/Versions: Likewise.
58484         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
58485         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
58486         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
58487         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
58488         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
58489         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
58490         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
58491         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
58492         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
58493         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
58494         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
58495         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
58496         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
58497         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
58498         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
58499         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
58500         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
58501         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
58502         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
58503         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
58504         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
58505         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
58506         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
58507         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
58508         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
58509         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
58510         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
58511         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
58513 2012-05-18  Andreas Jaeger  <aj@suse.de>
58515         * csu/.gitignore: Delete.
58517 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58519         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
58520         (timex): Use __syscall_slong_t.
58522 2012-05-18  Andreas Jaeger  <aj@suse.de>
58523             Carlos O'Donell  <carlos_odonell@mentor.com>
58525         * manual/install.texi (Configuring and compiling): Update
58526         description about files modified in the source directory.
58527         * INSTALL: Regenerated.
58529 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58531         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
58532         value.  Use "or" to set return value to -1.
58533         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
58534         negate return value.
58536 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58538         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
58539         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
58540         failure if the compiler has Graphite support disabled.
58541         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
58542         Likewise.
58543         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
58544         (CFLAGS-memmove.c): Likewise.
58545         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
58546         Likewise.
58548 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58550         * sysdeps/x86_64/x32/_itoa.h: New file.
58552         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
58553         getdents system call only if kernel and user dirents have the
58554         same d_ino and d_off.
58556         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58557         LLONG_MAX != LONG_MAX.
58558         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58559         (_fitoa_word): Likewise.
58561         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
58562         years.
58563         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
58564         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
58565         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
58567         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
58568         include <bits/wordsize.h>.  Check __x86_64__ instead of
58569         __WORDSIZE.
58570         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
58571         if __x86_64__ is defined.  Use anonymous union on fpstate.
58573         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
58574         anonymous union.
58576 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
58578         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
58579         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
58580         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
58581         Refer to _rtld_local_ro instead of _rtld_global_ro.
58582         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
58583         Likewise.
58584         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
58585         Likewise.
58586         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
58587         Likewise.
58588         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
58589         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
58590         of _rtld_global, and rtld_progname instead of _dl_argv[0].
58592         [BZ #10882]
58593         * sysdeps/powerpc/powerpc32/dl-machine.c
58594         (__elf_machine_runtime_setup) [PROF]: Don't reference
58595         _dl_prof_resolve.
58597 2012-05-18  Andreas Jaeger  <aj@suse.de>
58599         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
58600         function only available for GCCs before 3.4 since GCC 3.4
58601         introduced a builtin.
58602         (lrint): Likewise.
58603         (llrintf): Likewise.
58604         (llrint): Likewise.
58605         (fmaxf): Likewise.
58606         (fmax): Likewise.
58607         (fminf): Likewise.
58608         (fmin): Likewise.
58609         (rint): Likewise.
58610         (rintf): Likewise.
58611         (nearbyint): Likewise.
58612         (nearbyintf): Likewise.
58613         (ceil): Likewise.
58614         (ceilf): Likewise.
58615         (floor): Likewise.
58616         (floorf): Likewise.
58618 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58620         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58621         on both fields and cast pointer to __syscall_ulong_t.
58623         * bits/types.h (__fsword_t): New type.
58624         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58625         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58626         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58627         (__FSWORD_T_TYPE): Likewise.
58628         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58629         (__FSWORD_T_TYPE): Likewise.
58630         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58631         (__FSWORD_T_TYPE): Likewise.
58632         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58633         (__FSWORD_T_TYPE): Likewise.
58634         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58635         __SWORD_TYPE with __fsword_t.
58636         (statfs64): Likewise.
58638 2012-05-17  David S. Miller  <davem@davemloft.net>
58640         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58642 2012-05-17  Andreas Jaeger  <aj@suse.de>
58644         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58645         warning.
58647 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58649         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58651 2012-05-17  Andreas Jaeger  <aj@suse.de>
58653         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58654         when it is used.
58656 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58658         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58660 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58662         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58663         * sysdeps/x86_64/tst-mallocalign1.c: New file.
58665 2012-05-17  Andreas Jaeger  <aj@suse.de>
58666             Carlos O'Donell  <carlos_odonell@mentor.com>
58668         [BZ #14059]
58669         * sysdeps/x86_64/multiarch/init-arch.h
58670         (bit_YMM_Usable): Rename to...
58671         (bit_AVX_Usable): ... this.
58672         (bit_FMA4_Usable): New macro.
58673         (bit_XMM_state): New macro.
58674         (bit_YMM_state): New macro.
58675         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58676         [__ASSEMBLER__] (index_AVX_Usable): ... this.
58677         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58678         (CPUID_OSXSAVE): New macro.
58679         (CPUID_AVX): New macro.
58680         (CPUID_FMA4): New macro.
58681         (index_YMM_Usable): Rename to...
58682         (index_AVX_Usable): ... this.
58683         (HAS_AVX): Use HAS_ARCH_FEATURE.
58684         (HAS_FMA4): Likewise.
58685         (HAS_YMM_USABLE): Remove.
58686         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58687         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58688         are present.
58689         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58690         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58691         * sysdeps/x86_64/multiarch/Makefile: Likewise.
58692         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58693         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58695 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58697         * math/libm-test.c: Support platforms without multiple rounding modes.
58698         * math/bug-nextafter.c: Support platforms without FP exceptions.
58699         * math/bug-nexttoward.c: Likewise.
58700         * math/test-fenv.c: Likewise.
58701         * math/test-misc.c: Likewise.
58702         * stdlib/bug-getcontext.c: Likewise.
58704 2012-05-17  Andreas Jaeger  <aj@suse.de>
58706         * manual/examples/search.c (critter_cmp): Change signature to
58707         avoid warnings.
58708         * manual/string.texi (Collation Functions): Likewise.
58710 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58712         * bits/types.h: Fold copyright years.
58713         * bits/typesizes.h: Likewise.
58714         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58715         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58716         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58717         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58718         * time/time.h: Likewise.
58720 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
58722         [BZ #208]
58723         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58724         in instead of returning them.  Return void.
58725         (__libc_mallinfo): Accumulate over all arenas.
58726         (__malloc_stats): Adjust for change in int_mallinfo interface.
58728 2012-05-16  Roland McGrath  <roland@hack.frob.com>
58730         [BZ #10375]
58731         * configure.in (NM): Add AC_CHECK_TOOL for it.
58732         (libc_extra_cflags): New substituted variable.
58733         Check for -fstack-protector being used implicitly.
58734         * configure: Regenerated.
58735         * config.make.in (config-extra-cflags): New variable,
58736         gets @libc_extra_cflags@.
58737         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58739         [BZ #10375]
58740         * configure.in: Check for _FORTIFY_SOURCE being predefined.
58741         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58742         * configure: Regenerated.
58743         * config.make.in (CPPUNDEFS): New substituted variable.
58744         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58745         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58746         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58748 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58750         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58751         (mq_attr): Use __syscall_slong_t.
58753 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58755         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58756         Check __x86_64__ instead of __WORDSIZE.
58757         (_STAT_VER_LINUX): Likewise.
58758         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
58759         __syscall_ulong_t and __syscall_slong_t.
58760         (stat64): Likewise.
58762 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58764         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
58766 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58768         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
58770 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58772         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
58773         __syscall_ulong_t.
58775         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
58776         include <bits/wordsize.h>.  Check __x86_64__ instead of
58777         __WORDSIZE.
58778         (greg_t): Use "__extension__ long long int" if __x86_64__ is
58779         defined.
58780         (mcontext_t): Replace "unsigned long" with "unsigned long long".
58782         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
58783         include <bits/wordsize.h>.  Check __x86_64__ instead of
58784         __WORDSIZE.
58785         (user_regs_struct): Use "__extension__ unsigned long long"
58786         instead of "unsigned long" if __x86_64__ is defined.
58787         (user): Likewise.  Pad after pointer field if __ILP32__ is
58788         defined.
58790 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
58792         * configure.in (makeinfo): Require version 4.5 or later.  Allow
58793         versions 5 to 9.
58794         * configure: Regenerated.
58795         * manual/install.texi (texinfo): Increase version requirement to
58796         4.5 or later.
58797         * INSTALL: Regenerated.
58799         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
58801 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58803         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
58805         * sysdeps/x86_64/x32/ffs.c: New file.
58807         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
58808         __syscall_ulong_t.
58809         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
58810         defined.  Use __syscall_ulong_t.
58811         (shminfo): Use __syscall_ulong_t.
58812         (shm_info): Likewise.
58814         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
58815         __syscall_ulong_t.
58817         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
58818         <bits/wordsize.h>.
58819         (msgqnum_t): Use __syscall_ulong_t.
58820         (msglen_t): Likewise.
58821         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
58822         __syscall_ulong_t.
58824         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
58825         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58827         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
58829         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
58830         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
58832         * sysvipc/sys/msg.h (msgbuf): Replace long int with
58833         __syscall_slong_t.
58835         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
58836         include <bits/wordsize.h>.  Check __x86_64__ instead of
58837         __WORDSIZE.
58839         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
58840         "unsigned long long int" if __x86_64__ is defined.
58841         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
58843         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
58844         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58845         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
58847         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
58848         <stdint.h>.
58849         (GET_PC): Cast to uintptr_t first.
58850         (GET_FRAME): Likewise.
58851         (GET_STACK): Likewise.
58853         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
58854         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
58855         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
58856         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
58857         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
58858         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
58859         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
58860         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
58861         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
58862         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
58863         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
58864         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
58865         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58866         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
58867         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
58868         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
58869         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
58870         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
58871         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
58872         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
58873         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
58874         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
58875         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
58876         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
58877         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
58878         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
58879         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
58880         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
58881         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
58883 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
58885         * Makerules (+depfiles): Also collect depfiles from .oS in
58886         $(extra-objs).
58887         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
58888         .oS, $(libnldbl-routines)).
58890         * Makerules (native-compile-mkdep-flags): Define.
58891         * sunrpc/Makefile (extra-objs): Add $(addprefix
58892         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
58893         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
58894         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
58895         calling $(make-target-directory).
58897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58899         * bits/types.h (__snseconds_t): Removed.
58900         * time/time.h (struct timespec): Replace __snseconds_t with
58901         __syscall_slong_t.
58902         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
58903         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
58904         Likewise.
58905         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58906         (__SNSECONDS_T_TYPE): Likewise.
58907         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58908         (__SNSECONDS_T_TYPE): Likewise.
58909         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58910         (__SNSECONDS_T_TYPE): Likewise.
58912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58914         * sysdeps/mach/hurd/bits/typesizes.h
58915         (__SYSCALL_SLONG_TYPE): New macro.
58916         (__SYSCALL_ULONG_TYPE): Likewise.
58918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58920         * bits/types.h (__syscall_slong_t): New type.
58921         (__syscall_ulong_t): Likewise.
58923         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
58924         (__SYSCALL_ULONG_TYPE): Likewise.
58925         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58926         (__SYSCALL_SLONG_TYPE): Likewise.
58927         (__SYSCALL_ULONG_TYPE): Likewise.
58928         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58929         (__SYSCALL_SLONG_TYPE): Likewise.
58930         (__SYSCALL_ULONG_TYPE): Likewise.
58931         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58932         (__SYSCALL_SLONG_TYPE): Likewise.
58933         (__SYSCALL_ULONG_TYPE): Likewise.
58935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58937         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
58938         Add sigaltstack-offsets.sym.
58939         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
58940         <sigaltstack-offsets.h>.
58941         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
58942         longjmp_msg pointer.
58943         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
58944         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
58945         signal stack.
58946         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
58948 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58950         * elf/stackguard-macros.h: Remove file.
58951         * sysdeps/generic/stackguard-macros.h: New file.
58952         * sysdeps/i386/stackguard-macros.h: Likewise.
58953         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58954         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58955         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58956         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58957         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58958         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58959         * sysdeps/x86_64/stackguard-macros.h: Likewise.
58960         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
58961         <elf/stackguard-macros.h>.
58963         [BZ #14109]
58964         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
58965         __aligned__ in attribute.
58966         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
58967         (gregset_t): Likewise.
58969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58971         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
58972         * sysdeps/x86_64/64/Implies-after: Here.  New file.
58973         * sysdeps/x86_64/x32/Implies-after: New file.
58975 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58977         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
58978         and access return value for _dl_profile_fixup.  Use R10_LP to
58979         load frame size.
58981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58983         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
58985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58987         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
58988         * sysdeps/x86_64/x32/sysdep.h: New file.
58990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58992         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
58993         * sysdeps/x86_64/setjmp.S: Likewise.
58995 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58997         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
58998         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
58999         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
59000         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
59001         remove unused global constant.
59003 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
59005         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
59006         include of <not-cancel.h>.
59008 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59010         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
59012 2012-05-15  Jeff Law  <law@redhat.com>
59013             Andreas Jaeger  <aj@suse.de>
59015         [BZ #13594]
59016         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
59017         out from...
59018         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
59019         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
59020         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
59021         code changing __hst_map_handle.map.
59023 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59025         * configure.in (sysnames): Look for Implies-before and Implies-after
59026         files.
59027         * configure: Regenerated.
59029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59031         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
59032         8-byte data alignment with LP_SIZE alignment.
59034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59036         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
59037         into R10_LP.
59039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59041         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
59043 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59045         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
59046         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
59047         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
59048         Likewise.
59049         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59053         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
59054         (stackinfo_sub_sp): Likewise.
59056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59058         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
59059         RAX_LP.
59061 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59063         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
59064         into R*_LP.
59066 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59068         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
59069         sizes into R*_LP.
59071 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59073         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
59075 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59077         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
59078         into R11_LP and load __x86_64_shared_cache_size_half into
59079         R8_LP.
59081 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59083         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
59084         R8_LP.
59086 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59088         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
59089         logb for POWER7.
59090         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
59091         logbf for POWER7.
59092         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
59093         logbl for POWER7.
59094         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
59095         powerpc32/power7/fpu/s_logb.c via #include.
59096         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
59097         powerpc32/power7/fpu/s_logbf.c via #include.
59098         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
59099         powerpc32/power7/fpu/s_logbl.c via #include.
59101 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59103         * README.libm: Remove file.
59105 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59107         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
59108         count for x32.  Use R*_LP and omit operand-size suffix.
59110 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59112         * shlib-versions: Move x86_64-.*-linux.* entries to ...
59113         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
59114         * sysdeps/x86_64/x32/shlib-versions: New file.
59116 2012-05-14  Roland McGrath  <roland@hack.frob.com>
59118         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
59119         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
59120         Use _dl_fatal_printf instead.
59122 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59124         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
59125         set if not set by the user.  Do not allow for being unset.
59126         * sysdeps/unix/sysv/linux/configure: Regenerated.
59128 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59130         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
59131         the `q' suffix from lea and replace .quad with ASM_ADDR.
59133 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59135         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
59136         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
59137         instead of $17.
59138         (PTR_DEMANGLE): Likewise.
59140 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59142         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
59143         (LP_OP): Likewise.
59144         (ASM_ADDR): Likewise.
59145         (RAX_LP): Likewise.
59146         (RBP_LP): Likewise.
59147         (RBX_LP): Likewise.
59148         (RCX_LP): Likewise.
59149         (RDI_LP): Likewise.
59150         (RSI_LP): Likewise.
59151         (RSP_LP): Likewise.
59152         (R8_LP): Likewise.
59153         (R9_LP): Likewise.
59154         (R10_LP): Likewise.
59155         (R10_LP): Likewise.
59156         (R11_LP): Likewise.
59157         (R12_LP): Likewise.
59158         (R13_LP): Likewise.
59159         (R14_LP): Likewise.
59160         (R15_LP): Likewise.
59162 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59164         * sysdeps/x86_64/x32/dl-machine.h: New file.
59166 2012-05-14  Andreas Jaeger  <aj@suse.de>
59168         * manual/Makefile (subdir): Remove export of subdir.
59169         (all): Remove target.
59170         (.PHONY): Remove all from list.
59171         (mkinstalldirs): Remove.
59172         (.PHONY): Remove installdirs from list.
59173         ($(inst_infodir)/libc.info): Use make-target-directory.
59174         (installdirs): Remove.
59175         (subdir_%): Remove.
59176         (glibc-targets): Remove.
59177         (lib): Remove.
59178         (stubs): Remove.
59179         ($(objpfx)stubs ../po/manual.pot): Remove.
59180         ($(objpfx)stamp%): Remove.
59181         (make-target-directory): Remove.
59182         (subdir_install): Remove.
59183         (routines): Remove.
59184         (aux): Remove.
59185         (sources): Remove.
59186         (objects): Remove.
59187         (headers): Remove.
59189         [BZ #13750]
59190         * manual/.gitignore: Remove, it's not needed anymore.
59191         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
59192         all files in it.
59193         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
59194         directory.
59195         (texis): Renamed to $(objpfx)texis.
59196         (texis-path): New, contains path to generated files.
59197         (chapters.%): Use texis-path for complete path, add extra argument
59198         libc-texinfo.sh.
59199         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
59200         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
59201         (summary,texi, stamp-summary): Use complete path of
59202         files. Generate files in build dir.
59203         (dir-add.texi): Build in build dir.
59204         (libm-err.texi,stamp-libm-err): Likewise.
59205         (version.texi, stamp-version): Likewise.
59206         (.%c.texi): Likewise.
59207         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
59208         (mostlyclean): Remove target.
59209         (realclean): Remove target.
59210         (generated): Add new variable with contents from mostlyclean and
59211         realclean, remove entries duplicated in common-mostlyclean, add
59212         stamp-libm-err and stamp-version.
59213         (generated-dirs): Add libc directory.
59214         ($(inst_infodir)/libc.info): Install files from build dir.
59216         * manual/install.texi (Configuring and compiling): Adjust since
59217         the info files are not part of the tar ball anymore.
59219 2012-05-14  Andreas Jaeger  <aj@suse.de>
59221         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
59222         variable.
59224 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59226         [BZ #13717]
59227         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59228         to 2.2.0 where earlier.
59229         * sysdeps/unix/sysv/linux/configure: Regenerated.
59230         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
59231         Remove conditional code.
59232         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
59233         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
59234         Remove conditional code.
59235         [!__NR_lchown]: Likewise.
59236         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59237         [__NR_lchown]: Likewise.
59238         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
59239         comment referencing __ASSUME_LCHOWN_SYSCALL.
59240         * sysdeps/unix/sysv/linux/i386/sigaction.c
59241         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59242         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59243         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
59244         Remove conditional code.
59245         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
59246         (__protocol_available): Remove #if 0 code.
59247         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
59248         conditional code.
59249         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
59250         * sysdeps/unix/sysv/linux/kernel-features.h
59251         (__ASSUME_GETCWD_SYSCALL): Don't define.
59252         (__ASSUME_REALTIME_SIGNALS): Likewise.
59253         (__ASSUME_PREAD_SYSCALL): Likewise.
59254         (__ASSUME_PWRITE_SYSCALL): Likewise.
59255         (__ASSUME_POLL_SYSCALL): Likewise.
59256         (__ASSUME_LCHOWN_SYSCALL): Likewise.
59257         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
59258         non-SPARC.
59259         (__ASSUME_SIOCGIFNAME): Don't define.
59260         (__ASSUME_MSG_NOSIGNAL): Likewise.
59261         (__ASSUME_SENDFILE): Define unconditionally.
59262         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
59263         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
59264         conditional code.
59265         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
59266         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
59267         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59268         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59269         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
59270         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59271         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
59273         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59274         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
59276         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59277         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
59279         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59280         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
59282         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59283         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
59285         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59286         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
59288         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59289         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
59291         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59292         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
59294         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59295         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59296         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
59297         Remove conditional code.
59298         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59299         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59300         Remove conditional code.
59301         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59302         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
59303         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
59304         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59305         Remove conditional code.
59306         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59307         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
59308         Remove conditional code.
59309         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59310         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
59311         Remove conditional code.
59312         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59313         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59314         Remove conditional code.
59315         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59316         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59317         Remove conditional code.
59318         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59319         * sysdeps/unix/sysv/linux/sh/pwrite64.c
59320         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59321         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59322         * sysdeps/unix/sysv/linux/sigaction.c
59323         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59324         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59325         * sysdeps/unix/sysv/linux/sigpending.c
59326         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59327         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59328         * sysdeps/unix/sysv/linux/sigprocmask.c
59329         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59330         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59331         * sysdeps/unix/sysv/linux/sigsuspend.c
59332         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59333         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59334         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59335         (__libc_missing_rt_sigs): Remove.
59336         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
59337         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
59338         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
59339         Remove conditional code.
59340         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
59341         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
59342         return 1.
59343         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
59344         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
59345         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
59346         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
59348 2012-05-14  Andreas Jaeger  <aj@suse.de>
59350         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
59351         it's not used in glibc.
59352         (__coshm1): Likewise.
59353         (__acosh1p): Likewise.
59354         (__sgn): Likewise.
59356         * manual/string.texi (Copying and Concatenation): Add missing
59357         variable in concat example.
59358         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
59360 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59362         [BZ #14103]
59363         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
59364         __builtin_clzl with __builtin_clzll.
59366 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59368         [BZ #14104]
59369         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
59370         libc_freeres_ptr.
59372 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59374         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
59375         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
59376         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
59377         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
59379 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
59381         * NEWS: Update ia64 info.
59383 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
59385         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
59386         used as bcopy.
59388 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
59390         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
59391         * sysdeps/unix/syscalls.list (dup3): Likewise.
59392         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
59393         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
59395 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59397         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
59398         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
59400 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59402         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
59403         thread pointer.
59404         (TLS_IE): Use mov/add instead of movq/addq to load thread
59405         pointer.
59406         (TLS_GD_PREFIX): New.
59407         (TLS_GD): Use it.
59409 2012-05-11  David S. Miller  <davem@davemloft.net>
59411         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
59412         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
59413         (_FPU_SETCW): Likewise.
59415 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59417         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
59418         is 32-byte aligned.
59420 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
59422         [BZ #11837]
59423         * iconvdata/gb18030.c: Update tables.
59424         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
59425         characters specially.
59426         (BODY for TO_LOOP): Add encoding of missing ranges.
59428 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
59430         [BZ #13673]
59431         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
59432         * sysdeps/mach/hurd/dup3.c: Likewise.
59433         * sysdeps/mach/hurd/readlinkat.c: Likewise.
59434         * sysdeps/powerpc/memmove.c:: Likewise.
59436 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59438         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
59439         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
59441 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59443         * elf/elf.h (R_X86_64_RELATIVE64): New.
59444         (R_X86_64_NUM): Updated.
59445         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59446         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
59447         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
59448         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
59449         tst-quad1pie tst-quad2pie
59450         (modules-names): Add tst-quadmod1 tst-quadmod2.
59451         ($(objpfx)tst-quad1): New dependency.
59452         ($(objpfx)tst-quad2): Likewise.
59453         ($(objpfx)tst-quad1pie): Likewise.
59454         ($(objpfx)tst-quad2pie): Likewise.
59455         * sysdeps/x86_64/tst-quad1.c: New file.
59456         * sysdeps/x86_64/tst-quad1pie.c: New file.
59457         * sysdeps/x86_64/tst-quad2.c: Likewise.
59458         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
59459         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
59460         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
59461         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
59462         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
59464 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59466         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
59467         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
59468         * streams/stropts.h (t_scalar_t): Define type.
59470         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
59471         (_PATH_PRESERVE): Set to "/var/lib".
59472         (_PATH_RWHODIR): Set to "/var/spool/rwho".
59474         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
59475         instead of int.
59477         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
59478         if __dir_mkfile succeeded.
59480         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
59481         checking for _hurd_dtablesize.  Unlock it right after having
59482         finished _hurd_dtable allocation.
59484 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59486         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
59487         * sysdeps/mach/hurd/configure: Regenerated.
59488         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
59489         special-casing to...
59490         * sysdeps/gnu/configure.in: ... this new file.
59491         * sysdeps/unix/sysv/linux/configure: Regenerated.
59492         * sysdeps/gnu/configure: New generated file.
59494         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
59495         for Linux: use nsec instead of usec, as well as:
59496         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
59497         members of type struct timespec.
59498         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
59499         New macros.
59500         (struct stat64): Likewise.
59501         (_STATBUF_ST_NSEC): New macro.
59502         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
59504         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59505         __strtoul_internal rather than strtoul.
59507 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59509         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
59510         and reject them.
59512 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59514         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
59515         which preserves existing values.
59516         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
59518 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59520         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
59521         TIMEOUT values.  Return EINVAL for NFDS values either negative or
59522         greater than FD_SETSIZE.
59524 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59526         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
59527         allocated, call __vm_protect to finish enabling the existing space, and
59528         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
59529         allocate the remainder.
59531 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59533         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
59534         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
59536 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59538         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
59539         sysdeps/mach/hurd/readlink.c.
59541         * posix/tst-sysconf.c (posix_options): Only use
59542         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
59543         _POSIX_SYNCHRONIZED_IO when they are defined
59544         * sysdeps/mach/hurd/bits/posix_opt.h:
59545         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
59546         (_XOPEN_REALTIME): Undefine macro.
59547         (_XOPEN_REALTIME_THREADS): Undefine macro.
59548         (_XOPEN_SHM): Undefine macro.
59549         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
59550         macro to -1.
59551         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
59552         macro to -1.
59553         (_POSIX_ASYNC_IO): Undefine macro.
59554         (_POSIX_PRIORITIZED_IO): Undefine macro.
59555         (_POSIX_SPIN_LOCKS): Define macro to -1.
59557         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
59558         SA_NODEFER, SA_RESETHAND.
59559         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59560         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
59561         F_DUPFD_CLOEXEC.
59563 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59565         * elf/Makefile (pldd-modules): Define unconditionally.
59567 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59569         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
59571 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59573         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
59574         Return ENOENT when name is empty.
59575         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
59577 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59579         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
59581         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
59583 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59585         Fix mlock in all cases except non-readable pages.
59586         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
59587         instead of VM_PROT_ALL as parameter to __vm_wire function.
59589         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
59590         (__mkdir): When path is `/', just fail with EEXIST.
59591         * sysdeps/mach/hurd/mkdirat.c: Likewise.
59593 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59595         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
59596         <sys/uio.h> (for writev).
59597         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
59598         and <sys/param.h> (for MIN).
59600 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59602         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59603         REQUESTED_TIME.  Properly set the remaining time and return EINTR
59604         if interrupted.
59606 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59608         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59609         Depend on against $(link-rpcuserlibs).
59611 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59613         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59614         (__libc_stack_end): Do not use attribute_relro.
59615         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59616         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59617         to libthread-provided value.
59618         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59619         attribute_relro.
59621 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59623         [BZ #3748]
59624         * bits/libc-lock.h (__libc_once_get): New macro.
59625         * sysdeps/mach/bits/libc-lock.h: Likewise.
59626         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59627         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59628         instead of using implementation details.
59630         * libio/fileops.c: Unconditionally include <kernel-features.h>.
59631         * libio/freopen.c: Likewise.
59632         * libio/freopen64.c: Likewise.
59633         * misc/syslog.c: Likewise.
59634         * nscd/connections.c: Likewise.
59635         * nscd/netgroupcache.c: Likewise.
59636         * sysdeps/posix/getcwd.c: Likewise.
59638 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59640         * math/w_ilogbf.c: Add #include <limits.h>.
59642 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59644         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59645         path instead of returning without unlocking.
59647         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59648         immediate-write ioctls.
59649         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59651 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59653         * sysdeps/mach/hurd/i386/init-first.c (init): Use
59654         __builtin_frame_address instead of making assumptions about the
59655         location of the return address relative to DATA.  Force early load of
59656         the return address.
59657         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59658         __builtin_frame_address.
59660         dup3 for GNU Hurd.
59661         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59662         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
59663         implement dup3 and do some further code clean-ups.
59664         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59665         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59667 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59669         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59671         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59672         HURD_CRITICAL_END around holding _hurd_dtable_lock.
59673         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59674         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59675         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59676         d->port.lock.
59678         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59679         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
59680         when handler == SIG_ERR, not when handler != SIG_ERR.
59682 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59684         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59685         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59686         definitions.
59688         accept4 for GNU Hurd.
59689         * include/sys/socket.h (__libc_accept4): New prototype.
59690         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
59691         to implement __libc_accept4.
59692         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59693         __libc_accept4.
59694         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59696         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59697         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59698         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59699         signal-defines.sym.
59701 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59703         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59705 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59707         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59708         assertion on O_CLOEXEC flag.
59709         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59710         * hurd/intern-fd.c: Likewise.
59711         * hurd/port2fd.c: Likewise.
59713 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59715         [BZ #3906]
59716         * bits/in.h (IPV6_PKTINFO): Define new macro.
59717         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59719 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59721         [BZ #13954]
59722         [BZ #13955]
59723         [BZ #13956]
59724         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59725         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59726         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59727         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59728         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59729         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59730         * math/libm-test.inc (logb_test) : Additional logb tests.
59732 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
59733             Andreas Jaeger  <aj@suse.de>
59735         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59736         * configure: Regenerated.
59737         * config.h.in (LINK_OBSOLETE_RPC): New macro.
59738         * config.make.in (link-obsolete-rpc): New substituted variable.
59739         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59740         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59741         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59742         (shared-only-routines): Don't set it under [link-obsolete-rpc],
59743         so that libc.a contains the symbols.
59744         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59745         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59746         * sunrpc/auth_none.c: Likewise.
59747         * sunrpc/auth_unix.c: Likewise.
59748         * sunrpc/authdes_prot.c: Likewise.
59749         * sunrpc/authuxprot.c: Likewise.
59750         * sunrpc/clnt_gen.c: Likewise.
59751         * sunrpc/clnt_perr.c: Likewise.
59752         * sunrpc/clnt_raw.c: Likewise.
59753         * sunrpc/clnt_simp.c: Likewise.
59754         * sunrpc/clnt_tcp.c: Likewise.
59755         * sunrpc/clnt_udp.c: Likewise.
59756         * sunrpc/clnt_unix.c: Likewise.
59757         * sunrpc/des_crypt.c: Likewise.
59758         * sunrpc/des_soft.c: Likewise.
59759         * sunrpc/get_myaddr.c: Likewise.
59760         * sunrpc/key_call.c: Likewise.
59761         * sunrpc/key_prot.c: Likewise.
59762         * sunrpc/netname.c: Likewise.
59763         * sunrpc/pm_getmaps.c: Likewise.
59764         * sunrpc/pm_getport.c: Likewise.
59765         * sunrpc/pmap_clnt.c: Likewise.
59766         * sunrpc/pmap_prot.c: Likewise.
59767         * sunrpc/pmap_prot2.c: Likewise.
59768         * sunrpc/pmap_rmt.c: Likewise.
59769         * sunrpc/publickey.c: Likewise.
59770         * sunrpc/rpc_cmsg.c: Likewise.
59771         * sunrpc/rpc_common.c: Likewise.
59772         * sunrpc/rpc_dtable.c: Likewise.
59773         * sunrpc/rpc_prot.c: Likewise.
59774         * sunrpc/rpc_thread.c: Likewise.
59775         * sunrpc/rtime.c: Likewise.
59776         * sunrpc/svc.c: Likewise.
59777         * sunrpc/svc_auth.c: Likewise.
59778         * sunrpc/svc_raw.c: Likewise.
59779         * sunrpc/svc_run.c: Likewise.
59780         * sunrpc/svc_tcp.c: Likewise.
59781         * sunrpc/svc_udp.c: Likewise.
59782         * sunrpc/svc_unix.c: Likewise.
59783         * sunrpc/svcauth_des.c: Likewise.
59784         * sunrpc/xcrypt.c: Likewise.
59785         * sunrpc/xdr.c: Likewise.
59786         * sunrpc/xdr_array.c: Likewise.
59787         * sunrpc/xdr_float.c: Likewise.
59788         * sunrpc/xdr_intXX_t.c: Likewise.
59789         * sunrpc/xdr_mem.c: Likewise.
59790         * sunrpc/xdr_rec.c: Likewise.
59791         * sunrpc/xdr_ref.c: Likewise.
59792         * sunrpc/xdr_sizeof.c: Likewise.
59793         * sunrpc/xdr_stdio.c: Likewise.
59795 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59797         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
59798         change.  Update copyright years.
59800 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59802         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
59804 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
59805             Joseph Myers  <joseph@codesourcery.com>
59806             Paul Pluzhnikov  <ppluzhnikov@google.com>
59808         [BZ #14012]
59809         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
59810         requiring rpcgen.
59811         [cross-compiling] (extra-libs): Likewise.
59812         [cross-compiling] (extra-libs-others): Likewise.
59813         [cross-compiling] (librpcsvc-routines): Likewise.
59814         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
59815         [cross-compiling] (omit-deps): Likewise.
59816         (sunrpc-CPPFLAGS): New variable.
59817         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
59818         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
59819         (cross-rpcgen-objs): New variable.
59820         (extra-objs): Append $(cross-rpcgen-objs).
59821         ($(cross-rpcgen-objs)): New rule.
59822         ($(objpfx)cross-rpcgen): Likewise.
59823         (rpcgen-cmd): Define to use $(built-program-file).  Expand
59824         comment.
59825         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
59826         ($(objpfx)x%.stmp): Likewise.
59827         * sunrpc/proto.h [IS_IN_build] (_): Define.
59828         [IS_IN_build] (_libc_intl_domainname): Likewise.
59830 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59832         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
59833         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
59834         and R_X86_64_TPOFF64.
59836 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59838         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
59839         sysdeps/unix/sysv/syscalls.list.
59840         (stime): Likewise.
59841         (utime): Likewise.
59842         * sysdeps/unix/sysv/syscalls.list: Remove file.
59844 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
59846         [BZ #3440]
59847         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
59848         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
59849         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
59850         (__LC_IDENTIFICATION): Make these macros useful in #if
59851         expressions, as required by C99.
59853 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
59855         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
59856         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
59857         after this.
59859 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
59861         * stdlib/longlong.h: Updated from GCC.
59863 2012-05-09  Andreas Jaeger  <aj@suse.de>
59865         * nscd/nscd.c (run_modes): Make named enum, reorder so that
59866         default is first entry.
59867         (run_mode): Set type.
59868         (main): Remove informal message about syslog.
59869         (options): Fix typo.
59871         [BZ #14053]
59872         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
59873         to asm.
59874         (lrint): Likewise.
59875         (llrintf): Likewise.
59876         (llrint): Likewise.
59877         (rint): Likewise.
59878         (rintf): Likewise.
59879         (nearbyint): Likewise.
59880         (nearbyintf): Likewise.
59882 2012-05-09  Andreas Jaeger  <aj@suse.de>
59883             Pedro Alves  <palves@redhat.com>
59885         * nscd/nscd.c (run_mode): Use enum.
59886         (main): Cleanup coding style issue.
59888 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
59889             Andreas Jaeger  <aj@suse.de>
59891         * nscd/nscd.c (go_background): Replaced with...
59892         (run_mode): ... this.
59893         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
59894         (options): Add -F --foreground.
59895         (main): Implement it.
59896         (parse_opt): Parse it.
59898 2012-05-09  Andreas Jaeger  <aj@suse.de>
59900         [BZ #14083]
59901         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
59902         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
59903         -Wconversion warning.
59904         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
59905         Likewise.
59907 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
59909         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
59910         == 0.
59911         (LC_ALL): Use macro-int-constant.
59912         (LC_COLLATE): Likewise.
59913         (LC_CTYPE): Likewise.
59914         (LC_MESSAGES): Likewise.
59915         (LC_MONETARY): Likewise.
59916         (LC_NUMERIC): Likewise.
59917         (LC_TIME): Likewise.
59918         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
59919         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59920         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59921         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
59922         Specify type.
59923         [C99-based standards] (float_t): Expect type.
59924         [C99-based standards] (double_t): Expect type.
59925         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
59926         type.
59927         [C99-based standards] (HUGE_VALL): Likewise.
59928         [C99-based standards] (INFINITY): Likewise.
59929         [C99-based standards] (NAN): Likewise.
59930         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
59931         [C99-based standards] (FP_NAN): Likewise.
59932         [C99-based standards] (FP_NORMAL): Likewise.
59933         [C99-based standards] (FP_SUBNORMAL): Likewise.
59934         [C99-based standards] (FP_ZERO): Likewise.
59935         [C99-based standards] (FP_FAST_FMA): Use
59936         optional-macro-int-constant.  Specify type.  Require == 1.
59937         [C99-based standards] (FP_FAST_FMAF): Likewise.
59938         [C99-based standards] (FP_FAST_FMAL): Likewise.
59939         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
59940         [C99-based standards] (FP_ILOGBNAN): Likewise.
59941         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
59942         Specify type.
59943         [C99-based standards] (MATH_ERREXCEPT): Likewise.
59944         [C99-based standards] (math_errhandling): Specify type.
59945         [ISO99 || ISO11] (signgam): Do not allow.
59946         [non-C99-based standards] (copysignf): Do not allow.
59947         [non-C99-based standards] (exp2f): Likewise.
59948         [non-C99-based standards] (log2f): Likewise.
59949         [non-C99-based standards] (modff): Allow.
59950         [non-C99-based standards] (erff): Do not allow.
59951         [non-C99-based standards] (erfcf): Likewise.
59952         [non-C99-based standards] (gammaf): Likewise.
59953         [non-C99-based standards] (hypotf): Likewise.
59954         [non-C99-based standards] (j0f): Likewise.
59955         [non-C99-based standards] (j1f): Likewise.
59956         [non-C99-based standards] (jnf): Likewise.
59957         [non-C99-based standards] (lgammaf): Likewise.
59958         [non-C99-based standards] (tgammaf): Likewise.
59959         [non-C99-based standards] (y0f): Likewise.
59960         [non-C99-based standards] (y1f): Likewise.
59961         [non-C99-based standards] (ynf): Likewise.
59962         [non-C99-based standards] (isnanf): Likewise.
59963         [non-C99-based standards] (acoshf): Likewise.
59964         [non-C99-based standards] (asinhf): Likewise.
59965         [non-C99-based standards] (atanhf): Likewise.
59966         [non-C99-based standards] (cbrtf): Likewise.
59967         [non-C99-based standards] (expm1f): Likewise.
59968         [non-C99-based standards] (ilogbf): Likewise.
59969         [non-C99-based standards] (log1pf): Likewise.
59970         [non-C99-based standards] (logbf): Likewise.
59971         [non-C99-based standards] (nextafterf): Likewise.
59972         [non-C99-based standards] (remainderf): Likewise.
59973         [non-C99-based standards] (rintf): Likewise.
59974         [non-C99-based standards] (scalbf): Likewise.
59975         [non-C99-based standards] (copysignl): Likewise.
59976         [non-C99-based standards] (exp2l): Likewise.
59977         [non-C99-based standards] (log2l): Likewise.
59978         [non-C99-based standards] (modfl): Allow.
59979         [non-C99-based standards] (erfl): Do not allow.
59980         [non-C99-based standards] (erfcl): Likewise.
59981         [non-C99-based standards] (gammal): Likewise.
59982         [non-C99-based standards] (hypotl): Likewise.
59983         [non-C99-based standards] (j0l): Likewise.
59984         [non-C99-based standards] (j1l): Likewise.
59985         [non-C99-based standards] (jnl): Likewise.
59986         [non-C99-based standards] (lgammal): Likewise.
59987         [non-C99-based standards] (tgammal): Likewise.
59988         [non-C99-based standards] (y0l): Likewise.
59989         [non-C99-based standards] (y1l): Likewise.
59990         [non-C99-based standards] (ynl): Likewise.
59991         [non-C99-based standards] (isnanl): Likewise.
59992         [non-C99-based standards] (acoshl): Likewise.
59993         [non-C99-based standards] (asinhl): Likewise.
59994         [non-C99-based standards] (atanhl): Likewise.
59995         [non-C99-based standards] (cbrtl): Likewise.
59996         [non-C99-based standards] (expm1l): Likewise.
59997         [non-C99-based standards] (ilogbl): Likewise.
59998         [non-C99-based standards] (log1pl): Likewise.
59999         [non-C99-based standards] (logbl): Likewise.
60000         [non-C99-based standards] (nextafterl): Likewise.
60001         [non-C99-based standards] (remainderl): Likewise.
60002         [non-C99-based standards] (rintl): Likewise.
60003         [non-C99-based standards] (scalbl): Likewise.
60004         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60005         [non-C99-based standards] (FP_*): Do not allow.
60006         [C99-based standards] (FP_*): Change to
60007         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60008         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60009         allow.
60010         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
60011         (SIG_ERR): Likewise.
60012         [X/Open-based standards] (SIG_HOLD): Likewise.
60013         (SIG_IGN): Likewise.
60014         (SIGABRT): Use macro-int-constant.  Specify type.  Require
60015         positive value.
60016         (SIGFPE): Likewise.
60017         (SIGILL): Likewise.
60018         (SIGINT): Likewise.
60019         (SIGSEGV): Likewise.
60020         (SIGTER): Likewise.
60021         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
60022         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
60023         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
60024         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
60025         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
60026         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
60027         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
60028         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
60029         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
60030         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
60031         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
60032         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
60033         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
60034         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
60035         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
60036         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
60037         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
60038         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
60039         [X/Open-based standards] (SIGTRAP): Likewise.
60040         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
60041         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
60042         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
60043         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
60044         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60045         allow.
60047 2012-05-08  Ian Wienand  <ianw@vmware.com>
60049         [BZ #14080]
60050         * time/tzset.c (__tzset_parse_tz): Update default rules for
60051         daylight time changes in the Energy Policy Act of 2005.
60053 2012-05-09  Andreas Jaeger  <aj@suse.de>
60055         [BZ #13983]
60056         * elf/ldconfig.c (parse_conf): Change string to make clear that
60057         ldconfig only issued a warning if ld.so.conf does not exist.
60059 2012-05-08  David S. Miller  <davem@davemloft.net>
60061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
60062         movxtod instead of popping the value on the stack.
60064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60066 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
60068         * config.h.in: Add HAVE_ARM_PCS_VFP.
60070 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
60072         [BZ #13979]
60073         * include/features.h: Warn if user requests __FORTIFY_SOURCE
60074         checking but the checks are disabled for any reason.
60076 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
60078         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
60079         and ELF64_R_TYPE with ELFW(R_TYPE).
60081 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
60083         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
60084         (ulimit): Likewise.
60086         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
60087         (settimeofday): Likewise.
60089 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
60091         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
60092         a struct th_u2 inside the union, and move tu_block/tu_code into
60093         a new th_u3 union of tu_block/tu_code inside of that.  Move
60094         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
60095         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
60096         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
60097         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
60098         (th_stuff): Change to th_u1.tu_stuff.
60099         (th_data): Define.
60100         (th_msg): Change to th_u1.th_u2.tu_data.
60102 2012-05-07  David S. Miller  <davem@davemloft.net>
60104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60106         [BZ #14074]
60107         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
60108         (SETUP_PIC_REG): Use it.
60109         (SETUP_PIC_REG_LEAF): Use it.
60111 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
60113         [BZ #13885]
60114         [BZ #13923]
60115         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60116         USE_AS_EXPM1L.
60117         (EXPL_FINITE): Likewise.
60118         (FLDLOG): Likewise.
60119         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60120         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60121         e_expl.S.
60122         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60123         USE_AS_EXPM1L.
60124         (EXPL_FINITE): Likewise.
60125         (FLDLOG): Likewise.
60126         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60127         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60128         e_expl.S.
60129         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
60130         test of -max_value argument for long double.
60131         * sysdeps/i386/fpu/libm-test-ulps: Update.
60132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60134 2012-05-06  David S. Miller  <davem@davemloft.net>
60136         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
60137         quad soft-float symbols whose references which are compiler
60138         generated.
60139         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60141 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
60143         [BZ #13884]
60144         [BZ #13914]
60145         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60146         USE_AS_EXP10L.
60147         (EXPL_FINITE): Likewise.
60148         (FLDLOG): Likewise.
60149         (c0): Likewise.
60150         (c1): Likewise.
60151         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60152         Adjust comments for base varying.
60153         (__expl_finite): Change alias to EXPL_FINITE.
60154         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
60155         e_expl.S.
60156         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
60157         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
60158         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60159         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
60160         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60161         USE_AS_EXP10L.
60162         (EXPL_FINITE): Likewise.
60163         (FLDLOG): Likewise.
60164         (c0): Likewise.
60165         (c1): Likewise.
60166         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60167         Adjust comments for base varying.
60168         (__expl_finite): Change alias to EXPL_FINITE.
60169         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
60170         tests for bugs.
60171         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60173         [BZ #14064]
60174         * math/libm-test.inc (check_float_internal): Correct ulp
60175         calculation for subnormal expected results.
60177 2012-05-06  Andreas Jaeger  <aj@suse.de>
60179         * Makeconfig (+math-flags): New, set to -frounding-math.
60180         (+cflags): Add +math-flags so that all of glibc gets compiled with
60181         it.
60183         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
60185 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
60187         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
60188         Disable one test.
60190         [BZ #13787]
60191         [BZ #13922]
60192         [BZ #14036]
60193         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
60194         (__ieee754_expl): Allow for and saturate large arguments.
60195         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
60196         (u_threshold): Likewise.
60197         (__exp): Call __ieee754_exp before checking for overflow and
60198         underflow.
60199         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
60200         (u_threshold): Likewise.
60201         (__expf): Call __ieee754_expf before checking for overflow and
60202         underflow.
60203         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
60204         (u_threshold): Likewise.
60205         (__expl): Call __ieee754_expl before checking for overflow and
60206         underflow.
60207         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
60208         (__ieee754_expl): Allow for and saturate large arguments.
60209         * math/libm-test.inc (exp_test): Add another test.  Do not allow
60210         missing overflow exception on overflow.
60211         (expm1_test): Do not allow missing overflow exception on overflow.
60213         * sysdeps/i386/fpu/e_expl.c: Move to ...
60214         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
60215         rather than using inline asm.
60216         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
60217         * sysdeps/x86_64/fpu/e_expl.S: Copy from
60218         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
60220         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
60221         (nice): Likewise.
60222         (poll): Likewise.
60223         (signal): Likewise.
60224         (time): Likewise.
60225         (times): Likewise.
60227 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60229         * sysdeps/unix/syscalls.list (adjtime): Add entry from
60230         sysdeps/unix/common/syscalls.list.
60231         (fchmod): Likewise.
60232         (fchown): Likewise.
60233         (ftruncate): Likewise.
60234         (getrusage): Likewise.
60235         (gettimeofday): Likewise.
60236         (setpgid): Likewise.
60237         (setregid): Likewise.
60238         (setreuid): Likewise.
60239         (sigaction): Likewise.
60240         (truncate): Likewise.
60241         (vhangup): Likewise.
60242         * sysdeps/unix/common/syscalls.list: Remove file.
60243         * sysdeps/unix/bsd/Implies: Don't include unix/common.
60244         * sysdeps/unix/sysv/linux/Implies: Likewise.
60246 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
60248         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
60249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
60250         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
60251         Moved to ...
60252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
60253         Here.
60254         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
60255         to ...
60256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
60257         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
60258         to ...
60259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
60260         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
60261         to ...
60262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
60263         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
60264         to ...
60265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
60266         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
60267         to ...
60268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
60269         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
60270         to ...
60271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
60272         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
60273         to ...
60274         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60275         Here.
60276         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
60277         to ...
60278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
60279         Here.
60280         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
60281         to ...
60282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
60283         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
60284         Moved to ...
60285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
60286         Here.
60287         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
60288         to ...
60289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
60291 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60293         * sysdeps/unix/common/bits/dirent.h: Remove file.
60294         * sysdeps/unix/common/bits/fcntl.h: Likewise.
60296         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
60297         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
60298         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
60299         * sysdeps/unix/bsd/isatty.c: Likewise.
60300         * sysdeps/unix/bsd/tcdrain.c: Likewise.
60301         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
60302         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
60304 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60306         [BZ #13563]
60307         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
60308         long double comparison inaccuracies.
60309         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60312 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
60314         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
60315         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
60317 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60319         [BZ #14049]
60320         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
60321         nonzero digits before rounding a hex value.
60322         * stdlib/tst-strtod.c (tests): Add another test.
60324 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60326         * sysdeps/s390/fpu/libm-test-ulps: Update.
60328 2012-05-03  Andreas Jaeger  <aj@suse.de>
60330         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
60331         does not get optimized out.
60332         (malloc_opt_barrier): New.
60334 2012-05-03  Andreas Jaeger  <aj@suse.de>
60335             Roland McGrath  <roland@hack.frob.com>
60337         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
60338         intermediate file deletion.
60339         (generated): Add .symlist files.
60341 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
60343         [BZ #13775]
60344         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
60345         Redirect under this condition.
60346         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60347         [__USE_GNU] (__dprintf_chk): Not under this condition.
60348         [__USE_GNU] (__vdprintf_chk): Likewise.
60349         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
60350         under this condition.
60351         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60352         [__USE_XOPEN2K8] (dprintf): Define under this condition.
60353         [__USE_XOPEN2K8] (vdprintf): Likewise.
60354         [__USE_GNU] (__dprintf_chk): Not under this condition.
60355         [__USE_GNU] (__vdprintf_chk): Likewise.
60356         [__USE_GNU] (dprintf): Likewise.
60357         [__USE_GNU] (vdprintf): Likewise.
60359 2012-05-03  Roland McGrath  <roland@hack.frob.com>
60361         * elf/Makefile (common-generated): Set this instead of generated for
60362         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
60363         $(all-built-dso)-derived lists.
60365 2012-05-03  Andreas Jaeger  <aj@suse.de>
60367         * sysdeps/i386/fpu/libm-test-ulps: Update.
60369         * FAQ: Removed.
60370         * FAQ.in: Likewise.
60371         * scripts/gen-FAQ.pl: Likewise.
60372         * manual/install.texi (Installation): Point to online location of
60373         FAQ.
60374         * Makefile (files-for-dist): Remove FAQ.
60375         (FAQ): Remove.
60377 2012-05-02  Allan McRae  <allan@archlinux.org>
60379         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
60380         (LDFLAGS-reldepmod5.so): Likewise.
60381         (LDFLAGS-reldep6mod1.so): Likewise.
60382         (LDFLAGS-reldep6mod4.so): Likewise.
60383         (LDFLAGS-reldep8mod3.so): Likewise.
60384         (LDFLAGS-unload4mod1.so): Likewise.
60385         (LDFLAGS-unload4mod2.so): Likewise.
60386         (LDFLAGS-tst-initorder): Likewise.
60387         (LDFLAGS-tst-initordera2.so): Likewise.
60388         (LDFLAGS-tst-initordera3.so): Likewise.
60389         (LDFLAGS-tst-initordera4.so): Likewise.
60390         (LDFLAGS-tst-initorderb2.so): Likewise.
60391         (LDFLAGS-noload): Likewise.
60392         (LDFLAGS-next): Likewise.
60393         (LDFLAGS-order2mod1.so): Likewise.
60394         (LDFLAGS-order2mod2.so): Likewise.
60395         (LDFLAGS-tst-initorder2): Likewise.
60396         (LDFLAGS-tst-initorder2a.so): Likewise.
60397         (LDFLAGS-tst-initorder2b.so): Likewise.
60398         (LDFLAGS-tst-initorder2c.so): Likewise.
60399         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
60401 2012-05-02  David S. Miller  <davem@davemloft.net>
60403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60405 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
60407         [BZ #14055]
60408         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
60410 2012-05-02  Andreas Jaeger  <aj@suse.de>
60412         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
60413         since we manipulate rounding mode.
60414         (CPPFLAGS-test-idouble.c): Likewise.
60415         (CPPFLAGS-test-ifloat.c): Likewise.
60416         (CFLAGS-test-ldouble.c): Likewise.
60417         (CFLAGS-test-double.c): Likewise.
60418         (CFLAGS-test-float.c): Likewise.
60419         (CFLAGS-test-misc.c): Likewise.
60420         (CFLAGS-test-test-fenv.c): Likewise.
60422 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60424         [BZ #2550]
60425         [BZ #2570]
60426         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
60427         comparisons to determine direction to adjust input.
60429 2012-05-01  Roland McGrath  <roland@hack.frob.com>
60431         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
60432         output to the target.
60434         * scripts/localplt.awk: New file.
60435         * elf/Makefile ($(objpfx)check-localplt): Target removed.
60436         (check-localplt-CFLAGS): Variable removed.
60437         ($(all-built-dso:=.jmprel)): New static pattern rule.
60438         (generated): Add those targets.
60439         (localplt-built-dso): New variable.
60440         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
60442         * elf/check-localplt.c: File removed.
60444         * scripts/check-execstack.awk: New file.
60445         * elf/Makefile ($(objpfx)check-execstack): Target removed.
60446         (check-execstack-CFLAGS): Variable removed.
60447         ($(objpfx)check-execstack.h): Target removed.
60448         ($(objpfx)execstack-default): New target.
60449         (generated): Add that instead of check-execstack.h.
60450         ($(all-built-dso:=.phdr)): New static pattern rule.
60451         (generated): Add those targets.
60452         * elf/check-execstack.c: File removed.
60454         * scripts/check-textrel.awk: New file.
60455         * elf/Makefile ($(objpfx)check-textrel): Target removed.
60456         (check-textrel-CFLAGS): Variable removed.
60457         (all-built-dso): Use := to define.o
60458         ($(all-built-dso:=.dyn)): New static pattern rule.
60459         (generated): Add those targets.
60460         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
60461         * config.make.in (READELF): New substituted variable.
60462         * elf/check-textrel.c: File removed.
60464 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60466         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60467         allow.
60468         * conform/data/ctype.h-data [C99-based standards] (isblank):
60469         Expect function.
60470         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
60471         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
60472         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60473         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
60474         Specify type.  Require positive value.
60475         (EILSEQ): Likewise.
60476         (ERANGE): Likewise.
60477         [ISO || POSIX] (EILSEQ): Do not expect.
60478         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
60479         Specify type.  Require positive value.
60480         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
60481         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
60482         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
60483         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
60484         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
60485         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
60486         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
60487         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
60488         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
60489         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
60490         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
60491         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
60492         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
60493         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
60494         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
60495         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
60496         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
60497         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
60498         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
60499         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
60500         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
60501         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
60502         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
60503         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
60504         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
60505         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
60506         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
60507         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
60508         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
60509         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
60510         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
60511         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
60512         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
60513         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
60514         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
60515         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
60516         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
60517         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
60518         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
60519         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
60520         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
60521         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
60522         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
60523         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
60524         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
60525         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
60526         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
60527         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
60528         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
60529         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
60530         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
60531         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
60532         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
60533         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
60534         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
60535         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
60536         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
60537         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
60538         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
60539         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
60540         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
60541         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
60542         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
60543         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
60544         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
60545         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
60546         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
60547         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
60548         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
60549         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
60550         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
60551         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
60552         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
60553         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
60554         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
60555         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
60556         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
60557         Require >= 2.
60558         (FLT_ROUNDS): Expect as macro, not constant.
60559         (FLT_MANT_DIG): Use macro-int-constant.
60560         (DBL_MANT_DIG): Likewise.
60561         (LDBL_MANT_DIG): Likewise.
60562         (FLT_DIG): Likewise.
60563         (DBL_DIG): Likewise.
60564         (LDBL_DIG): Likewise.
60565         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
60566         (DBL_MIN_EXP): Likewise.
60567         (LDBL_MIN_EXP): Likewise.
60568         (FLT_MAX_EXP): Use macro-int-constant.
60569         (DBL_MAX_EXP): Likewise.
60570         (LDBL_MAX_EXP): Likewise.
60571         (FLT_MAX_10_EXP): Likewise.
60572         (DBL_MAX_10_EXP): Likewise.
60573         (LDBL_MAX_10_EXP): Likewise.
60574         (FLT_MAX): Use macro-constant.
60575         (DBL_MAX): Likewise.
60576         (LDBL_MAX): Likewise.
60577         (FLT_EPSILON): Use macro-constant.  Give upper bound.
60578         (DBL_EPSILON): Likewise.
60579         (LDBL_EPSILON): Likewise.
60580         (FLT_MIN): Likewise.
60581         (DBL_MIN): Likewise.
60582         (LDBL_MIN): Likewise.
60583         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
60584         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
60585         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
60586         [ISO11] (FLT_HAS_SUBNORM): Likewise.
60587         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
60588         [ISO11] (DBL_DECIMAL_DIG): Likewise.
60589         [ISO11] (FLT_DECIMAL_DIG): Likewise.
60590         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
60591         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
60592         [ISO11] (FLT_TRUE_MIN): Likewise.
60593         [ISO11] (LDBL_TRUE_MIN): Likewise.
60594         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60595         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
60596         (SCHAR_MIN): Use macro-int-constant.  Specify type.
60597         (SCHAR_MAX): Likewise.
60598         (UCHAR_MAX): Likewise.
60599         (CHAR_MIN): Likewise.
60600         (CHAR_MAX): Likewise.
60601         (MB_LEN_MAX): Use macro-int-constant.
60602         (SHRT_MIN): Use macro-int-constant.  Specify type.
60603         (SHRT_MAX): Likewise.
60604         (USHRT_MAX): Likewise.
60605         (INT_MAX): Likewise.
60606         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
60607         bound negative.
60608         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60609         bound with "U".
60610         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60611         bound with "L".
60612         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
60613         bound negative.  Suffix upper bound with "L".
60614         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60615         bound with "UL".
60616         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60617         Specify type.
60618         [C99-based standards] (LLONG_MAX): Likewise.
60619         [C99-based standards] (ULLONG_MAX): Likewise.
60620         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
60621         == 0.
60622         [ISO11] (max_align_t): Require type.
60623         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60625         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60626         from $CFLAGS, without defining away __attribute__ calls.
60627         (checknamespace): Use $CFLAGS_namespace.
60629         * conform/conformtest.pl (@keywords): Only include C99 keywords
60630         for standards based on C99 or C11.
60632         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60633         Disable tests.
60634         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60635         UNIX98]: Likewise.
60637         * conform/conformtest.pl: Handle "macro-int-constant" and test for
60638         usability of symbols in #if.
60640         * conform/conformtest.pl: If macro or constant types start
60641         "promoted:", expect the symbol to be of the following type
60642         promoted by the integer promotions.
60644         * conform/conformtest.pl: Parse all "constant" and "macro" lines
60645         in one place.  Also handle "macro-constant".
60647         * conform/conformtest.pl: Only accept expected macro values with
60648         "==".  Parse all "macro" lines in one place.
60649         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60651         * conform/conformtest.pl: Handle braced types on "constant" lines
60652         instead of handling "typed-constant".
60653         * conform/data/signal.h-data: Use "constant" instead of
60654         "typed-constant".
60656         * conform/conformtest.pl: Handle "optional-" at start of lines in
60657         one place rather than duplicating several cases.  Handle each
60658         format of "macro" line with initial "optional-".
60660         * conform/conformtest.pl: Only accept expected constant or
60661         optional-constant values with "==".  Parse all "constant" lines in
60662         one place.  Parse all "optional-constant" lines in one place.
60663         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60664         * conform/data/fmtmsg.h-data: Likewise.
60665         * conform/data/netinet/in.h-data: Likewise.
60666         * conform/data/tar.h-data: Likewise.
60667         * conform/data/limits.h-data: Use "==" form on "constant" and
60668         "optional-constant" lines.
60670         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60671         Use -std=c99 for XOPEN2K.
60672         (@knownproblems): Remove.
60673         (newtoken): Don't check %isknown.
60675         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60676         Do not expect macro.
60677         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60678         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60679         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60680         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60681         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60682         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60683         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60684         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60685         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60686         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60687         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60688         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60689         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60690         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60691         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60692         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60693         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60694         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60695         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60696         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60697         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60698         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60699         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60700         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60701         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60702         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60703         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60704         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60705         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60706         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60707         [XPG3] (acosh): Likewise.
60708         [XPG3] (asinh): Likewise.
60709         [XPG3] (atanh): Likewise.
60710         [XPG3] (cbrt): Likewise.
60711         [XPG3] (expm1): Likewise.
60712         [XPG3] (ilogb): Likewise.
60713         [XPG3] (log1p): Likewise.
60714         [XPG3] (logb): Likewise.
60715         [XPG3] (nextafter): Likewise.
60716         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60717         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60718         [XPG3] (remainder): Likewise.
60719         [XPG3] (rint): Likewise.
60720         [XPG3 || XPG4 || UNIX98] (round): Likewise.
60721         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60722         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60723         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60724         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60725         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60726         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60727         [UNIX98 || XOPEN2K] (scalb): Expect.
60728         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60729         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60730         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60731         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60732         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60733         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60734         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60735         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60736         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60737         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60738         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60739         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60740         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60741         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60742         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60743         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60744         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60745         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60746         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60747         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60748         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60749         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60750         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60751         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60752         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60753         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60754         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60755         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60756         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60757         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
60758         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
60759         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
60760         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
60761         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
60762         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
60763         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
60764         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
60765         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
60766         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
60767         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
60768         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
60769         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
60770         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
60771         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
60772         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
60773         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
60774         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
60775         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
60776         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
60777         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
60778         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
60779         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
60780         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
60781         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
60782         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
60783         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
60784         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
60785         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
60786         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
60787         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
60788         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
60789         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
60790         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
60791         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
60792         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
60793         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
60794         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
60795         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
60796         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
60797         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
60798         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
60799         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
60800         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
60801         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
60802         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
60803         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
60804         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
60805         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
60806         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
60807         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
60808         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
60809         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
60810         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
60811         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
60812         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
60813         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
60814         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
60815         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
60816         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
60817         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
60818         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
60819         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
60820         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
60821         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
60822         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
60823         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
60824         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
60825         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
60826         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
60827         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
60828         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
60829         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
60830         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
60831         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
60832         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
60833         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
60834         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
60835         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
60836         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
60837         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
60838         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
60839         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
60840         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
60841         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
60842         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
60843         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
60844         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
60845         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
60846         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
60847         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
60848         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
60849         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
60850         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
60851         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
60852         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
60853         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
60854         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
60855         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
60856         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
60857         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
60858         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
60859         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
60860         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
60861         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
60862         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
60863         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
60864         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
60866         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
60867         _XOPEN_SOURCE_EXTENDED for XPG4.
60869         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
60871         * Makeconfig (localtime): Remove variable.
60872         (inst_localtime-file): Likewise.
60874 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
60877         Update.
60878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60879         Update.
60880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
60881         Update.
60882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60883         Update.
60884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
60885         Update.
60886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
60887         Update.
60888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60889         Update.
60890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
60891         Update.
60892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60893         Update.
60895 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60897         [BZ #2550]
60898         [BZ #2570]
60899         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
60900         comparisons to determine direction to adjust input.
60901         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
60902         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
60903         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
60904         Likewise.
60905         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
60906         Likewise.
60907         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60908         Likewise.
60909         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
60910         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
60911         Likewise.
60912         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
60913         Likewise.
60914         * math/libm-test.inc (nexttoward_test): Add more tests.
60916 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60918         [BZ #14040]
60919         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
60920         in version GLIBC_2.1, not GLIBC_2.0.
60921         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
60922         Likewise.
60924 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
60926         [BZ #13942]
60927         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
60928         (1 - x) * (1 + x).
60929         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60930         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
60931         * math/libm-test.inc (acos_test): Add more tests.
60932         (asin_test): Likewise.
60933         * sysdeps/i386/fpu/libm-test-ulps: Update.
60934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60936         [BZ #14034]
60937         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
60938         of square root.
60939         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
60940         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60941         * math/libm-test.inc (acos_test_tonearest): New function.
60942         (acos_test_towardzero): Likewise.
60943         (acos_test_downward): Likewise.
60944         (acos_test_upward): Likewise.
60945         (asin_test_tonearest): Likewise.
60946         (asin_test_towardzero): Likewise.
60947         (asin_test_downward): Likewise.
60948         (asin_test_upward): Likewise.
60949         (main): Call the new functions.
60950         * sysdeps/i386/fpu/libm-test-ulps: Update.
60951         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60953         [BZ #13884]
60954         [BZ #13924]
60955         * math/e_exp10.c: Include <float.h>.
60956         (__ieee754_exp10): Handle underflow here rather than multiplying
60957         large negative argument by M_LN10.
60958         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
60959         of __ieee754_expf.
60960         * math/e_exp10l.c: Include <float.h>.
60961         (__ieee754_exp10l): Handle underflow here rather than multiplying
60962         large negative argument by M_LN10l.
60963         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
60964         spurious overflow exception on underflow.
60966 2012-04-29  Marek Polacek  <polacek@redhat.com>
60968         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
60969         (__fortify_function): New macro.
60970         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
60971         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
60972         __extern_always_inline.
60973         * libio/bits/stdio2.h: Likewise.
60974         * libio/bits/stdio.h: Likewise.
60975         * string/string.h: Likewise.
60976         * string/bits/string3.h: Likewise.
60977         * include/stdio.h: Likewise.
60978         * stdlib/bits/stdlib.h: Likewise.
60979         * stdlib/stdlib.h: Likewise.
60980         * rt/bits/mqueue2.h: Likewise.
60981         * rt/mqueue.h: Likewise.
60982         * posix/bits/unistd.h: Likewise.
60983         * posix/unistd.h: Likewise.
60984         * io/bits/poll2.h: Likewise.
60985         * io/bits/fcntl2.h: Likewise.
60986         * io/fcntl.h: Likewise.
60987         * io/sys/poll.h: Likewise.
60988         * misc/bits/syslog.h: Likewise.
60989         * misc/bits/syslog-ldbl.h: Likewise.
60990         * misc/sys/syslog.h: Likewise.
60991         * socket/bits/socket2.h: Likewise.
60992         * socket/sys/socket.h: Likewise.
60993         * debug/tst-chk1.c: Likewise.
60994         * wcsmbs/bits/wchar2.h: Likewise.
60995         * wcsmbs/bits/wchar-ldbl.h: Likewise.
60996         * wcsmbs/wchar.h: Likewise.
60998 2012-04-29  Andreas Jaeger  <aj@suse.de>
61000         * Makerules (tests): Remove enable-check-abi protection.
61001         (check-abi-warn): Remove.
61002         (check-abi-%): Remove check-abi-warn usage.
61004         * configure.in: Remove check-abi configure option.
61005         * configure: Regenerated.
61006         * config.make.in (enable-check-abi): Remove.
61008 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
61010         [BZ #14033]
61011         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
61012         double functions to double *_finite functions.
61014         [BZ #13941]
61015         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
61016         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
61017         LDBL_MIN_EXP.
61018         * stdio-common/Makefile (tests): Add tst-sprintf3.
61019         * stdio-common/tst-sprintf3.c: New file.
61021         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
61022         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
61024 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61026         * conform/conformtest.pl: Remove duplicate typed-constant
61027         handling.
61029 2012-04-28  David S. Miller  <davem@davemloft.net>
61031         * Makerules (%.abilist): Add vpath on sysdep_dirs.
61032         (check-abi-%): Remove AWK script prerequisite and explicit
61033         abilist directory.
61034         (check-abi): Rewrite to just diff the symlist with the abilist.
61035         (config-tls, config-abi-config): Delete, no longer used.
61036         (update-abi-%): Remove AWK script and explicit abilist directory.
61037         (update-abi): Rewrite to simply compare and conditionally copy the
61038         symlist and the sysdep abilist file.  Remove update-abi-config
61039         checks.
61040         * abilist/ld.abilist: Remove.
61041         * abilist/libBrokenLocale.abilist: Remove.
61042         * abilist/libanl.abilist: Remove.
61043         * abilist/libcrypt.abilist: Remove.
61044         * abilist/libdl.abilist: Remove.
61045         * abilist/librt.abilist: Remove.
61046         * abilist/libthread_db.abilist: Remove.
61047         * abilist/libutil.abilist: Remove.
61048         * scripts/extract-abilist.awk: Remove.
61049         * scripts/merge-abilist.awk: Remove.
61050         * sysdeps/generic/libcidn.abilist: New file.
61051         * sysdeps/generic/libnss_compat.abilist: New file.
61052         * sysdeps/generic/libnss_db.abilist: New file.
61053         * sysdeps/generic/libnss_dns.abilist: New file.
61054         * sysdeps/generic/libnss_files.abilist: New file.
61055         * sysdeps/generic/libnss_hesiod.abilist: New file.
61056         * sysdeps/generic/libnss_nis.abilist: New file.
61057         * sysdeps/generic/libnss_nisplus.abilist: New file.
61058         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
61059         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
61060         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
61061         file.
61062         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
61063         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
61064         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
61065         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
61066         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
61067         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
61068         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
61069         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
61070         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
61071         file.
61072         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
61073         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
61074         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
61075         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
61076         file.
61077         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
61078         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
61079         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
61080         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
61081         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
61082         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
61083         file.
61084         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
61085         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
61086         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
61087         file.
61088         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
61089         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
61090         New file.
61091         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
61092         New file.
61093         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
61094         New file.
61095         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
61096         New file.
61097         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
61098         New file.
61099         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
61100         New file.
61101         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
61102         New file.
61103         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
61104         New file.
61105         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
61106         New file.
61107         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
61108         New file.
61109         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
61110         New file.
61111         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
61112         New file.
61113         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
61114         New file.
61115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
61116         file.
61117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
61118         New file.
61119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
61120         New file.
61121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
61122         file.
61123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
61124         New file.
61125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
61126         New file.
61127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
61128         file.
61129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
61130         New file.
61131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61132         New file.
61133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
61134         New file.
61135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
61136         New file.
61137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
61138         New file.
61139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
61140         New file.
61141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
61142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
61143         file.
61144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
61145         New file.
61146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
61147         file.
61148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
61149         file.
61150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
61151         file.
61152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
61153         file.
61154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
61155         file.
61156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61157         New file.
61158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
61159         file.
61160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
61161         file.
61162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
61163         New file.
61164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
61165         file.
61166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
61167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
61168         file.
61169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
61170         New file.
61171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
61172         file.
61173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
61174         file.
61175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
61176         file.
61177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
61178         file.
61179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
61180         file.
61181         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61182         New file.
61183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
61184         file.
61185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
61186         file.
61187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
61188         New file.
61189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
61190         file.
61191         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61192         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
61193         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
61194         file.
61195         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
61196         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
61197         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
61198         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
61199         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
61200         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
61201         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
61202         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
61203         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
61204         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
61205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
61206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
61207         file.
61208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
61209         New file.
61210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
61211         file.
61212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
61213         file.
61214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
61215         file.
61216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
61217         file.
61218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
61219         file.
61220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61221         New file.
61222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
61223         New file.
61224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
61225         file.
61226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
61227         New file.
61228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
61229         file.
61230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
61231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
61232         file.
61233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
61234         New file.
61235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
61236         file.
61237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
61238         file.
61239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
61240         file.
61241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
61242         file.
61243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
61244         file.
61245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61246         New file.
61247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
61248         New file.
61249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
61250         file.
61251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
61252         New file.
61253         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
61254         file.
61256 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61258         * conform/conformtest.pl: Fix typo in handling typed-constant from
61259         allow-header.
61261 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61263         * README: Cut down references to pre-2.6 Linux kernels and
61264         Linuxthreads.  Update lists of configurations in libc and ports
61265         and sort alphabetically.  Say "or newer" with Linux kernel version
61266         requirements.
61268         * config.h.in [IS_IN_build]: Allow compiling without optimization.
61270 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61272         [BZ #887]
61273         * math/libm-test.inc (logb_test_downward): New test to expose
61274         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
61275         rounding mode.
61277 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61279         [BZ #14027]
61280         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
61281         to be done.
61282         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
61283         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
61285 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
61287         * sysdeps/unix/i386/brk.S: Remove file.
61288         * sysdeps/unix/i386/dl-brk.S: Likewise.
61289         * sysdeps/unix/i386/pipe.S: Likewise.
61290         * sysdeps/unix/i386/sigreturn.S: Likewise.
61291         * sysdeps/unix/i386/syscall.S: Likewise.
61292         * sysdeps/unix/i386/vfork.S: Likewise.
61293         * sysdeps/unix/i386/wait.S: Likewise.
61295         * sysdeps/unix/common/tcsendbrk.c: Move to ...
61296         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
61298         * configure.in (arm*-none*): Do not allow without
61299         --enable-hacker-mode.
61300         (netbsd*): Remove case setting base_os.
61301         (386bsd*): Likewise.
61302         (freebsd*): Likewise.
61303         (bsdi*): Likewise.
61304         (osf*): Likewise.
61305         (sunos*): Likewise.
61306         (ultrix*): Likewise.
61307         (newsos*): Likewise.
61308         (dynix*): Likewise.
61309         (*bsd*): Likewise.
61310         (sysv*): Likewise.
61311         (isc*): Likewise.
61312         (esix*): Likewise.
61313         (sco*): Likewise.
61314         (minix*): Likewise.
61315         (irix4*): Likewise.
61316         (irix6*): Likewise.
61317         (solaris[2-9]*): Likewise.
61318         (none): Likewise.
61319         * configure: Regenerated.
61321 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61323         [BZ #11521]
61324         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
61325         overflow or cancellation in calculating denominator.
61326         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
61327         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
61328         down expression to avoid unexpected rounding in newer GCCs.
61329         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
61331 2012-04-26  David S. Miller  <davem@davemloft.net>
61333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
61334         long-double compat symbols.
61335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
61339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
61341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
61342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
61343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
61344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
61345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
61346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
61347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61349 2012-04-25  David S. Miller  <davem@davemloft.net>
61351         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
61352         HWCAP_* values only after the memory barriers have been defined.
61353         (atomic_full_barrier): Define.
61354         (atomic_read_barrier): Define.
61355         (atomic_write_barrier): Define.
61357 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61359         * shlib-versions: Add libgcc_s version information.
61360         * sysdeps/generic/libgcc_s.h: Remove.
61361         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
61362         libgcc_s.h.
61363         * sysdeps/gnu/unwind-resume.c: Likewise.
61364         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
61366 2012-04-25  David S. Miller  <davem@davemloft.net>
61368         * sysdeps/unix/sparc/brk.S: Delete.
61369         * sysdeps/unix/sparc/dl-brk.S: Delete.
61370         * sysdeps/unix/sparc/pipe.S: Delete.
61371         * sysdeps/unix/sparc/sysdep.S: Delete.
61372         * sysdeps/unix/sparc/sysdep.h: Delete.
61373         * sysdeps/unix/sparc/vfork.S: Delete.
61374         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
61375         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
61376         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
61377         (ret_ERRVAL, r0, r1, MOVE): Define.
61378         (JUMPTARGET): Remove.
61379         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
61380         sysdeps/unix/sparc/sysdep.h
61381         (ENTRY, END): Remove.
61382         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61384 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
61386         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
61387         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
61388         -DIS_IN_build.
61390         * timezone/README: Update upstream location and email address for
61391         tzcode and tzdata.
61392         * timezone/zdump.c: Update from tzcode 2012b.
61393         * timezone/zic.c: Likewise.
61395         * configure.in (libc_cv_as_needed): Remove test.
61396         * configure: Regenerated.
61397         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
61398         conditional definition.
61399         [$(have-as-needed) != yes] (no-as-needed): Likewise.
61400         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
61401         * config.make.in (have-as-needed): Remove variable.
61403 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61404             Paul Pluzhnikov  <ppluzhnikov@google.com>
61406         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
61407         strings correctly.
61409 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
61411         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
61412         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
61413         * sysdeps/sh/strlen.S: Likewise.
61415 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61417         * sysdeps/unix/fork.S: Remove file.
61418         * sysdeps/unix/i386/fork.S: Likewise.
61419         * sysdeps/unix/sparc/fork.S: Likewise.
61421         * sysdeps/unix/system.c: Remove file.
61422         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
61424         * sysdeps/unix/getegid.S: Remove file.
61425         * sysdeps/unix/geteuid.S: Likewise.
61427 2012-04-24  Roland McGrath  <roland@hack.frob.com>
61429         * scripts/check-localplt.awk: New file.
61430         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
61431         of diff.
61432         * scripts/data/localplt-generic.data: Add a comment.
61434         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
61435         NODE when __dir_mkfile failed.
61436         * sysdeps/mach/hurd/symlinkat.c: Likewise.
61437         Reported by Ludovic Courtès <ludo@gnu.org>.
61439 2012-04-24  Andreas Jaeger  <aj@suse.de>
61441         * Makerules (common-clean): Also remove gen-as-const-headers
61442         files.
61444 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61446         * Makerules (native-compile): Do not change working directory for
61447         build.  Use $(OUTPUT_OPTION) in command.
61448         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
61450 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61452         [BZ #13886]
61453         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
61454         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
61455         * math/libm-test.inc (floor_test): Add more tests.
61456         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
61458 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61460         * sysdeps/unix/getdents.c: Remove file.
61461         * sysdeps/unix/sysv/getdents.c: Likewise.
61462         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
61464         * sysdeps/unix/syscalls.list (madvise): Add syscall from
61465         sysdeps/unix/mman/syscalls.list.
61466         (mmap): Likewise.
61467         (mprotect): Likewise.
61468         (msync): Likewise.
61469         (munmap): Likewise.
61470         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
61471         * sysdeps/unix/mman/syscalls.list: Remove.
61472         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
61474         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
61475         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
61476         * configure: Regenerated.
61477         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
61478         $(libgcc_s_suffix).
61479         * config.make.in (libgcc_s_suffix): Remove variable.
61481 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
61483         * sysdeps/unix/sysv/gethostname.c: Move to ...
61484         * sysdeps/posix/gethostname.c: ... here.
61486         * sysdeps/unix/execve.S: Remove file.
61488         * sysdeps/unix/_exit.S: Remove file.
61490 2012-04-23  Andreas Jaeger  <aj@suse.de>
61492         [BZ #13739]
61493         * manual/Makefile: Remove make dist support, there's no
61494         need for a stand-alone documentation tar ball.
61495         (TEXI2DVI): Define always, it's not in Makeconfig.
61496         (dist): Removed.
61497         (tar-it): Removed.
61498         (edition): Removed.
61499         (glibc-doc-$(edition).tar): Removed
61500         (%.Z): Removed.
61501         (%.gz): Removed.
61502         (%.uu): Removed.
61503         (ETAGS): Remove, it's in Makeconfig.
61504         (move-if-change): Remove, it's in Makeconfig.
61506 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
61508         [BZ #13970]
61509         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
61510         (strtod, strtof, strtold, strtol, strtoul, strtoq)
61511         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
61512         (strtod_l, strtof_l, strtold_l): Remove __wur.
61513         It is not necessarily an error to ignore strtol's return value.
61514         One can reliably look at the stored endptr to decide whether
61515         the number had valid syntax.
61517 2012-04-21  Andreas Jaeger  <aj@suse.de>
61519         [BZ #13739]
61520         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
61522 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
61524         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
61525         * sysdeps/unix/sysv/Versions: Remove file.
61527 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
61529         [BZ #13927]
61530         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61532 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
61534         [BZ #7064]
61535         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
61536         version from __vm86.
61538 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
61540         * sysdeps/unix/common/lxstat.c: Remove file.
61541         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
61543         * sysdeps/unix/sysv/Makefile: Remove file.
61545         * sysdeps/unix/sysv/direct.h: Remove file.
61547         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
61548         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
61549         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
61550         * sysdeps/unix/sysv/bits/signum.h: Likewise.
61551         * sysdeps/unix/sysv/bits/stat.h: Likewise.
61552         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
61553         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
61555         * sysdeps/unix/sysv/setrlimit.c: Remove file.
61557         * sysdeps/unix/xmknod.c: Remove file.
61558         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
61560         * sysdeps/unix/sysv/settimeofday.c: Remove file.
61562         * sysdeps/unix/sysv/i386/time.S: Remove file.
61564         * sysdeps/unix/fxstat.c: Remove file.
61565         * sysdeps/unix/xstat.c: Likewise.
61566         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
61568         * sysdeps/unix/sysv/sigaction.c: Remove file.
61570         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
61571         (sysdep_headers): Remove variable.
61572         [termio.h not in sysdep_headers] (generated): Likewise.
61573         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
61574         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
61575         * sysdeps/unix/sysv/tcdrain.c: Likewise.
61576         * sysdeps/unix/sysv/tcflow.c: Likewise.
61577         * sysdeps/unix/sysv/tcflush.c: Likewise.
61578         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
61579         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
61580         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
61581         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
61582         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
61584         * sysdeps/unix/siglist.c: Remove file.
61586         * sysdeps/unix/getppid.S: Remove file.
61588         * sysdeps/unix/mkdir.c: Remove file.
61589         * sysdeps/unix/rmdir.c: Likewise.
61591 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
61593         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
61594         ERR_MAX value.
61595         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
61596         errlist-compat value.
61598 2012-04-18  David S. Miller  <davem@davemloft.net>
61600         * sysdeps/generic/memcopy.h (reg_char): Delete.
61601         * debug/strcat_chk.c: Use char, not reg_char.
61602         * debug/strcpy_chk.c: Likewise.
61603         * debug/strncat_chk.c: Likewise.
61604         * debug/strncpy_chk.c: Likewise.
61605         * string/memchr.c: Likewise.
61606         * string/memrchr.c: Likewise.
61607         * string/rawmemchr.c: Likewise.
61608         * string/strcat.c: Likewise.
61609         * string/strchr.c: Likewise.
61610         * string/strchrnul.c: Likewise.
61611         * string/strcmp.c: Likewise.
61612         * string/strcpy.c: Likewise.
61613         * string/strncat.c: Likewise.
61614         * string/strncmp.c: Likewise.
61615         * string/strncpy.c: Likewise.
61617 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61619         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61620         __builtin_memcopy is called when src and dest ranges are known to not
61621         overlap.
61623 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61625         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61626         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61627         fwd_align_merge macro call.
61628         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61629         bwd_align_merge macro call.
61630         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61632 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61634         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61635         bwd_align_merge macros.
61636         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61637         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61638         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61640 2012-04-18  David S. Miller  <davem@davemloft.net>
61642         * sysdeps/sparc/sparc64/memcopy.h: Delete.
61644 2012-04-18  Andreas Jaeger  <aj@suse.de>
61646         [BZ# 6794]
61647         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61648         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61649         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61651         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61652         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61653         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61655         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61656         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61657         Adjust for changed ldbl-128 files.
61659         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61660         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61661         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61663 2012-04-17  David S. Miller  <davem@davemloft.net>
61665         * sysdeps/sparc/sparc32/memcopy.h: Delete.
61667 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
61669         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61670         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61671         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61672         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61673         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61674         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61676 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61678         [BZ #6794]
61679         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61680         * math/libm-test.inc: Add ilogb errno and exception tests.
61681         * math/w_ilogb.c: New file: ilogb wrapper.
61682         * math/w_ilogbf.c: New file: ilogbf wrapper.
61683         * math/w_ilogbl.c: New file: ilogbl wrapper.
61684         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61685         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61686         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61687         exception being thrown with 0.0 as argument.
61688         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61689         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61690         exception being thrown with 0.0 as argument.
61691         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61692         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61693         exception being thrown with 0.0 as argument.
61694         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61695         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61696         exception being thrown with 0.0 as argument.
61697         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61698         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61699         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61700         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61701         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61702         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61703         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61704         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61705         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61707 2012-04-17  Petr Baudis  <pasky@ucw.cz>
61709         * include/sys/uio.h: Change __vector to __iovec to avoid clash
61710         with altivec.
61712 2012-04-16  Marek Polacek  <polacek@redhat.com>
61714         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61716 2012-04-16  Marek Polacek  <polacek@redhat.com>
61718         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61719         operands of fdivp instruction.
61721 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61723         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61724         * elf/tst-auditmod3b.c: Likewise.
61725         * elf/tst-auditmod4b.c: Likewise.
61726         * elf/tst-auditmod5b.c: Likewise.
61727         * elf/tst-auditmod6b.c: Likewise.
61728         * elf/tst-auditmod6c.c: Likewise.
61729         * elf/tst-auditmod7b.c: Likewise.
61730         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61731         * sysdeps/x86_64/preconfigure.in: Likewise.
61732         * sysdeps/x86_64/preconfigure: Regenerated.
61734 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61736         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61737         __ILP32__.
61739 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
61741         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61742         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61744 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
61746         [BZ #13973]
61747         * locale/iso-639.def: Fix gl language name. Spotted by
61748         Yaron Shahrabani.
61750 2012-04-12  Roland McGrath  <roland@hack.frob.com>
61752         [BZ #2074]
61753         * libio/libio.h (__io_write_fn): Update comment.
61755 2012-04-12  Petr Baudis  <pasky@ucw.cz>
61757         [BZ #2074]
61758         * stdio.texi (Hook Functions): The user provided writer function
61759         is not allowed to return -1.
61761 2012-04-11  David S. Miller  <davem@davemloft.net>
61763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61765 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
61767         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
61768         Add a leading slash to rtkaio.
61770 2012-04-11  Jim Meyering  <meyering@redhat.com>
61772         [BZ #11959]
61773         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
61774         It is not necessarily an error to ignore fwrite's return
61775         value.  One can reliably use ferror to test for errors after
61776         the fact.
61778 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61780         * bits/types.h (__snseconds_t): New type.
61781         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
61783         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
61784         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61785         (__SNSECONDS_T_TYPE): Likewise.
61786         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61787         (__SNSECONDS_T_TYPE): Likewise.
61788         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61789         (__SNSECONDS_T_TYPE): Likewise.
61791 2012-04-10  Andreas Jaeger  <aj@suse.de>
61793         [BZ #2636]
61794         * manual/time.texi (Processor Time): Return type of times is
61795         elapsed real time since an arbitrary point in the past.
61796         (CPU Time): Move CLK_TCK from here...
61797         (Processor Time): ...to here.  Correct description.
61798         * manual/conf.texi (Constants for Sysconf): Correct description of
61799         _SC_CLK_TCK.
61801 2012-04-10  David S. Miller  <davem@davemloft.net>
61803         [BZ #13967]
61804         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
61805         where the is a gap between DT_REL(A) and DT_JMPREL.
61807 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61809         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61810         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61811         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61813 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61815         * elf/dl-support.c (_dl_inhibit_cache): New variable.
61816         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
61817         (dl_main): Handle --inhibit-cache.
61818         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
61819         _dl_inhibit_cache.
61820         * elf/dl-load.c (_dl_map_object): Use it.
61821         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
61823 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61825         [BZ #13872]
61826         * sysdeps/i386/fpu/e_powl.S (p78): New object.
61827         (__ieee754_powl): Saturate large exponents rather than testing for
61828         overflow of y*log2(x).
61829         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61830         * math/libm-test.inc (pow_test): Do not permit spurious overflow
61831         exceptions.
61833         [BZ #11521]
61834         * math/s_ctan.c: Include <float.h>.
61835         (__ctan): Avoid internal overflow or cancellation in calculating
61836         denominator.
61837         * math/s_ctanf.c: Likewise.
61838         * math/s_ctanl.c: Likewise.
61839         * math/s_ctanh.c: Likewise.
61840         * math/s_ctanhf.c: Likewise.
61841         * math/s_ctanhl.c: Likewise.
61842         * math/libm-test.inc (ctan_test): Add more tests.
61843         (ctanh_test): Likewise.
61844         * sysdeps/i386/fpu/libm-test-ulps: Update.
61845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61847 2012-04-09  Andreas Jaeger  <aj@suse.de>
61849         [BZ #6894]
61850         * manual/filesys.texi (Directory Entries): Mention that d_namlen
61851         is an optional BSD extension.
61853         [BZ #10254]
61854         * manual/stdio.texi (Opening Streams): Document additional fopen
61855         parameters.
61857 2012-04-09  Roland McGrath  <roland@hack.frob.com>
61859         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
61860         %eax without telling the compiler.
61862 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
61864         [BZ # 13963]
61865         * manual/install.texi: Use sourceware.org.
61867 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61869         [BZ #13873]
61870         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
61871         (__ieee754_pow): Generate overflow and underflow using huge*huge
61872         and tiny*tiny rather than just returning constant infinity or zero
61873         for large exponents.
61874         * math/libm-test.inc (pow_test): Require overflow exceptions for
61875         applicable cases of large exponents.
61877         [BZ #706]
61878         * sysdeps/i386/fpu/e_pow.S (p10): New object.
61879         (__ieee754_pow): Use iterative multiplication algorithm only for
61880         integer exponents with absolute value below 1024.  Check for odd
61881         integer exponents when using algorithm for real exponents.
61882         * math/libm-test.inc (pow_test): Add more tests.
61883         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61885 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
61887         [BZ #13705]
61888         * math/libm-test.inc (exp_test): Do not allow overflow exception
61889         on underflow test.
61891 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
61893         [BZ #13705]
61894         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
61895         instead of __kernel_standard_f.
61897 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
61899         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
61900         * sysdeps/x86_64/memset_chk.S: Likewise.
61902 2012-04-08  Andreas Jaeger  <aj@suse.de>
61904         [BZ #10153]
61905         * manual/startup.texi (Environment Access): Describe return value
61906         for putenv and setenv.
61908         [BZ #6895]
61909         * manual/filesys.texi (Directory Entries): Add description for
61910         DT_LNK.
61912         [BZ #6890]
61913         * manual/filesys.texi (Directory Entries): Clarify that it's file
61914         system not operating system in the description of DT_UNKNOWN.
61916         [BZ #6578]
61917         * manual/syslog.texi (closelog): Fix reference, it's openlog.
61919 2012-04-08  Stephen Compall  <s11@member.fsf.org>
61921         [BZ #6649]
61922         * manual/llio.texi (Opening and Closing Files): Add cross
61923         reference to explain mode argument.
61925 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
61927         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
61928         * sysdeps/x86_64/memset_chk.S: Likewise.
61930 2012-04-07  David S. Miller  <davem@davemloft.net>
61932         * elf/elf.h (R_SPARC_WDISP10): Define.
61933         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
61934         R_SPARC_SIZE32.
61935         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
61936         R_SPARC_SIZE64 and R_SPARC_H34.
61938 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
61940         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
61941         conditions and remove no longer applicable assertion.
61943 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61945         * bits/byteswap.h: Include <features.h>.
61946         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61947         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61949 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61951         * bits/byteswap.h (__bswap_16): Removed.
61952         Include <bits/byteswap-16.h> to get __bswap_16.
61953         * sysdeps/i386/bits/byteswap.h: Likewise.
61954         * sysdeps/s390/bits/byteswap.h: Likewise.
61955         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61956         * bits/byteswap-16.h: New file.
61957         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61958         * sysdeps/s390/bits/byteswap-16.h: Likewise.
61959         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
61960         * string/Makefile (headers): Add bits/byteswap-16.h.
61962 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61964         [BZ #13895]
61965         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
61966         extra indirection.
61967         * nss/Makefile (tests-static, tests): Add tst-nss-static.
61968         * nss/tst-nss-static.c: New.
61970 2012-04-06  Robert Millan  <rmh@gnu.org>
61972         [BZ #6486]
61973         * manual/llio.texi (File Position Primitive): lseek
61974         refers to WHENCE when it really means OFFSET.
61976 2012-04-06  Andreas Jaeger  <aj@suse.de>
61978         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
61979         strncmp declarations.
61981         * abilist/libc.abilist: Add __poll and __ppoll.
61983 2012-04-05  David S. Miller  <davem@davemloft.net>
61985         * scripts/check-local-headers.sh: Accept a host triplet in the
61986         path matched by the exclude regexp.
61988         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
61989         definition.
61990         * sysdeps/powerpc/powerpc32/dl-machine.h
61991         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
61992         * sysdeps/s390/s390-32/dl-machine.h
61993         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61994         * sysdeps/sparc/sparc32/dl-machine.h
61995         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61996         * sysdeps/sparc/sparc64/dl-machine.h
61997         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61999         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
62000         lazy binding.
62001         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
62002         undefined symbol errors.
62004         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
62005         DT_NEEDED entries.
62007 2012-04-05  Michael Matz  <matz@suse.de>
62009         [BZ #13592]
62010         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
62012 2012-04-05  Andreas Jaeger  <aj@suse.de>
62014         [BZ #13908]
62015         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
62016         comment.
62018 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62020         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
62021         which ROUND is no valid rounding mode.
62023 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62025         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
62026         read again.
62027         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
62029 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62031         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
62032         an exception using FPU order intentionally.
62034 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62036         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
62037         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
62038         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
62039         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
62041 2012-04-05  Simon Josefsson  <simon@josefsson.org>
62043         [BZ #12340]
62044         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
62045         EINVAL when BUFLEN is too smal.
62047 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62049         [BZ #13553]
62050         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
62051         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
62053 2012-04-03  Andreas Jaeger  <aj@suse.de>
62055         [BZ #13938]
62056         * manual/setjmp.texi (System V contexts): Fix sentence.
62058         [BZ #13926]
62059         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
62060         New macro for this case.
62061         [!__GNUC__] (__bswap_64): New inline function for this case.
62062         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62063         * bits/byteswap.h: Likewise.
62064         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
62065         ull, guard with __GLIBC_HAVE_LONG_LONG.
62067         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
62068         __GLIBC_HAVE_LONG_LONG.
62070         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
62071         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
62073 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62075         [BZ #13691]
62076         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
62077         inptr and inend, rather than using last_ch.
62079 2012-04-02  David S. Miller  <davem@davemloft.net>
62081         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
62082         * stdio-common/printf-parse.h (read_int): Change return type to
62083         'int', return -1 on INT_MAX overflow.
62084         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
62085         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
62086         overflows INT_MAX.  Check for overflow of in-format-string precision
62087         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
62088         SIZE_MAX not INT_MAX for integer overflow test.
62089         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
62090         skip the construct in the format string but do not record anything.
62091         * stdio-common/bug22.c: Adjust to test both width/prevision
62092         INT_MAX overflow as well as total length INT_MAX overflow.  Check
62093         explicitly for proper errno values.
62095 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62097         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
62098         CHAR_MAX.
62099         * string/test-strcmp.c [! WIDE]: Likewise.
62100         * time/tst-mktime2.c: Likewise for INT_MAX.
62101         * string/test-string.h: #include <sys/param.h> for MIN.
62103         * csu/init-first.c (__libc_init_first): Call __ctype_init.
62104         * sysdeps/i386/init-first.c (init): Likewise.
62105         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
62106         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
62107         * sysdeps/sh/init-first.c (init): Likewise.
62109 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
62111         * po/ru.po: Update from translation team.
62112         * po/vi.po: Likewise.
62114 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62116         * resolv/nss_dns/dns-host.c: Merge copyright years.
62118 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62120         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62121         Optimize memcpy with prefetch if
62122         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
62123         src, dst pointers have unequal 16 byte alignments.
62125 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62127         [BZ #13928]
62128         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
62129         from a CNAME entry and return the minimum ttl for the query.
62130         (gaih_getanswer_slice): Likewise.
62132 2012-03-30  Jeff Law  <law@redhat.com>
62134         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
62135         due to long keys.
62136         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
62137         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
62139         * resolv/nss_dns/dns-host.c: Update copyright year.
62141 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
62143         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
62144         requests to save a system call.  Fix check that all bytes are sent.
62146         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
62147         comments for sendmmsg.
62149 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62151         [BZ #13691]
62152         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
62153         with only 1 character between 0x0041 and 0x01b0.
62154         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
62155         * wcsmbs/tst-mbsnrtowcs.c: New file.
62157 2012-03-29  David S. Miller  <davem@davemloft.net>
62159         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
62160         small copies by hand.
62162 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62164         [BZ #13761]
62165         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
62166         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
62167         group memberships.
62169 2012-03-28  David S. Miller  <davem@davemloft.net>
62171         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
62172         that branches into memcpy.
62173         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62174         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
62175         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62176         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
62177         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
62178         bits.
62179         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
62180         implementation too.
62181         * sysdeps/sparc/mempcpy.S: New file.
62183         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
62184         the IFUNC routine in the libc case.
62185         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62187         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
62188         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
62189         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
62190         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
62191         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
62192         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
62193         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
62194         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
62196         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
62197         loop to 256 bytes instead of 64 bytes and fix test signedness.
62199         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
62200         * sysdeps/sparc/sparc32/Makefile: rather than here...
62201         * sysdeps/sparc/sparc64/Makefile: and here.
62203 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
62205         * malloc/mallocbug.c: Avoid warnings about unused variables.
62207 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62209         [BZ #13760]
62210         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
62211         in the right place. Discard and retry query if response is
62212         larger than input buffer size.
62214 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
62216         [BZ #369]
62217         [BZ #2678]
62218         [BZ #3866]
62219         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
62220         x for large integer exponent.
62221         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
62222         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
62223         sign of result as needed afterwards.
62224         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
62225         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
62226         result for underflowing pow the same as for overflow.
62227         (__kernel_standard_l): Handle powl overflow and underflow here
62228         rather than calling __kernel_standard.
62229         * math/libm-test.inc (pow_test): Add more tests.
62231         [BZ #3868]
62232         [BZ #13879]
62233         [BZ #13910]
62234         [BZ #13911]
62235         [BZ #13912]
62236         [BZ #13913]
62237         [BZ #13915]
62238         [BZ #13916]
62239         [BZ #13917]
62240         [BZ #13918]
62241         [BZ #13919]
62242         [BZ #13920]
62243         [BZ #13921]
62244         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
62245         * sysdeps/ieee754/k_standard.c: Include <float.h>.
62246         (__kernel_standard_l): New function.
62247         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
62248         __kernel_standard.
62249         * math/w_acosl.c (__acosl): Likewise.
62250         * math/w_asinl.c (__asinl): Likewise.
62251         * math/w_atan2l.c (__atan2l): Likewise.
62252         * math/w_atanhl.c (__atanhl): Likewise.
62253         * math/w_coshl.c (__coshl): Likewise.
62254         * math/w_exp10l.c (__exp10l): Likewise.
62255         * math/w_exp2l.c (__exp2l): Likewise.
62256         * math/w_fmodl.c (__fmodl): Likewise.
62257         * math/w_hypotl.c (__hypotl): Likewise.
62258         * math/w_j0l.c (__j0l, __y0l): Likewise.
62259         * math/w_j1l.c (__j1l, __y1l): Likewise.
62260         * math/w_jnl.c (__jnl, __ynl): Likewise.
62261         * math/w_lgammal.c (__lgammal): Likewise.
62262         * math/w_log10l.c (__log10l): Likewise.
62263         * math/w_log2l.c (__log2l): Likewise.
62264         * math/w_logl.c (__logl): Likewise.
62265         * math/w_powl.c (__powl): Likewise.
62266         * math/w_remainderl.c (__remainderl): Likewise.
62267         * math/w_scalbl.c (sysv_scalbl): Likewise.
62268         * math/w_sinhl.c (__sinhl): Likewise.
62269         * math/w_sqrtl.c (__sqrtl): Likewise.
62270         * math/w_tgammal.c (__tgammal): Likewise.
62271         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
62272         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
62273         * math/libm-test.inc (acos_test): Add more tests.
62274         (acosh_test): Likewise.
62275         (asin_test): Likewise.
62276         (atanh_test): Likewise.
62277         (exp_test): Likewise.
62278         (exp10_test): Likewise.
62279         (exp2_test): Likewise.
62280         (expm1_test): Likewise.
62281         (lgamma_test): Likewise.
62282         (log_test): Likewise.
62283         (log10_test): Likewise.
62284         (log1p_test): Likewise.
62285         (log2_test): Likewise.
62286         (pow_test): Do not allow some spurious overflow exceptions.
62287         (sqrt_test): Add more tests.
62288         (tgamma_test): Likewise.
62289         (y0_test): Likewise.
62290         (y1_test): Likewise.
62291         (yn_test): Likewise.
62293 2012-03-27  Anton Blanchard  <anton@samba.org>
62295         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
62296         MAP_HUGETLB.
62297         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62298         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62299         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62301 2012-03-27  David S. Miller  <davem@davemloft.net>
62303         * conform/Makefile: Run run-conformtest.sh using $(BASH).
62305         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
62306         have-as-vis3 check.
62308 2012-03-27  Andreas Jaeger  <aj@suse.de>
62310         * sysdeps/x86_64/elf/configure.in: Moved to ...
62311         * sysdeps/x86_64/configure.in: ... here.
62312         * sysdeps/x86_64/elf/start.S: Moved to ...
62313         * sysdeps/x86_64/start.S: ... here.
62314         * sysdeps/x86_64/elf/configure: Delete.
62316         * sysdeps/x86_64/configure.in: Merge contents from
62317         sysdeps/i386/configure.in (without i686 check).
62319         * sysdeps/i386/elf/Versions: Merge into ...
62320         * sysdeps/i386/Versions: ... this.
62321         * sysdeps/i386/elf/Versions: Delete file.
62322         * sysdeps/i386/elf/start.S: Moved to ...
62323         * sysdeps/i386/start.S: ...here.
62324         * sysdeps/i386/elf/configure.in: Merge into...
62325         * sysdeps/i386/configure.in: ...here.
62326         * sysdeps/i386/elf/configure.in: Delete file.
62327         * sysdeps/i386/elf/configure: Delete file.
62329         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
62330         * debug/backtracesyms.c: ... here.
62331         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
62332         * debug/backtracesymsfd.c: ... here.
62333         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
62334         * sysdeps/generic/ifunc-sel.h: ... here.
62336         * sysdeps/unix/i386/start.c: Delete file.
62337         * sysdeps/unix/sparc/start.c: Delete file.
62338         * sysdeps/unix/start.c: Delete file.
62340         * sysdeps/sh/elf/configure.in: Moved to ...
62341         * sysdeps/sh/configure.in: ... here.
62342         * sysdeps/sh/elf/start.S: Moved to ...
62343         * sysdeps/sh/start.S: ... here.
62344         * sysdeps/sh/elf/configure: Delete file.
62346         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
62347         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
62348         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
62349         * sysdeps/powerpc/powerpc64/entry.h: ... here.
62350         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
62351         * sysdeps/powerpc/powerpc64/start.S: here.
62352         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
62353         * sysdeps/powerpc/powerpc64/Makefile: ... this.
62354         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
62355         * sysdeps/powerpc/powerpc64/configure.in: ... this.
62356         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
62358         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
62359         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
62360         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
62361         * sysdeps/powerpc/powerpc32/start.S: ... here.
62362         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
62363         * sysdeps/powerpc/powerpc32/configure.in: ... this.
62364         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
62366         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
62367         * sysdeps/powerpc/ifunc-sel.h: ... here.
62368         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
62369         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
62371         * sysdeps/sparc/elf/configure.in: Moved to ...
62372         * sysdeps/sparc/configure.in: ... here.
62373         * sysdeps/sparc/elf/configure: Delete file.
62374         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
62375         * sysdeps/sparc/sparc32/start.S: ... here.
62376         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
62377         * sysdeps/sparc/sparc64/start.S: ... here.
62378         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
62379         * sysdeps/sparc/sparc32/Makefile: ... this.
62380         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
62381         * sysdeps/sparc/sparc64/Makefile: ... this.
62383         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
62384         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
62385         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
62386         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
62387         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
62388         * sysdeps/s390/s390-32/setjmp.S: ... here.
62389         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
62390         * sysdeps/s390/s390-32/configure.in: ... here.
62391         * sysdeps/s390/s390-32/elf/configure: Delete file.
62392         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
62393         * sysdeps/s390/s390-32/start.S: ... here.
62395         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
62396         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
62397         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
62398         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
62399         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
62400         * sysdeps/s390/s390-64/setjmp.S: ... here.
62401         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
62402         * sysdeps/s390/s390-64/configure.in: ... here
62403         * sysdeps/s390/s390-64/elf/configure: Delete file.
62404         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
62405         * sysdeps/s390/s390-64/start.S: ... here.
62406         * sysdeps/s390/s390-64/elf/configure: Delete.
62408         * configure.in: Remove support for elf directories in sysdeps.
62410         * configure: Regenerated.
62411         * sysdeps/i386/configure: Regenerated.
62412         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62413         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62414         * sysdeps/s390/s390-32/configure: Regenerated.
62415         * sysdeps/s390/s390-64/configure: Regenerated.
62416         * sysdeps/sh/configure: Regenerated.
62417         * sysdeps/sparc/configure: Regenerated.
62418         * sysdeps/x86_64/configure: Regenerated.
62420 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
62422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62424         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
62425         denormal result into account.
62427 2012-03-25  Roland McGrath  <roland@hack.frob.com>
62429         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
62430         Reported by Allan McRae <allan@archlinux.org>.
62432 2012-03-23  Jeff Law  <law@redhat.com>
62434         * nss/getnssent.c (__nss_getent): Fix typo.
62436 2012-03-23  David S. Miller  <davem@davemloft.net>
62438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62440 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
62442         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
62443         to pad to uint64_t for each field.
62444         (dl_tls_index): Replace unsigned long with uint64_t.
62446 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
62447         Paul Pluzhnikov  <ppluzhnikov@google.com>
62449         [BZ #6528]
62450         * grp/Makefile (otherlibs): Don't set it.
62451         * inet/Makefile (otherlibs): Likewise.
62452         * login/Makefile (otherlibs): Likewise.
62453         * nscd/Makefile (otherlibs): Likewise.
62454         * posix/Makefile (otherlibs): Likewise.
62455         * pwd/Makefile (otherlibs): Likewise.
62456         * rt/Makefile (otherlibs): Likewise.
62457         * sunrpc/Makefile (otherlibs): Likewise.
62458         * nss/Makefile (otherlibs): Likewise.
62459         Add libnss_files to routines and static-only-routines.
62460         ($(objpfx)getent): Remove rule.
62461         * resolv/Makefile: Add libnss_dns and libresolv to routines and
62462         static-only-routines.
62464 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62466         [BZ #13892]
62467         * math/s_cexp.c: Include <float.h>.
62468         (__cexp): Handle exp result overflowing not necessarily
62469         overflowing both real and imaginary parts of result.
62470         * math/s_cexpf.c: Likewise.
62471         * math/s_cexpl.c: Likewise.
62472         * math/libm-test.inc (cexp_test): Add more tests.
62473         * sysdeps/i386/fpu/libm-test-ulps: Update.
62474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62476 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62478         * include/link.h (ELFW): New macro.
62479         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
62480         Replace ELF64_R_TYPE with ELFW(R_TYPE).
62482 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62484         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
62485         with uint64_t.
62487 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62489         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
62490         declaration.
62491         (struct La_x32_retval): Likewise.
62493 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62495         * sysdeps/x86_64/preconfigure.in: New file.
62496         * sysdeps/x86_64/preconfigure: New generated file.
62498 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62500         [BZ #13824]
62501         * math/e_exp2l.c: Include <float.h>.
62502         (__ieee754_exp2l): Handle overflow and underflow cases
62503         separately.  Only pass fractional part of argument to
62504         __ieee754_expl.
62505         * math/libm-test.inc (exp2_test): Add more tests.
62507         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
62508         negating x to take absolute value.
62509         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
62510         Likewise.
62511         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62512         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
62513         Likewise.
62514         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
62515         computing low part if x was negated.
62516         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62518 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62520         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
62521         la_x32_gnu_pltexit.
62522         (pltexit): Cast int_retval to ptrdiff_t.
62523         * elf/tst-auditmod3b.c: Likewise.
62524         * elf/tst-auditmod4b.c: Likewise.
62525         * elf/tst-auditmod5b.c: Likewise.
62526         * elf/tst-auditmod6b.c: Likewise.
62527         * elf/tst-auditmod6c.c: Likewise.
62528         * elf/tst-auditmod7b.c: Likewise.
62530         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
62531         and x32_gnu_pltexit.
62533         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
62534         __ELF_NATIVE_CLASS.
62535         (La_x32_regs): New macro.
62536         (La_x32_retval): Likewise.
62537         (la_x32_gnu_pltenter): New function prototype.
62538         (la_x32_gnu_pltexit): Likewise.
62540 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
62542         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
62543         exponent.
62545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62547         * configure.in (libc_cv_cc_nofma): Check for option to disable
62548         generation of FMA instructions.
62549         * configure: Regenerate.
62550         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
62551         * sysdeps/ieee754/dbl-64/Makefile: New file.
62552         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
62553         Remove brandred-fma4.
62554         (CFLAGS-brandred-fma4.c): Remove.
62555         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
62556         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
62557         define.
62558         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
62559         define.
62561 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62563         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62564         LLONG_MAX != LONG_MAX.
62565         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62566         (_fitoa_word): Likewise.
62567         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
62568         LLONG_MAX != LONG_MAX.
62569         * stdio-common/_itowa.h: Include <_itoa.h>.
62570         (_itowa_word): Use _ITOA_WORD_TYPE on value.
62571         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
62572         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
62573         only if not defined.
62574         (_ITOA_WORD_TYPE): Likewise.
62575         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62576         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
62578 2012-03-21  David S. Miller  <davem@davemloft.net>
62580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62582 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62584         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
62585         of x86_64 when setting libc_cv_slibdir, libdir and
62586         libc_cv_localedir.
62587         * sysdeps/unix/sysv/linux/configure: Regenerated.
62589 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62591         * manual/lang.texi (Old Varargs): Remove section.
62592         (How Variadic): Update menu.
62593         (va_start): Do not mention varargs.h.
62595 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62596             Joseph Myers  <joseph@codesourcery.com>
62598         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
62599         link test.
62600         * configure: Regenerated.
62602 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62604         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62605         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62606         conformtest.pl
62608 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62610         * NOTES: Remove.
62611         * Makefile (files-for-dist): Remove NOTES.
62612         (NOTES): Remove rule.
62613         * README: Don't refer to NOTES.
62614         * manual/creature.texi: Don't include macros.texi.
62615         * manual/intro.texi (creature.texi): Remove comment referring to
62616         NOTES.
62618         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62619         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62620         * configure: Regenerated.
62621         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62622         LIBC_TRY_CC_OPTION.
62623         (libc_cv_as_i686): Likewise.
62624         (libc_cv_cc_avx): Likewise.
62625         (libc_cv_cc_sse2avx): Likewise.
62626         (libc_cv_cc_fma4): Likewise.
62627         (libc_cv_cc_novzeroupper): Likewise.
62628         * sysdeps/i386/configure: Regenerated.
62630         [BZ #13883]
62631         * sysdeps/i386/fpu/s_cexp.S: Remove.
62632         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62633         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62634         * math/libm-test.inc (cexp_test): Add more tests.
62635         * sysdeps/i386/fpu/libm-test-ulps: Update.
62636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62638 2012-03-21  Allan McRae  <allan@archlinux.org>
62640         * timezone/Makefile: Do not install iso3166.tab and zone.tab
62642 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62644         [BZ #13871]
62645         * math/w_exp2.c: Do not include <float.h>.
62646         (o_threshold, u_threshold): Remove.
62647         (__exp2): Calculate result before checking finiteness and calling
62648         __kernel_standard.
62649         * math/w_exp2f.c: Likewise.
62650         * math/w_exp2l.c: Likewise.
62651         * math/libm-test.inc (exp2_test): Require overflow exception for
62652         1e6 input.
62654         [BZ #3866]
62655         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62656         range of signed 64-bit integers before using fistpll.  Remove
62657         checks for whether integers fit in mantissa bits.
62658         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62659         the range of signed 32-bit integers before using fistpl.  Remove
62660         checks for whether integers fit in mantissa bits.
62661         * sysdeps/i386/fpu/e_powl.S (p64): New object.
62662         (__ieee754_powl): Test for y outside the range of signed 64-bit
62663         integers before using fistpll.  Reduce 64-bit values to 63-bit
62664         ones as needed.
62665         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62666         divide-by-zero is raised for zero to large negative powers.
62667         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62668         (__ieee754_powl): Test for y outside the range of signed 64-bit
62669         integers before using fistpll.  Reduce 64-bit values to 63-bit
62670         ones as needed.
62671         * math/libm-test.inc (pow_test): Add more tests.
62673 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62675         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62676         <stdio-common/_itoa.h>.
62677         * debug/segfault.c: Likewise.
62678         * elf/dl-cache.c: Likewise.
62679         * elf/dl-minimal.c: Likewise.
62680         * elf/dl-misc.c: Likewise.
62681         * elf/dl-sysdep.c: Likewise.
62682         * elf/dl-version.c: Likewise.
62683         * elf/rtld.c: Likewise.
62684         * hurd/hurdsock.c: Likewise.
62685         * hurd/lookup-retry.c: Likewise.
62686         * malloc/malloc.c: Likewise.
62687         * malloc/mtrace.c: Likewise.
62688         * nscd/nscd_getgr_r.c: Likewise.
62689         * nscd/nscd_getpw_r.c: Likewise.
62690         * nscd/nscd_getserv_r.c: Likewise.
62691         * posix/getopt_init.c: Likewise.
62692         * posix/wordexp.c: Likewise.
62693         * stdio-common/_itoa.c: Likewise.
62694         * stdio-common/printf_fphex.c: Likewise.
62695         * stdio-common/vfprintf.c: Likewise.
62696         * string/_strerror.c: Likewise.
62697         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62698         * sysdeps/i386/i686/hp-timing.h: Likewise.
62699         * sysdeps/mach/_strerror.c: Likewise.
62700         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62701         * sysdeps/mach/hurd/sethostid.c: Likewise.
62702         * sysdeps/mach/hurd/xmknodat.c: Likewise.
62703         * sysdeps/mach/xpg-strerror.c: Likewise.
62704         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62705         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62706         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62707         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62708         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62709         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62710         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62711         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62712         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62713         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62714         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62715         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62716         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62717         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62718         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62719         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62720         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62721         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62722         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62723         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62724         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62726         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62728         * stdio-common/_itoa.h: Moved to ...
62729         * sysdeps/generic/_itoa.h: Here.
62731         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62733         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62734         instead of "_itoa.h" and "_itowa.h".
62735         * stdio-common/vfprintf.: Likewise.
62737 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62739         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62740         <bits/wordsize.h>.
62741         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62742         (__signbit): Likwise.
62743         (llrintf): Likwise.
62744         (llrint): Likwise.
62746 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62748         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62749         __WORDSIZE != 64.
62751 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
62753         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62754         OVERFLOW_EXCEPTION_OK.
62755         * math/libm-test.inc ("Philosophy"): Update comment about
62756         exception testing.
62757         (OVERFLOW_EXCEPTION): Define.
62758         (OVERFLOW_EXCEPTION_OK): Likewise.
62759         (INVALID_EXCEPTION_OK): Renumber.
62760         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62761         (IGNORE_ZERO_INF_SIGN): Likewise.
62762         (test_exceptions): Handle FE_OVERFLOW.
62763         (exp10_test): Expect overflow exceptions.
62764         (exp2_test): Likewise.
62765         (expm1_test): Likewise.
62766         (nextafter_test): Likewise.
62767         (pow_test): Likewise.
62768         (scalbn_test): Likewise.
62769         (scalbln_test): Likewise.
62771 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62773         * sysdeps/x86_64/bits/atomic.h
62774         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
62775         64bit integer.
62776         (atomic_exchange_acq): Likewise.
62777         (__arch_exchange_and_add_body): Likewise.
62778         (__arch_add_body): Likewise.
62779         (atomic_add_negative): Likewise.
62780         (atomic_add_zero): Likewise.
62782 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62784         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
62785         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
62787 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62789         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
62790         Check __x86_64__ instead of __WORDSIZE.
62792 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62794         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
62796 2012-03-19  David S. Miller  <davem@davemloft.net>
62798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62800         * sysdeps/sparc/fpu/fenv_private.h: New file.
62801         * sysdeps/sparc/fpu/math_private.h: Use it.
62802         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
62803         Remove.
62804         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
62805         (libc_feholdexcept_setroundl): Remove.
62806         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
62807         Remove.
62808         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
62809         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
62811 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62813         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
62814         int64_t instead of long int.
62815         (INSERT_WORDS64): Likwise.
62817 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62819         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
62820         _Unwind_GetCFA return to _Unwind_Ptr first.
62822 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
62824         [BZ #13629]
62825         * math/s_clog.c: Include <float.h>.
62826         (__clog): Scale large or subnormal inputs.
62827         * math/s_clogf.c: Likewise.
62828         * math/s_clogl.c: Likewise.
62829         * math/s_clog10.c: Include <float.h>.
62830         (M_LOG10_2): Define.
62831         (__clog10): Scale large or subnormal inputs.
62832         * math/s_clog10f.c: Likewise.
62833         * math/s_clog10l.c: Likewise.
62834         * math/libm-test.inc (clog_test): Add more tests.
62835         (clog10_test): Likewise.
62836         * sysdeps/i386/fpu/libm-test-ulps: Update.
62837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62839         [BZ #11451]
62840         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
62841         x and y.
62842         * math/libm-test.inc (atan2_test): Add another test.
62844         * Makerules (common-objdir-compile): Remove.
62845         * sysdeps/unix/Makefile (config-generated): Do not add
62846         $(unix-generated) to variable.
62847         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
62848         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
62849         Remove rule.
62850         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
62851         Likewise.
62852         [generic bits/local_lim.h] (before-compile): Do not append to
62853         variable.
62854         [generic bits/local_lim.h] (common-generated): Likewise.
62855         [generic sys/param.h] (before-compile): Do not append to variable.
62856         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
62857         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
62858         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
62859         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
62860         include.
62861         [generic sys/param.h] (sys/param.h-includes): Remove variable.
62862         [generic sys/param.h] (sys/param.h-includes): Remove rule.
62863         [generic sys/param.h] ($(addprefix
62864         $(common-objpfx),$(sys/param.h-includes))): Likewise.
62865         [generic sys/param.h] (common-generated): Do not append to
62866         variable.
62867         [generic sys/param.h] (sysdep_headers): Likewise.
62868         [generic bits/errno.h] (before-compile): Do not append to
62869         variable.
62870         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
62871         rule.
62872         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
62873         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
62874         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
62875         [generic bits/errno.h] (common-generated): Do not append to
62876         variable.
62877         [generic bits/ioctls.h] (before-compile): Do not append to
62878         variable.
62879         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
62880         rule.
62881         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
62882         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
62883         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
62884         rule.
62885         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
62886         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
62887         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
62888         [generic bits/ioctls.h] (common-generated): Do not append to
62889         variable.
62890         [generic sys/syscall.h] (syscall.h): Remove variable.
62891         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
62892         rule.
62893         [generic sys/syscall.h] (before-compile): Do not append to
62894         variable.
62895         [generic sys/syscall.h] (common-generated): Likewise.
62896         * sysdeps/unix/errnos-tmpl.c: Remove file.
62897         * sysdeps/unix/errnos.awk: Likewise.
62898         * sysdeps/unix/ioctls-tmpl.c: Likewise.
62899         * sysdeps/unix/ioctls.awk: Likewise.
62900         * sysdeps/unix/mk-local_lim.c: Likewise.
62901         * sysdeps/unix/snarf-ioctls: Likewise.
62903 2012-03-19  Richard Henderson  <rth@twiddle.net>
62905         * sysdeps/i386/fpu/fenv_private.h: New file.
62906         * sysdeps/i386/fpu/math_private.h: Use it.
62907         (math_opt_barrier, math_force_eval): Remove.
62908         (libc_feholdexcept_setround_53bit): Remove.
62909         (libc_feupdateenv_53bit): Remove.
62910         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62911         (math_opt_barrier, math_force_eval): Remove.
62912         (libc_feholdexcept): Remove.
62913         (libc_feholdexcept_setround): Remove.
62914         (libc_fetestexcept, libc_fesetenv): Remove.
62915         (libc_feupdateenv_test): Remove.
62916         (libc_feupdateenv, libc_feholdsetround): Remove.
62917         (libc_feresetround): Remove.
62919         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
62920         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
62922         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
62923         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
62924         (libc_feupdateenv_testl): New.
62925         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
62926         (libc_feupdateenv_testf): New.
62927         (libc_feupdateenv): Use libc_feupdateenv_test.
62928         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
62929         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
62931         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
62932         (libc_feholdsetroundf, libc_feholdsetroundl): New.
62933         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
62934         (libc_feresetround_noex): New.
62935         (libc_feresetround_noexf): New.
62936         (libc_feresetround_noexl): New.
62937         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
62938         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
62939         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
62940         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
62941         SET_RESTORE_ROUND.
62942         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62943         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
62944         (__cos): Likewise.
62945         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
62946         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
62947         SET_RESTORE_ROUND_NOEX.
62948         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
62949         SET_RESTORE_ROUND_NOEXF.
62950         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
62951         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
62952         (libc_feholdsetroundf): New.
62953         (libc_feresetround, libc_feresetroundf): New.
62955         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
62956         (libc_feholdexcept_setround_53bit): Convert from macro to function.
62957         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
62959         * sysdeps/generic/math_private.h: Include <fenv.h>.
62960         (default_libc_feholdexcept): New.
62961         (default_libc_feholdexcept_setround): New.
62962         (default_libc_fesetenv, default_libc_feupdateenv): New.
62963         (libc_feholdexcept): Only define if undefined.
62964         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
62965         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
62966         (libc_feholdexcept_setroundl): Likewise.
62967         (libc_feholdexcept_setround_53bit): Likewise.
62968         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
62969         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
62970         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
62971         (libc_feupdateenv_53bit): Likewise.
62972         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
62973         (libc_feholdexcept): Convert from macro to inline function.
62974         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
62975         (libc_fesetenv, libc_feupdateenv): Likewise.
62977         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
62978         not previously defined.
62979         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
62980         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
62981         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
62982         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
62983         * sysdeps/ieee754/flt-32/math_private.h: New file.
62984         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
62985         math_private.h below SET_FLOAT_WORD.
62986         (__isnan, __isinf_ns, __finite): Remove.
62987         (__isnanf, __isinf_nsf, __finitef): Remove.
62989 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
62991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62993 2012-03-17  David S. Miller  <davem@davemloft.net>
62995         [BZ #6471]
62996         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
62997         for 2.16.
62999 2012-03-16  David S. Miller  <davem@davemloft.net>
63001         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
63002         warnings.
63004         [BZ #6471]
63005         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
63006         properly.
63007         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
63008         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
63009         sysdep_routines when subdir is sysvipc.
63010         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
63011         __getshmlba helper.
63013         * sysdeps/sparc/fpu/libm-test/ulps: Update.
63015 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63017         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
63018         [__LP64__].
63020 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63022         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
63023         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
63024         (__lround): Renamed to ...
63025         (__llround): This.  Replace long int with long long int.
63026         Define lround functions as aliases of llround functions.
63027         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
63029 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63031         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
63032         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
63033         adresses to uintptr_t.  Replace "long int" and "unsigned long
63034         int" with "greg_t" on va_arg.
63036 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63038         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
63039         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
63041         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
63042         Move e_machine check before EI_CLASS check.  Handle x32
63043         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
63044         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
63045         SKIP_EM_IA_64 and include
63046         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
63048         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
63049         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
63050         (add_system_dir): New macro.
63052         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
63053         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
63055 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63057         [BZ #2551]
63058         [BZ #2552]
63059         [BZ #2553]
63060         [BZ #2554]
63061         [BZ #2562]
63062         [BZ #2563]
63063         [BZ #2565]
63064         [BZ #2566]
63065         [BZ #2576]
63066         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
63067         (y0): Likewise.
63068         * math/w_j0f.c (j0f): Likewise.
63069         (y0f): Likewise.
63070         * math/w_j0l.c (__j0l): Likewise.
63071         (__y0l): Likewise.
63072         * math/w_j1.c (j1): Likewise.
63073         (y1): Likewise.
63074         * math/w_j1f.c (j1f): Likewise.
63075         (y1f): Likewise.
63076         * math/w_j1l.c (__j1l): Likewise.
63077         (__y1l): Likewise.
63078         * math/w_jn.c (jn): Likewise.
63079         (yn): Likewise.
63080         * math/w_jnf.c (jnf): Likewise.
63081         (ynf): Likewise.
63082         * math/w_jnl.c (__jnl): Likewise.
63083         (__ynl): Likewise.
63084         * math/libm-test.inc (j0_test): Add more tests.
63085         (j1_test): Likewise.
63086         (jn_test): Likewise.  Add trailing semicolon to existing test.
63087         (y0_test): Likewise.
63088         (y1_test): Likewise.
63089         * sysdeps/i386/fpu/libm-test-ulps: Update.
63090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63092         [BZ #13851]
63093         [BZ #13854]
63094         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
63095         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
63096         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
63097         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
63098         (__tanl): Set errno for infinite argument.
63099         * sysdeps/i386/fpu/mptan.c: Remove.
63100         * sysdeps/i386/fpu/s_tan.S: Likewise.
63101         * sysdeps/i386/fpu/s_tanl.S: Likewise.
63102         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
63103         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
63104         * math/libm-test.inc (tan_test): Add more tests and enable more
63105         tests for double and long double.
63106         * sysdeps/i386/fpu/libm-test-ulps: Update.
63107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63109 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
63111         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
63112         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
63114 2012-03-16  Roland McGrath  <roland@hack.frob.com>
63116         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
63117         * configure.in: Use it for both main tree and add-ons.
63118         * configure: Regenerated.
63120 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63122         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
63124 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63126         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
63127         in comment.
63129         [BZ #13851]
63130         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
63131         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
63132         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
63133         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
63134         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
63135         infinite argument.
63136         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
63137         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
63138         != 0 for prec == 2.
63139         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
63140         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
63141         * sysdeps/i386/fpu/s_cosl.S: Likewise.
63142         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
63143         * sysdeps/i386/fpu/s_sinl.S: Likewise.
63144         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
63145         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
63146         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
63147         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
63148         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
63149         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
63150         * math/libm-test.inc (cos_test): Add more tests and enable more
63151         tests for long double.
63152         (sin_test): Likewise.
63153         (sincos_test): Likewise.
63154         * sysdeps/i386/fpu/libm-test-ulps: Update.
63155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63157 2012-03-16  David S. Miller  <davem@davemloft.net>
63159         * sysdeps/sparc/fpu/math_private.h: New file.
63161 2012-03-15  David S. Miller  <davem@davemloft.net>
63163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
63164         file.
63165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
63166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
63167         file.
63168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
63169         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
63170         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
63171         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
63172         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
63173         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
63174         sysdep routines.
63175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63177         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
63178         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
63180         * sysdeps/sparc/sparc-ifunc.h: New file.
63181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
63182         sparc-ifunc.h
63183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
63185         Likewise.
63186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
63187         Likewise.
63188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
63189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
63190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63192         Likewise.
63193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
63195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
63197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
63198         Likewise.
63199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
63200         Likewise.
63201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
63203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
63204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
63205         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63206         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63207         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
63208         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
63209         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63210         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63211         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
63212         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
63213         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
63214         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
63215         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
63216         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
63217         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
63218         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
63219         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
63220         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
63221         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
63222         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
63223         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
63224         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
63226 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63228         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
63229         scaling.
63230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63232 2012-03-15  Andreas Jaeger  <aj@suse.de>
63234         [BZ #13852]
63235         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
63236         ieee754/flt-32 implementation for sin, cos and sincos.
63237         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
63238         * sysdeps/i386/fpu/s_cosf.S: Likewise.
63239         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
63240         * sysdeps/i386/fpu/s_sinf.S: Likewise.
63241         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
63242         ieee754/flt-32 implementation for tan.
63244         * math/libm-test.inc (cos_test): Enable some large input tests for
63245         float as well
63246         (sin_test): Likewise.
63247         (sincos_test): Likewise.
63248         (tan_test): Add tests for large input.
63250         * sysdeps/i386/fpu/libm-test-ulps: Update.
63252 2012-03-15  Andreas Jaeger  <aj@suse.de>
63254         [BZ #13658]
63255         * math/libm-test.inc (cos_test): Add more test cases.
63256         (sin_test): Likewise.
63257         (sincos_test): Likewise.
63259 2012-03-15  Andreas Jaeger  <aj@suse.de>
63261         [BZ #13837]
63262         * math/libm-test.inc (cos_test): Add a test case for large input
63263         value.
63264         (sin_test): Likewise.
63265         (sincos_test): Likewise.
63267 2012-03-15  Andreas Jaeger  <aj@suse.de>
63268             Joseph Myers  <joseph@codesourcery.com>
63270         [BZ #13658]
63271         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
63272         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
63273         * sysdeps/i386/fpu/branred.c: Likewise.
63274         * sysdeps/i386/fpu/dosincos.c: Likewise.
63275         * sysdeps/i386/fpu/mpa.c: Likewise.
63276         * sysdeps/i386/fpu/s_cos.S: Likewise.
63277         * sysdeps/i386/fpu/s_sin.S: Likewise.
63278         * sysdeps/i386/fpu/s_sincos.S: Likewise.
63279         * sysdeps/i386/fpu/sincos32.c: Likewise.
63281         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
63282         Define.
63283         (libc_feupdateenv_53bit): Define.
63284         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
63285         Define.
63286         (libc_feupdateenv_53bit): Define.
63288         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
63289         53 bit (without extend i386 double precision).
63291         * math/libm-test.inc (sincos_test): Add tests for large input.
63292         (sin): Likewise.
63293         (cos): Likewise.
63295         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
63297 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63301 2012-03-15  David S. Miller  <davem@davemloft.net>
63303         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
63304         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
63305         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
63306         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
63307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
63308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
63309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
63310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
63311         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
63312         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
63313         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
63314         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
63315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
63316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
63317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
63318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
63319         file.
63320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
63321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
63322         file.
63323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
63324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
63325         file.
63326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
63327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
63328         file.
63329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
63330         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
63331         fmin/fmax sysdep routines.
63332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63334 2012-03-14  David S. Miller  <davem@davemloft.net>
63336         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
63337         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
63338         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
63339         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
63340         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
63341         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
63342         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
63343         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
63344         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
63345         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
63346         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
63347         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
63348         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
63349         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
63350         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
63351         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
63352         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
63353         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
63354         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
63355         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
63356         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
63357         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
63358         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
63359         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
63360         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
63361         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
63362         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
63363         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
63364         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
63365         routines.
63366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
63367         file.
63368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
63369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
63370         file.
63371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
63372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
63373         file.
63374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
63375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
63376         file.
63377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
63378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
63379         file.
63380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
63381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
63382         file.
63383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
63384         file.
63385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
63386         file.
63387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
63388         file.
63389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
63390         New file.
63391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
63392         file.
63393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
63394         file.
63395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
63396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
63397         file.
63398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
63399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
63400         file.
63401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
63402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
63403         file.
63404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
63405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
63406         VIS3 routines.
63408         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63409         New file.
63411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63413         * sysdeps/sparc/configure.in: New file.
63414         * sysdeps/sparc/configure: Generate.
63415         * configure.in (libc_cv_sparc_as_vis3): Substitute.
63416         * configure: Regenerate.
63417         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
63418         * config.make.in (have-as-vis3): New.
63419         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
63420         available use -Av9d instead of -Av9a.
63421         * sysdeps/sparc/sparc64/Makefile: Likewise.
63422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
63423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
63424         New file.
63425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
63426         file.
63427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
63428         New file.
63429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
63430         file.
63431         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
63432         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
63433         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
63434         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
63435         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
63437         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
63438         fzeros/fnegs to load 0x80000000 into a float register instead of
63439         using the stack.
63440         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
63442 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63444         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63445         bits/syscall.h.
63446         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
63447         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
63448         ($(inst_includedir)/bits/syscall.h): Remove rule.
63449         ($(objpfx)bits/syscall.d): Include instead of
63450         $(objpfx)syscall-list.d.
63451         (generated): Change syscall-list.h and syscall-list.d to
63452         bits/syscall.h and bits/syscall.d.
63454 2012-03-14  Roland McGrath  <roland@hack.frob.com>
63456         [BZ #13846]
63457         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
63459 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63461         [BZ #13841]
63462         * math/s_csqrt.c: Include <float.h>.
63463         (__csqrt): Scale large or subnormal inputs.
63464         * math/s_csqrtf.c: Likewise.
63465         * math/s_csqrtl.c: Likewise.
63466         * math/libm-test.inc (csqrt_test): Add more tests.
63467         * sysdeps/i386/fpu/libm-test-ulps: Update.
63468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63470         [BZ #13840]
63471         * math/libm-test.inc (hypot_test): Add more tests.
63473 2012-03-13  David S. Miller  <davem@davemloft.net>
63475         [BZ #13840]
63476         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
63477         double-precision for the calculation instead of scaling.
63479 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
63481         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
63482         manipulate bits before adding and subtracting TWO52[sx].
63483         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
63484         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
63485         Likewise.
63486         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
63488 2012-03-13  David S. Miller  <davem@davemloft.net>
63490         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
63491         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
63492         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
63493         rtld-global-offsets.h
63494         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63496         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
63497         large parameters.
63499         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
63501         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
63502         'err' in the ifdef scope in which it is actually used.
63504         * nss/nss_db/db-init.c: Include string.h
63506 2012-03-12  David S. Miller  <davem@davemloft.net>
63508         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63509         masking out of the most significant byte of random value used.
63510         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63511         Fix coding style in previous change.
63513         * sysdeps/unix/sysv/linux/kernel-features.h
63514         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
63515         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
63516         expression.
63517         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
63518         later.
63520 2012-03-11  David S. Miller  <davem@davemloft.net>
63522         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63523         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
63524         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
63525         for 'resultvar' otherwise things get truncated on 64-bit.
63527         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63528         Fix masking out of the most significant byte of random value used.
63530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63532 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
63534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63536 2012-03-09  David S. Miller  <davem@davemloft.net>
63538         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
63539         variables with appropriate CPP guards.
63540         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
63541         from the frame pointer, not the stack pointer.  Correct layout
63542         comments.  Fix test on resulting framesize and the management of
63543         the outregs buffer for pltexit.  Preserve floating point return
63544         values across _dl_call_pltexit call.
63545         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
63546         framesize and the management of the outregs buffer for pltexit.
63547         Preserve floating point return values across _dl_call_pltexit
63548         call.
63549         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
63550         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
63551         (la_sparc64_gnu_pltexit): New functions.
63552         (print_exit): Fix format string for return register value.
63554 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
63556         * sunrpc/Makefile (others): Add rpcgen.
63557         ($(objpfx)rpcgen): Remove special build rule and dependency on
63558         libc.
63559         * sunrpc/rpcgen.c: New file.
63561 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
63563         [BZ #13673]
63564         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
63565         * stdio-common/bug-vfprintf-nargs.c: Likewise.
63566         * sysdeps/i386/crti.S: Likewise.
63567         * sysdeps/i386/crtn.S: Likewise.
63568         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
63569         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
63570         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
63571         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
63572         * sysdeps/sh/crti.S: Likewise.
63573         * sysdeps/sh/crtn.S: Likewise.
63574         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63576         [BZ #13673]
63577         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
63578         with URL.
63579         * locale/programs/locfile-kw.gperf: Likewise.
63580         * locale/programs/charmap-kw.h: Regenerated.
63581         * locale/programs/locfile-kw.h: Likewise.
63583         [BZ #13673]
63584         * intl/plural.y: Replace FSF snail mail address with URL.
63585         * intl/plural.c: Regenerated.
63587 2012-03-09  Richard Henderson  <rth@twiddle.net>
63589         * include/math_private.h: Remove file.
63590         * math/math_private.h: Move file ...
63591         * sysdeps/generic/math_private.h: ... here.
63593         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
63594         * sysdeps/powerpc/fpu/math_private.h: Likewise.
63595         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63597         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
63598         and <math_private.h>.
63599         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63600         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63601         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63602         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63603         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63604         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63605         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63606         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63607         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63608         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63609         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63610         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63611         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63612         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63613         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63614         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63615         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63616         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63617         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63618         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63619         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63620         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63621         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63622         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63623         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63624         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63625         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63626         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63627         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63628         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63629         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63630         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63631         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63632         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63633         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63634         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63635         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63636         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63637         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63638         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63639         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63640         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63641         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63642         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63643         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63644         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63645         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63646         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63647         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63648         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63649         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63650         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63651         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63652         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63653         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63654         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63655         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63656         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63657         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63658         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63659         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63660         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63661         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63662         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63663         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63664         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63665         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63666         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63667         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63668         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63669         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63670         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63671         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63672         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63673         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63674         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63675         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63676         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63677         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63678         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63679         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63680         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63681         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63682         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63683         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63684         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63685         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63686         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63687         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63688         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63689         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63690         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63691         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63692         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63693         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63694         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63695         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63696         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63697         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63698         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63699         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63700         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63701         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63702         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63703         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63704         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63705         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63706         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63707         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63708         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63709         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63710         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63711         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63712         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63713         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63714         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63715         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63716         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63717         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63718         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63719         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63720         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63721         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63722         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63723         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63724         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63725         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63726         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63727         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63728         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63729         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63730         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63731         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63732         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63733         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63734         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63735         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63736         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63737         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63738         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63739         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63740         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63741         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63742         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63743         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63744         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63745         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63746         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63747         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63748         * sysdeps/ieee754/k_standard.c: Likewise.
63749         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63750         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63751         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63752         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63753         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63754         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63755         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63756         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63757         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63758         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63759         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63760         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63761         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63762         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63763         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63764         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63765         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63766         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63767         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63768         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
63769         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
63770         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
63771         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63772         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63773         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63774         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
63775         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63776         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63777         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63778         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63779         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63780         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63781         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63782         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63783         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63784         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63785         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63786         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
63787         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
63788         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63789         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63790         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63791         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63792         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63793         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63794         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63795         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63796         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63797         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63798         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63799         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63800         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63801         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63802         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
63803         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63804         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63805         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
63806         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
63807         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63808         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63809         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63810         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63811         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63812         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63813         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63814         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63815         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63816         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63817         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63818         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63819         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63821         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63822         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63823         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63824         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63825         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
63826         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63827         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63828         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63829         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63830         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63831         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63832         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63833         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
63834         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63835         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63836         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
63837         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63838         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63839         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
63840         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63841         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
63842         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63843         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63844         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63845         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
63846         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
63847         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
63848         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
63849         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63850         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63851         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63852         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63853         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
63854         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63855         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63856         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
63857         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
63858         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63859         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63860         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63861         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63862         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63863         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63864         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63865         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63866         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63867         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63868         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63869         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63870         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63871         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63872         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63873         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63874         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
63875         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63876         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63877         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63878         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63879         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63880         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63881         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63882         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
63883         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63884         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63885         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
63886         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
63887         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63888         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
63889         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
63890         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63891         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
63892         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
63893         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63894         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63895         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63896         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63897         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63898         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
63899         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63900         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63901         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63902         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63903         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
63904         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
63905         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63906         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63907         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63908         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
63909         * sysdeps/ieee754/s_lib_version.c: Likewise.
63910         * sysdeps/ieee754/s_matherr.c: Likewise.
63911         * sysdeps/ieee754/s_signgam.c: Likewise.
63912         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63913         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63914         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
63915         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
63916         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
63917         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63918         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
63919         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
63920         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
63921         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
63922         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63923         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
63924         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63925         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63926         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
63927         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63928         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63929         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63930         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63931         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63932         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63934 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63936         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
63937         * sunrpc/rpc_main.c: Likewise.
63938         * sunrpc/rpc_svcout.c: Likewise.
63940 2012-03-09  David S. Miller  <davem@davemloft.net>
63942         * include/math_private.h: New file.
63944 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63946         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
63947         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
63948         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
63949         from <bits/socket_type.h>.
63950         (enum __socket_type): Don't define here.
63951         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
63952         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63953         bits/socket_type.h.
63955         [BZ #13566]
63956         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
63957         checking __USE_GNU.
63959         * Makerules ($(inst_includedir)/%.h): New rule.
63960         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
63961         (install-others): Remove variable setting.
63962         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
63964 2012-03-08  Richard Henderson  <rth@twiddle.net>
63966         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
63967         from macro to inline function; merge with the
63968         !__LIBC_INTERNAL_MATH_INLINES version.
63969         (__ieee754_sqrtf): Likewise.
63971         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
63972         to inline function.
63973         (__rintf, __floor, __floorf): Likewise.
63975         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
63976         macro to inline function.
63977         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
63979         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
63980         not <math/math_private.h>.
63982 2012-03-08  David S. Miller  <davem@davemloft.net>
63984         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
63985         copyright year.
63986         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
63988 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
63990         * resolv/gai_misc.c (handle_requests): Fix struct timespec
63991         normalization.
63992         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
63993         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
63995 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
63997         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
63998         be defined individually, they must be defined as a block.  Define
63999         S for printing a string instead of hidint the different by using a
64000         macro for adding the 'l'.
64001         * stdio-common/tst-fphex-wide.c: Adjust.
64003 2012-03-07  Marek Polacek  <polacek@redhat.com>
64005         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
64007 2012-03-08  Marek Polacek  <polacek@redhat.com>
64009         [BZ #13806]
64010         * stdio-common/Makefile (tests): Add tst-fphex-wide.
64011         * stdio-common/tst-fphex.c: Define a few macros to make the
64012         test reusable.  Use them.
64013         * stdio-common/tst-fphex-wide.c: New file.
64015 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
64017         [BZ #6911]
64018         * manual/macros.texi (gnusystems): New macro.
64019         (nongnusystems): Likewise.
64020         (gnulinuxhurdsystems): Likewise.
64021         (gnuhurdsystems): Likewise..
64022         (gnulinuxsystems): Likewise.
64023         * manual/charset.texi: Use new macros or @theglibc{} to refer to
64024         variants of the GNU system, not "GNU system".
64025         * manual/conf.texi: Likewise.
64026         * manual/errno.texi: Likewise.  Update example of errno macro
64027         expansion.
64028         * manual/filesys.texi: Likewise.
64029         (getumask): Document as specific to GNU/Hurd.
64030         * manual/install.texi: Likewise.  Reword some references to
64031         GNU/Linux.
64032         * manual/intro.texi: Likewise.
64033         * manual/io.texi: Likewise.
64034         (File Name Portability): Detail which constraints are inapplicable
64035         to all GNU systems and which are only inapplicable to GNU/Hurd.
64036         * manual/job.texi: Likewise.
64037         * manual/llio.texi: Likewise.
64038         (O_NOCTTY): Document as present on GNU/Linux.
64039         * manual/maint.texi: Likewise.
64040         * manual/memory.texi: Likewise.
64041         * manual/pattern.texi: Likewise.
64042         * manual/pipe.texi: Likewise.
64043         * manual/process.texi: Likewise.
64044         * manual/resource.texi: Likewise.
64045         (RUSAGE_CHILDREN): Remove statement about specifying a particular
64046         child on GNU/Hurd.
64047         * manual/setjmp.texi: Likewise.
64048         * manual/signal.texi: Likewise.
64049         * manual/startup.texi: Likewise.
64050         * manual/stdio.texi: Likewise.
64051         * manual/terminal.texi: Likewise.
64052         (ONLCR): Document as POSIX.
64053         (OXTABS): Document availability on GNU/Linux as XTABS.
64054         (ONOEOT): Document availability separately from other bits.
64055         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
64056         * manual/time.texi: Likewise.
64057         * manual/users.texi: Likewise.
64058         * INSTALL: Regenerated.
64059         * sysdeps/gnu/errlist.c: Regenerated.
64061         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
64062         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
64063         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
64064         puts.
64065         * configure: Regenerated.
64067 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
64069         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
64070         default includes instead of AC_HEADER_CHECK.
64071         * sysdeps/i386/configure: Regenerated.
64073         [BZ #10716]
64074         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
64075         * math/s_cacoshf.c (__cacoshf): Likewise.
64076         * math/s_cacoshl.c (__cacoshl): Likewise.
64077         * math/s_casinh.c (__casinh): Set signs of result from argument.
64078         * math/s_casinhf.c (__casinhf): Likewise.
64079         * math/s_casinhl.c (__casinhl): Likewise.
64080         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
64081         (casinh_test): Add more tests.
64082         * sysdeps/i386/fpu/libm-test-ulps: Update.
64083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64085 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
64087         * po/zh_TW.po: Update from translation team.
64089         * login/Makefile (distribute): Remove variable.
64090         * catgets/Makefile: Likewise.
64091         * mach/Makefile: Likewise.
64092         * malloc/Makefile: Likewise.
64093         * misc/Makefile: Likewise.
64094         * iconv/Makefile: Likewise.
64095         * nscd/Makefile: Likewise.
64096         * hurd/Makefile: Likewise.
64097         * manual/Makefile: Likewise.
64098         * locale/Makefile: Likewise.
64099         * intl/Makefile: Likewise.
64100         * conform/Makefile: Likewise.
64101         * nss/Makefile: Likewise.
64102         * time/Makefile: Likewise.
64103         * soft-fp/Makefile: Likewise.
64104         * dirent/Makefile: Likewise.
64105         * gmon/Makefile: Likewise.
64106         * po/Makefile: Likewise.
64107         * rt/Makefile: Likewise.
64108         * socket/Makefile: Likewise.
64109         * math/Makefile: Likewise.
64110         * signal/Makefile: Likewise.
64111         * debug/Makefile: Likewise.
64112         * elf/Makefile: Likewise.
64113         * timezone/Makefile: Likewise.
64114         * stdlib/Makefile: Likewise.
64115         * iconvdata/Makefile: Likewise.
64116         * sunrpc/Makefile: Likewise.
64117         * io/Makefile: Likewise.
64118         * argp/Makefile: Likewise.
64119         * inet/Makefile: Likewise.
64120         * hesiod/Makefile: Likewise.
64121         * grp/Makefile: Likewise.
64122         * csu/Makefile: Likewise.
64123         * wctype/Makefile: Likewise.
64124         * crypt/Makefile: Likewise.
64125         * libio/Makefile: Likewise.
64126         * string/Makefile: Likewise.
64127         * nis/Makefile: Likewise.
64128         * resolv/Makefile: Likewise.
64129         * stdio-common/Makefile: Likewise.
64130         * wcsmbs/Makefile: Likewise.
64131         * dlfcn/Makefile: Likewise.
64132         * posix/Makefile: Likewise.
64134         [BZ #6959]
64135         * timezone/Makefile: Don't install timezone files, just the programs
64136         and scripts.
64138 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
64140         * nss/databases.def: Add missing gshadow entry.
64142         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
64144 2012-03-06  Marek Polacek  <polacek@redhat.com>
64146         [BZ #13726]
64147         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
64148         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
64149         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
64150         * stdio-common/tst-long-dbl-fphex.c: New file.
64152 2012-03-06  David S. Miller  <davem@davemloft.net>
64154         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64155         (set_obp_int): New function.
64156         (get_obp_int): New function.
64157         (__get_clockfreq_via_dev_openprom): Likewise.
64158         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
64159         Avoid unused variable warnings on 'val' and use builtin_expect.
64160         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
64161         __builtin_expect.
64162         (INLINE_CLONE_SYSCALL): Likewise.
64164 2012-03-05  David S. Miller  <davem@davemloft.net>
64166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64168 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
64170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64172         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
64173         only for |x| >= 40.
64174         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64176 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
64178         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
64179         Replace gettimeofday with __vdso_gettimeofday.
64181         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64182         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
64183         __vdso_clock_gettime and __vdso_getcpu.
64185         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
64186         time with __vdso_time.
64188 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64190         * manual/lang.texi (size_t): Note types to which size_t may be
64191         equivalent with the GNU C Library, but do not describe when
64192         differences between them are significant.
64194 2012-03-05  Andreas Jaeger  <aj@suse.de>
64196         * sysdeps/i386/fpu/libm-test-ulps: Update.
64198 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64200         [BZ #3976]
64201         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
64202         (__ieee754_pow): Save and restore rounding mode and use
64203         round-to-nearest for main computations.
64204         * math/libm-test.inc (pow_test_tonearest): New function.
64205         (pow_test_towardzero): Likewise.
64206         (pow_test_downward): Likewise.
64207         (pow_test_upward): Likewise.
64208         (main): Call the new functions.
64209         * sysdeps/i386/fpu/libm-test-ulps: Update.
64210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64212         [BZ #3976]
64213         * math/libm-test.inc (cosh_test_tonearest): New function.
64214         (cosh_test_towardzero): Likewise.
64215         (cosh_test_downward): Likewise.
64216         (cosh_test_upward): Likewise.
64217         (sinh_test_tonearest): Likewise.
64218         (sinh_test_towardzero): Likewise.
64219         (sinh_test_downward): Likewise.
64220         (sinh_test_upward): Likewise.
64221         (main): Call the new functions.
64222         * sysdeps/i386/fpu/libm-test-ulps: Update.
64223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64225 2012-03-05  Tom de Vries  <tom@codesourcery.com>
64227         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
64228         default stack guard is set in last bytes.
64229         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
64231 2012-03-05  Kees Cook  <keescook@chromium.org>
64233         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
64235         [BZ #13656]
64236         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
64237         possibly allocate from heap instead of stack.
64238         * stdio-common/bug-vfprintf-nargs.c: New file.
64239         * stdio-common/Makefile (tests): Add nargs overflow test.
64241 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
64243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64245 2012-03-03  Marek Polacek  <polacek@redhat.com>
64247         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
64248         * math/math_private.h: Likewise.
64249         * stdlib/tst-strtod.c: Likewise.
64250         * sysdeps/i386/i486/bits/atomic.h: Likewise.
64251         * sysdeps/x86_64/bits/atomic.h: Likewise.
64253 2012-03-02  David S. Miller  <davem@davemloft.net>
64255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
64256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
64257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
64258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
64259         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
64260         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
64261         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
64262         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
64264 2012-03-02  Roland McGrath  <roland@hack.frob.com>
64266         [BZ #13792]
64267         * manual/examples/README: New file, says the example source files
64268         can be used under GPL>=2.
64269         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
64270         line containing just "*/".
64271         * manual/examples/add.c: Add copyright header (GPL>=2).
64272         * manual/examples/argp-ex1.c: Likewise.
64273         * manual/examples/argp-ex2.c: Likewise.
64274         * manual/examples/argp-ex3.c: Likewise.
64275         * manual/examples/argp-ex4.c: Likewise.
64276         * manual/examples/atexit.c: Likewise.
64277         * manual/examples/db.c: Likewise.
64278         * manual/examples/dir.c: Likewise.
64279         * manual/examples/dir2.c: Likewise.
64280         * manual/examples/execinfo.c: Likewise.
64281         * manual/examples/filecli.c: Likewise.
64282         * manual/examples/filesrv.c: Likewise.
64283         * manual/examples/fmtmsgexpl.c: Likewise.
64284         * manual/examples/genpass.c: Likewise.
64285         * manual/examples/inetcli.c: Likewise.
64286         * manual/examples/inetsrv.c: Likewise.
64287         * manual/examples/isockad.c: Likewise.
64288         * manual/examples/longopt.c: Likewise.
64289         * manual/examples/memopen.c: Likewise.
64290         * manual/examples/memstrm.c: Likewise.
64291         * manual/examples/mkfsock.c: Likewise.
64292         * manual/examples/mkisock.c: Likewise.
64293         * manual/examples/mygetpass.c: Likewise.
64294         * manual/examples/pipe.c: Likewise.
64295         * manual/examples/popen.c: Likewise.
64296         * manual/examples/rprintf.c: Likewise.
64297         * manual/examples/search.c: Likewise.
64298         * manual/examples/select.c: Likewise.
64299         * manual/examples/setjmp.c: Likewise.
64300         * manual/examples/sigh1.c: Likewise.
64301         * manual/examples/sigusr.c: Likewise.
64302         * manual/examples/stpcpy.c: Likewise.
64303         * manual/examples/strdupa.c: Likewise.
64304         * manual/examples/strftim.c: Likewise.
64305         * manual/examples/strncat.c: Likewise.
64306         * manual/examples/subopt.c: Likewise.
64307         * manual/examples/swapcontext.c: Likewise.
64308         * manual/examples/termios.c: Likewise.
64309         * manual/examples/testopt.c: Likewise.
64310         * manual/examples/testpass.c: Likewise.
64311         * manual/examples/timeval_subtract.c: Likewise.
64313         [BZ #13792]
64314         * manual/time.texi (Elapsed Time): Move timeval_subtract example
64315         function to ...
64316         * manual/timeval_subtract.c.texi: ... here, new file.
64318 2012-03-02  David S. Miller  <davem@davemloft.net>
64320         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
64322 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
64324         [BZ #3976]
64325         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
64326         (__sin): Save and restore rounding mode and use round-to-nearest
64327         for all computations.
64328         (__cos): Save and restore rounding mode and use round-to-nearest
64329         for all computations.
64330         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
64331         <fenv.h>.
64332         (tan): Save and restore rounding mode and use round-to-nearest for
64333         all computations.
64334         * math/libm-test.inc (cos_test_tonearest): New function.
64335         (cos_test_towardzero): Likewise.
64336         (cos_test_downward): Likewise.
64337         (cos_test_upward): Likewise.
64338         (sin_test_tonearest): Likewise.
64339         (sin_test_towardzero): Likewise.
64340         (sin_test_downward): Likewise.
64341         (sin_test_upward): Likewise.
64342         (tan_test_tonearest): Likewise.
64343         (tan_test_towardzero): Likewise.
64344         (tan_test_downward): Likewise.
64345         (tan_test_upward): Likewise.
64346         (main): Call the new functions.
64347         * sysdeps/i386/fpu/libm-test-ulps: Update.
64348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64350         [BZ #10135]
64351         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
64352         small n, then large n, before computing and testing k+n.
64353         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
64354         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
64355         Likewise.
64356         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
64357         Likewise.
64358         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
64359         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
64360         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
64361         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
64362         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
64363         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
64364         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
64365         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
64366         * math/libm-test.inc (scalbn_test): Add more tests.
64367         (scalbln_test): Likewise.
64369         * manual/filesys.texi (mode_t): Describe constraints on size and
64370         signedness, not exact equivalence to a particular type.
64371         (ino_t): Likewise.
64372         (ino64_t): Likewise.
64373         (dev_t): Likewise.
64374         (nlink_t): Likewise.
64375         (blkcnt_t): Likewise.
64376         (blkcnt64_t): Likewise.
64377         * manual/llio.texi (off_t): Likewise.
64379         [BZ #3976]
64380         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
64381         (__ieee754_exp): Save and restore rounding mode and use
64382         round-to-nearest for all computations.
64383         * math/libm-test.inc (exp_test_tonearest): New function.
64384         (exp_test_towardzero): Likewise.
64385         (exp_test_downward): Likewise.
64386         (exp_test_upward): Likewise.
64387         (main): Call the new functions.
64388         * sysdeps/i386/fpu/libm-test-ulps: Update.
64389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64391 2012-03-01  Chris Demetriou  <cgd@google.com>
64393         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
64394         have predictable order.
64396 2012-03-01  David S. Miller  <davem@davemloft.net>
64398         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
64400         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
64401         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
64402         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
64403         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
64405         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
64406         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
64407         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
64408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
64409         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
64410         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
64411         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
64412         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
64413         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
64415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64417         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
64418         * sysdeps/sparc/fpu/libm-test-ulps: to here.
64419         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
64421         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
64422         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64423         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64424         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
64425         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
64426         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
64427         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
64428         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64429         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64430         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
64431         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
64432         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64433         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64434         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64435         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64436         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64437         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
64438         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
64439         * sysdeps/sparc/elf/configure: Regenerated.
64441 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
64443         * configure.in (AS, LD): Require binutils 2.20 or later.
64444         * configure: Regenerated.
64445         * manual/install.texi (Tools for Compilation): Give binutils 2.20
64446         as required minimum version.
64447         * INSTALL: Regenerated.
64449         [BZ #2541]
64450         [BZ #4108]
64451         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
64452         before squaring exponent.
64453         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
64454         bottom long double and 27 bits of top long double before squaring
64455         exponent.
64456         * math/libm-test.inc (erfc_test): Add more tests.
64457         * sysdeps/i386/fpu/libm-test-ulps: Update.
64458         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64461 2012-03-01  Kai Tietz  <ktietz@redhat.com>
64463         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
64464         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
64465         containing bit-fields.
64466         * soft-fp/extended.h (_FP_UNION_E): Likewise.
64467         * soft-fp/single.h (_FP_UNION_S): Likewise.
64468         * soft-fp/double.h (_FP_UNION_D): Likewise.
64470 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64472         [BZ #13786]
64473         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
64474         not include ../strcmp.S.
64475         [USE_AS_STRNCASECMP_L]: Likewise.
64476         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
64477         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
64478         * sysdeps/i386/i686/multiarch/strncase_l-c.c
64479         (__strncasecmp_l_ia32): Define as alias to
64480         __strncasecmp_l_nonascii.
64482         [BZ #5794]
64483         * math/libm-test.inc (expm1_test): Add test for bug 5794.
64484         * sysdeps/i386/fpu/libm-test-ulps: Update.
64485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64487         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
64488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64490 2012-02-29  Jeff Law  <law@redhat.com>
64492         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
64493         out of bounds read.
64495 2012-02-29  Marek Polacek  <polacek@redhat.com>
64497         [BZ #13706]
64498         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
64499         * elf/Makefile: Add rules to run tst-unused-dep.out.
64501 2012-02-28  David S. Miller  <davem@davemloft.net>
64503         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
64504         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
64505         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
64506         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
64507         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
64508         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
64510 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64512         * math/libm-test.inc (llround_test): Move one test from
64513         lround_test.  Use TEST_f_L in moved test.
64514         (lround_test): Move misplaced test to llround_test.  Add testcase
64515         from bug 2561.
64517 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
64519         * sysdeps/x86_64/fpu/e_expf.S: New file.
64520         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
64522 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
64524         [BZ #13637]
64525         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
64526         of remain_len that may cause incomplete multi-byte character and
64527         false match.
64528         * posix/bug-regex33.c: New file.
64529         * posix/Makefile (tests): Add bug-regex33.
64531 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
64533         * manual/macros.texi: New file.
64534         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
64535         * manual/libc.texinfo: Include macros.texi.
64536         * manual/creatute.texi: Likewise.
64537         * manual/install.texi: Likewise.
64538         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
64539         @glibcadj{} in references to the GNU C Library.
64540         * manual/charset.texi: Likewise.
64541         * manual/conf.texi: Likewise.
64542         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
64543         when not using those macros.
64544         * manual/creature.texi: Likewise.
64545         * manual/crypt.texi: Likewise.
64546         * manual/errno.texi: Likewise.
64547         * manual/filesys.texi: Likewise.
64548         * manual/header.texi: Likewise.
64549         * manual/install.texi: Likewise.
64550         * manual/intro.texi: Likewise.
64551         * manual/io.texi: Likewise.
64552         * manual/job.texi: Likewise.
64553         * manual/lang.texi: Likewise.
64554         * manual/libc.texiinfo: Likewise.
64555         * manual/llio.texi: Likewise.
64556         * manual/locale.texi: Likewise.
64557         * manual/maint.texi: Likewise.
64558         * manual/math.texi: Likewise.
64559         * manual/memory.texi: Likewise.
64560         * manual/message.texi: Likewise.
64561         * manual/nss.texi: Likewise.
64562         * manual/pattern.texi: Likewise.
64563         * manual/process.texi: Likewise.
64564         * manual/resource.texi: Likewise.
64565         * manual/search.texi: Likewise.
64566         * manual/setjmp.texi: Likewise.
64567         * manual/signal.texi: Likewise.
64568         * manual/socket.texi: Likewise.
64569         * manual/startup.texi: Likewise.
64570         * manual/stdio.texi: Likewise.
64571         * manual/string.texi: Likewise.
64572         * manual/sysinfo.texi: Likewise.
64573         * manual/syslog.texi: Likewise.
64574         * manual/terminal.texi: Likewise.
64575         * manual/time.texi: Likewise.
64576         * manual/users.texi: Likewise.
64577         * INSTALL: Regenerated.
64578         * NOTES: Regenerated.
64579         * sysdeps/gnu/errlist.c: Regenerated.
64581 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
64583         * include/dirent.h: Include <dirstream.h> before
64584         <dirent/dirent.h>.
64586 2012-02-28  David S. Miller  <davem@davemloft.net>
64588         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
64589         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
64590         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
64591         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
64593 2012-02-27  David S. Miller  <davem@davemloft.net>
64595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
64596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
64597         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
64598         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
64600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
64601         frame pointer instead of stack pointer relative arg slot.
64602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64603         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64604         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64606 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
64608         [BZ #3992]
64609         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64611 2012-02-27  David S. Miller  <davem@davemloft.net>
64613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64617         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64618         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64619         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64620         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64622 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64624         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64625         later.  Allow versions 5-9.
64626         * configure: Regenerated.
64627         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64628         required minimum version and 4.6 as recommended version.  Do not
64629         mention bugs in GCC 2.7 and 2.8.
64630         * INSTALL: Regenerated.
64632 2012-02-27  David S. Miller  <davem@davemloft.net>
64634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64638         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64639         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64640         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64641         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64643         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64644         manipulate bits before adding and subtracting TWO112[sx].
64645         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64647 2012-02-27  Roland McGrath  <roland@hack.frob.com>
64649         [BZ #13775]
64650         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64651         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64652         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64653         being in POSIX, because they are in 1003.1-2008.
64655         * rt/tst-aio.c: Include <fcntl.h>.
64656         * rt/tst-aio7.c: Likewise.
64657         * rt/tst-aio64.c: Likewise.
64659         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64661 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64663         * manual/install.texi (--with-headers): Describe headers as
64664         interface headers, not private headers.
64665         (Specific advice for GNU/Linux systems): Describe use of headers
64666         from "make headers_install", not private headers from older
64667         kernels.
64668         * INSTALL: Regenerated.
64669         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64670         Change to 2.6.19.
64671         * sysdeps/unix/sysv/linux/configure: Regenerated.
64673         * manual/llio.texi (fclean): Remove documentation.
64675         * manual/Makefile (libc-texi-generated): New variable.  Include
64676         version.texi.
64677         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64678         $(libc-texi-generated), not duplicated list of files.
64679         (version.texi, stamp-version): New rules.
64680         (realclean): Remove $(libc-texi-generated), not individual files
64681         from that list.  Do not remove dir-add.texinfo.
64682         * manual/libc.texinfo: Comment out uses of edition numbers and
64683         references to printed manual.  Remove last-updated dates.
64684         (EDITION): Comment out.
64685         (ISBN): Likewise.
64686         (VERSION, UPDATED): Remove.
64687         (version.texi): Include.
64689 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
64691         * sysdeps/posix/spawni.c: Include <signal.h>.
64692         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64693         * sysdeps/pthread/aio_fsync.c: Likewise.
64695 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
64697         * conform/Makefile (tests): Run only when not cross-compiling and
64698         when fast-check is not defined.
64700         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64701         * conform/data/limits.h-data: Fixes for POSIX2008.
64702         * conform/run-conformtest.sh: Run all tests.
64703         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64704         headers.
64705         * include/bits/dlfcn.h: Likewise.
64706         * include/langinfo.h: Likewise.
64707         * include/monetary.h: Likewise.
64708         * include/sys/poll.h: Likewise.
64710         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64711         for __USE_GNU.
64712         * posix/spawn.h: Define __need_sigset_t.
64713         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64714         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64715         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
64716         to get sigevent_t only.
64717         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64718         only for __USE_GNU.
64719         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64720         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64721         process_vm_writev only for __USE_GNU.
64722         * termios/termios.h: Declare tcgetsid also for POSIX2008.
64724         * conform/Makefile: For now ignore errors from run-conformtest.
64725         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
64726         POSIX to avoid namespace pollution.  Don't prepend headers.
64727         * conform/data/aio.h-data: Fixes for POSIX testing.
64728         * conform/data/fcntl.h-data: Likewise.
64729         * conform/data/glob.h-data: Likewise.
64730         * conform/data/grp.h-data: Likewise.
64731         * conform/data/pthread.h-data: Likewise.
64732         * conform/data/pwd.h-data: Likewise.
64733         * conform/data/signal.h-data: Likewise.
64734         * conform/data/spawn.h-data: Likewise.
64735         * conform/data/stdio.h-data: Likewise.
64736         * conform/data/stdlib.h-data: Likewise.
64737         * conform/data/stropts.h-data: Likewise.
64738         * conform/data/sys/mman.h-data: Likewise.
64739         * conform/data/sys/stat.h-data: Likewise.
64740         * conform/data/sys/types.h-data: Likewise.
64741         * conform/data/sys/wait.h-data: Likewise.
64742         * conform/data/time.h-data: Likewise.
64743         * conform/data/unistd.h-data: Likewise.
64744         * conform/data/utime.h-data: Likewise.
64746         * io/sys/stat.h: fchmod was always in POSIX.
64747         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64748         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64749         * rt/aio.h: Define __need_timespec before including <time.h>.
64750         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64751         struct.  Add forward declaration of pthread_attr_t and use it in
64752         sigevent.
64753         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64754         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64755         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64756         always remove CLK_TCK definition.
64758 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
64760         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
64762 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
64764         * conform/run-conformtest.sh: New file.
64765         * conform/Makefile: Run run-conformtest for tests.
64766         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
64767         support.
64769         * conform/data/uchar.h-data: New file.
64770         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
64771         * conform/data/arpa/inet.h-data: Likewise.
64772         * conform/data/assert.h-data: Likewise.
64773         * conform/data/complex.h-data: Likewise.
64774         * conform/data/cpio.h-data: Likewise.
64775         * conform/data/ctype.h-data: Likewise.
64776         * conform/data/dirent.h-data: Likewise.
64777         * conform/data/dlfcn.h-data: Likewise.
64778         * conform/data/errno.h-data: Likewise.
64779         * conform/data/fcntl.h-data: Likewise.
64780         * conform/data/float.h-data: Likewise.
64781         * conform/data/fmtmsg.h-data: Likewise.
64782         * conform/data/fnmatch.h-data: Likewise.
64783         * conform/data/ftw.h-data: Likewise.
64784         * conform/data/glob.h-data: Likewise.
64785         * conform/data/grp.h-data: Likewise.
64786         * conform/data/iconv.h-data: Likewise.
64787         * conform/data/inttypes.h-data: Likewise.
64788         * conform/data/langinfo.h-data: Likewise.
64789         * conform/data/libgen.h-data: Likewise.
64790         * conform/data/limits.h-data: Likewise.
64791         * conform/data/locale.h-data: Likewise.
64792         * conform/data/math.h-data: Likewise.
64793         * conform/data/monetary.h-data: Likewise.
64794         * conform/data/mqueue.h-data: Likewise.
64795         * conform/data/ndbm.h-data: Likewise.
64796         * conform/data/net/if.h-data: Likewise.
64797         * conform/data/netdb.h-data: Likewise.
64798         * conform/data/netinet/in.h-data: Likewise.
64799         * conform/data/nl_types.h-data: Likewise.
64800         * conform/data/poll.h-data: Likewise.
64801         * conform/data/pthread.h-data: Likewise.
64802         * conform/data/pwd.h-data: Likewise.
64803         * conform/data/regex.h-data: Likewise.
64804         * conform/data/sched.h-data: Likewise.
64805         * conform/data/search.h-data: Likewise.
64806         * conform/data/semaphore.h-data: Likewise.
64807         * conform/data/setjmp.h-data: Likewise.
64808         * conform/data/signal.h-data: Likewise.
64809         * conform/data/spawn.h-data: Likewise.
64810         * conform/data/stdarg.h-data: Likewise.
64811         * conform/data/stdio.h-data: Likewise.
64812         * conform/data/stdlib.h-data: Likewise.
64813         * conform/data/string.h-data: Likewise.
64814         * conform/data/strings.h-data: Likewise.
64815         * conform/data/stropts.h-data: Likewise.
64816         * conform/data/sys/ipc.h-data: Likewise.
64817         * conform/data/sys/mman.h-data: Likewise.
64818         * conform/data/sys/msg.h-data: Likewise.
64819         * conform/data/sys/resource.h-data: Likewise.
64820         * conform/data/sys/select.h-data: Likewise.
64821         * conform/data/sys/sem.h-data: Likewise.
64822         * conform/data/sys/shm.h-data: Likewise.
64823         * conform/data/sys/socket.h-data: Likewise.
64824         * conform/data/sys/stat.h-data: Likewise.
64825         * conform/data/sys/statvfs.h-data: Likewise.
64826         * conform/data/sys/time.h-data: Likewise.
64827         * conform/data/sys/timeb.h-data: Likewise.
64828         * conform/data/sys/times.h-data: Likewise.
64829         * conform/data/sys/types.h-data: Likewise.
64830         * conform/data/sys/uio.h-data: Likewise.
64831         * conform/data/sys/un.h-data: Likewise.
64832         * conform/data/sys/utsname.h-data: Likewise.
64833         * conform/data/sys/wait.h-data: Likewise.
64834         * conform/data/syslog.h-data: Likewise.
64835         * conform/data/tar.h-data: Likewise.
64836         * conform/data/termios.h-data: Likewise.
64837         * conform/data/utime.h-data: Likewise.
64838         * conform/data/utmpx.h-data: Likewise.
64839         * conform/data/varargs.h-data: Likewise.
64840         * conform/data/wchar.h-data: Likewise.
64841         * conform/data/wctype.h-data: Likewise.
64842         * conform/data/wordexp.h-data: Likewise.
64844         * include/stropts.h: New file.
64845         * include/uchar.h: New file.
64846         * include/aio.h: Changes to allow conformtest.pl to use the headers.
64847         * include/assert.h: Likewise.
64848         * include/ctype.h: Likewise.
64849         * include/dirent.h: Likewise.
64850         * include/dlfcn.h: Likewise.
64851         * include/fcntl.h: Likewise.
64852         * include/fnmatch.h: Likewise.
64853         * include/glob.h: Likewise.
64854         * include/grp.h: Likewise.
64855         * include/libio.h: Likewise.
64856         * include/locale.h: Likewise.
64857         * include/math.h: Likewise.
64858         * include/net/if.h: Likewise.
64859         * include/netdb.h: Likewise.
64860         * include/netinet/in.h: Likewise.
64861         * include/pthread.h: Likewise.
64862         * include/pwd.h: Likewise.
64863         * include/regex.h: Likewise.
64864         * include/sched.h: Likewise.
64865         * include/search.h: Likewise.
64866         * include/setjmp.h: Likewise.
64867         * include/signal.h: Likewise.
64868         * include/stdio.h: Likewise.
64869         * include/stdlib.h: Likewise.
64870         * include/string.h: Likewise.
64871         * include/sys/cdefs.h: Likewise.
64872         * include/sys/mman.h: Likewise.
64873         * include/sys/msg.h: Likewise.
64874         * include/sys/resource.h: Likewise.
64875         * include/sys/select.h: Likewise.
64876         * include/sys/socket.h: Likewise.
64877         * include/sys/stat.h: Likewise.
64878         * include/sys/statvfs.h: Likewise.
64879         * include/sys/time.h: Likewise.
64880         * include/sys/times.h: Likewise.
64881         * include/sys/uio.h: Likewise.
64882         * include/sys/utsname.h: Likewise.
64883         * include/sys/wait.h: Likewise.
64884         * include/termios.h: Likewise.
64885         * include/time.h: Likewise.
64886         * include/ulimit.h: Likewise.
64887         * include/unistd.h: Likewise.
64888         * include/utime.h: Likewise.
64889         * include/wchar.h: Likewise.
64890         * include/wctype.h: Likewise.
64891         * include/wordexp.h: Likewise.
64893         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
64895         * time/time.h: TIME_UTC must be a macro.
64896         Make timespec_get available for ISO C11 only as well.
64898 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
64900         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
64901         Reported by Peng Haitao <penght@cn.fujitsu.com>.
64903 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64905         * configure.in: Use -o not -a in test for unsupported multi-arch.
64907 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64909         * manual/texinfo.tex: Update to version 2012-01-19.16.
64911 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64913         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
64915 2012-02-24  Roland McGrath  <roland@hack.frob.com>
64917         [BZ #13738]
64918         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
64919         * manual/fdl-1.3.texi: New file.
64920         * manual/fdl-1.1.texi: File removed.
64922         [BZ #13738]
64923         * manual/libc.texinfo (FDL_VERSION): New @set.
64924         Use it for mention of FDL in cover text.
64925         (Documentation License): Use it in @include file name.
64927 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64928             Roland McGrath  <roland@hack.frob.com>
64930         [BZ #5461]
64931         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
64932         (not LONG_LONG_MAX and LONG_LONG_MIN.
64933         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
64934         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
64935         name.
64936         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
64938 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64940         [BZ #2547]
64941         [BZ #11365]
64942         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
64943         manipulate bits before adding and subtracting TWO23[sx].
64944         * math/libm-test.inc (nearbyint_test): Add more tests.
64946 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64948         [BZ #2548]
64949         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
64950         bits before adding and subtracting TWO23[sx].
64951         * math/libm-test.inc (rint_test): Add more tests.
64952         (rint_test_tonearest): Likewise.
64953         (rint_test_towardzero): Likewise.
64954         (rint_test_downward): Likewise.
64955         (rint_test_upward: Likewise.
64957 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64959         [BZ #10110]
64960         * include/stdc-predef.h: New file.  Extracted from features.h.
64961         * include/features.h: Include stdc-predef.h.
64962         * Makefile (headers): Add stdc-predef.h.
64963         * CONFORMANCE (Compiler limitations): Update.
64965 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64967         * manual/libc.texinfo (VERSION, UPDATED): Revert.
64969 2012-02-21  David S. Miller  <davem@davemloft.net>
64971         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
64972         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64974 2012-02-20  David S. Miller  <davem@davemloft.net>
64976         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
64977         using a normal save/restore sequence, rather than allocating a
64978         dummy stack frame just to store a frame pointer and restore.
64979         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64981 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64983         * manual/install.texi: Fix stray word in line-wrapped comment.
64985 2012-02-20  David S. Miller  <davem@davemloft.net>
64987         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
64988         both binutils and gcc support GOTDATA.
64990         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
64991         "rd %pc" in the PIC register setup sequences.
64993         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
64994         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
64995         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64996         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
64997         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64998         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64999         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65000         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65001         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
65002         (SYSCALL_ERROR_HANDLER): Likewise.
65003         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65004         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65005         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
65006         (SYSCALL_ERROR_HANDLER): Likewise.
65008         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
65009         (HAVE_GCC_GOTDATA): New.
65010         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
65011         relocation support in both binutils and gcc.
65012         * sysdeps/sparc/elf/configure: Regenerate.
65014         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
65015         * sysdeps/sparc/sparc32/elf/configure: Delete.
65016         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
65017         * sysdeps/sparc/sparc64/elf/configure: Delete.
65018         * sysdeps/sparc/elf/configure.in: New file.
65019         * sysdeps/sparc/elf/configure: Generate.
65021         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
65022         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
65023         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65024         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
65025         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
65027 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65029         * manual/install.texi: Do not mention specific glibc version
65030         numbers.
65031         * manual/libc.texinfo (VERSION, UPDATED): Update.
65032         (@copying): Use @copyright{} and range of years.
65034 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65036         [BZ #13695]
65037         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
65038         [crti.S not in sysdirs] (generated): Do not append.
65039         [crti.S not in sysdirs] (omit-deps): Likewise.
65040         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
65041         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
65042         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
65043         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
65044         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
65045         Likewise.
65046         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
65047         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
65048         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
65049         * csu/defs.awk: Remove file.
65050         * sysdeps/generic/initfini.c: Likewise.
65051         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
65052         variable.
65053         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
65054         Likewise.
65056 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65058         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
65059         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
65060         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
65061         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
65062         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65063         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
65064         <bits/epoll.h>.
65065         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
65066         (__EPOLL_PACKED): Define to empty if not defined by
65067         <bits/epoll.h>.
65068         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
65069         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65070         bits/epoll.h.
65072 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65074         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
65075         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
65076         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
65077         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
65078         <bits/timerfd.h>.
65079         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
65080         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65081         bits/timerfd.h.
65083 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65085         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
65086         in C locale.
65087         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65088         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65089         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
65090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65092 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
65094         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65095         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65097 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
65099         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
65100         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
65101         defined.
65102         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
65103         Likewise.
65104         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
65105         entry for 2.16.
65107 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
65109         * math/w_acos.c: Use non-signaling floating-point comparisons.
65110         * math/w_acosf.c: Likewise.
65111         * math/w_acosh.c: Likewise.
65112         * math/w_acoshf.c: Likewise.
65113         * math/w_acoshl.c: Likewise.
65114         * math/w_acosl.c: Likewise.
65115         * math/w_asin.c: Likewise.
65116         * math/w_asinf.c: Likewise.
65117         * math/w_asinl.c: Likewise.
65118         * math/w_atanh.c: Likewise.
65119         * math/w_atanhf.c: Likewise.
65120         * math/w_atanhl.c: Likewise.
65121         * math/w_exp2.c: Likewise.
65122         * math/w_exp2f.c: Likewise.
65123         * math/w_exp2l.c: Likewise.
65124         * math/w_j0.c: Likewise.
65125         * math/w_j0f.c: Likewise.
65126         * math/w_j0l.c: Likewise.
65127         * math/w_j1.c: Likewise.
65128         * math/w_j1f.c: Likewise.
65129         * math/w_j1l.c: Likewise.
65130         * math/w_jn.c: Likewise.
65131         * math/w_jnf.c: Likewise.
65132         * math/w_log.c: Likewise.
65133         * math/w_log10.c: Likewise.
65134         * math/w_log10f.c: Likewise.
65135         * math/w_log10l.c: Likewise.
65136         * math/w_log2.c: Likewise.
65137         * math/w_log2f.c: Likewise.
65138         * math/w_log2l.c: Likewise.
65139         * math/w_logf.c: Likewise.
65140         * math/w_logl.c: Likewise.
65141         * math/w_sqrt.c: Likewise.
65142         * math/w_sqrtf.c: Likewise.
65143         * math/w_sqrtl.c: Likewise.
65144         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65145         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
65146         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65147         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65148         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65150 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65152         [BZ #9739]
65153         * manual/string.texi (strnlen): Use correct parameter name in
65154         equivalent expression.
65156 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65158         [BZ #11174]
65159         * manual/users.texi (seteuid): Consistently use neweuid for
65160         argument name.
65162 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65164         [BZ #13704]
65165         * manual/nss.texi (Services in the NSS configuration): Correct
65166         list of services in example configuration file.
65168 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
65170         [BZ #11322]
65171         * manual/arith.texi: Remove statements about negative zero
65172         behaving identically to zero.
65174 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65176         [BZ #5993]
65177         * manual/install.texi: Do not document upgrading from libc5.
65179 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65181         [BZ #4596]
65182         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
65184 2012-02-18  David S. Miller  <davem@davemloft.net>
65186         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
65187         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
65188         %o7 across the call.
65189         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
65190         instead.
65191         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
65192         SETUP_PIC_REG_LEAF.
65193         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65194         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
65195         * sysdeps/sparc/crtn.S: Likewise.
65197 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
65199         * aout/Makefile: Remove.
65201 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
65203         [BZ #13058]
65204         * manual/examples/argp-ex1.c (main): Format definition in GNU
65205         style.
65206         * manual/examples/argp-ex2.c (main): Likewise.
65207         * manual/examples/argp-ex3.c (main): Likewise.
65208         * manual/examples/argp-ex4.c (main): Likewise.
65209         * manual/examples/longopt.c (main): Use new-style prototype
65210         definition.
65211         * manual/examples/strncat.c (main): Specify return type and use
65212         (void) for arguments.
65213         * manual/examples/subopt.c (main): Use char **argv argument.
65215 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65217         [BZ #5077]
65218         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
65219         rounding modes.
65221 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
65223         [BZ #6907]
65224         * manual/string.texi (strchr): Change when strchrnul is
65225         recommended.
65227 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
65229         [BZ #174]
65230         * manual/locale.texi (setlocale): Document LOCPATH.
65232 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65234         [BZ #10210]
65235         * manual/process.texi (execle): Move @dots{} before last argument.
65237 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
65239         [BZ #12047]
65240         * manual/charset.texi (Generic Charset Conversion): Fix typo
65241         (LC_TYPE -> LC_CTYPE).
65243 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
65245         [BZ #5805]
65246         * manual/arith.texi (scalbn): Use @var{} on parameter names.
65247         (scalbnf): Likewise.
65248         (scalbnl): Likewise.
65249         (scalbln): Likewise.
65250         (scalblnf): Likewise.
65251         (scalblnl): Likewise.
65252         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
65253         (vwarnx): Likewise.
65254         (verr): Likewise.
65255         (verrx): Likewise.
65256         * manual/filesys.texi (telldir): Use braces around return type.
65257         * manual/llio.texi (mmap): Add space after comma.
65258         (mmap64): Likewise.
65259         * manual/math.texi (jn): Use @var{} on parameter names.
65260         (jnf): Likewise.
65261         (jnl): Likewise.
65262         (yn): Likewise.
65263         (ynf): Likewise.
65264         (ynl): Likewise.
65265         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
65266         line.
65267         * manual/resource.texi (ulimit): Use @dots{} instead of literal
65268         "...".
65269         (sched_get_priority_min): Remove semicolon on @deftypefun line.
65270         (sched_get_priority_max): Likewise.
65271         * manual/signal.texi (sigvec): Add space after comma.
65272         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
65273         names.
65274         (if_indextoname): Likewise.
65275         (if_freenameindex): Likewise.
65276         (sendto): Use ',' instead of '.' in prototype.
65277         * manual/startup.texi (syscall): Use @dots{} instead of literal
65278         "...".
65279         * manual/stdio.texi (__fpending): Separate initial words of
65280         paragraph from @deftypefun line.
65281         * manual/syslog.texi (syslog): Use @dots{} instead of literal
65282         "...".
65283         (vsyslog): Use @var{} on parameter names.
65284         * manual/terminal.texi (stty): Use @var{} on parameter names.
65285         * manual/users.texi (getutmp): Use @var{} on parameter names.
65286         (getutmpx): Likewise.
65288 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65290         [BZ #6884]
65291         * manual/stdio.texi (fopen): Fix typos in description of
65292         ",ccs=STRING".
65294 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
65296         [BZ #4026]
65297         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
65298         get clock_id definition.
65300 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
65302         [BZ #4822]
65303         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
65304         (madvise): Cast every argument to void on its own.
65306 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65308         [BZ #9902]
65309         * manual/startup.texi (Exit Status): Fix typo.
65311 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65313         [BZ #10140]
65314         * manual/examples/argp-ex1.c: Include <stdlib.h>.
65315         * manual/examples/argp-ex2.c: Likewise.
65316         * manual/examples/argp-ex3.c: Likewise.
65318 2012-02-16  Richard Henderson  <rth@redhat.com>
65320         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
65321         * sysdeps/s390/s390-32/initfini.c: Remove.
65322         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
65323         * sysdeps/s390/s390-64/initfini.c: Remove.
65325 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65327         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
65328         compiler output for sysdeps/generic/initfini.c.
65329         * sysdeps/sh/elf/initfini.c: Remove file.
65331 2012-02-16  David S. Miller  <davem@davemloft.net>
65333         [BZ #11494]
65334         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
65336         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
65337         * sysdeps/sparc/crti.S: New file.
65338         * sysdeps/sparc/crtn.S: New file.
65339         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
65340         * sysdeps/sparc/sparc64/Makefile: Likewise.
65342 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
65344         [BZ #3335]
65345         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
65347 2012-02-15  Roland McGrath  <roland@hack.frob.com>
65349         [BZ #4822]
65350         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
65352         * mach/devstream.c (cookie_io_functions_t): Macro removed.
65353         (write, read, close): Likewise.
65354         Patch by Aurelien Jarno <aurelien@aurel32.net>.
65356 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
65358         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
65359         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
65360         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
65361         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
65362         <bits/signalfd.h>.
65363         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
65364         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65365         bits/signalfd.h.
65367 2012-02-14  Marek Polacek  <polacek@redhat.com>
65369         * sysdeps/x86_64/crti.S: New file.
65370         * sysdeps/x86_64/crtn.S: New file.
65371         * sysdeps/x86_64/elf/initfini.c: Remove file.
65373 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65375         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
65376         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
65377         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
65378         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
65379         <bits/inotify.h>.
65380         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
65381         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65382         bits/inotify.h.
65384 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65386         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
65387         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
65388         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
65389         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
65390         <bits/eventfd.h>.
65391         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
65392         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65393         bits/eventfd.h.
65395 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
65397         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
65398         __feraiseexcept instead of feraiseexcept.
65400         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
65401         nanosleep invocations.
65402         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
65403         strings, and add error checking for a nanosleep invocations.
65405 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
65407         Replace FSF snail mail address with URLs, as per GNU coding standards.
65408         Most of the snail mail addresses were wrong anyway, and omitting
65409         them makes the source code easier to maintain.  Almost all of the
65410         changes are to license notices and to locale LC_IDENTIFICATION
65411         addresses, except for this one:
65412         * manual/libc.texinfo: In "Published by", give the FSF's URL,
65413         not its snail mail address.
65415 2012-02-09  Richard Henderson  <rth@twiddle.net>
65417         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
65418         of kernel-features.h.
65420         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
65422 2012-02-08  Marek Polacek  <polacek@redhat.com>
65424         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
65425         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
65426         * sysdeps/gnu/_G_config.h: Likewise.
65427         * sysdeps/generic/_G_config.h: Likewise.
65429 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
65431         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
65432         tests.
65433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65435         * sysdeps/powerpc/powerpc32/crti.S: New file.
65436         * sysdeps/powerpc/powerpc32/crtn.S: New file.
65437         * sysdeps/powerpc/powerpc64/crti.S: New file.
65438         * sysdeps/powerpc/powerpc64/crtn.S: New file.
65440         * Makeconfig (have-initfini): Don't set.
65441         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
65442         * configure.in (nopic_initfini): Don't substitute.
65443         * config.h.in (HAVE_INITFINI): Don't #undef.
65444         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
65445         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
65447 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
65449         Support crti.S and crtn.S provided directly by architectures.
65450         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
65451         [crti.S in sysdirs] (omit-deps): Likewise.
65452         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
65453         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
65454         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
65455         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
65456         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
65457         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
65458         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
65459         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
65460         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
65461         compiler output for sysdeps/generic/initfini.c.
65462         * sysdeps/i386/elf/Makefile: Remove file.
65463         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
65465 2012-02-07  Marek Polacek  <polacek@redhat.com>
65467         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
65468         * sysdeps/gnu/_G_config.h: Likewise.
65469         * sysdeps/mach/hurd/_G_config.h: Likewise.
65471 2012-02-07  Marek Polacek  <polacek@redhat.com>
65473         * math/Makefile (tests): Add tst-CMPLX2.
65474         * math/tst-CMPLX2.c: New file.
65476 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
65478         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65480         * math/libm-test.inc (jn_test): Add missing L suffix.
65482 2012-02-06  Marek Polacek  <polacek@redhat.com>
65484         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
65485         * sysdeps/i386/fpu/e_powf.S: Likewise.
65486         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65487         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65488         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65489         * sysdeps/i386/fpu/e_pow.S: Likewise.
65490         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65491         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65492         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65493         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65494         * sysdeps/i386/fpu/e_log2.S: Likewise.
65495         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65496         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65497         * sysdeps/i386/fpu/e_powl.S: Likewise.
65498         * sysdeps/i386/fpu/s_log1p.S: Likewise.
65499         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65500         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65501         * sysdeps/i386/fpu/e_logl.S: Likewise.
65502         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65503         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
65504         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65505         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65506         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65507         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65508         * sysdeps/i386/fpu/e_log.S: Likewise.
65509         * sysdeps/i386/fpu/s_cexp.S: Likewise.
65510         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65511         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
65512         * sysdeps/i386/fpu/e_logf.S: Likewise.
65513         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65514         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65515         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
65516         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65517         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65518         * sysdeps/i386/fpu/e_log10.S: Likewise.
65519         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65520         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65521         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65522         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65523         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65524         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65525         * sysdeps/i386/asm-syntax.h: Likewise.
65526         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65527         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65528         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65529         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
65530         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
65531         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65532         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65533         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65534         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65535         * sysdeps/powerpc/sysdep.h: Likewise.
65536         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
65537         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65539 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65541         [BZ #411]
65542         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
65544 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65546         * sysdeps/i386/sysdep.h: Include <features.h>.
65547         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
65548         version.
65550 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
65552         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
65553         Define.
65554         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
65555         LOAD_PIC_REG_STR.
65557 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65559         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
65560         (SETUP_PIC_REG): Use GET_PC_THUNK.
65561         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
65562         macro.
65564 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65566         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
65567         for non-PIC compilation.
65568         (SETUP_PIC_REG): Add .p2align directive.
65569         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
65570         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
65571         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65572         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65573         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
65574         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65575         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
65576         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65577         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65578         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65579         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65580         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65581         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65582         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65583         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65584         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
65585         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
65586         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65587         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65588         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65589         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65590         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
65591         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65592         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65593         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
65594         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
65595         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65596         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
65597         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65598         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65599         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65600         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65601         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65602         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65603         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65604         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65605         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65606         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65607         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65608         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65609         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65611 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65613         * math/tst-CMPLX.c: Include <stdio.h>.
65615 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
65617         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65618         float.
65619         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65620         * sysdeps/sparc/bits/mathdef.h: Likewise.
65622 2012-01-31  Marek Polacek  <polacek@redhat.com>
65624         * libio/libio.h: Don't define _PARAMS.
65625         * locale/programs/config.h: Don't define PARAMS.
65626         * stdlib/strtol_l.c: Likewise.
65627         (__strtol_l): Remove PARAMS from the prototype.
65629 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
65631         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
65632         names.  Just use the correct names.  Remove unnecessary wrapper
65633         functions.
65634         * malloc/arena.c: Likewise.
65635         * malloc/hooks.c: Likewise.
65637         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65638         ARENA_TEST says not to.  Simplify test for creation of a new arena.
65639         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65641 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
65643         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65644         into tail calls.
65645         (update_get_addr): New function.
65646         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65647         GET_ADDR_MODULE parameter.
65649 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65651         * crypt/cert.c: Remove __STDC__ conditionals.
65652         * crypt/crypt-entry.c: Likewise.
65653         * crypt/crypt_util.c: Likewise.
65654         * libio/filedoalloc.c: Likewise.
65655         * libio/fileops.c: Likewise.
65656         * libio/genops.c: Likewise.
65657         * libio/iofclose.c: Likewise.
65658         * libio/iofdopen.c: Likewise.
65659         * libio/iofopen.c: Likewise.
65660         * libio/iofopen64.c: Likewise.
65661         * libio/iogetdelim.c: Likewise.
65662         * libio/iopopen.c: Likewise.
65663         * libio/obprintf.c: Likewise.
65664         * libio/oldfileops.c: Likewise.
65665         * libio/oldiofclose.c: Likewise.
65666         * libio/oldiofdopen.c: Likewise.
65667         * libio/oldiofopen.c: Likewise.
65668         * libio/oldiopopen.c: Likewise.
65669         * libio/wfiledoalloc.c: Likewise.
65670         * libio/wgenops.c: Likewise.
65671         * locale/programs/xmalloc.c: Likewise.
65672         * misc/syslog.c: Likewise.
65673         * stdio-common/xbug.c: Likewise.
65674         * string/memchr.c: Likewise.
65675         * string/memcmp.c: Likewise.
65676         * string/memrchr.c: Likewise.
65677         * string/rawmemchr.c: Likewise.
65678         * sysdeps/posix/getcwd.c: Likewise.
65679         * time/strftime_l.c: Likewise.
65681 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65683         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65684         * config.make.in (config-cflags-sse2avx): Define.
65685         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65686         Fix typo.
65688 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
65690         * scripts/config.guess: Update from upstream config git repository.
65691         * scripts/config.sub: Likewise.
65693 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
65695         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65696         (EM_NUM): Update.
65697         (R_TILEPRO_*, R_TILEGX_*): New macros.
65699         * scripts/firstversions.awk: Fix bug in version range handling.
65701         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65703         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65705         * include/sys/epoll.h: New file.
65706         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65707         libc_hidden_def.
65709 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
65711         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65712         Avoid unnecessary __WORDSIZE == 64 test.
65713         (fmaxf): Use VEX format if possible.
65714         (fmax): Likewise.
65715         (fminf): Likewise.
65716         (fmin): Likewise.
65718         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65719         * math/math_private.h: Remove libc_fegetround* and
65720         libc_fesetround*.
65721         * sysdeps/i386/configure.in: Check for -msse2avx.
65722         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65723         also if SSE2AVX is defined.
65724         Remove libc_fegetround* and libc_fesetround*.
65725         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65726         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
65727         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65728         of HAS_YMM_USABLE.
65729         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65730         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65731         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65732         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65733         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65735         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65737 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65739         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65740         size is not set.
65741         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65743 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
65745         [BZ #13618]
65746         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65747         relocation.
65748         * Makeconfig (libm): Define.
65749         * elf/Makefile: Add rules to build and run tst-relsort1.
65750         * elf/tst-relsort1.c: New file.
65751         * elf/tst-relsort1mod1.c: New file.
65752         * elf/tst-relsort1mod2.c: New file.
65754 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
65756         * math/s_ldexp.c: Remove __STDC__ conditionals.
65757         * math/s_ldexpf.c: Likewise.
65758         * math/s_ldexpl.c: Likewise.
65759         * math/s_nextafter.c: Likewise.
65760         * math/s_nexttowardf.c: Likewise.
65761         * math/s_significand.c: Likewise.
65762         * math/s_significandf.c: Likewise.
65763         * math/s_significandl.c: Likewise.
65764         * math/w_jnl.c: Likewise.
65765         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65766         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65767         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65768         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65769         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65770         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65771         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
65772         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65773         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65774         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65775         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65776         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65777         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65778         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65779         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65780         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65781         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65782         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65783         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65784         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65785         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65786         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65787         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65788         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65789         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65790         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65791         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65792         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65793         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65794         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65795         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65796         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65797         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65798         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65799         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65800         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65801         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65802         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65803         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65804         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65805         * sysdeps/ieee754/k_standard.c: Likewise.
65806         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65807         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65808         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65809         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65810         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65811         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65812         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65813         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65814         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65815         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65816         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65817         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65818         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65819         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65820         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65821         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65822         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65823         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65824         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65825         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65826         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65827         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65828         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65829         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65830         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65831         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65832         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65833         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65834         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65835         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65836         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65837         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
65838         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65839         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65840         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65841         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65842         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
65843         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65844         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65845         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
65846         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
65847         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65848         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
65849         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
65850         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65851         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
65852         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65853         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65854         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65855         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
65856         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
65857         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65858         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65859         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65860         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65861         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65862         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
65863         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65864         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65865         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65866         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65867         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65868         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65869         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65870         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65871         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65872         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65873         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65874         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65875         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65876         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65877         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65878         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65879         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65880         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65881         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65882         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65883         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65884         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65885         * sysdeps/ieee754/s_matherr.c: Likewise.
65886         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65887         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65888         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65889         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65891 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65893         * crypt/md5.h: Remove __STDC__ conditionals.
65894         * libio/libioP.h: Likewise.
65895         * locale/programs/config.h: Likewise.
65896         * sysdeps/generic/sysdep.h: Likewise.
65897         * sysdeps/i386/asm-syntax.h: Likewise.
65898         * sysdeps/s390/asm-syntax.h: Likewise.
65899         * sysdeps/unix/sysdep.h: Likewise.
65900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
65901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65903 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65905         * libio/libio.h: Remove __STDC__ conditionals.
65906         * malloc/obstack.h: Likewise.
65907         * math/complex.h: Likewise.
65908         * math/math.h: Likewise.
65909         * sysdeps/generic/_G_config.h: Likewise.
65910         * sysdeps/gnu/_G_config.h: Likewise.
65911         * sysdeps/mach/hurd/_G_config.h: Likewise.
65912         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65913         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65914         * sysdeps/sparc/bits/mathdef.h: Likewise.
65916 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
65918         [BZ #13583]
65919         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
65920         Clean up HAS_* macros.
65921         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
65922         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
65923         possible.
65924         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
65925         HAS_AVX.
65926         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65927         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65928         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65929         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65930         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65932 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
65934         * elf/tst-unique3.cc (gets): Remove declaration.
65935         * elf/tst-unique3lib.cc (gets): Likewise.
65936         * elf/tst-unique3lib2.cc (gets): Likewise.
65937         * elf/tst-unique4.cc (gets): Likewise.
65939 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
65941         * include/stdio.h: Add C++ protection.  Add gets declarations and
65942         definitions.
65943         * debug/tst-chk1.c: Don't declare gets here.
65944         * stdio-common/tst-gets.c: Likewise.
65946 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65948         * posix/glob: Remove directory.
65950 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65952         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
65954 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
65956         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
65957         of the non-standard EPFNOSUPPORT.
65959 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65961         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
65962         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
65963         ANYWHERE set to 1 only on KERN_NO_SPACE error.
65965 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
65967         * wcsmbs/uchar.h: Test __STDC_VERSION__.
65969 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
65971         * nscd/aicache.c (addhstaiX): Do not cache negative results of
65972         transient errors.
65973         * nscd/grpcache.c (cache_addgr): Likewise.
65974         * nscd/hstcache.c (cache_addhst): Likewise.
65975         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65976         * nscd/pwdcache.c (cache_addpw): Likewise.
65977         * nscd/servicescache.c (cache_addserv): Likewise.
65979 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
65981         * malloc/malloc.c: Various cleanups.
65982         * malloc/hooks.c: Likewise.
65984         * stdlib/Makefile (tests): Add bug-fmtmsg1.
65985         * stdlib/bug-fmtmsg1.c: New file.
65987         * stdlib/fmtmsg.c (init): Add missing unlock.
65988         Patch by Peng Haitao <penght@cn.fujitsu.com>.
65990 2012-01-12  Marek Polacek  <polacek@redhat.com>
65992         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
65993         and _GNU_SOURCE.
65995 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65997         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
65998         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
65999         macro to ensure uniqueness of label name.
66000         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66001         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66003 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
66005         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
66007         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
66008         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66009         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66010         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
66012 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
66014         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
66016         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
66017         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66018         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66020         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
66022         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
66023         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66024         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66025         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
66027         * math/bits/math-finite.h: Add ldexp support.
66029 2012-01-10  Marek Polacek  <polacek@redhat.com>
66031         * locale/programs/localedef.h (show_archive_content): Add noreturn
66032         attribute.
66034 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
66036         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
66038 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66040         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
66042         * io/Makefile (headers): Add bits/poll2.h.
66044 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
66046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
66047         typo #include statement.
66049 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66051         * include/sys/cdefs.h: Define __attribute_alloc_size.
66052         * catgets/gencat.c: Add alloc_size attribute and apply consistently
66053         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
66054         * elf/pldd.c: Likewise.
66055         * iconv/iconv_charmap.c: Likewise.
66056         * iconv/iconvconfig.c: Likewise.
66057         * iconv/strtab.c: Likewise.
66058         * locale/programs/locale.c: Likewise.
66059         * locale/programs/localedef.h: Likewise.
66060         * locale/programs/simple-hash.c: Likewise.
66061         * nscd/nscd.h: Likewise.
66062         * nss/makedb.c: Likewise.
66063         * sysdeps/generic/ldconfig.h: Likewise.
66064         * locale/programs/localedef.c: Remove xmalloc prototype.
66065         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
66067 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66069         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
66070         appropriate.
66072 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66074         * math/Makefile (tests): Add tst-CMPLX.
66075         * math/tst-CMPLX.c: New file.
66077         * math/complex.h (CMPLXL): Fix typo.
66079         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
66080         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
66081         GLIBC_2.16.
66082         * debug/tst-chk1.c: Add poll and ppoll tests.
66083         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
66084         * include/sys/poll.h: Add hidden proto for ppoll.
66085         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
66086         * sysdeps/mach/hurd/ppoll.c: Likewise.
66087         * io/ppoll.c: Likewise.
66088         * debug/poll_chk.c: New file.
66089         * debug/ppoll_chk.c: New file.
66090         * include/bits/poll2.h: New file.
66091         * io/bits/poll2.h: New file.
66093         [BZ #1350]
66094         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
66096         * configure.in: static is always set to yes.  Remove.
66097         * config.make.in: Don't set build-static.
66098         * Makeconfig: Remove use of build-static.
66099         * dlfcn/Makefile: Likewise.
66100         * elf/Makefile: Likewise.
66101         * math/Makefile: Likewise.
66102         * misc/Makefile: Likewise.
66103         * nptl/Makefile: Likewise.
66104         * sysdeps/mach/hurd/Makefile: Likewise.
66106         * configure.in: PWD_P is not used anymore.
66107         * config.make.in: Remove PWD_P entry.
66109         * configure.in: Remove last remnants of RANLIB.
66110         No need to check for signed size_t anymore.
66111         Don't set libc_commonpagesize and libc_relro_required here for Alpha
66112         and IA-64.
66113         Remove __builtin_expect test because we require at least gcc 3.4.
66114         * aclocal.m4: Likewise.
66116         * wcsmbs/mbrtoc16.c: Implement using towc function.
66117         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
66118         * wcsmbs/wcsmbsload.c: Likewise.
66119         * iconv/gconv_simple.c: Likewise.
66120         * iconv/gconv_int.h: Likewise.
66121         * iconv/gconv_builtin.h: Likewise.
66122         * iconv/iconv_prog.c: Remove CHAR16 handling.
66124         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
66126         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
66128         * configure.in: Remove --with-elf and --enable-bounded options.
66129         Dont set base_machine for ia64.  More non-ELF conditions removed.
66130         Remove testing and setting of leading underscore information.
66131         * config.make.in (build-bounded): Set to no.
66132         * config.h.in: Remove NO_UNDERSCORES entry.
66133         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
66134         them.
66135         * csu/start.c: Remove !NO_UNDERSCORE code.
66136         * locale/localeinfo.h: Likewise.
66137         * sysdeps/generic/machine-gmon.h: Likewise.
66138         * sysdeps/generic/sysdep.h: Likewise.
66139         * sysdeps/i386/sysdep.h: Likewise.
66140         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66141         * sysdeps/mach/sysdep.h: Likewise.
66142         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66143         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66144         * sysdeps/sh/sysdep.h: Likewise.
66145         * sysdeps/sparc/sparc32/alloca.S: Likewise.
66146         * sysdeps/unix/i386/sysdep.S: Likewise.
66147         * sysdeps/unix/sparc/start.c: Likewise.
66148         * sysdeps/unix/sparc/sysdep.S: Likewise.
66149         * sysdeps/unix/sparc/sysdep.h: Likewise.
66150         * sysdeps/unix/start.c: Likewise.
66151         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66152         * sysdeps/x86_64/sysdep.h: Likewise.
66154 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
66156         [BZ #13553]
66157         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
66158         for non-gcc.
66159         * argp/argp-fmtstream.h: Use const instead __const.
66160         * argp/argp.h: Likewise.
66161         * assert/assert.h: Likewise.
66162         * bits/fenv.h: Likewise.
66163         * bits/sched.h: Likewise.
66164         * bits/sigset.h: Likewise.
66165         * bits/sigthread.h: Likewise.
66166         * catgets/nl_types.h: Likewise.
66167         * conform/data/pthread.h-data: Likewise.
66168         * crypt/crypt-private.h: Likewise.
66169         * crypt/crypt.h: Likewise.
66170         * crypt/crypt_util.c: Likewise.
66171         * ctype/ctype.h: Likewise.
66172         * debug/execinfo.h: Likewise.
66173         * debug/mbsnrtowcs_chk.c: Likewise.
66174         * debug/mbsrtowcs_chk.c: Likewise.
66175         * debug/wcsnrtombs_chk.c: Likewise.
66176         * debug/wcsrtombs_chk.c: Likewise.
66177         * debug/wcstombs_chk.c: Likewise.
66178         * dirent/dirent.h: Likewise.
66179         * dlfcn/dlfcn.h: Likewise.
66180         * elf/neededtest4.c: Likewise.
66181         * grp/grp.h: Likewise.
66182         * gshadow/gshadow.h: Likewise.
66183         * iconv/gconv.h: Likewise.
66184         * iconv/gconv_int.h: Likewise.
66185         * iconv/gconv_simple.c: Likewise.
66186         * iconv/iconv.h: Likewise.
66187         * iconv/loop.c: Likewise.
66188         * iconv/skeleton.c: Likewise.
66189         * include/aio.h: Likewise.
66190         * include/aliases.h: Likewise.
66191         * include/argz.h: Likewise.
66192         * include/arpa/inet.h: Likewise.
66193         * include/assert.h: Likewise.
66194         * include/dirent.h: Likewise.
66195         * include/dlfcn.h: Likewise.
66196         * include/execinfo.h: Likewise.
66197         * include/fcntl.h: Likewise.
66198         * include/fenv.h: Likewise.
66199         * include/glob.h: Likewise.
66200         * include/grp.h: Likewise.
66201         * include/libintl.h: Likewise.
66202         * include/mntent.h: Likewise.
66203         * include/netdb.h: Likewise.
66204         * include/pwd.h: Likewise.
66205         * include/rpc/netdb.h: Likewise.
66206         * include/sched.h: Likewise.
66207         * include/search.h: Likewise.
66208         * include/shadow.h: Likewise.
66209         * include/signal.h: Likewise.
66210         * include/stdio.h: Likewise.
66211         * include/stdlib.h: Likewise.
66212         * include/string.h: Likewise.
66213         * include/sys/socket.h: Likewise.
66214         * include/sys/stat.h: Likewise.
66215         * include/sys/statfs.h: Likewise.
66216         * include/sys/statvfs.h: Likewise.
66217         * include/sys/syslog.h: Likewise.
66218         * include/sys/time.h: Likewise.
66219         * include/sys/uio.h: Likewise.
66220         * include/time.h: Likewise.
66221         * include/unistd.h: Likewise.
66222         * include/utmp.h: Likewise.
66223         * include/wchar.h: Likewise.
66224         * include/wctype.h: Likewise.
66225         * inet/aliases.h: Likewise.
66226         * inet/arpa/inet.h: Likewise.
66227         * inet/netinet/ether.h: Likewise.
66228         * inet/netinet/in.h: Likewise.
66229         * intl/libintl.h: Likewise.
66230         * io/bits/fcntl2.h: Likewise.
66231         * io/fcntl.h: Likewise.
66232         * io/ftw.h: Likewise.
66233         * io/sys/poll.h: Likewise.
66234         * io/sys/stat.h: Likewise.
66235         * io/sys/statfs.h: Likewise.
66236         * io/sys/statvfs.h: Likewise.
66237         * io/utime.h: Likewise.
66238         * libio/bits/stdio.h: Likewise.
66239         * libio/bits/stdio2.h: Likewise.
66240         * libio/libio.h: Likewise.
66241         * libio/libioP.h: Likewise.
66242         * libio/stdio.h: Likewise.
66243         * locale/lc-ctype.c: Likewise.
66244         * locale/locale.h: Likewise.
66245         * login/utmp.h: Likewise.
66246         * malloc/arena.c: Likewise.
66247         * malloc/malloc.c: Likewise.
66248         * malloc/malloc.h: Likewise.
66249         * malloc/mcheck.c: Likewise.
66250         * malloc/mtrace.c: Likewise.
66251         * math/bits/mathcalls.h: Likewise.
66252         * math/fenv.h: Likewise.
66253         * math/math_private.h: Likewise.
66254         * misc/bits/error.h: Likewise.
66255         * misc/bits/syslog.h: Likewise.
66256         * misc/err.h: Likewise.
66257         * misc/error.h: Likewise.
66258         * misc/fstab.h: Likewise.
66259         * misc/mntent.h: Likewise.
66260         * misc/regexp.h: Likewise.
66261         * misc/search.h: Likewise.
66262         * misc/sgtty.h: Likewise.
66263         * misc/sys/mman.h: Likewise.
66264         * misc/sys/syslog.h: Likewise.
66265         * misc/sys/uio.h: Likewise.
66266         * misc/sys/xattr.h: Likewise.
66267         * misc/ttyent.h: Likewise.
66268         * nis/rpcsvc/ypclnt.h: Likewise.
66269         * nss/nss.h: Likewise.
66270         * posix/bits/unistd.h: Likewise.
66271         * posix/fnmatch.h: Likewise.
66272         * posix/glob.h: Likewise.
66273         * posix/sched.h: Likewise.
66274         * posix/spawn.h: Likewise.
66275         * posix/sys/wait.h: Likewise.
66276         * posix/unistd.h: Likewise.
66277         * posix/wordexp.h: Likewise.
66278         * pwd/pwd.h: Likewise.
66279         * resolv/netdb.h: Likewise.
66280         * resource/sys/resource.h: Likewise.
66281         * rt/aio.h: Likewise.
66282         * rt/bits/mqueue2.h: Likewise.
66283         * rt/mqueue.h: Likewise.
66284         * shadow/shadow.h: Likewise.
66285         * signal/signal.h: Likewise.
66286         * socket/send.c: Likewise.
66287         * socket/sendto.c: Likewise.
66288         * socket/sys/socket.h: Likewise.
66289         * stdio-common/printf.h: Likewise.
66290         * stdlib/bits/stdlib.h: Likewise.
66291         * stdlib/fmtmsg.h: Likewise.
66292         * stdlib/monetary.h: Likewise.
66293         * stdlib/stdlib.h: Likewise.
66294         * stdlib/ucontext.h: Likewise.
66295         * streams/stropts.h: Likewise.
66296         * string/argz.h: Likewise.
66297         * string/bits/string2.h: Likewise.
66298         * string/string.h: Likewise.
66299         * string/strings.h: Likewise.
66300         * sunrpc/rpc/auth.h: Likewise.
66301         * sunrpc/rpc/auth_des.h: Likewise.
66302         * sunrpc/rpc/clnt.h: Likewise.
66303         * sunrpc/rpc/netdb.h: Likewise.
66304         * sunrpc/rpc/pmap_clnt.h: Likewise.
66305         * sunrpc/rpc/xdr.h: Likewise.
66306         * sysdeps/generic/inttypes.h: Likewise.
66307         * sysdeps/generic/net/if.h: Likewise.
66308         * sysdeps/generic/sys/swap.h: Likewise.
66309         * sysdeps/gnu/net/if.h: Likewise.
66310         * sysdeps/gnu/utmpx.h: Likewise.
66311         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
66312         * sysdeps/i386/i486/bits/string.h: Likewise.
66313         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
66314         * sysdeps/s390/bits/string.h: Likewise.
66315         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
66316         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
66317         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
66318         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
66319         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
66320         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
66321         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
66322         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
66323         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
66324         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
66325         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
66326         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66327         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
66328         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66329         * sysdeps/unix/sysv/linux/readv.c: Likewise.
66330         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
66331         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
66332         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66333         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
66334         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
66335         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66336         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
66337         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
66338         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
66339         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
66340         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
66341         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
66342         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66343         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
66344         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
66345         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
66346         * sysvipc/sys/ipc.h: Likewise.
66347         * sysvipc/sys/msg.h: Likewise.
66348         * sysvipc/sys/sem.h: Likewise.
66349         * sysvipc/sys/shm.h: Likewise.
66350         * termios/termios.h: Likewise.
66351         * time/sys/time.h: Likewise.
66352         * time/time.h: Likewise.
66353         * wcsmbs/bits/wchar2.h: Likewise.
66354         * wcsmbs/uchar.h: Likewise.
66355         * wcsmbs/wchar.h: Likewise.
66356         * wctype/wctype.h: Likewise.
66358         [BZ #13551]
66359         * Makeconfig: Remove all but ELF support including AIX support.
66360         * Makerules: Likewise.
66361         * config.h.in: Likewise.
66362         * config.make.in: Likewise.
66363         * configure: Likewise.
66364         * configure.in: Likewise.
66365         * csu/Makefile: Likewise.
66366         * csu/version.c: Likewise.
66367         * debug/Makefile: Likewise.
66368         * dlfcn/Makefile: Likewise.
66369         * elf/Makefile: Likewise.
66370         * extra-lib.mk: Likewise.
66371         * iconv/Makefile: Likewise.
66372         * include/libc-symbols.h: Likewise.
66373         * include/shlib-compat.h: Likewise.
66374         * resolv/Makefile: Likewise.
66375         * resolv/res_libc.c: Likewise.
66376         * rt/Makefile: Likewise.
66377         * sysdeps/i386/asm-syntax.h: Likewise.
66378         * sysdeps/i386/sysdep.h: Likewise.
66379         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66380         * sysdeps/mach/sysdep.h: Likewise.
66381         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
66382         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
66383         * sysdeps/s390/asm-syntax.h: Likewise.
66384         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66385         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66386         * sysdeps/sh/sysdep.h: Likewise.
66387         * sysdeps/unix/sparc/sysdep.h: Likewise.
66388         * sysdeps/wordsize-32/divdi3.c: Likewise.
66389         * sysdeps/x86_64/sysdep.h: Likewise.
66391         * argp/Versions: Remove _argp_unlock_xxx.
66393         [BZ #13559]
66394         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
66395         * abilist/libBrokenLocale.abilist: Likewise.
66396         * abilist/libanl.abilist: Likewise.
66397         * abilist/libc.abilist: Likewise.
66398         * abilist/libcrypt.abilist: Likewise.
66399         * abilist/libdl.abilist: Likewise.
66400         * abilist/libm.abilist: Likewise.
66401         * abilist/libnsl.abilist: Likewise.
66402         * abilist/libpthread.abilist: Likewise.
66403         * abilist/libresolv.abilist: Likewise.
66404         * abilist/librt.abilist: Likewise.
66405         * abilist/libthread_db.abilist: Likewise.
66406         * abilist/libutil.abilist: Likewise.
66407         * abilist/libnss_db.abilist: New file.
66409         * scripts/abilist.awk: Add support for indirect functions.
66411         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
66413         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
66415         * shlib-versions: Remove entries for ports architectures.
66417         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
66418         files in ports.
66419         * elf/stackguard-macros.h: Remove support for IA-64.
66420         * elf/tst-auditmod1.c: Likewise.
66421         * sysdeps/generic/ldsodefs.h: Likewise.
66423         * sysdeps/unix/sysv/linux/configure.in: Ports should define
66424         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
66425         configure files.
66427         [BZ #13552]
66428         * configure.in: Remove --enable-omitfp support.
66429         * FAQ.in: Adjust.
66430         * config.make.in: Likewise.
66431         * Makeconfig: Likewise.
66432         * manual/install.texi: Likewise.
66434         In case anyone cares, the IA-64 architecture could move to ports.
66435         * sysdeps/ia64/*: Removed.
66436         * sysdeps/unix/sysv/linux/ia64/*: Removed.
66437         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
66439         [BZ #13555]
66440         * configure.in: Remove entries for unsupported architectures.
66442         [BZ #13533]
66443         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
66444         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
66445         routines.
66446         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
66447         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
66448         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
66449         fall back to using wcrtomb.
66450         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
66451         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
66452         renaming.
66453         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
66454         * wcsmbs/tst-c16c32-1.c: New file.
66456         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
66457         local variable.
66459         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
66461         * elf/tst-unique3.cc: Add explicit declaration of gets.
66462         * elf/tst-unique3lib.cc: Likewise.
66463         * elf/tst-unique3lib2.cc: Likewise.
66464         * elf/tst-unique4.cc: Likewise.
66466         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
66468 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
66470         [BZ #13566]
66471         * assert/assert.h (static_assert): Don't define for C++.
66472         * libio/stdio.h (gets): Do declare for C++ <= C++11.
66473         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
66475 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
66477         * iconv/loop.c (single loop): Fix assertion in storing of
66478         remaining bytes.
66480         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
66482 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
66484         * posix/getconf.c: Update copyright year.
66485         * nss/getent.c: Likewise.
66486         * nss/makedb.c: Likewise.
66487         * iconv/iconvconfig.c: Likewise.
66488         * iconv/iconv_prog.c: Likewise.
66489         * elf/ldconfig.c: Likewise.
66490         * elf/pldd.c: Likewise.
66491         * elf/sotruss.ksh: Likewise.
66492         * catgets/gencat.c: Likewise.
66493         * csu/version.c: Likewise.
66494         * elf/ldd.bash.in: Likewise.
66495         * elf/sprof.c (print_version): Likewise.
66496         * locale/programs/locale.c: Likewise.
66497         * locale/programs/localedef.c: Likewise.
66498         * login/programs/pt_chown.c: Likewise.
66499         * nscd/nscd.c (print_version): Likewise.
66500         * debug/xtrace.sh: Likewise.
66501         * malloc/memusage.sh: Likewise.
66502         * malloc/mtrace.pl: Likewise.
66503         * debug/catchsegv.sh: Likewise.
66505 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
66507         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
66508         pure attribute.
66510 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
66512         [BZ #13533]
66513         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
66514         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
66515         transformations.
66516         * iconv/gconv_int.h: Likewise.
66517         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
66518         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
66519         from libc for GLIBC_2.16.
66520         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
66521         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
66522         * wcsmbs/uchar.h: Really define mbstate_t.
66523         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
66524         * wcsmbs/c16rtomb.c: New file.
66525         * wcsmbs/mbrtoc16.c: New file.
66526         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
66527         for C/POSIX locale.
66528         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
66529         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
66531         * wcsmbs/wchar.h: Add missing __restrict.
66533 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66535         [BZ #13532]
66536         * time/Makefile (routines): Add timespec_get.
66537         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
66538         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
66539         timespec for ISO C11.
66540         * time/timespec_get.c: New file.
66541         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
66542         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
66544         [BZ #13531]
66545         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
66546         * stdlib/stdlib.h: Declare aligned_alloc.
66547         * Versions.def: Add GLIBC_2.16 for libc.
66548         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
66550         [BZ 13527]
66551         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
66552         ISO C11.
66554         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
66555         code.
66557         [BZ #13528]
66558         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
66560         [BZ #13529]
66561         * assert/assert.h (static_assert): Define.
66563         * version.h: Update for 2.16 development version.
66565         [BZ #13526]
66566         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
66567         _ISOC11_SOURCE.
66569         * version.h (RELEASE): Bump for 2.15 release.
66570         * include/features.h (__GLIBC_MINOR__): Bump to 15.
66572         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
66573         Patch by Marek Polacek <mpolacek@redhat.com>.
66575         * bits/byteswap.h: Protect long long constants with __extension__.
66576         * sysdeps/i386/bits/byteswap.h: Likewise.
66577         * sysdeps/ia64/bits/byteswap.h: Likewise.
66578         * sysdeps/s390/bits/byteswap.h: Likewise.
66579         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66581 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66583         [BZ #13540]
66584         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
66585         destination buffer.
66586         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
66588 2011-12-23  Marek Polacek  <polacek@redhat.com>
66590         * elf/dl-addr.c (determine_info): Add inline keyword.
66591         * elf/tst-auditmod4b.c (check_avx): Likewise.
66592         * elf/tst-auditmod6b.c (check_avx): Likewise.
66593         * elf/tst-auditmod6c.c (check_avx): Likewise.
66594         * elf/tst-auditmod7b.c (check_avx): Likewise.
66596 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66598         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
66599         !__SSE_MATH__.
66601 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66603         [BZ #13540]
66604         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66605         processing for last bytes.
66607 2011-08-06  Bruno Haible  <bruno@clisp.org>
66609         [BZ #13061]
66610         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66611         U+0385, not to U+1FEE.
66613         [BZ #13062]
66614         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66615         entry for U+00A5 U+0301.
66617 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66619         [BZ #13166]
66620         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66621         buffer for the output is too small.
66623         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66624         optimization.
66626         [BZ #13185]
66627         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66628         SSE flags if possible.
66630 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66632         [BZ #13540]
66633         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66634         processing for last bytes.
66636 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
66638         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66639         (syscall-list-default-options, syscall-list-default-condition)
66640         (syscall-list-includes): Define.
66641         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66642         list of ABIs and options and #if conditions for each ABI.  Do not
66643         handle common syscalls between ABIs specially.
66644         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66645         Remove.
66646         (syscall-list-variants, syscall-list-32bit-options)
66647         (syscall-list-32bit-condition, syscall-list-64bit-options)
66648         (syscall-list-64bit-condition): Define.
66649         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66650         (syscall-list-variants, syscall-list-32bit-options)
66651         (syscall-list-32bit-condition, syscall-list-64bit-options)
66652         (syscall-list-64bit-condition): Define.
66653         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66654         Remove.
66655         (syscall-list-variants, syscall-list-32bit-options)
66656         (syscall-list-32bit-condition, syscall-list-64bit-options)
66657         (syscall-list-64bit-condition): Define.
66658         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66659         Remove.
66660         (syscall-list-variants, syscall-list-32bit-options)
66661         (syscall-list-32bit-condition, syscall-list-64bit-options)
66662         (syscall-list-64bit-condition): Define.
66664 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66666         * locale/iso-639.def: Add brx entry.
66668         [BZ #13328]
66669         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66670         Proposed by Mariusz_Cukr <marcukr@op.pl>.
66672         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66673         __feraiseexcept_renamed.
66675 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66677         [BZ #13538]
66678         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66679         EPOLLET with unsigned values.
66680         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66681         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66683         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66684         to large cancellation.
66685         * math/s_cacoshf.c: Likewise.
66686         * math/s_cacoshl.c: Likewise.
66688 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
66690         [BZ #13305]
66691         [BZ #12786]
66692         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66693         * math/s_cacoshf.c: Likewise.
66694         * math/s_cacoshl.c: Likewise.
66696 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66698         [BZ #13439]
66699         * iconv/gconv.h: Define __GCONV_SWAP.
66700         * iconvdata/unicode.c: The swap bit must be stored in __flags.
66701         * iconvdata/utf-16.c: Likewise.
66702         * iconvdata/utf-32.c: Likewise.
66704 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
66706         [BZ #13524]
66707         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66708         numerator after shifting it by one limb.
66710 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
66712         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66713         under [__USE_EXTERN_INLINES].
66715 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66717         [BZ #13446]
66718         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66720 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66722         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66723         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66724         optimized code.
66725         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66726         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66727         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66728         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66729         for strncasecmp/strncasecmp_l compilation.
66730         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66731         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66733 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
66735         [BZ #13484]
66736         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66737         of __asm__.
66739 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66741         [BZ #13506]
66742         * time/tzfile.c (__tzfile_read): Check values from file header.
66744 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66746         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66747         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66748         * powerpc/powerpc32/dl-start.S: Likewise.
66749         * powerpc/powerpc32/elf/start.S: Likewise.
66750         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66751         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66752         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66753         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66754         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66755         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66756         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66757         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66758         * powerpc/powerpc32/fpu/s_round.S: Likewise.
66759         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
66760         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
66761         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
66762         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
66763         * powerpc/powerpc32/memset.S: Likewise.
66764         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
66765         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66766         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66767         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66768         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66769         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
66770         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
66771         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
66772         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
66773         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
66774         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
66775         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66776         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66778 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66780         * math/libm-test.inc: Added more nearbyint tests.
66781         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
66782         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
66783         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
66784         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
66786 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
66788         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
66789         FD_CLOEXEC.
66791 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66793         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
66794         Add wcscpy-ssse3 wcscpy-c.
66795         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
66796         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
66797         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
66798         * sysdeps/x86_64/wcschr.S: New file.
66799         * sysdeps/x86_64/wcsrchr.S: New file.
66800         * string/test-strcmp.c: Remove checking of wcscmp function for
66801         wrong alignments.
66802         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
66803         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
66804         wcsrchr-sse2 wcsrchr-c.
66805         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
66806         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
66807         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
66808         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
66809         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
66810         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
66811         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
66812         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
66813         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
66814         * wcsmbc/wcschr.c (WCSCHR): New macro.
66816 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66818         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
66819         * wcsmbs/test-wcsrchr.c: New file.
66820         * string/test-strrchr.c: Add wcsrchr support.
66821         (WIDE): New macro.
66822         * wcsmbs/test-wcscpy.c: New file.
66823         * string/test-strcpy.c: Add wcscpy support.
66824         (WIDE): New macro.
66826 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
66828         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
66829         the inner loop.
66831 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
66833         [BZ #13472]
66834         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
66836 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
66838         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
66839         Minor optimizations.
66841         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
66842         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
66843         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
66845 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
66847         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
66848         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
66849         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
66850         for gcc to avoid warnings.
66851         * inet/Makefile (tests): Add tst-checks.
66852         * inet/tst-checks.c: New file.
66854         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
66855         warning.
66857         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
66858         __wmemcmp_sse2.
66860         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
66861         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
66863         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
66865 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
66867         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
66868         problem.
66870         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
66872 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
66874         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
66875         conditional on GCC version.
66876         (__arch_compare_and_exchange_val_8_acq)
66877         (__arch_compare_and_exchange_val_16_acq)
66878         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
66879         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
66880         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
66882 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
66884         * sysdeps/sh/backtrace.c: New file.
66886 2011-12-02  Andreas Schwab  <schwab@redhat.com>
66888         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
66889         parenthesis.
66891 2011-12-01  Andreas Schwab  <schwab@redhat.com>
66893         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
66894         falling back to utime.
66896 2011-11-30  Andreas Schwab  <schwab@redhat.com>
66898         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
66899         expectations for float.
66901 2011-11-29  Andreas Schwab  <schwab@redhat.com>
66903         * locale/weight.h (findidx): Add parameter len.
66904         * locale/weightwc.h (findidx): Likewise.
66905         * posix/fnmatch_loop.c (FCT): Adjust caller.
66906         * posix/regcomp.c (build_equiv_class): Likewise.
66907         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
66908         * posix/regexec.c (check_node_accept_bytes): Likewise.
66909         * string/strcoll_l.c (STRCOLL): Likewise.
66910         * string/strxfrm_l.c (STRXFRM): Likewise.
66912 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
66914         * Makefile.in: Remove CVSOPT handling.
66915         * configure.in: Remove use of AC_REVISION.
66916         * iconvdata/Makefile (distribute): No need to filter out CVS.
66917         * scripts/list-sources.sh: Remove CVS, subversion and monotone
66918         handling.
66920 2011-11-16  Andreas Schwab  <schwab@redhat.com>
66922         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
66923         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
66924         [USE_AS_STRNCASECMP_L]: Likewise.
66925         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
66926         NO_TLS_DIRECT_SEG_REFS.
66927         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
66928         Fix argument offsets for non-PIC.
66929         [USE_AS_STRNCASECMP_L]: Likewise.
66930         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
66931         NO_TLS_DIRECT_SEG_REFS.
66933 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66935         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
66936         O_CLOEXEC.
66937         * locale/loadlocale.c (_nl_load_locale): Likewise.
66939 2011-11-15  Andreas Schwab  <schwab@redhat.com>
66941         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
66942         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
66943         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
66944         (SYSCALL_GETTIME): Set errno on error.
66946         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
66947         count references to noai6ai_cached.
66949 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66951         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
66953         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
66954         FD_CLOEXEC for /proc/self/maps.
66956         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
66957         FD_CLOEXEC for /proc/meminfo.
66959         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
66960         gai.conf.
66962         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
66963         FD_CLOEXEC for given file.
66965         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
66967         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
66968         FD_CLOEXEC for /etc/hosts.
66969         (_gethtent): Likewise.
66971         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
66973         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
66974         cancellation and set FD_CLOEXEC for /etc/netgroup.
66976         * nss/nss_files/files-key.c (search): Don't allow cancellation when
66977         reading /etc/publickey.
66979         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
66980         allow cancellation when reading /etc/group.
66982         * nss/nss_files/files-alias.c (internal_setent): Don't allow
66983         cancellation.
66984         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
66986         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
66987         when using data file.
66989         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
66991         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
66992         (write_nis_obj): Use "c" and "e" in fopen.
66994         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
66996         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
66998         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
67000         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
67002         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
67003         locale.alias.
67005         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
67007         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
67009         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
67011         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
67012         file parsing and set FD_CLOEXEC.
67014 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67016         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
67018 2011-11-14  Andreas Schwab  <schwab@redhat.com>
67020         * malloc/arena.c (arena_get2): Don't call reused_arena when
67021         _int_new_arena failed.
67023 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67025         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
67026         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
67027         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
67028         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67029         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67030         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
67031         to compile strcasecmp and strncasecmp.
67032         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
67033         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
67035         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
67037 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
67039         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
67040         locale-defines.sym to gen-as-const-headers.
67041         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
67042         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
67043         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
67044         to compile strcasecmp and strncasecmp.
67045         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
67046         strcasecmp_l and strncasecmp_l.
67047         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
67048         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
67049         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
67050         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
67051         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
67052         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
67053         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
67054         * sysdeps/i386/i686/multiarch/strncase.S: New file.
67055         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
67056         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
67057         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
67059 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
67061         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
67062         result of SYSDEP_GETTIME_CPU to retval.
67063         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
67064         parameter list to macro.  Remove trailing semicolon.  Adjust users.
67066         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
67067         variable.
67069         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
67070         mantissa words.
67071         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
67073         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
67074         from unused variable.
67076         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
67077         DWARF definitions.
67078         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
67079         for assembling.
67081         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
67082         over namespaces.
67084         * sunrpc/rpc_prot.c (rejected): Fix case value.
67086         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
67087         unsigned long long int to avoid warnings in shift.
67089         * posix/regex_internal.c (re_string_reconstruct): Actually use result
67090         of use of trans.
67091         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
67092         variable tmp.
67094         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
67095         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
67096         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
67098         * nis/nis_table.c (nis_list): Use variable of correct type for
67099         result of __follow_path call.
67101 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67103         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
67104         of math functions ceil, trunc, floor, round, and sqrt, when
67105         avaliable on the platform.
67106         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
67107         name clash.
67108         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67109         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67110         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67112 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
67114         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
67115         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67117 2011-11-11  Roland McGrath  <roland@hack.frob.com>
67119         * include/unistd.h: Fix __readlink return type.
67120         Reported by Chris Metcalf <cmetcalf@tilera.com>.
67122 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
67124         * stdlib/ucontext.h: Undo last change for makecontext.
67126 2011-11-11  Andreas Schwab  <schwab@redhat.com>
67128         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
67130         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
67131         * setjmp/setjmp.h: Mark functions as non-leaf.
67132         * setjmp/bits/setjmp2.h: Likewise.
67133         * stdlib/ucontext.h: Likewise.
67135 2011-11-10  Andreas Schwab  <schwab@redhat.com>
67137         * malloc/arena.c (_int_new_arena): Don't increment narenas.
67138         (reused_arena): Don't check arena limit.
67139         (arena_get2): Atomically check arena limit.
67141 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
67143         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
67144         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
67146         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
67147         instructions.
67149 2011-11-07  Andreas Schwab  <schwab@redhat.com>
67151         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
67152         handler when locking.
67154         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67155         Fix size of allocated buffer.
67157 2011-11-04  Andreas Schwab  <schwab@redhat.com>
67159         [BZ #10103]
67160         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
67161         declarations for long double functions.
67162         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
67164         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
67166 2011-11-03  Andreas Schwab  <schwab@redhat.com>
67168         * nscd/nscd.c (main): Don't start AVC thread until credentials are
67169         installed.
67171         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
67172         is disabled.
67174 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67176         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
67178 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67180         * include/alloca.h (stackinfo_alloca_round): Define.
67181         (extend_alloca): Use it.
67182         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
67183         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
67184         here.
67186         * scripts/check-local-headers.sh: Ignore libaudit.h.
67188         * nscd/Makefile (extra-objs): Make recursively expanded.
67190 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
67192         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
67193         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
67195         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
67196         * posix/tst-rfc3484-2.c: Likewise.
67197         * posix/tst-rfc3484-3.c: Likewise.
67199         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67200         process_vm_writev.
67201         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
67202         process_vm_writev.
67203         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
67204         process_vm_writev from libc using GLIBC_2.15 version.
67206         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
67208 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
67210         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
67211         stack usage.
67213 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
67215         [BZ #13367]
67216         * nss/getent.c (initgroups_keys): Show error message in case no group
67217         names are given.
67219         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
67220         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
67221         __bump_nl_timestamp.
67222         * nscd/connections (nscd_init): When host database is served open
67223         netlink socket and request notification about configuration changes.
67224         (main_loop_poll): Track netlink file descriptor and bump timestamp
67225         in case data becomes available.
67226         (main_loop_epoll): Likewise.
67227         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
67228         (database_pers_head): Add extra_data fileds.
67229         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
67230         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
67231         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
67232         Adjust caller.
67233         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
67234         in6ai data, call __free_in6ai.
67235         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
67236         Add -DHAVE_NETLINK.
67237         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
67238         interface information.  Reuse previous data if netlink timestamp
67239         is not changed.
67240         (__bump_nl_timestamp): New function.
67241         (__free_in6ai): New function.
67243 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
67245         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
67246         close_not_cancel_no_status here.
67247         (__check_pf): Reorganize code a bit to not call close twice if OOM.
67249 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67251         [BZ #13276]
67252         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
67253         return value.
67255         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
67256         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
67257         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
67259 2011-07-03  Andreas Jaeger  <aj@suse.de>
67261         [BZ #10709]
67262         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
67263         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
67264         * math/libm-test.inc (sin_test): Add test case.
67266 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67268         [BZ #13337]
67269         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
67270         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67272         * elf/chroot_canon.c (chroot_canon): Cleanups.
67274         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
67276         [BZ #13335]
67277         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
67278         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67280         * string/test-strchr.c: Make usable for strchrnul testing.
67281         * string/test-strchrnul.c: New file.
67282         * string/Makefile (strop-tests): Add strchrnul.
67284         * po/it.po: Update from translation team.
67285         * po/es.po: Likewise.
67287 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
67289         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
67290         the three constants needed as parameters.  Drop the others.
67291         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
67292         __m128i_strloadu_tolower.
67293         Create and initialize variable zero and use it in all the places
67294         where _mm_setzero_si128 was used.
67296         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
67297         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
67298         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
67299         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
67300         anymore.
67301         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
67302         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
67303         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
67304         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
67305         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
67306         __mpranred, __mptan.
67307         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
67308         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
67309         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
67310         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
67311         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
67312         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
67313         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
67314         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
67315         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
67317 2011-10-28  Andreas Schwab  <schwab@redhat.com>
67319         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
67320         redefine if SHARED.
67321         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
67323         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
67324         wide char related routines to wcsmbs subdir.
67326 2011-10-27  Andreas Schwab  <schwab@redhat.com>
67328         [BZ #13344]
67329         * misc/sys/cdefs.h (__THROWNL): Define.
67330         * posix/unistd.h: Use __THREADNL instead of __THREAD
67331         for memory synchronization functions.
67333 2011-10-26  Roland McGrath  <roland@hack.frob.com>
67335         [BZ #13349]
67336         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
67337         doesn't exist.
67338         * manual/stdio.texi (Obstack Streams): Node removed.
67340 2011-10-26  Andreas Schwab  <schwab@redhat.com>
67342         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
67343         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67344         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67346         * math/math_private.h (math_force_eval): Allow non-addressable
67347         arguments.
67348         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
67350 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67352         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
67353         file is not needed.
67355         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
67356         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
67357         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67358         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67359         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67360         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67361         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67362         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
67363         Add AVX variants.
67364         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
67365         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
67366         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
67367         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
67368         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
67369         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
67370         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
67371         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
67372         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
67373         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
67374         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
67375         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
67376         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
67377         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
67378         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
67379         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
67380         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
67381         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
67382         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
67384         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
67385         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
67387         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
67388         place.  Use VEX encoding when compiling for AVX.
67390 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67392         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
67393         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
67395         * string/test-strchr.c (do_test): Don't generate NUL bytes.
67397 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67399         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
67400         useless if() expression.
67401         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67402         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67403         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67404         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67405         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67406         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67407         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67408         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67409         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67410         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67411         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67412         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67413         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67414         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67415         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67416         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67417         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67418         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67419         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67421         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
67423 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67425         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
67426         condition.
67427         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67429 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67431         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
67432         .text section.  Avoid duplicate constants.
67433         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67434         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67435         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67436         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67437         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67438         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67439         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67440         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67441         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67442         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
67443         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67444         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67445         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67446         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67447         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67448         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67449         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67450         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67451         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67452         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67453         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67454         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67455         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67456         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
67457         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
67458         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
67459         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
67460         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
67461         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
67462         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
67463         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
67464         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
67465         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67466         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
67467         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
67468         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
67469         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
67470         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
67471         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
67472         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
67473         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
67474         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
67475         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
67476         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
67477         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
67479 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
67481         * sysdeps/x86_64/dla.h: Move to ...
67482         * sysdeps/x86_64/fpu/dla.h: ...here.
67483         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
67484         situations.  Use __builtin_fma only for gcc 4.6 and up.
67486         * config.make.in: Add have-mfma4 entry.
67487         * configure.in: Substitute libc_cv_cc_fma4.
67488         * math/Makefile (dbl-only-routines): Add sincostab.
67489         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
67490         Use __sincostab not sincos.
67491         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
67492         name is a macro.
67493         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67494         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67495         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67496         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
67497         using __copysign.
67498         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
67499         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
67500         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
67501         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
67502         and __inv.
67503         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
67504         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
67505         __copysign.
67506         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
67507         define aliases when function name is a macro.
67508         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
67509         sysdeps/ieee754/dbl-64/sincos.tbl.
67510         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
67511         fma4-enabled routines.
67512         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
67513         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
67514         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
67515         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
67516         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
67517         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
67518         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
67519         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
67520         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
67521         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
67522         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
67523         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
67524         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
67525         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
67526         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
67527         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
67528         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
67529         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
67530         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
67531         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
67532         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
67533         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
67534         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
67535         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
67536         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
67537         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
67538         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
67539         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
67540         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
67541         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
67543         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
67544         rename.
67545         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67546         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67547         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67548         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67549         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67550         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67551         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67552         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67554 2011-10-24  Andreas Schwab  <schwab@redhat.com>
67556         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
67558 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67560         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
67562         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
67563         prediction.
67564         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
67566         * string/strnlen.c: Don't define STRNLEN, reverse logic.
67567         Remove unused variable magic_bits.
67568         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
67570         * string/strnlen.c: Define and use STRNLEN macro.
67571         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
67572         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
67573         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
67574         * wcsmbs/wcslen.c: Define and use WCSLEN.
67575         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
67576         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
67577         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
67578         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
67579         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
67580         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
67581         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67583 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67586         strnlen-sse2-no-bsf.
67587         Rename strlen-no-bsf to strlen-sse2-no-bsf.
67588         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
67589         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
67590         Add strnlen support.
67591         (USE_AS_STRNLEN): New macro.
67592         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
67593         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
67594         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
67595         * sysdeps/x86_64/wcslen.S: New file.
67597 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
67599         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67600         XMM-moves are used for copying on small sizes.
67602 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67604         * wcsmbs/Makefile (strop-tests): Add wcschr.
67605         * wcsmbs/test-wcschr.c: New file.
67606         * string/test-strchr.c: Update.
67607         Add wcschr support.
67608         (WIDE): New macro.
67610 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67612         * wcsmbs/Makefile (strop-tests): Add wcslen.
67613         * wcsmbs/test-wcslen.c: New file.
67614         * string/test-strlen.c: Update.
67615         Add wcslen support.
67616         (WIDE): New macro.
67618 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67620         * po/it.po: Update from translation team.
67622 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67624         * sysdeps/x86_64/wcscmp.S: Update.
67625         Fix wrong comparison semantics.
67626         wcscmp shall use signed comparison not unsigned.
67627         Don't use substraction to avoid overflow bug.
67628         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67629         * wcsmbc/wcscmp.c: Likewise.
67630         * string/test-strcmp.c: Likewise.
67631         Add new tests to check cases with negative values.
67633 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67635         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67636         * sysdeps/x86_64/dla.h: ...here.  New file.
67637         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67638         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67639         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67640         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67641         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67642         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67643         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67644         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67645         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67647 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
67649         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67650         __ynl_finite aliases.
67652 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67654         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67656         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67657         define DLA_FMA.
67658         [DLA_FMA] (EMULV): Use DLA_FMA.
67659         [DLA_FMA] (MUL12): Use EMULV.
67660         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67661         that are not needed.
67662         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67663         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67664         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67665         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67666         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67667         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67668         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67670 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
67672         * math/s_nan.c: Undef __nan.
67673         * math/s_nanf.c: Undef __nanf.
67674         * math/s_nanl.c: Undef __nanl.
67675         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67676         "math_private.h".
67678 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67680         * math/s_catan.c: Add branch predictions.
67681         * math/s_catanf.c: Likewise.
67682         * math/s_catanh.c: Likewise.
67683         * math/s_catanhf.c: Likewise.
67684         * math/s_catanhl.c: Likewise.
67685         * math/s_catanl.c: Likewise.
67686         * math/s_cexp.c: Likewise.
67687         * math/s_cexpf.c: Likewise.
67688         * math/s_cexpl.c: Likewise.
67689         * math/s_clog.c: Likewise.
67690         * math/s_clog10.c: Likewise.
67691         * math/s_clog10f.c: Likewise.
67692         * math/s_clog10l.c: Likewise.
67693         * math/s_clogf.c: Likewise.
67694         * math/s_clogl.c: Likewise.
67695         * math/s_csqrt.c: Likewise.
67696         * math/s_csqrtf.c: Likewise.
67697         * math/s_csqrtl.c: Likewise.
67698         * math/s_ctanf.c: Likewise.
67699         * math/s_ctanh.c: Likewise.
67700         * math/s_ctanhf.c: Likewise.
67701         * math/s_ctanhl.c: Likewise.
67702         * math/s_ctanl.c: Likewise.
67704         * math/math_private.h: Define __nan, __nanf, __nanl.
67705         * math/s_cacosh.c: Include <math_private.h>.
67706         * math/s_cacoshl.c: Likewise.
67707         * math/s_casinh.c: Likewise.
67708         * math/s_casinhf.c: Likewise.
67709         * math/s_casinhl.c: Likewise.
67710         * math/s_ccos.c: Rely entire on ccosh.
67711         * math/s_ccosf.c: Rely entire on ccoshf.
67712         * math/s_ccosl.c: Rely entirely on ccoshl.
67713         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
67714         Remove tests for FE_INVALID.
67715         * math/s_ccoshf.c: Likewise.
67716         * math/s_ccoshl.c: Likewise.
67717         * math/s_csin.c: Likewise.
67718         * math/s_csinf.c: Likewise.
67719         * math/s_csinh.c Likewise.
67720         * math/s_csinhf.c: Likewise.
67721         * math/s_csinhl.c: Likewise.
67722         * math/s_csinl.c: Likewise.
67723         * math/s_ctan.c: Likewise.
67724         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67725         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67726         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67728 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
67730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67731         compilation problems.
67733         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67734         __builtin_expect.
67736 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
67738         * sysdeps/i386/configure.in: Test for -mfma4 option.
67739         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67740         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67741         COMMON_CPUID_INDEX_80000001.
67742         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67743         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67744         use it if FMA3 is not supported.
67745         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67747         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67748         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67750 2011-10-20  Andreas Schwab  <schwab@redhat.com>
67752         [BZ #12892]
67753         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67754         it would create a cycle with a link time dependency.
67756 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
67758         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
67759         instruction.
67760         * string/Makefile (strop-tests): Add rawmemchr.
67761         * string/test-rawmemchr.c: New file.
67763         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
67764         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
67765         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
67766         when compiling str{,n}casecmp and when AVX is available.  Hook up
67767         new optimized code in initializers.
67769 2011-10-19  Andreas Schwab  <schwab@redhat.com>
67771         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
67772         __feraiseexcept instead of feraiseexcept.
67774 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
67776         * math/math_private.h: Define defaults for libc_fetestexcept and
67777         libc_feupdateenv.
67778         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
67779         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
67780         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67781         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67782         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67783         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67784         libc_fetestexcept and libc_feupdateenv.
67786         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
67787         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
67788         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
67789         * sysdeps/x86_64/fpu/math_private.h: Define special version of
67790         libc_feholdexcept_setround.
67792         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
67793         Add s_nearbyint-c and s_nearbyintf-c.
67794         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
67795         nearbyintf inlines.
67796         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
67797         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
67798         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
67799         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
67801         * math/math_private.h: Define defaults for libc_fegetround,
67802         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
67803         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
67804         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
67805         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
67806         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
67807         standard functions.
67808         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67809         Remove comments and hacks for old compiler versions.
67810         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67811         libc_fegetround, libc_fesetround, libc_feholdexcept, and
67812         libc_feholdexceptl.
67814 2011-10-18  Andreas Schwab  <schwab@redhat.com>
67816         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
67817         (__feraiseexcept_renamed): Add __NTH.
67818         (feraiseexcept): Add __NTH.  Rename local variables to fix
67819         namespace violations.
67821 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
67823         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
67825         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
67827         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
67828         recently added interfaces.
67829         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
67831         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
67832         about macro parameter expansion.
67834         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
67835         __NO_MATH_INLINES is defined.  Cleanups.
67837         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
67838         and __floorf is target has SSE4.1.
67839         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
67840         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
67841         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
67842         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
67844         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
67845         name.
67846         (floorf): Likewise.
67848         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
67850 2011-10-17  Andreas Schwab  <schwab@redhat.com>
67852         * misc/sys/cdefs.h: Fix last change.
67854         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
67855         database lookup.
67857 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
67859         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
67861         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
67862         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67863         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67864         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67865         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67866         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67867         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67868         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67869         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67870         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
67871         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
67872         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
67873         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
67874         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
67875         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
67876         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
67877         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
67878         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
67879         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
67880         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
67881         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
67882         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
67884         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
67885         ceil, ceilf, floor, floorf.
67887         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
67888         Perform IRELATIVE relocations last.
67890         * elf/do-rel.h: Add another parameter nrelative, replacing the
67891         local variable with the same name.  Change name of the function
67892         to end in Rel or Rela (uppercase).
67893         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
67894         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
67895         elf_dynamic_do_##reloc function.
67897 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67899         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
67900         is sufficient, at least on modern CPUs.
67902         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
67904         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
67905         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
67907         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
67908         __expl_finite.
67909         * math/bits/math-finite.h: Add entries for exp.
67910         * math/e_expl.c: Add __*_finite alias.
67911         * sysdeps/i386/fpu/e_exp.S: Likewise.
67912         * sysdeps/i386/fpu/e_expf.S: Likewise.
67913         * sysdeps/i386/fpu/e_expl.c: Likewise.
67914         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67915         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67916         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
67917         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
67918         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
67919         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67920         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67922         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
67923         is sufficient, at least on modern CPUs.
67925         * ctype/ctype-info.c (__ctype_init): Define.
67926         * include/ctype.h (__ctype_init): Declare.
67927         (__ctype_b_loc): The variable is always initialized.
67928         (__ctype_toupper_loc): Likewise.
67929         (__ctype_tolower_loc): Likewise.
67930         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
67931         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
67933 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
67935         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
67937         * configure.in: Also look in $cxxmachine/include for C++ system
67938         headers.
67940 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67942         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
67943         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
67944         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
67945         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
67946         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
67947         (USE_AS_WMEMCMP): New macro.
67948         Fixing indents.
67949         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
67950         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
67951         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
67952         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
67953         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67954         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
67955         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
67956         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
67957         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
67958         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
67959         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
67960         (USE_AS_WMEMCMP): New macro.
67961         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
67962         * sysdeps/string/test-memcmp.c: Update.
67963         Fix simple_wmemcmp.
67964         Add new tests.
67965         * wcsmbs/wmemcmp.c: Update.
67966         (WMEMCMP): New macro.
67967         Fix overflow bug.
67969 2011-10-12  Andreas Jaeger  <aj@suse.de>
67971         [BZ #13268]
67972         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
67974 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67976         * libio/iofwide.c (do_length): Avoid warning.
67978         * ctype/ctype.h (__isctype_f): Add missing __THROW.
67980 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
67982         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
67984         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
67985         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
67986         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
67987         * sysdeps/i386/i686/fpu/e_log.S: New file.
67988         * sysdeps/i386/i686/fpu/e_logf.S: New file.
67989         * sysdeps/i386/i686/fpu/e_logl.S: New file.
67991         * ctype/ctype.h: Add support for inlined isXXX functions when
67992         compiling C++ code.
67994 2011-10-14  Andreas Schwab  <schwab@redhat.com>
67996         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67998         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
68000 2011-10-13  Roland McGrath  <roland@hack.frob.com>
68002         [BZ #13291]
68003         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
68005 2011-10-13  Andreas Schwab  <schwab@redhat.com>
68007         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
68008         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
68009         feraiseexcept.
68011         * sysdeps/x86_64/memrchr.S: Check for zero size.
68013         * string/stratcliff.c: Add memrchr tests.
68015 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68017         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68018         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
68019         rawmemchr-sse2 rawmemchr-sse2-bsf.
68020         * sysdeps/i386/i686/multiarch/memchr.S: New file.
68021         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
68022         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
68023         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
68024         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
68025         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
68026         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
68027         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
68028         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
68029         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
68030         * string/memrchr.c (MEMRCHR): New macro.
68032 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
68034         Add integration with gcc's -ffinite-math-only and optimize wrapper
68035         functions in libm.
68036         * Versions.def: Define GLIBC_2.15 version for libm.
68037         * math/Makefile (headers): Add bits/math-finite.h.
68038         * math/bits/math-finite.h: New file.
68039         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
68040         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
68041         * math/e_acoshl.c: Add __*_finite alias.
68042         * math/e_acosl.c: Likewise.
68043         * math/e_asinl.c: Likewise.
68044         * math/e_atan2l.c: Likewise.
68045         * math/e_atanhl.c: Likewise.
68046         * math/e_coshl.c: Likewise.
68047         * math/e_exp10.c: Likewise.
68048         * math/e_exp10f.c: Likewise.
68049         * math/e_exp10l.c: Likewise.
68050         * math/e_exp2l.c: Likewise.
68051         * math/e_fmodl.c: Likewise.
68052         * math/e_gammal_r.c: Likewise.
68053         * math/e_hypotl.c: Likewise.
68054         * math/e_j0l.c: Likewise.
68055         * math/e_j1l.c: Likewise.
68056         * math/e_jnl.c: Likewise.
68057         * math/e_lgammal_r.c: Likewise.
68058         * math/e_log10l.c: Likewise.
68059         * math/e_log2l.c: Likewise.
68060         * math/e_logl.c: Likewise.
68061         * math/e_powl.c: Likewise.
68062         * math/e_sinhl.c: Likewise.
68063         * math/e_sqrtl.c: Likewise.
68064         * math/e_scalb.c: Completely rewritten and optimized.
68065         * math/e_scalbf.c: Likewise.
68066         * math/e_scalbl.c: Likewise.
68067         * math/w_acos.c: Likewise.
68068         * math/w_acosf.c: Likewise.
68069         * math/w_acosl.c: Likewise.
68070         * math/w_acosh.c: Likewise.
68071         * math/w_acoshf.c: Likewise.
68072         * math/w_acoshl.c: Likewise.
68073         * math/w_asin.c: Likewise.
68074         * math/w_asinf.c: Likewise.
68075         * math/w_asinl.c: Likewise.
68076         * math/w_atan2.c: Likewise.
68077         * math/w_atan2f.c: Likewise.
68078         * math/w_atan2l.c: Likewise.
68079         * math/w_atanh.c: Likewise.
68080         * math/w_atanhf.c: Likewise.
68081         * math/w_atanhl.c: Likewise.
68082         * math/w_exp10.c: Likewise.
68083         * math/w_exp10f.c: Likewise.
68084         * math/w_exp10l.c: Likewise.
68085         * math/w_fmod.c: Likewise.
68086         * math/w_fmodf.c: Likewise.
68087         * math/w_fmodl.c: Likewise.
68088         * math/w_j0.c: Likewise.
68089         * math/w_j0f.c: Likewise.
68090         * math/w_j0l.c: Likewise.
68091         * math/w_j1.c: Likewise.
68092         * math/w_j1f.c: Likewise.
68093         * math/w_j1l.c: Likewise.
68094         * math/w_jn.c: Likewise.
68095         * math/w_jnf.c: Likewise.
68096         * math/w_log.c: Likewise.
68097         * math/w_logf.c: Likewise.
68098         * math/w_logl.c: Likewise.
68099         * math/w_log10.c: Likewise.
68100         * math/w_log10f.c: Likewise.
68101         * math/w_log10l.c: Likewise.
68102         * math/w_log2.c: Likewise.
68103         * math/w_log2f.c: Likewise.
68104         * math/w_log2l.c: Likewise.
68105         * math/w_pow.c: Likewise.
68106         * math/w_powf.c: Likewise.
68107         * math/w_powl.c: Likewise.
68108         * math/w_remainder.c: Likewise.
68109         * math/w_remainderf.c: Likewise.
68110         * math/w_remainderl.c: Likewise.
68111         * math/w_scalb.c: Likewise.
68112         * math/w_scalbf.c: Likewise.
68113         * math/w_scalbl.c: Likewise.
68114         * math/w_sqrt.c: Likewise.
68115         * math/w_sqrtf.c: Likewise.
68116         * math/w_sqrtl.c: Likewise.
68117         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
68118         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
68119         used.
68120         * math/math_private.h: Declare __kernel_standard_f.
68121         * math/w_cosh.c: Remove cruft and optimize a bit.
68122         * math/w_coshf.c: Likewise.
68123         * math/w_coshl.c: Likewise.
68124         * math/w_exp2.c: Likewise.
68125         * math/w_exp2f.c: Likewise.
68126         * math/w_exp2l.c: Likewise.
68127         * math/w_hypot.c: Likewise.
68128         * math/w_hypotf.c: Likewise.
68129         * math/w_hypotl.c: Likewise.
68130         * math/w_lgamma.c: Likewise.
68131         * math/w_lgamma_r.c: Likewise.
68132         * math/w_lgammaf.c: Likewise.
68133         * math/w_lgammaf_r.c: Likewise.
68134         * math/w_lgammal.c: Likewise.
68135         * math/w_lgammal_r.c: Likewise.
68136         * math/w_sinh.c: Likewise.
68137         * math/w_sinhf.c: Likewise.
68138         * math/w_sinhl.c: Likewise.
68139         * math/w_tgamma.c: Likewise.
68140         * math/w_tgammaf.c: Likewise.
68141         * math/w_tgammal.c: Likewise.
68142         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68143         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68144         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
68145         Minor optimizations.  Pretty printing.  Remove cruft.
68146         * sysdeps/i386/fpu/e_acosf.S: Likewise.
68147         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68148         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68149         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68150         * sysdeps/i386/fpu/e_acosl.c: Likewise.
68151         * sysdeps/i386/fpu/e_asin.S: Likewise.
68152         * sysdeps/i386/fpu/e_asinf.S: Likewise.
68153         * sysdeps/i386/fpu/e_atan2.S: Likewise.
68154         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
68155         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
68156         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68157         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68158         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68159         * sysdeps/i386/fpu/e_exp10.S: Likewise.
68160         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
68161         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
68162         * sysdeps/i386/fpu/e_exp2.S: Likewise.
68163         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
68164         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
68165         * sysdeps/i386/fpu/e_fmod.S: Likewise.
68166         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
68167         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
68168         * sysdeps/i386/fpu/e_hypot.S: Likewise.
68169         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
68170         * sysdeps/i386/fpu/e_log.S: Likewise.
68171         * sysdeps/i386/fpu/e_log10.S: Likewise.
68172         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68173         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68174         * sysdeps/i386/fpu/e_log2.S: Likewise.
68175         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68176         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68177         * sysdeps/i386/fpu/e_logf.S: Likewise.
68178         * sysdeps/i386/fpu/e_logl.S: Likewise.
68179         * sysdeps/i386/fpu/e_pow.S: Likewise.
68180         * sysdeps/i386/fpu/e_powf.S: Likewise.
68181         * sysdeps/i386/fpu/e_powl.S: Likewise.
68182         * sysdeps/i386/fpu/e_remainder.S: Likewise.
68183         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
68184         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
68185         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68186         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68187         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68188         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
68189         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
68190         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
68191         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68192         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68193         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68194         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68195         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68196         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68197         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
68198         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68199         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68200         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68201         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68202         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68203         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68204         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68205         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68206         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68207         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68208         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68209         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68210         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68211         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68212         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68213         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68214         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68215         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68216         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68217         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68218         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68219         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
68220         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68221         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68222         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68223         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68224         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68225         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68226         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68227         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68228         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68229         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68230         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68231         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68232         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68233         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68234         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68235         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68236         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68237         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68238         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68239         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68240         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
68241         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68242         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68243         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68244         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68245         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68246         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68247         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68248         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68249         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68250         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68251         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68252         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68253         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68254         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68255         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68256         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68257         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68258         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68259         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
68260         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68261         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68262         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68263         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68264         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68265         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68266         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68267         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68268         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68269         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68270         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68271         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68272         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68273         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
68274         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68275         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68276         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68277         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68278         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68279         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68280         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68281         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68282         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68283         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68284         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
68285         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68286         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68287         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68288         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
68289         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
68290         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
68291         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
68292         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
68293         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
68294         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
68295         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68296         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68297         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68298         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68299         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
68300         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68301         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
68302         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
68303         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
68304         (__isnanf): Likewise.
68305         (__isinf_ns): Likewise.
68306         (__isinf_nsf): Likewise.
68307         (__finite): Likewise.
68308         (__finitef): Likewise.
68309         (__ieee754_sqrt): Define as macro.
68310         (__ieee754_sqrtf): Define as macro.
68311         (__ieee754_sqrtl): Define as macro.
68312         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
68313         inlined copy.
68314         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
68315         __FINITE_MATH_ONLY__ consistent.
68316         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
68318 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
68320         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
68321         of rawmemchr.
68323         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
68325 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
68327         * po/ja.po: Update from translation team.
68329 2011-10-08  Roland McGrath  <roland@hack.frob.com>
68331         * locale/programs/locarchive.c (prepare_address_space): New function.
68332         (create_archive, enlarge_archive, open_archive): Use it.
68334         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
68335         inside [SHARED], where it is used.
68337         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
68339         * nss/getent.c (netgroup_keys): Remove unused variable.
68340         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68342 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
68344         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
68345         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
68346         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
68347         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
68348         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
68349         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
68350         * math/Makefile (libm-calls): Add s_isinf_ns.
68351         * math/divtc3.c: Use __isinf_nsl instead of isinf.
68352         * math/multc3.c: Likewise.
68353         * math/s_casin.c: Likewise.
68354         * math/s_casinf.c: Likewise.
68355         * math/s_casinl.c: Likewise.
68356         * math/s_ccos.c: Likewise.
68357         * math/s_ccosf.c: Likewise.
68358         * math/s_ccosl.c: Likewise.
68359         * math/s_ctan.c: Likewise.
68360         * math/s_ctanf.c: Likewise.
68361         * math/s_ctanh.c: Likewise.
68362         * math/s_ctanhf.c: Likewise.
68363         * math/s_ctanhl.c: Likewise.
68364         * math/s_ctanl.c: Likewise.
68365         * math/w_fmod.c: Likewise.
68366         * math/w_fmodf.c: Likewise.
68367         * math/w_fmodl.c: Likewise.
68368         * math/w_remainder.c: Likewise.
68369         * math/w_remainderf.c: Likewise.
68370         * math/w_remainderl.c: Likewise.
68371         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
68372         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
68373         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
68374         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
68375         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
68376         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
68377         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
68378         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
68380         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
68381         of the number.
68382         * stdio-common/printf_fphex.c: Likewise.
68383         * stdio-common/printf_size.c: Likewise.
68385         * math/e_exp10.c: Include math_private.h using <...> not "...".
68386         * math/e_exp10f.c: Likewise.
68387         * math/e_exp10l.c: Likewise.
68388         * math/e_exp2l.c: Likewise.
68389         * math/e_j0l.c: Likewise.
68390         * math/e_j1l.c: Likewise.
68391         * math/e_jnl.c: Likewise.
68392         * math/e_lgammal_r.c: Likewise.
68393         * math/e_rem_pio2l.c: Likewise.
68394         * math/e_scalb.c: Likewise.
68395         * math/e_scalbf.c: Likewise.
68396         * math/e_scalbl.c: Likewise.
68397         * math/k_cosl.c: Likewise.
68398         * math/k_sinl.c: Likewise.
68399         * math/k_tanl.c: Likewise.
68400         * math/s_cacoshf.c: Likewise.
68401         * math/s_catan.c: Likewise.
68402         * math/s_catanf.c: Likewise.
68403         * math/s_catanh.c: Likewise.
68404         * math/s_catanhf.c: Likewise.
68405         * math/s_catanhl.c: Likewise.
68406         * math/s_catanl.c: Likewise.
68407         * math/s_ccosh.c: Likewise.
68408         * math/s_ccoshf.c: Likewise.
68409         * math/s_ccoshl.c: Likewise.
68410         * math/s_cexp.c: Likewise.
68411         * math/s_cexpf.c: Likewise.
68412         * math/s_cexpl.c: Likewise.
68413         * math/s_clog.c: Likewise.
68414         * math/s_clog10.c: Likewise.
68415         * math/s_clog10f.c: Likewise.
68416         * math/s_clog10l.c: Likewise.
68417         * math/s_clogf.c: Likewise.
68418         * math/s_clogl.c: Likewise.
68419         * math/s_csin.c: Likewise.
68420         * math/s_csinf.c: Likewise.
68421         * math/s_csinh.c: Likewise.
68422         * math/s_csinhf.c: Likewise.
68423         * math/s_csinhl.c: Likewise.
68424         * math/s_csinl.c: Likewise.
68425         * math/s_csqrt.c: Likewise.
68426         * math/s_csqrtf.c: Likewise.
68427         * math/s_csqrtl.c: Likewise.
68428         * math/s_ctan.c: Likewise.
68429         * math/s_ctanf.c: Likewise.
68430         * math/s_ctanh.c: Likewise.
68431         * math/s_ctanhf.c: Likewise.
68432         * math/s_ctanhl.c: Likewise.
68433         * math/s_ctanl.c: Likewise.
68434         * math/s_ldexp.c: Likewise.
68435         * math/s_ldexpf.c: Likewise.
68436         * math/s_ldexpl.c: Likewise.
68437         * math/s_significand.c: Likewise.
68438         * math/s_significandf.c: Likewise.
68439         * math/s_significandl.c: Likewise.
68440         * math/w_acos.c: Likewise.
68441         * math/w_acosf.c: Likewise.
68442         * math/w_acosh.c: Likewise.
68443         * math/w_acoshf.c: Likewise.
68444         * math/w_acoshl.c: Likewise.
68445         * math/w_acosl.c: Likewise.
68446         * math/w_asin.c: Likewise.
68447         * math/w_asinf.c: Likewise.
68448         * math/w_asinl.c: Likewise.
68449         * math/w_atan2.c: Likewise.
68450         * math/w_atan2f.c: Likewise.
68451         * math/w_atan2l.c: Likewise.
68452         * math/w_atanh.c: Likewise.
68453         * math/w_atanhf.c: Likewise.
68454         * math/w_atanhl.c: Likewise.
68455         * math/w_cosh.c: Likewise.
68456         * math/w_coshf.c: Likewise.
68457         * math/w_coshl.c: Likewise.
68458         * math/w_dremf.c: Likewise.
68459         * math/w_exp10.c: Likewise.
68460         * math/w_exp10f.c: Likewise.
68461         * math/w_exp10l.c: Likewise.
68462         * math/w_exp2.c: Likewise.
68463         * math/w_exp2f.c: Likewise.
68464         * math/w_fmod.c: Likewise.
68465         * math/w_fmodf.c: Likewise.
68466         * math/w_fmodl.c: Likewise.
68467         * math/w_hypot.c: Likewise.
68468         * math/w_hypotf.c: Likewise.
68469         * math/w_hypotl.c: Likewise.
68470         * math/w_j0.c: Likewise.
68471         * math/w_j0f.c: Likewise.
68472         * math/w_j0l.c: Likewise.
68473         * math/w_j1.c: Likewise.
68474         * math/w_j1f.c: Likewise.
68475         * math/w_j1l.c: Likewise.
68476         * math/w_jn.c: Likewise.
68477         * math/w_jnf.c: Likewise.
68478         * math/w_jnl.c: Likewise.
68479         * math/w_lgamma.c: Likewise.
68480         * math/w_lgamma_r.c: Likewise.
68481         * math/w_lgammaf.c: Likewise.
68482         * math/w_lgammaf_r.c: Likewise.
68483         * math/w_lgammal.c: Likewise.
68484         * math/w_lgammal_r.c: Likewise.
68485         * math/w_log.c: Likewise.
68486         * math/w_log10.c: Likewise.
68487         * math/w_log10f.c: Likewise.
68488         * math/w_log10l.c: Likewise.
68489         * math/w_log2.c: Likewise.
68490         * math/w_log2f.c: Likewise.
68491         * math/w_log2l.c: Likewise.
68492         * math/w_logf.c: Likewise.
68493         * math/w_logl.c: Likewise.
68494         * math/w_pow.c: Likewise.
68495         * math/w_powf.c: Likewise.
68496         * math/w_powl.c: Likewise.
68497         * math/w_remainder.c: Likewise.
68498         * math/w_remainderf.c: Likewise.
68499         * math/w_remainderl.c: Likewise.
68500         * math/w_scalb.c: Likewise.
68501         * math/w_scalbf.c: Likewise.
68502         * math/w_scalbl.c: Likewise.
68503         * math/w_sinh.c: Likewise.
68504         * math/w_sinhf.c: Likewise.
68505         * math/w_sinhl.c: Likewise.
68506         * math/w_sqrt.c: Likewise.
68507         * math/w_sqrtf.c: Likewise.
68508         * math/w_sqrtl.c: Likewise.
68509         * math/w_tgamma.c: Likewise.
68510         * math/w_tgammaf.c: Likewise.
68511         * math/w_tgammal.c: Likewise.
68513         * po/ja.po: Update from translation team.
68515 2011-09-29  Andreas Jaeger  <aj@suse.de>
68517         [BZ #13179]
68518         * sunrpc/netname.c (netname2host): Fix logic.
68520         [BZ #6779]
68521         [BZ #6783]
68522         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
68523         correctly.
68524         * math/w_remainder.c (__remainder): Likewise.
68525         * math/w_remainderf.c (__remainderf): Likewise.
68526         * math/libm-test.inc (remainder_test): Add test cases.
68528 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68530         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
68531         sdiv_qrnnd.
68533 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68535         * string/test-memcmp.c: Avoid unncessary #defines.
68536         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68538 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68540         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
68541         Use new sse2 version for core i3 - i7 as it's faster
68542         than sse42 version.
68543         (bit_Prefer_PMINUB_for_stringop): New.
68544         * sysdeps/x86_64/rawmemchr.S: Update.
68545         Replace with faster SSE2 version.
68546         * sysdeps/x86_64/memrchr.S: New file.
68547         * sysdeps/x86_64/memchr.S: Update.
68548         Replace with faster SSE2 version.
68550 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
68552         * elf/dl-load.c (lose): Add cast to avoid warning.
68554 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68556         * po/ca.po: Update from translation team.
68558         * inet/getnetgrent_r.c: Hook up nscd.
68559         * nscd/Makefile (routines): Add nscd_netgroup.
68560         (nscd-modules): Add netgroupcache.
68561         (CFLAGS-netgroupcache.c): Define.
68562         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
68563         (cache_search): Add const to second parameter.
68564         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
68565         INNETGR.
68566         (dbs): Add netgrdb entry.
68567         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
68568         (verify_persistent_db): Handle netgrdb.
68569         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
68570         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
68571         GETFDNETGR.
68572         (netgroup_response_header): Define.
68573         (innetgroup_response_header): Define.
68574         (datahead): Add netgroup_response_header and innetgroup_response_header
68575         elements.
68576         * nscd/nscd.conf: Add entries for netgroup cache.
68577         * nscd/nscd.h (dbtype): Add netgrdb.
68578         (_PATH_NSCD_NETGROUP_DB): Define.
68579         (netgroup_iov_disabled): Declare.
68580         (xmalloc, xcalloc, xrealloc): Move declarations here.
68581         (cache_search): Adjust prototype.
68582         Add netgroup-related prototypes.
68583         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
68584         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
68585         (__nscd_innetgr): Declare.
68586         * nscd/selinux.c (perms): Use access_vector_t as element type and
68587         add netgroup-related initializers.
68588         * nscd/netgroupcache.c: New file.
68589         * nscd/nscd_netgroup.c: New file.
68590         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
68591         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
68592         For four parameters use innetgr.
68593         * nss/nss_files/files-init.c: Add definition and callback for netgr.
68594         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
68595         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
68596         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
68598         * nscd/connections.c (register_traced_file): Don't register file
68599         for disabled databases.
68601 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
68603         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68605         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68606         from tree and freeing node.
68608 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
68610         * nss/nsswitch.c (__nss_database_lookup): Handle
68611         nss_parse_service_list out of memory case.
68613 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
68615         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68616         out of memory case.
68618 2011-10-04  Andreas Schwab  <schwab@redhat.com>
68620         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68621         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68622         pass it down.
68623         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68624         elf_machine_rela, elf_machine_lazy_rel.
68625         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68626         (ELF_DYNAMIC_DO_REL): Likewise.
68627         (ELF_DYNAMIC_DO_RELA): Likewise.
68628         (ELF_DYNAMIC_RELOCATE): Likewise.
68629         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68630         to ELF_DYNAMIC_DO_REL.
68631         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68632         (dl_main): In trace mode always set __RTLD_NOIFUNC.
68633         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68634         elf_machine_rela.
68635         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68636         skip_ifunc, don't call ifunc function if non-zero.
68637         (elf_machine_rela): Likewise.
68638         (elf_machine_lazy_rel): Likewise.
68639         (elf_machine_lazy_rela): Likewise.
68640         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68641         (elf_machine_lazy_rel): Likewise.
68642         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68643         Likewise.
68644         (elf_machine_lazy_rel): Likewise.
68645         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68646         Likewise.
68647         (elf_machine_lazy_rel): Likewise.
68648         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68649         (elf_machine_lazy_rel): Likewise.
68650         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68651         (elf_machine_lazy_rel): Likewise.
68652         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68653         (elf_machine_lazy_rel): Likewise.
68654         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68655         (elf_machine_lazy_rel): Likewise.
68656         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68657         (elf_machine_lazy_rel): Likewise.
68658         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68659         (elf_machine_lazy_rel): Likewise.
68661 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
68663         * nss/nss_files/files-init.c (_nss_files_init): Use static
68664         initialization for all the *_traced_file variables.
68666 2011-09-28  Andreas Schwab  <schwab@redhat.com>
68668         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68670 2011-09-27  Roland McGrath  <roland@hack.frob.com>
68672         [BZ #13226]
68673         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68675 2011-09-27  Andreas Schwab  <schwab@redhat.com>
68677         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68678         Reread the line before reparsing it.
68680 2011-09-26  Andreas Schwab  <schwab@redhat.com>
68682         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68684 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
68685             Maxim Kuvyrkov  <maxim@codesourcery.com>
68686             Joseph Myers  <joseph@codesourcery.com>
68688         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68689         if needed for __stack_chk_guard.
68691 2011-09-19  Roland McGrath  <roland@hack.frob.com>
68693         * sysdeps/posix/spawni.c (script_execute): Always define it.
68694         It will be optimized away if unused.
68695         (maybe_script_execute): New function.
68696         (__spawni): Call it.
68698         * Makerules: Don't include tls.make.
68699         (config-tls): Always set to thread.
68700         * tls.make.c: File removed.
68702 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
68704         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68705         * config.make.in (CPPFLAGS-config): New substituted variable.
68707 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68709         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68711         [BZ #13192]
68712         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68713         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68715 2011-09-15  Roland McGrath  <roland@hack.frob.com>
68717         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68718         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68719         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68720         (CALL_FAIL): Likewise.
68721         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68722         (CALL_FAIL): Macro removed.
68723         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68725 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68727         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68728         for __FINITE_MATH_ONLY__ == 1.
68730 2011-09-15  Andreas Schwab  <schwab@redhat.com>
68732         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68733         __ieee754_sqrt instead of sqrt.
68734         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68735         __ieee754_sqrtf instead of sqrtf.
68736         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68737         __floorf instead of floorf.
68738         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68739         __floorf, __truncf instead of floorf, truncf.
68741 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
68743         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68745         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68746         __extern_always_inline.
68747         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68748         32-bit.
68750 2011-09-14  Andreas Schwab  <schwab@redhat.com>
68752         * elf/rtld.c (dl_main): Also relocate in dependency order when
68753         doing symbol dependency testing.
68755 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
68757         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68758         Always define `refsym'.
68760 2011-09-13  Andreas Schwab  <schwab@redhat.com>
68762         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
68763         (__FD_ELT): Renamed from __FDELT.
68764         * misc/bits/select2.h (__FD_ELT): Likewise.
68765         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
68766         __FD_MASK instead of __FDELT, __FDMASK.
68767         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68768         Likewise.
68769         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68770         Likewise.
68772         * elf/Makefile (gen-ldd): Fix pattern.
68774         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
68775         (init_tls): Likewise.
68777 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
68779         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
68781 2011-09-12  Andreas Schwab  <schwab@redhat.com>
68783         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
68784         `struct cmsghdr *' instead of `void *'.
68785         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
68786         Likewise.
68788 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
68790         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
68791         if non-absolute.
68792         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
68793         ldd_rewrite_script.
68795 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
68797         * configure.in: Remove --with-tls option.
68798         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
68799         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
68800         out in case it is missing.
68801         * sysdeps/ia64/elf/configure.in: Likewise.
68802         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
68803         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
68804         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
68805         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
68806         * sysdeps/sh/elf/configure.in: Likewise.
68807         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
68808         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68809         * sysdeps/x86_64/elf/configure.in: Likewise.
68810         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
68811         * sysdeps/mach/hurd/tls.h: Likewise.
68813         [BZ #13067]
68814         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
68816         [BZ #13090]
68817         * configure.in: Fix use of AC_INIT.
68819         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
68821 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
68823         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
68824         __set_errno.
68825         * malloc/hooks.c: Likewise.
68827         [BZ #11929]
68828         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
68829         variables statically.
68830         (narenas): Initialize.
68831         (list_lock): Initialize.
68832         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
68833         initializtion of main_arena and list_lock.  Small cleanups.
68834         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
68835         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
68836         Add initializers to main_arena and mp_.
68837         (malloc_state): Remove pagesize member.  Change all users to use
68838         GLRO(dl_pagesize).
68840         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
68841         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
68842         is always initialized.
68844         * malloc/malloc.c: Removed unused configurations and dead code.
68845         * malloc/arena.c: Likewise.
68846         * malloc/hooks.c: Likewise.
68847         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
68849         * include/tls.h: Removed.  USE___THREAD must always be defined.
68850         * bits/libc-tsd.h: Don't handle !USE___THREAD.
68851         * elf/dl-libc.c: Likewise.
68852         * elf/dl-tsd.c: Likewise.
68853         * include/errno.h: Likewise.
68854         * include/netdb.h: Likewise.
68855         * include/resolv.h: Likewise.
68856         * inet/herrno-loc.c: Likewise.
68857         * inet/herrno.c: Likewise.
68858         * malloc/arena.c: Likewise.
68859         * malloc/hooks.c: Likewise.
68860         * malloc/malloc.c: Likewise.
68861         * resolv/res-state.c: Likewise.
68862         * resolv/res_libc.c: Likewise.
68863         * sysdeps/i386/dl-machine.h: Likewise.
68864         * sysdeps/ia64/dl-machine.h: Likewise.
68865         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
68866         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68867         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
68868         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
68869         * sysdeps/sh/dl-machine.h: Likewise.
68870         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68871         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68872         * sysdeps/unix/i386/sysdep.S: Likewise.
68873         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
68874         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
68875         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
68876         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
68877         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
68878         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
68879         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
68880         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68881         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68882         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
68883         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68884         * sysdeps/x86_64/dl-machine.h: Likewise.
68885         * tls.make.c: Likewise.
68887         * configure.in: Remove --with-__thread option.  Make tests for
68888         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
68889         tls_model attribute fail if no support is available.  Remove
68890         USE_IN_LIBIO.
68891         * Makeconfig: Adjust for dropped configure option.  All features are
68892         now mandatory.
68893         * Makerules: Likewise.
68894         * Versions.def: Likewise.
68895         * argp/argp-fmtstream.c: Likewise.
68896         * argp/argp-fmtstream.h: Likewise.
68897         * argp/argp-help.c: Likewise.
68898         * assert/assert.c: Likewise.
68899         * config.h.in: Likewise.
68900         * config.make.in: Likewise.
68901         * configure: Likewise.
68902         * configure.in: Likewise.
68903         * csu/Versions: Likewise.
68904         * csu/init.c: Likewise.
68905         * elf/tst-audit2.c: Likewise.
68906         * elf/tst-tls10.c: Likewise.
68907         * elf/tst-tls10.h: Likewise.
68908         * elf/tst-tls11.c: Likewise.
68909         * elf/tst-tls12.c: Likewise.
68910         * elf/tst-tls14.c: Likewise.
68911         * elf/tst-tlsmod11.c: Likewise.
68912         * elf/tst-tlsmod12.c: Likewise.
68913         * elf/tst-tlsmod13.c: Likewise.
68914         * elf/tst-tlsmod13a.c: Likewise.
68915         * elf/tst-tlsmod14a.c: Likewise.
68916         * elf/tst-tlsmod15b.c: Likewise.
68917         * elf/tst-tlsmod16a.c: Likewise.
68918         * elf/tst-tlsmod16b.c: Likewise.
68919         * elf/tst-tlsmod7.c: Likewise.
68920         * elf/tst-tlsmod8.c: Likewise.
68921         * elf/tst-tlsmod9.c: Likewise.
68922         * gmon/gmon.c: Likewise.
68923         * grp/fgetgrent_r.c: Likewise.
68924         * grp/putgrent.c: Likewise.
68925         * hurd/fopenport.c: Likewise.
68926         * include/libc-symbols.h: Likewise.
68927         * include/tls.h: Likewise.
68928         * intl/gettextP.h: Likewise.
68929         * intl/loadinfo.h: Likewise.
68930         * locale/global-locale.c: Likewise.
68931         * locale/localeinfo.h: Likewise.
68932         * mach/devstream.c: Likewise.
68933         * malloc/arena.c: Likewise.
68934         * malloc/set-freeres.c: Likewise.
68935         * misc/err.c: Likewise.
68936         * misc/getttyent.c: Likewise.
68937         * misc/mntent_r.c: Likewise.
68938         * posix/getopt.c: Likewise.
68939         * posix/wordexp.c: Likewise.
68940         * pwd/fgetpwent_r.c: Likewise.
68941         * resolv/Versions: Likewise.
68942         * resolv/res_hconf.c: Likewise.
68943         * shadow/fgetspent_r.c: Likewise.
68944         * shadow/putspent.c: Likewise.
68945         * stdio-common/printf_fphex.c: Likewise.
68946         * stdio-common/tmpfile.c: Likewise.
68947         * stdlib/abort.c: Likewise.
68948         * stdlib/fmtmsg.c: Likewise.
68949         * sunrpc/auth_unix.c: Likewise.
68950         * sunrpc/clnt_perr.c: Likewise.
68951         * sunrpc/clnt_tcp.c: Likewise.
68952         * sunrpc/clnt_udp.c: Likewise.
68953         * sunrpc/clnt_unix.c: Likewise.
68954         * sunrpc/openchild.c: Likewise.
68955         * sunrpc/svc_simple.c: Likewise.
68956         * sunrpc/svc_tcp.c: Likewise.
68957         * sunrpc/svc_udp.c: Likewise.
68958         * sunrpc/svc_unix.c: Likewise.
68959         * sunrpc/xdr.c: Likewise.
68960         * sunrpc/xdr_array.c: Likewise.
68961         * sunrpc/xdr_rec.c: Likewise.
68962         * sunrpc/xdr_ref.c: Likewise.
68963         * sunrpc/xdr_stdio.c: Likewise.
68965 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68967         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68969 2011-07-03  Andreas Jaeger  <aj@suse.de>
68971         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
68972         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
68973         regenerate with gen-libm-tests.pl.
68975 2010-05-12  Petr Baudis  <pasky@suse.cz>
68977         [BZ #11589]
68978         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
68979         around j0() zero points by switching to j1().
68980         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68981         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68982         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68983         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68985 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68987         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
68988         instead of 0.
68989         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
68990         instead of 0.
68991         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68992         Patch in part by Pavel Roskin <proski@gnu.org>.
68994         [BZ #13138]
68995         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
68996         realloc.
68997         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
68998         Free memory block if necessary.
69000         [BZ #12847]
69001         * libio/genops.c (INTDEF): For string streams the _lock pointer can
69002         be NULL.  Don't lock in this case.
69004 2011-09-09  Roland McGrath  <roland@hack.frob.com>
69006         * elf/elf.h (ELFOSABI_GNU): New macro.
69007         (ELFOSABI_LINUX): Define to that.
69009 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
69011         * string/strncat.c (strncat): Undef the symbol in case it has been
69012         defined in bits/string.h.
69014 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69016         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
69018         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
69019         link map.
69021 2011-08-17  Andreas Jaeger  <aj@suse.de>
69023         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
69025 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
69026             Ian Lance Taylor  <iant@google.com>
69028         * math/libm-test.inc (lround_test): New testcase.
69029         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
69031 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
69033         * Makefile: Remove support for automatic cvs check-ins.
69034         * Makerules: Likewise.
69035         * config.make.in: Likewise.
69036         * configure.in: Likewise.
69037         * intl/Makefile: Likewise.
69038         * locale/Makefile: Likewise.
69039         * po/Makefile: Likewise.
69040         * posix/Makefile: Likewise.
69041         * sysdeps/gnu/Makefile: Likewise.
69042         * sysdeps/mach/hurd/Makefile: Likewise.
69043         * sysdeps/sparc/sparc32/Makefile: Likewise.
69045         [BZ #13118]
69046         * posix/Makefile (bug-regex32-ENV): Define.
69047         Patch by John Stanley <jpsinthemix@verizon.net>.
69049         * misc/Makefile (headers): Add bits/select2.h.
69050         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
69051         * misc/bits/select2.h: New file.
69052         * include/bits/select2.h: New file.
69053         * debug/Makefile (routines): Add fdelt_chk.
69054         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
69055         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
69056         FD_ISSET.
69057         * debug/fdelt_chk.c: New file.
69059         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
69060         * wcsmbs/test-wmemcmp.c: Likewise.
69061         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
69062         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
69064 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69066         * string/Makefile (strop-tests): Add memcmp.
69067         * string/test-wmemcmp.c: New file.
69068         * string/test-memcmp.c: Add wmemcmp support.
69070 2011-09-08  Roland McGrath  <roland@hack.frob.com>
69072         [BZ #13153]
69073         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
69074         2011-07-19 change.
69076         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
69077         garbage value in a __mach_port_mod_refs call in the cases of the
69078         task-self and thread-self ports.
69080 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69082         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
69084 2011-09-08  Andreas Schwab  <schwab@redhat.com>
69086         * elf/dl-load.c (lose): Check for non-null L.
69088 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69090         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
69092         * elf/dl-libc.c (dlerror_run): Pass back error code from
69093         dl_catch_error.
69095         [BZ #13123]
69096         * elf/dl-load.c (lose): Free l_origin if it is valid.
69098         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
69099         names.
69100         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
69101         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69102         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69103         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69104         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
69105         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
69107 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69109         * sysdeps/powerpc/fpu/e_hypot.c: New file.
69110         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
69111         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
69112         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
69113         * sysdeps/powerpc/fpu/k_cosf.c: New file.
69114         * sysdeps/powerpc/fpu/k_sinf.c: New file.
69115         * sysdeps/powerpc/fpu/s_cosf.c: New file.
69116         * sysdeps/powerpc/fpu/s_sinf.c: New file.
69117         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
69118         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
69120 2011-08-15  Alan Modra  <amodra@gmail.com>
69122         [BZ #13092]
69123         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
69124         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
69125         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
69126         ppc_mcount to static-only-routines.
69127         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
69128         __mcount_internal.
69129         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
69130         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
69132 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
69134         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
69135         for finite and infinity parameters.
69137 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69139         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
69140         and add nop instructions for throughput optimization.
69141         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69143 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
69145         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
69146         aligned copy for power7 with vector-scalar instructions.
69147         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
69149 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
69151         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
69152         AVX check.
69154 2011-09-07  Andreas Schwab  <schwab@redhat.com>
69156         [BZ #13144]
69157         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
69158         last change.
69160 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69162         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69163         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
69164         syscall wrapper around clock_gettime in __vdso_clock_gettime.
69165         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
69166         clock_gettime.
69168 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69170         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
69171         Forgot to demangle the pointer.
69173         * sysdeps/i386/sysdep.h: Define atom_text_section.
69174         * sysdeps/x86_64/sysdep.h: Likewise.
69175         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
69176         section with atom_text_section.
69177         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69178         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69179         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
69180         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69181         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
69183         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
69184         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
69185         already be defined.  Change to take two parameters and don't assign
69186         result to variable.  Adjust all users.
69187         Define INTERNAL_GETTIME if not already defined.
69188         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
69189         call.
69190         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
69191         HAVE_CLOCK_GETTIME_VSYSCALL.
69192         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
69194         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
69195         gettimeofday vsyscall, just use time.
69197 2011-09-06  Andreas Schwab  <schwab@redhat.com>
69199         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
69200         <errno.h>.
69202 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69204         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
69205         syscall on x86-64.
69206         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
69207         syscall.
69208         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
69209         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
69210         syscall if possible.
69212 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69214         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
69215         e_ident.  Don't pass to find_mapsXX.
69216         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
69218 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69220         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69221         strchr-sse2-no-bsf strrchr-sse2-no-bsf
69222         * sysdeps/x86_64/multiarch/strchr.S: Update.
69223         Check bit_slow_BSF bit.
69224         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69225         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
69226         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
69228 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69230         [BZ #13134]
69231         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
69232         before glibc 2.15.
69233         (tryshell): Define.
69234         (__spawni): Change last parameter to be flag.  Test
69235         SPAWN_XFLAGS_USE_PATH flag to use path or not.
69236         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
69237         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
69238         * posix/spawni.c: Likewise.
69239         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
69240         * posix/spawnp.c: Likewise.  Change normal version to use
69241         SPAWN_XFLAGS_USE_PATH.
69242         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
69243         SPAWN_XFLAGS_TRY_SHELL.
69245         [BZ #13150]
69246         * posix/glob.h: Remove gcc 1.x support.
69248         [BZ #13068]
69249         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
69251 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69253         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69254         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
69255         strrchr-sse2-bsf
69256         * sysdeps/i386/i686/multiarch/strchr.S: New file.
69257         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
69258         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
69259         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
69260         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
69261         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
69263 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69265         * sysdeps/x86_64/wcscmp.S: New file.
69267         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
69268         wcscmp-c wcscmp-sse2
69269         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
69270         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
69271         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
69272         * wcsmbs/wcscmp.c: Allow renaming.
69274 2011-09-05  David S. Miller  <davem@davemloft.net>
69276         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
69277         stack slot, rather than the struct return pointer slot.
69278         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
69279         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
69280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
69281         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
69283 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69285         * po/ja.po: Update from translation team.
69287         [BZ #13144]
69288         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
69289         kernel in 64-bit binaries.
69291 2011-09-01  David S. Miller  <davem@davemloft.net>
69293         * elf/elf.h (HWCAP_SPARC_*): Move to..
69294         * sysdeps/sparc/sysdep.h: this new file and add new values.
69295         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
69296         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
69297         _DL_HWCAP_COUNT to 24.
69298         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69299         entries.
69300         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
69301         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
69302         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
69303         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
69304         instead of magic constants.
69305         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69307 2011-08-31  David S. Miller  <davem@davemloft.net>
69309         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
69310         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
69311         Reimplement to do errno handling inline.
69312         (SYSCALL_ERROR_HANDLER): New macro.
69313         (__SYSCALL_STRING): Do not do errno handling in asm.
69314         (__CLONE_SYSCALL_STRING): Delete.
69315         (__INTERNAL_SYSCALL_STRING): Delete.
69316         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
69317         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
69318         (PSEUDO): Reimplement to do errno handling inline.
69319         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
69320         (SYSCALL_ERROR_HANDLER): New macro.
69321         (__SYSCALL_STRING): Do not do errno handling in asm.
69322         (__CLONE_SYSCALL_STRING): Delete.
69323         (__INTERNAL_SYSCALL_STRING): Delete.
69324         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
69325         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
69326         i386.
69327         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
69328         (inline_syscall*): Add 'err' argument.
69329         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
69330         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
69331         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
69332         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
69334         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
69335         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69337 2011-08-30  Andreas Schwab  <schwab@redhat.com>
69339         * elf/rtld.c (dl_main): Relocate objects in dependency order.
69341 2011-08-29  Jiri Olsa <jolsa@redhat.com>
69343         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
69344         directive.
69346 2011-08-24  David S. Miller  <davem@davemloft.net>
69348         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
69350 2011-08-24  Andreas Schwab  <schwab@redhat.com>
69352         * elf/Makefile: Add rules to build and run unload8 test.
69353         * elf/unload8.c: New file.
69354         * elf/unload8mod1.c: New file.
69355         * elf/unload8mod1x.c: New file.
69356         * elf/unload8mod2.c: New file.
69357         * elf/unload8mod3.c: New file.
69359         * elf/dl-close.c (_dl_close_worker): Reset private search list if
69360         it wasn't used.
69362 2011-08-23  David S. Miller  <davem@davemloft.net>
69364         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
69365         subtract stack bias.
69366         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
69367         %sp not %fp in calculations.
69368         (_JMPBUF_UNWINDS_ADJ): Likewise.
69370         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
69371         (aio_suspend): Call it to force an exception region around the
69372         AIO_MISC_WAIT() invocation.
69374 2011-08-23  Andreas Schwab  <schwab@redhat.com>
69376         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
69377         backslash.
69379 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
69381         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
69382         protection macro.
69383         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
69384         and <dl-machine.h>.
69385         (Elf64_FuncDesc): Remove.
69387 2011-08-22  David S. Miller  <davem@davemloft.net>
69389         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
69390         sigaltstack check, add missing cfi directives.
69391         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
69392         missing cfi directives, and sigaltstack handling.
69394 2011-08-16  Andreas Schwab  <schwab@redhat.com>
69396         [BZ #11724]
69397         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
69398         object is seen twice.
69399         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69401         * elf/Makefile (distribute): Add tst-initorder2.c.
69402         (tests): Add tst-initorder2.
69403         (modules-names): Add tst-initorder2a tst-initorder2b
69404         tst-initorder2c tst-initorder2d.  Add rules to build them.
69405         ($(objpfx)tst-initorder2.out): New rule.
69406         * elf/tst-initorder2.c: New file.
69407         * elf/tst-initorder2.exp: New file.
69409 2011-08-22  Andreas Schwab  <schwab@redhat.com>
69411         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
69413         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
69414         dependencies back to end of function.
69416         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69417         $(elfobjdir)/ld.so.
69419 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
69421         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
69422         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
69423         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
69424         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
69425         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
69426         of __vdso_gettimeofday.
69427         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
69428         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
69429         attribute_hidden.
69430         (_libc_vdso_platform_setup): Remove initialization of
69431         __vdso_gettimeofday and __vdso_time.
69433 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69435         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
69436         and fgetc_unlocked.
69437         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
69438         getc_unlocked.
69440         * elf/dl-open.c (add_to_global): Report additions to the global scope
69441         for LD_DEBUG=scopes.
69442         (dl_open_worker): Also print scope of newly loaded dependencies.
69443         (_dl_show_scope): Indicate if there is no scope.
69445         [BZ #13114]
69446         * stdio-common/Makefile (tests): Add bug24.
69447         * stdio-common/bug24.c: New file.
69449 2011-08-19  Andreas Jaeger  <aj@suse.de>
69451         [BZ #13114]
69452         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
69453         non-existant file when using close-on-exec mode.
69455 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69457         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
69458         the very first instruction.
69460         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
69461         the CFI state in the end.
69462         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
69463         inclusion of dl-trampoline.h.
69464         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
69466 2011-08-19  Andreas Schwab  <schwab@redhat.com>
69468         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
69469         expectations for long double.
69471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
69472         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
69474 2011-08-14  David S. Miller  <davem@davemloft.net>
69476         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
69477         artificual limit depends upon the system page size.
69479 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69481         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
69482         * resolv/Makefile: Define CFLAGS-libresolv.
69484 2011-08-17  Andreas Schwab  <schwab@redhat.com>
69486         * nss/makedb.c (compute_tables): Make variables used in nested
69487         function static.
69489 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69491         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
69492         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
69493         if buffer was too small.
69495         * elf/pldd.c (main): Attach to all threads in the process.
69496         Rewrite /proc handling to use *at functions.
69498 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
69500         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
69501         specifies first scope to show.
69502         (dl_open_worker): Update callers.  Move printing scope of new
69503         object to before the relocation.
69504         * elf/rtld.c (dl_main): Update _dl_show_scope call.
69505         * sysdeps/generic/ldsodefs.h: Update declaration.
69507         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
69508         string for the scope number.
69510 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
69512         * nscd/servicescache.c (cache_addserv): Make sure written is always
69513         initialized.
69515 2011-08-14  Roland McGrath  <roland@hack.frob.com>
69517         * sysdeps/i386/i486/bits/atomic.h
69518         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
69519         statement expression, so as to suppress "set but not used" warning.
69520         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
69522         * string/strncat.c (STRNCAT): Use prototype definition.
69524         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
69525         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
69526         -Iprograms here.
69527         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
69528         (localedef-modules): Add localedef.
69529         (locale-modules): Add locale.
69531         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
69532         * elf/rtld.c (dl_main): Invert order of assignment in last change,
69533         to avoid a warning.
69535 2011-08-14  David S. Miller  <davem@davemloft.net>
69537         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
69538         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
69540 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
69542         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
69543         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
69544         * elf/rtld.c (dl_main): Set l_name of vDSO.
69545         Call _dl_show_scope when DL_DEBUG_SCOPES.
69546         (process_dl_debug): Recognize scopes flag and also set it for all.
69547         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
69548         Declare _dl_show_scope.
69550         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
69551         (do_dlopen): Pass caller_dlopen to dl_open.
69552         (__libc_dlopen_mode): Initialize caller_dlopen.
69554         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
69555         of libc.  Make tolower call locale-independent.  Optimize a bit by
69556         using isdigit instead of isalnum.
69557         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
69559 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
69561         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
69562         was a dependency or dynamically loaded.
69564 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
69566         * intl/l10nflist.c: Allow architecture-specific pop function.
69567         * sysdeps/x86_64/l10nflist.c: New file.
69569         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
69570         classification.
69572 2011-08-10  Andreas Schwab  <schwab@redhat.com>
69574         * include/dirent.h: Add libc_hidden_proto for scandirat and
69575         scandirat64.  Don't declare __scandirat64.
69576         * dirent/scandirat.c: Add libc_hidden_def.
69577         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
69578         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
69580 2011-08-10  David S. Miller  <davem@davemloft.net>
69582         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
69583         enum.
69584         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69585         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69586         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69588 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
69590         * Versions.def [libc]: Add GLIBC_2.15.
69591         * dirent/Makefile (routines): Add scandirat and scandirat64.
69592         * dirent/Versions [libc]: Export scandirat and scandirat64 for
69593         GLIBC_2.15.
69594         * dirent/dirent.h: Declare scandirat and scandirat64.
69595         * dirent/scandirat.c: New file.
69596         * dirent/scandirat64.c: New file.
69597         * sysdeps/wordsize-64/scandirat.c: New file.
69598         * sysdeps/wordsize-64/scandirat64.c: New file.
69599         * dirent/opendir.c: Define opendirat.
69600         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
69601         using scandirat.
69602         * dirent/scandir64.c: Adjust for scandir.c change.
69603         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
69604         __scandirat64, and __scandir_cancel_handler.
69605         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
69606         additional parameter and use openat instead of open (outside of ld.so).
69607         Add new __opendir as wrapper around __opendirat.
69608         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69609         here without requiring old scandirat implementation.
69611 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
69613         * dirent/scandir.c (cancel_handler): Renamed to
69614         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
69615         defined.  Adjust users.
69616         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69617         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69619 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
69621         * string/test-string.h (IMPL): Use __STRING to expand name and then
69622         stringify it.
69624         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
69625         of cleanups.
69627 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69629         * string/Makefile: Update.
69630         (strop-tests): Append strncat.
69631         * string/test-wcscmp.c: New file.
69632         New comprehensive test for wcscmp.
69633         * string/test-strcmp.c: Update.
69634         (WIDE): New define.
69636 2011-07-22  Andreas Schwab  <schwab@redhat.com>
69638         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69639         line.
69641 2011-07-26  Andreas Schwab  <schwab@redhat.com>
69643         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69644         encoding to ACE if AI_IDN.
69646 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
69648         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69649         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69651 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69653         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69654         Fix overflow bug in strncat.
69655         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69657         * string/test-strncat.c: Update.
69658         Add new tests for checking overflow bugs.
69660 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69662         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69663         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69664         * sysdeps/i386/i686/multiarch/strcat.S: New file.
69665         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69666         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69667         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69668         * sysdeps/i386/i686/multiarch/strncat.S: New file.
69669         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69670         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69672         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69673         (USE_AS_STRCAT): Define.
69674         Add strcat and strncat support.
69675         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69677 2011-07-25  Andreas Schwab  <schwab@redhat.com>
69679         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69680         __n bigger than INT_MAX+1.
69681         (__strncmp_g): Likewise.
69683 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
69685         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69686         * libio/stido.h: Likewise.
69688         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69689         (AF_NFC): Define.
69690         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69691         (AF_NFC): Define.
69693         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69694         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69695         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69696         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69697         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69699         [BZ #13021]
69700         * scripts/test-installation.pl: Don't expect libnss_test1 to be
69701         installed.
69703         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69704         typo.
69705         (_dl_x86_64_save_sse): Likewise.
69707 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
69709         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69710         OSXSAVE.
69711         (_dl_x86_64_save_sse): Likewise.
69713         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69715         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69717 2011-07-21  Andreas Schwab  <schwab@redhat.com>
69719         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69720         change.
69721         (_dl_x86_64_save_sse): Use correct AVX check.
69723 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69725         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69726         bug in strncpy/strncat.
69727         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69729 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
69731         * string/tester.c (test_strcat): Add tests for different alignments
69732         of source and destination.
69733         (test_strncat): Likewise.
69735 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69737         [BZ #12852]
69738         * posix/glob.c (glob): Check passed in values before using them in
69739         expressions to avoid some overflows.
69740         (glob_in_dir): Likewise.
69742         [BZ #13007]
69743         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69744         check for AVX enablement so that we don't crash with old kernels and
69745         new hardware.
69746         * elf/tst-audit4.c: Add same checks here.
69747         * elf/tst-audit6.c: Likewise.
69749         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69751 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
69753         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69755 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69757         * po/cs.po: Update from translation team.
69758         * po/bg.po: Likewise.
69760 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
69762         * misc/sys/cdefs.h: Add support for const attribute.
69763         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
69764         to gnu_dev_{major,minor,makedev} functions.
69766 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
69768         * intl/dcigettext.c (get_output_charset): Add missing bracket.
69770 2011-07-20  Andreas Schwab  <schwab@redhat.com>
69772         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69773         strlen results.
69775 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69777         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
69778         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
69779         register in order to avoid conflicts with the soft frame pointer
69780         being held in r11 when necessary.
69781         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
69782         (INTERNAL_VSYSCALL_NCS): Likewise.
69784 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
69786         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
69787         * elf/dl-fini.c (_dl_fini): Adjust caller.
69788         * elf/dl-close.c (_dl_close_worker): Likewise.
69789         * sysdeps/generic/ldsodefs.h: Adjust declaration.
69791 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69793         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
69794         "aux_cache->nlibs < 0".
69796         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
69797         in the reload-count case.
69799 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69801         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69802         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
69803         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
69804         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
69805         * sysdeps/x86_64/multiarch/strcat.S: New file.
69806         * sysdeps/x86_64/multiarch/strncat.S: New file.
69807         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
69808         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
69809         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
69810         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
69811         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
69812         (USE_AS_STRCAT): Define.
69813         Add strcat and strncat support.
69814         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69815         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
69816         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
69817         * string/strncat.c: Update.
69818         (USE_AS_STRNCAT): Define.
69819         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69820         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
69821         and i7.
69822         * sysdeps/x86_64/multiarch/init-arch.h
69823         (bit_Prefer_PMINUB_for_stringop): New.
69824         (index_Prefer_PMINUB_for_stringop): Likewise.
69825         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
69826         bit_Prefer_PMINUB_for_stringop.
69828 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69830         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
69831         buffer64.
69832         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
69833         of casting of buffer.
69834         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
69835         buffer32 and buffer64.
69836         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
69837         writes instead of casting of buffer.
69838         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
69839         buffer32.
69840         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
69841         casting of buffer.
69843 2011-07-19  Andreas Schwab  <schwab@redhat.com>
69845         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
69847 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69849         * nscd/nscd.c (termination_handler): Don't do anything for a database
69850         if it has not yet been initialized.
69852 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69854         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69856 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69858         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69860 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69862         * po/nl.po: Update from translation team.
69863         * po/sv.po: Likewise.
69865 2011-07-16  Roland McGrath  <roland@hack.frob.com>
69867         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
69868         now disallowed by GCC.
69870         * configure.in (use-default-link): Default to yes if a test -shared
69871         link meets our qualifications.
69872         * configure: Regenerated.
69874         * config.make.in (output-format): New variable.
69875         * configure.in: Check for ld --print-output-format support.
69876         * configure: Regenerated.
69877         * Makerules ($(common-objpfx)format.lds)
69878         [$(output-format) != unknown]: Just use $(output-format),
69879         instead of the linker-script munging.
69881 2011-07-14  Roland McGrath  <roland@hack.frob.com>
69883         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
69884         of $(common-objpfx)shlib.lds.
69885         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
69887         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
69888         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
69890         * configure.in (-z relro check): Adjust test code to add a large
69891         writable data section after it.
69892         * configure: Regenerated.
69894 2011-07-11  Roland McGrath  <roland@hack.frob.com>
69896         * configure.in (-z relro check): Fix test code to make the variable
69897         truly const.
69898         * configure: Regenerated.
69900 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
69902         * nscd/nscd.h (struct traced_file): Define.
69903         (struct database_dyn): Remove inotify_descr, reset_res, and filename
69904         elements.  Add traced_files.
69905         (inotify_fd): Declare.
69906         (register_traced_file): Declare.
69907         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
69908         (inotify_fd): Export.
69909         (resolv_conf_descr): Remove.
69910         (nscd_init): Move inotify descriptor creation to main.
69911         Don't register files for notification here.
69912         (register_traced_file): New function.
69913         (invalidate_cache): Don't use reset_res to determine whether to call
69914         res_init, go through the list of registered files.
69915         (main_loop_poll): The inotify descriptors are now stored in the
69916         structures for the traced files.
69917         (main_loop_epoll): Likewise.
69918         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
69919         to __nss_disable_nscd.
69920         * nscd/cache.c (prune_cache): There is no single inotify descriptor
69921         for a database anymore.  Check the records for all the registered
69922         files instead.
69923         * nss/Makefile (libnss_files-routines): Add files-init.
69924         (libnss_db-routines): Add db-init.
69925         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
69926         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
69927         * nss/nss_db/db-init.c: New file.
69928         * nss/nss_files/files-init.c: New file.
69929         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
69930         __nss_lookup_function.
69931         (__nss_lookup_function): Call nss_load_library.
69932         (nss_load_all_libraries): New function.
69933         (__nss_disable_nscd): Take parameter with callback function for files
69934         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
69935         used for the cached services.
69936         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
69937         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
69938         options for features to all the files in nscd.
69940         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
69942 2011-07-10  Roland McGrath  <roland@hack.frob.com>
69944         * csu/elf-init.c (__libc_csu_init): Comment typo.
69946 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
69948         * po/pl.po: Update from translation team.
69949         * po/ja.po: Likewise.
69950         * po/ru.po: Likewise.
69951         * po/ko.po: Likewise.
69952         * po/fr.po: Likewise.
69954 2011-07-09  Roland McGrath  <roland@hack.frob.com>
69956         * configure.in (.ctors/.dtors header and trailer check):
69957         Use an empirical test on a built program.
69958         * configure: Regenerated.
69960         * configure.in (-z relro check): Use an empirical test on a built DSO.
69961         Detect, but do not require, on ia64.
69962         * configure: Regenerated.
69964         * configure.in (READELF): Find it with AC_CHECK_TOOL.
69965         Update tests that use readelf to use $READELF instead.
69966         * configure: Regenerated.
69968 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
69970         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
69971         if the result is not used.
69973 2011-07-05  Andreas Jaeger  <aj@suse.de>
69975         [BZ#9696]
69976         * stdlib/tst-strtod.c: Add testcase.
69978 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
69980         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
69981         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
69982         The latter has a higher limit.  Take additional parameter to pass to
69983         the new function.
69984         (__pathconf): Pass file to __statfs_link_max.
69985         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
69986         __statfs_link_max.
69987         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
69988         __statfs_link_max.
69990         [BZ #12868]
69991         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
69992         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69993         Handle Lustre.
69994         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
69995         (__statfs_filesize_max): Likewise.
69996         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
69998 2011-07-05  Andreas Jaeger  <aj@suse.de>
70000         * resolv/res_comp.c (dn_skipname): Remove unused variable.
70002 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
70004         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
70005         `status' variable.
70006         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
70007         Likewise.
70009 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
70011         * Makefile (strop-tests): Add strncat.
70012         * string/test-strncat.c: New file.
70014 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
70016         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
70018 2011-06-21  Andreas Jaeger  <aj@suse.de>
70020         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
70021         Copy rule from iconvdata/Makefile.
70023 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70025         [BZ #12922]
70026         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
70027         but no long options are defined, just return 'W'.
70029 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
70031         [BZ #9696]
70032         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
70034 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70036         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
70037         netgroups to read.
70038         (innetgr): Likewise.
70040 2011-07-05  Roland McGrath  <roland@hack.frob.com>
70042         * config.make.in (install_root): Default to $(DESTDIR).
70044 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
70046         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
70048 2011-07-02  Roland McGrath  <roland@hack.frob.com>
70050         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
70052         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
70053         containing directory rather than embedding absolute directory names.
70055         * scripts/check-local-headers.sh: Rewritten using awk.
70056         Match by word, not by line.  Print error messages for matches.
70057         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
70059         * Makerules [shlib-lds-flags empty]:
70060         ($(common-objpfx)libc_pic.opts): New target.
70061         ($(common-objpfx)libc_pic.os.clean): New target.
70062         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
70064         * config.make.in (OBJCOPY): New variable.
70065         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
70066         * configure: Regenerated.
70068         * config.make.in (use-default-link): New variable.
70069         * configure.in (use_default_link): Grok --with-default-link to set it.
70070         * configure: Regenerated.
70071         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
70072         (shlib-lds, shlib-lds-flags): Define to empty.
70074         * Makerules (shlib-lds): New variable.
70075         (shlib-lds-flags): New variable.
70076         (build-shlib, build-moduile, build-module-asneeded): Use it.
70077         ($(common-objpfx)libc.so): Use $(shlib-lds).
70078         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
70079         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
70081         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
70082         DT_FLAGS/DT_FLAGS_1 with zero flags.
70084         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
70085         linker script munging.
70087 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
70089         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
70090         as 128-bit value.
70091         * crypt/sha512.c (sha512_process_block): Perform total addition using
70092         128-bit if possible.
70093         (__sha512_finish_ctx): Likewise.
70094         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
70095         as 64-bit value.
70096         * crypt/sha256.c (SWAP64): Define.
70097         (sha256_process_block): Perform total addition using 64-bit if
70098         possible.
70099         (__sha256_finish_ctx): Likewise.
70101 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
70103         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
70104         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70105         * nscd/hstcache.c (cache_addhst): Likewise.
70106         * nscd/grpcache.c (cache_addgr): Likewise.
70107         * nscd/aicache.c (addhstaiX): Likewise.
70108         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
70110 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
70112         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
70113         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70114         * nscd/hstcache.c (cache_addhst): Likewise.
70115         * nscd/grpcache.c (cache_addgr): Likewise.
70116         * nscd/aicache.c (addhstaiX): Likewise.
70118 2011-07-01  Andreas Schwab  <schwab@redhat.com>
70120         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
70121         domain only when needed.
70123 2011-06-30  Andreas Schwab  <schwab@redhat.com>
70125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
70126         is always restored.
70128 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
70130         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
70131         are re-adding the entry.
70132         * nscd/servicescache.c (cache_addserv): Likewise.
70134 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
70136         * sysdeps/generic/dl-irel.h: fix protection against multiple
70137         inclusions.
70138         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
70140 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
70142         [BZ #12935]
70143         * malloc/memusage.sh: Fix quoting in message.
70144         * debug/xtrace.sh: Likewise.
70146         * configure.in: Remove support for --experimental-malloc option, make
70147         it the default.
70148         * config.make.in: Likewise.
70149         * malloc/Makefile: Likewise.
70151 2011-06-27  Andreas Schwab  <schwab@redhat.com>
70153         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
70154         two-byte characters.
70156 2011-06-27  Roland McGrath  <roland@hack.frob.com>
70158         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
70159         AC_CACHE_CHECK invocation.
70160         * configure: Regenerated.
70162         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
70164 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
70166         [BZ #12350]
70167         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
70168         bit from old_res_options.
70170         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
70172         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
70173         value type for setfct.
70175 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
70177         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70178         __gettimeofday instead of gettimeofday.
70180 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
70182         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
70184 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
70186         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
70188         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
70189         info.
70191 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70193         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70194         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70195         strcpy-sse2-unaligned strncpy-sse2-unaligned
70196         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
70197         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
70198         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
70199         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
70200         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
70201         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
70202         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
70203         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
70204         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
70205         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
70206         (STRCPY): Support SSE2 and SSSE3 versions.
70208 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
70210         [BZ #12874]
70211         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
70212         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
70213         kernels which artificially limit size of requests.
70215 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70217         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70218         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70219         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
70220         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
70221         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
70222         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
70223         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
70224         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
70225         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
70226         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
70227         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
70228         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
70229         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
70230         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
70231         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
70232         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70233         Enable unaligned load optimization for Intel Core i3, i5 and i7
70234         processors.
70235         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
70236         Define.
70237         (index_Fast_Unaligned_Load): Define.
70238         (HAS_FAST_UNALIGNED_LOAD): Define.
70240 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
70242         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
70244 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70246         [BZ #12907]
70247         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
70248         until it is clear that the information is realy needed.
70249         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
70251 2011-06-22  Andreas Schwab  <schwab@redhat.com>
70253         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
70255 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70257         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70258         /sys/devices/system/cpu/online if it is usable.
70260         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
70261         reading the information from the /proc filesystem to once a second.
70263 2011-06-21  Andreas Jaeger  <aj@suse.de>
70265         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
70266         NULL after inclusion of kernel headers.
70268 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
70270         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
70271         calls to internal_setent.
70273         [BZ #12885]
70274         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
70275         addresses using gethostbyname4_r ignore IPv4 addresses.
70277         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
70278         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
70280         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
70282 2011-06-20  David S. Miller  <davem@davemloft.net>
70284         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
70285         inclusions.
70286         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
70288         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
70289         (elf_irel): Use it.
70290         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
70291         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
70292         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
70293         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
70294         * sysdeps/x86_64/dl-irel.h: Likewise.
70296         * elf/dl-runtime.c: Use elf_ifunc_invoke.
70297         * elf/dl-sym.c: Likewise.
70299 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70301         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
70302         need to dereference resplen2.
70304 2011-06-14  Andreas Schwab  <schwab@redhat.com>
70306         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
70308 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70310         * Makeconfig: Define vardbdir and inst_vardbdir.
70311         * nss/Makefile: Add rules to install db-Makefile.
70313         * nss/nss_db/db-XXX.c: Cleanup.
70315         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
70316         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
70317         GLIBC_PRIVATE.
70318         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
70319         * nss/makedb.c: Implement -g option to specify that value strings
70320         are generated and should not be added to table iterated over for
70321         get*ent calls.
70322         * nss/nss_db/db-initgroups.c: New file.
70324         * nss/getent.c: Add support for initgroups lookups through getgrouplist
70325         interface.
70327         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
70328         (internal_getgrouplist): Adjust to name change.
70329         Update use_initgroups_entry if this is not the first call.
70330         * nss/databases.def: Add initgroups entry.
70332         * nss/makedb.c (compute_tables): Check result of multiple hash table
70333         sizes to minimize maximum chain length.
70335 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
70337         * Versions.def: Add entry for libnss_db.
70338         * shlib-versions: Likewise.
70339         * nss/Makefile: Add rules to build libnss_db.
70340         * nss/Versions: Add libnss_db information.  Organize libnss_files
70341         entries better.
70342         * nss/db-Makefile: Add gshadow support.  Change rules for the new
70343         makedb progra.  Some minor improvements to generate smaller files.
70344         * nss/nss_db/nss_db.h: Move NSS database header data structures to
70345         here from...
70346         * nss/makedb.c: ...here.
70347         Improve database format to be smaller and require less memory at
70348         runtime.
70349         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
70350         db anymore.
70351         * nss/nss_db/db-netgrp.c: Likewise.
70352         * nss/nss_db/db-open.c: Likewise.
70353         * nss/nss_files/flies-XXX.x: Adjust comments.
70354         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
70355         * nss/nss_files/files-grp.c: Likewise.
70356         * nss/nss_files/files-hosts.c: Likewise.
70357         * nss/nss_files/files-network.c: Likewise.
70358         * nss/nss_files/files-proto.c: Likewise.
70359         * nss/nss_files/files-pwd.c: Likewise.
70360         * nss/nss_files/files-rpc.c: Likewise.
70361         * nss/nss_files/files-service.c: Likewise.
70362         * nss/nss_files/files-sgrp.c: Likewise.
70363         * nss/nss_files/files-spwd.c: Likewise.
70364         * nss/nss_db/db-alias.c: Removed.
70365         * nss/nss_db/dummy-db.h: Removed.
70367 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
70369         * nss/makedb.c: Rewritten to not use database library.
70370         * nss/Makefile: Update to build new makedb program.
70372 2011-06-14  Andreas Jaeger  <aj@suse.de>
70374         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
70375         memset declaration.
70377 2011-06-10  Andreas Schwab  <schwab@redhat.com>
70379         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
70380         tmpbuf.
70382 2011-06-10  Roland McGrath  <roland@hack.frob.com>
70384         * Makerules (shlib.lds): Fail if the linker script comes out empty.
70385         * elf/Makefile ($(objpfx)ld.so): Likewise.
70387         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
70388         Don't list ld.so twice in dependencies.
70390         * posix/bug-regex31.c: Include <stdlib.h>.
70392         * nscd/hstcache.c (cache_addhst): Remove unused variable.
70394         * nis/nss_compat/compat-spwd.c
70395         (getspent_next_nss_netgr): Remove unused variable.
70396         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
70398         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
70399         nonmembers" output to use the right array.
70401         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
70403         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
70405         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
70406         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
70407         * catgets/gencat.c (read_input_file): Likewise.
70408         * locale/programs/locarchive.c (enlarge_archive): Likewise.
70410         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
70411         variable definition inside #if's controlling its use.
70413         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
70415         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
70417         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
70419         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
70420         unreachable code.
70422         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
70424         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
70425         * configure: Regenerated.
70427         * Makerules: Revert last change.
70428         * elf/Makefile: Likewise.
70430 2011-06-09  Roland McGrath  <roland@hack.frob.com>
70432         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
70433         * elf/Makefile ($(objpfx)librtld.os): Likewise.
70434         (reloc-link): Likewise.
70436 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
70438         * elf/Makefile: Add rules to build pldd.
70439         * elf/pldd.c: New file.
70440         * elf/pldd-xx.c: New file.
70442 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
70444         * version.h: Update for 2.15 development version.
70446 2011-06-07  David S. Miller  <davem@davemloft.net>
70448         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
70449         ifuncs.
70450         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
70451         elf_machine_lazy_rel): Likewise.
70452         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
70453         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
70454         elf_machine_lazy_rel): Likewise.
70455         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
70456         dl_hwcap via passed in argument.
70457         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
70458         Likewise.
70460 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70462         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
70464 2011-06-06  Roland McGrath  <roland@hack.frob.com>
70466         [BZ #12849]
70467         * manual/fdl-1.1.texi: New file, verbatim from:
70468         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
70469         * manual/lgpl-2.1.texi: New file, verbatim from:
70470         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
70471         * manual/Makefile (licenses): New variable, list those new file names.
70472         (texis): Use it.
70473         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
70475         * manual/fdl.texi: File removed.
70476         * manual/lesser.texi: File removed.
70477         * manual/libc.texinfo (Copying, Documentation License):
70478         Use new @include file names, put @appendix directive before @include.
70480 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
70482         [BZ #12841]
70483         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
70484         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
70485         (mq_open): Add __NTH.
70487 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
70489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70490         Assume Intel Core i3/i5/i7 processor if AVX is available.
70492 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70494         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70495         typo.
70497 2011-05-31  Andreas Schwab  <schwab@redhat.com>
70499         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
70500         memory.  Use alloca_account.  Fix memory leak when retrying.
70502 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70504         * version.h (RELEASE): Bump for 2.14 release.
70505         * include/features.h (__GLIBC_MINOR__): Bump to 14.
70507         * config.make.in (RANLIB): Remove entry.
70509 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
70511         * po/Makefile (po-sed-cmd): Add ksh to extensions.
70512         (libc.pot): Work around missing support for .ksh extension in xgettext.
70514         [BZ #12684]
70515         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
70516         if both request failed.
70517         (send_dg): In case of server errors clear resplen or *resplen2.
70519         [BZ #12454]
70520         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
70521         when there are multiple maps.
70522         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
70523         (_dl_fini): Remove test here.
70525         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
70527 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
70529         [BZ #12350]
70530         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
70531         bit from old_res_options.
70532         (gaih_inet): Likewise.
70534         [BZ #11099]
70535         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
70536         as signed.
70538         * resolv/res_init.c (res_setoptions): Make the code more compact.
70540         [BZ #11558]
70541         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
70542         set RES_USEVC.
70544         [BZ #11634]
70545         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
70547         * malloc/malloc.h: Mark malloc hook variables as deprecated.
70549         [BZ #11781]
70550         * malloc/malloc.h: Declare malloc hook variables as volatile.
70552         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
70553         in last patch.
70555         [BZ #11799]
70556         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
70557         raise in the comment.
70558         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70559         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70560         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
70562 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
70564         [BZ #12811]
70565         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
70566         grow the buffers more if it already has to be sufficient.
70567         (build_wcs_upper_buffer): Likewise.
70568         * posix/regexec.c (check_matching): Likewise.
70569         (clean_state_log_if_needed): Likewise.
70570         (extend_buffers): Don't enlarge buffers beyond size of the input
70571         buffer.
70572         Patches mostly by Emil Wojak <emil@wojak.eu>.
70573         * posix/bug-regex32.c: New file.
70574         * posix/Makefile (tests): Add bug-regex32.
70576         * locale/findlocale.c (_nl_find_locale): Return right away if
70577         _nl_explode_name failed.
70578         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
70580         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
70582         * debug/xtrace.sh: Unify messages.
70583         * malloc/memusage.sh: Likewise.
70585         [BZ #12813]
70586         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
70587         time symbol from vDSO.  Substitute with vsyscall if not available.
70588         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
70589         __vdso_time.
70591         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
70592         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
70593         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
70594         Add sendmmsg and internal_sendmmsg.
70595         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
70596         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
70597         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
70599         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
70600         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
70601         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70603 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
70605         [BZ #12813]
70606         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70607         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
70608         available.
70609         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70610         __vdso_getcpu.
70612         [BZ #12814]
70613         * iconvdata/Makefile (tests): Add bug-iconv9.
70614         * iconvdata/bug-iconv9.c: New file.
70616 2011-05-27  Andreas Schwab  <schwab@redhat.com>
70618         [BZ #12814]
70619         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70621 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
70623         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70624         (struct user_regs_struct): Change intcs field back to cs.
70626 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
70628         * po/ja.po: Update from translation team.
70630 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
70632         [BZ #12795]
70633         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70634         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70636 2011-05-20  Andreas Schwab  <schwab@redhat.com>
70638         * stdlib/longlong.h: Update from GCC.
70640 2011-05-23  Andreas Schwab  <schwab@redhat.com>
70642         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70643         parameter name.
70644         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70645         Add parameter name.
70646         (__sysconf): Pass it down.
70648 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
70650         [BZ #12671]
70651         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70652         some situations.
70653         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70654         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70655         add in in __libc_use_alloca calls.  Adjust callers.
70656         (glob): Use malloc in some situations.
70658         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70659         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70660         pltexit.
70662 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
70664         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70665         and CLOCK_BOOTTIME_ALARM.
70667         [BZ #12782]
70668         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70669         is returned.
70671         * string/_strerror.c (__strerror_r): Print negative errors as signed
70672         numbers.
70674         [BZ #12777]
70675         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70676         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70677         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70679         * configure.in: Fix typo in redirection and correct removal of test
70680         files in two cases.
70682         [BZ #12788]
70683         * locale/setlocale.c (new_composite_name): Fix test to check for
70684         identical name of all categories.
70686         [BZ #12792]
70687         * libio/filedoalloc.c (local_isatty): New function.
70688         (_IO_file_doallocate): Use local_isatty.
70689         * stdio-common/perror.c (perror): In case a new stream is used
70690         forward the stream error.
70691         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70692         error flag.
70694 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
70696         [BZ #11884]
70697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70698         alloca.
70699         * include/alloca.h (extend_alloca_account): Define.
70701         [BZ #11857]
70702         * posix/regex.h: Fix comments with documentation of user-accessible
70703         fields after compilation and describe correct free'ing of pattern
70704         after re_compile_pattern.
70705         Patch by Reuben Thomas <rrt@sc3d.org>.
70707 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
70709         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70710         and -mno-altivec to prevent the compiler from using Altivec and/or
70711         VSX instructions when the corresponding registers are not available.
70713 2011-05-19  Andreas Schwab  <schwab@redhat.com>
70715         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70717 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
70719         * libio/freopen.c (freopen): Use __dup2, not dup2.
70720         * libio/freopen64.c (freopen64): Likewise.
70722 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70724         [BZ #12775]
70725         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70726         * math/Makefile (tests): Add test-powl.
70727         (CFLAGS-test-powl.c): Define.
70728         * math/test-powl.c: New file.
70730 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70732         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70734 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
70736         [BZ #11837]
70737         * iconvdata/gb18030.c: Update to GB18020-2005.
70739 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
70741         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70742         RE_SYNTAX_POSIX_AWK): Update to match recent development.
70743         Patch by Aharon Robbins <arnold@skeeve.com>.
70745         [BZ #11892]
70746         * stdlib/putenv.c (putenv): Don't always create copy of the variable
70747         on the stack.
70749         [BZ #11895]
70750         * misc/pselect.c (__pselect): Handle timeout value errors hidden
70751         through underflows.
70753         [BZ #12766]
70754         * misc/error.c (error_at_line): Ensure file_name and old_file_name
70755         point to strings before performing equality test for error_one_per_line
70756         mode.
70758         [BZ #11697]
70759         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
70761         [BZ #11820]
70762         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70763         (struct user_fpregs_struct): Avoid __uint*_t types.
70765         [BZ #6420]
70766         * malloc/mtrace.c (tr_where): Add additional parameter to point to
70767         symbol info.  Use it instead of calling _dl_addr locally.
70768         (lock_and_info): New function.
70769         (tr_freehook): Call lock_and_info and pass symbol info as additional
70770         parameter to tr_where.
70771         (tr_mallochook): Likewise.
70772         (tr_reallochook): Likewise.
70773         (tr_memalignhook): Likewise.
70775         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
70776         used and couldn't be at all thread-safe.
70778 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
70780         * libio/freopen.c (freopen): Don't close old file descriptor
70781         before the new one is opened.  Instead dup the new file descriptor
70782         to the old one after the new stream is created.
70783         * libio/freopen64.c (freopen64): Likewise.
70784         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
70785         * libio/fileops.c (_IO_new_file_close_it): Handle new
70786         _IO_FLAGS2_NOCLOSE flag.
70787         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
70788         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
70789         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
70790         _IO_FLAGS2_NOCLOSE flag.
70791         * include/unistd.h: Add hidden_proto for dup3.
70792         Define __have_dup3.
70793         * io/dup3.c: Define hidden symbol.
70794         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
70796         [BZ #7101]
70797         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
70798         when an incomplete long option is used.
70799         * posix/tst-getopt_long1.c: New file.
70800         * posix/Makefile (tests): Add tst-getopt_long1.
70802         [BZ #10138]
70803         * scripts/config.guess: Update from autoconf-2.68.
70804         * scripts/config.sub: Likewise.
70806         [BZ #10157]
70807         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
70808         tests into ...
70809         (has_cpuclock): ...this.  New function.
70810         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
70811         macro here based on has_cpuclock code.
70813         [BZ #10149]
70814         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70815         First byte (not low byte) is now always NUL.
70816         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
70818         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70819         Use non-cancelable interfaces.
70821         [BZ #9809]
70822         * locale/iso-639.def: Add entry for Sorani.
70824         [BZ #11901]
70825         * include/stdlib.h: Move include protection to the right place.
70826         Define abort_msg_s.  Declare __abort_msg with it.
70827         * stdlib/abort.c (__abort_msg): Adjust type.
70828         * assert/assert.c (__assert_fail_base): New function.  Majority
70829         of code from __assert_fail.  Allocate memory for __abort_msg with
70830         mmap.
70831         (__assert_fail): Now call __assert_fail_base.
70832         * assert/assert-perr.c: Remove bulk of implementation.  Use
70833         __assert_fail_base.
70834         * include/assert.hL Declare __assert_fail_base.
70835         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
70836         mmap.
70837         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
70839 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
70841         [BZ #11952]
70842         [BZ #12453]
70843         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
70844         until all modules are registered in the DTV.
70845         * elf/Makefile: Add rules to build and run tst-tls19.
70846         * elf/tst-tls19.c: New file.
70847         * elf/tst-tls19mod1.c: New file.
70848         * elf/tst-tls19mod2.c: New file.
70849         * elf/tst-tls19mod3.c: New file.
70850         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
70852         [BZ #12083]
70853         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
70854         correctly.
70856         [BZ #12601]
70857         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
70858         two-byte sequence errors.
70859         * iconvdata/Makefile (tests): Add bug-iconv8.
70860         * iconvdata/bug-iconv8.c: New file.
70862         [BZ #12626]
70863         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
70864         buf2 definition.
70866         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
70868         [BZ #12432]
70869         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
70870         (dummy_getcfa): New function.
70871         (init): Get _Unwind_GetCFA address, use dummy if not found.
70872         (backtrace_helper): In recursion check, also check whether CFA changes.
70873         (__backtrace): Completely initialize arg.
70875         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
70876         storing incomplete byte sequence in state object.  Avoid testing for
70877         guaranteed too small input if we know there is enough data available.
70879 2011-05-11  Andreas Schwab  <schwab@redhat.com>
70881         * Makeconfig (+link-pie): Indent.
70882         * Rules (binaries-pie): Define if $(have-fpie) and
70883         $(build-shared).
70884         (binaries-shared): Also filter out $(binaries-pie).
70885         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
70886         * nscd/Makefile (others-pie): Add nscd.
70887         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
70888         ($(objpfx)nscd): Remove command override.
70889         * login/Makefile (others-pie): Add pt_chown.
70890         ($(objpfx)pt_chown): Remove command override.
70891         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
70892         remove command overrides.
70894 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
70896         * libio/tst_putwc.c: Fix error messages.
70898         [BZ #12724]
70899         * libio/fileops.c (_IO_new_file_close_it): Always flush when
70900         currently writing and seek to current position when not.
70901         * libio/Makefile (tests): Add bug-fclose1.
70902         * libio/bug-fclose1.c: New file.
70904 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
70906         [BZ #12511]
70907         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
70908         don't set DF_1_NODELETE here.
70909         (do_lookup_x): When entering new entry test for copy relocation
70910         and if necessary set DF_1_NODELETE flag.
70911         * elf/tst-unique4.cc: New file.
70912         * elf/tst-unique4.h: New file.
70913         * elf/tst-unique4lib.cc: New file.
70914         * elf/Makefile: Add rules to build and run tst-unique4.
70915         Patch by Piotr Bury <pbury@goahead.com>.
70917 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
70919         [BZ #12052]
70920         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
70922         [BZ #12625]
70923         * misc/mntent_r.c (addmntent): Flush the stream after the output
70925         [BZ #12393]
70926         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
70927         (is_trusted_path_normalize): Skip initial colon.  Append slash
70928         to empty buffer.  Duplicate is_trusted_path code but allow
70929         constructed patch to be prefix.
70930         (is_dst): Allow $ORIGIN followed by /.
70931         (_dl_dst_substitute): Correct clearing of check_for_trusted.
70932         Correct testing of result of is_trusted_path_normalize
70933         (decompose_rpath): Fix warning.
70935 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
70937         [BZ #11257]
70938         * grp/initgroups.c (internal_getgrouplist): When we found the service
70939         list through the initgroups entry in nsswitch.conf do not always
70940         continue on a successful lookup.  Don't always use the
70941         __nss_group_database value if it is set.
70942         * nss/nsswitch.conf (initgroups): Change action for successful db
70943         lookup to continue for compatibility.
70945 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
70947         [BZ #11532]
70948         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
70949         and CP774 modules.
70950         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
70951         and CP774 modules.
70952         * iconvdata/tst-tables.sh: Likewise.
70953         * iconvdata/cp770.c: New file.
70954         * iconvdata/cp771.c: New file.
70955         * iconvdata/cp772.c: New file.
70956         * iconvdata/cp773.c: New file.
70957         * iconvdata/cp774.c: New file.
70958         * iconvdata/testdata/CP770: New file.
70959         * iconvdata/testdata/CP770..UTF8: New file.
70960         * iconvdata/testdata/CP771: New file.
70961         * iconvdata/testdata/CP771..UTF8: New file.
70962         * iconvdata/testdata/CP772: New file.
70963         * iconvdata/testdata/CP772..UTF8: New file.
70964         * iconvdata/testdata/CP773: New file.
70965         * iconvdata/testdata/CP773..UTF8: New file.
70966         * iconvdata/testdata/CP774: New file.
70967         * iconvdata/testdata/CP774..UTF8: New file.
70969         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
70970         END CHARMAP line.
70971         * iconvdata/gen-8bit-gap.sh: Likewise.
70972         * iconvdata/gen-8bit.sh: Likewise.
70974         * locale/iso-639.def: Add ary entry.
70976         [BZ #11258]
70977         * locale/C-translit.h.in: Add U20A1 transliteration.
70979         [BZ #12178]
70980         * locale/iso-639.def: Add wae entry.
70981         Patch by Kevin Bortis <bortis@translate-wae.ch>.
70983         [BZ #12545]
70984         * locale/programs/localedef.c (construct_output_path): Use ssize_t
70985         for n.
70987         [BZ #12711]
70988         * locale/C-translit.h.in: Add entry for U20B9.
70989         Patch by pravin.d.s@gmail.com.
70991 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
70993         [BZ #12713]
70994         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
70995         ENAMETOOLONG use generic getcwd.
70996         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
70997         in rtld.  Use *stat64.
70998         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
70999         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
71000         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
71001         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
71002         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
71003         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
71004         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
71005         __fstatat64 macros.
71006         * include/dirent.h: Add libc_hidden_proto for rewinddir.
71007         * dirent/rewinddir.c: Add libc_hidden_def.
71008         * sysdeps/mach/hurd/rewinddir.c: Likewise.
71009         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
71011         * include/dirent.h (__alloc_dir): Add flags parameter.
71012         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
71013         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
71014         __alloc_dir.
71015         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
71016         from fdopendir if O_CLOEXEC is already set.
71018 2011-03-15  Alan Modra  <amodra@gmail.com>
71020         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
71021         l_tls_firstbyte_offset non-zero.  Save padding offset in
71022         l_tls_firstbyte_offset for later use.
71023         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
71024         freeing static tls block.
71026 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
71028         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
71029         where #ifdef was intended.  The intent is to prevent ARG_MAX from
71030         being defined by the kernel headers.
71032 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
71034         [BZ #12734]
71035         * resolv/resolv.h: Define RES_NOTLDQUERY.
71036         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
71037         no-tld-query and set RES_NOTLDQUERY.
71038         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
71039         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
71040         modern BIND to search name as TLD unless forbidden.
71042 2011-05-07  Petr Baudis  <pasky@suse.cz>
71043             Ulrich Drepper  <drepper@gmail.com>
71045         [BZ #12393]
71046         * elf/dl-load.c (fillin_rpath): Move trusted path check...
71047         (is_trusted_path): ...to here.
71048         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
71049         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
71050         using is_trusted_path_normalize() in setuid scripts.
71052 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71054         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
71055         __BEGIN/__END_DECLS.
71057 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
71059         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
71060         NSS_STATUS_NOTFOUND if no record was found.
71062 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71064         * sunrpc/Makefile (headers): Add rpc/netdb.h.
71065         (headers-not-in-tirpc): Remove rpc/netdb.h
71066         * resolv/netdb.h: Revert last change.
71068 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71070         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
71071         circular dependency between libgcc.a and libc.a.
71073 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71075         * resolv/netdb.h: Don't include <rpc/netdb.h>.
71076         * nis/Makefile: Don't install rpcsvc/*.
71077         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
71078         instead of <rpc/types.h>.
71079         (MAXHOSTNAMELEN): Define.
71081 2011-05-03  Andreas Schwab  <schwab@redhat.com>
71083         * elf/ldconfig.c (add_dir): Don't crash on empty path.
71085 2011-04-28  Maciej Babinski  <mbabinski@google.com>
71087         [BZ #12714]
71088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
71089         gethostbyname4_r when IPv6 results are possible.
71091 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
71093         [BZ #12723]
71094         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
71095         _PC_PIPE_BUF handling.
71097 2011-04-30  Bruno Haible  <bruno@clisp.org>
71099         [BZ #12717]
71100         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
71101         * resolv/netdb.h (getnameinfo): Change type of flags parameter
71102         to 'int'.
71103         * inet/getnameinfo.c (getnameinfo): Likewise.
71105 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
71107         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
71108         to groups setting in database lookup.
71109         * nss/nsswitch.conf: Add initgroups entry.
71111 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
71113         [BZ #12685]
71114         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
71115         mode string.
71116         Patch by Eric Blake <eblake@redhat.com>.
71118 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
71120         * sunrpc/Makefile (need-export-routines): Add svc_run.
71121         (routines): Remove svc_run.
71122         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
71123         * sunrpc/clnt_perr.c (clnt_perrno): Export.
71124         * sunrpc/svc_run.c (svc_run): Likewise.
71125         * sunrpc/svc_udp.c (svcudp_create): Likewise.
71127 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
71129         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
71130         problem in reallocation in last patch.
71132 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
71134         * sunrpc/Makefile: Move inclusion of Rules.
71136 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71138         * nss/nss_files/files-initgroups.c: New file.
71139         * nss/Makefile (libnss_files-routines): Add files-initgroups.
71140         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
71141         _nss_files_initgroups_dyn.
71143 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
71145         * elf/elf.h (R_ARM_IRELATIVE): Define.
71147 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71149         * po/ru.po: Update from translation team.
71151 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71153         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
71154         dependencies.
71156 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
71158         [BZ #12653]
71159         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
71160         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
71161         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71162         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71163         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71165 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
71167         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
71168         differing bytes.
71169         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71170         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71171         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71173 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71175         [BZ #12420]
71176         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
71177         storing it.
71178         * stdlib/bug-getcontext.c: New file.
71179         * stdlib/Makefile: Add rules to build and run bug-getcontext.
71181 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71183         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
71184         instructions into .machine "z9-109".
71185         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
71186         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
71188 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71190         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
71191         between environment variables and auxiliary vector.
71193 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
71195         * Makefile: Add rules to build linkobj/libc.so.
71196         * include/libc-symbols.h: Define libc_hidden_nolink.
71197         * include/rpc/auth.h: Mark functions which are to be hidden.
71198         * include/rpc/auth_des.h: Likewise.
71199         * include/rpc/auth_unix.h: Likewise.
71200         * include/rpc/clnt.h: Likewise.
71201         * include/rpc/des_crypt.h: Likewise.
71202         * include/rpc/key_prot.h: Likewise.
71203         * include/rpc/pmap_clnt.h: Likewise.
71204         * include/rpc/pmap_prot.h: Likewise.
71205         * include/rpc/pmap_rmt.h: Likewise.
71206         * include/rpc/rpc_msg.h: Likewise.
71207         * include/rpc/svc.h: Likewise.
71208         * include/rpc/svc_auth.h: Likewise.
71209         * include/rpc/xdr.h: Likewise.
71210         * nis/Makefile: Link all DSOs against linkobj/libc.so.
71211         * nss/Makefile: Likewise.
71212         * sunrpc/Makefile: Don't install headers.  Build library with normal
71213         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
71214         * sunrpc/auth_des.c: Hide exported symbols by default, export some
71215         for the compat linking library.  Remove use of INTDEF/INTUSE.
71216         * sunrpc/auth_none.c: Likewise.
71217         * sunrpc/auth_unix.c: Likewise.
71218         * sunrpc/authdes_prot.c: Likewise.
71219         * sunrpc/authuxprot.c: Likewise.
71220         * sunrpc/clnt_gen.c: Likewise.
71221         * sunrpc/clnt_perr.c: Likewise.
71222         * sunrpc/clnt_raw.c: Likewise.
71223         * sunrpc/clnt_simp.c: Likewise.
71224         * sunrpc/clnt_tcp.c: Likewise.
71225         * sunrpc/clnt_udp.c: Likewise.
71226         * sunrpc/clnt_unix.c: Likewise.
71227         * sunrpc/des_crypt.c: Likewise.
71228         * sunrpc/des_soft.c: Likewise.
71229         * sunrpc/get_myaddr.c: Likewise.
71230         * sunrpc/key_call.c: Likewise.
71231         * sunrpc/key_prot.c: Likewise.
71232         * sunrpc/netname.c: Likewise.
71233         * sunrpc/pm_getmaps.c: Likewise.
71234         * sunrpc/pm_getport.c: Likewise.
71235         * sunrpc/pmap_clnt.c: Likewise.
71236         * sunrpc/pmap_prot.c: Likewise.
71237         * sunrpc/pmap_prot2.c: Likewise.
71238         * sunrpc/pmap_rmt.c: Likewise.
71239         * sunrpc/publickey.c: Likewise.
71240         * sunrpc/rpc_cmsg.c: Likewise.
71241         * sunrpc/rpc_common.c: Likewise.
71242         * sunrpc/rpc_dtable.c: Likewise.
71243         * sunrpc/rpc_prot.c: Likewise.
71244         * sunrpc/rpc_thread.c: Likewise.
71245         * sunrpc/rtime.c: Likewise.
71246         * sunrpc/svc.c: Likewise.
71247         * sunrpc/svc_auth.c: Likewise.
71248         * sunrpc/svc_authux.c: Likewise.
71249         * sunrpc/svc_raw.c: Likewise.
71250         * sunrpc/svc_run.c: Likewise.
71251         * sunrpc/svc_simple.c: Likewise.
71252         * sunrpc/svc_tcp.c: Likewise.
71253         * sunrpc/svc_udp.c: Likewise.
71254         * sunrpc/svc_unix.c: Likewise.
71255         * sunrpc/svcauth_des.c: Likewise.
71256         * sunrpc/xcrypt.c: Likewise.
71257         * sunrpc/xdr.c: Likewise.
71258         * sunrpc/xdr_array.c: Likewise.
71259         * sunrpc/xdr_float.c: Likewise.
71260         * sunrpc/xdr_intXX_t.c: Likewise.
71261         * sunrpc/xdr_mem.c: Likewise.
71262         * sunrpc/xdr_rec.c: Likewise.
71263         * sunrpc/xdr_ref.c: Likewise.
71264         * sunrpc/xdr_sizeof.c: Likewise.
71265         * sunrpc/xdr_stdio.c: Likewise.
71267 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
71269         [BZ #12650]
71270         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
71271         * sysdeps/ia64/dl-tls.h: Likewise.
71272         * sysdeps/powerpc/dl-tls.h: Likewise.
71273         * sysdeps/s390/dl-tls.h: Likewise.
71274         * sysdeps/sh/dl-tls.h: Likewise.
71275         * sysdeps/sparc/dl-tls.h: Likewise.
71276         * sysdeps/x86_64/dl-tls.h: Likewise.
71277         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
71279 2011-03-14  Andreas Schwab  <schwab@redhat.com>
71281         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
71282         rpath element also skip the following colon.
71283         (expand_dynamic_string_token): Add is_path parameter and pass
71284         down to DL_DST_REQUIRED and _dl_dst_substitute.
71285         (decompose_rpath): Call expand_dynamic_string_token with
71286         non-zero is_path.  Ignore empty rpaths.
71287         (_dl_map_object_from_fd): Call expand_dynamic_string_token
71288         with zero is_path.
71290 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
71292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71293         Make cancelable.
71295 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
71297         [BZ #12655]
71298         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
71299         Patch by Filipe David Manana <fdmanana@apache.org>.
71301 2011-04-07  Andreas Schwab  <schwab@redhat.com>
71303         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
71304         Maintain aligned stack.
71305         (CHECK_RSP): Remove unused macro.
71307 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
71309         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
71310         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
71312 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
71314         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
71316         * include/features.h: Mention __USE_XOPEN2K8 in comment.
71318 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
71320         [BZ #12518]
71321         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
71322         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
71323         * sysdeps/x86_64/memmove.c: New file.
71324         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
71325         (memcpy): Renamed to ...
71326         (__new_memcpy): This.
71327         (memcpy): Provide GLIBC_2_14 memcpy.
71328         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
71329         (memcpy): Provide GLIBC_2_2_5 memcpy.
71331 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71333         [BZ #12631]
71334         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
71336 2011-03-30  Andreas Schwab  <schwab@redhat.com>
71338         * misc/syncfs.c: New file.
71339         * misc/Makefile (routines): Add syncfs.
71340         * posix/unistd.h: Declare syncfs.
71341         * sysdeps/unix/syscalls.list: Add syncfs.
71343 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71345         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
71346         open_by_handle_at.
71347         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71348         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71349         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71350         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71351         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71352         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
71353         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71355 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71357         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
71358         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71359         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
71360         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71361         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71362         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71363         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71365         * io/Makefile: Compile fallocate.c, fallocate64.c, and
71366         sync_file_range.c with -fexceptions.
71367         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
71368         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
71369         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
71370         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
71371         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
71372         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71373         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
71374         sync_file_range as cancellation point
71375         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
71376         now a wrapper around __call_sync_file_range with cancellation handling.
71377         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
71378         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
71379         function name to __call_sync_file_range.
71380         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
71381         Add call_sync_file_range.
71383 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71385         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71386         bits/timex.h.
71388 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71390         * iconv/iconv.h: Fix typo in comment.
71391         * io/fcntl.h: Likewise.
71392         * libio/stdio.h: Likewise.
71393         * posix/spawn.h: Likewise.
71394         * posix/unistd.h: Likewise.
71395         * stdlib/stdlib.h: Likewise.
71396         * time/time.h: Likewise.
71397         * wcsmbs/wchar.h: Likewise.
71399         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
71400         open_by_handle): Add.
71401         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
71402         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
71403         Augment a few comments.
71404         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71405         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71406         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71407         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71408         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71409         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
71410         open_by_handle.
71412         * io/fcntl.h (AT_EMPTY_PATH): Define.
71414 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
71416         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
71417         * sysdeps/unix/sysv/linux/bits/time.h: New file.
71418         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
71419         to...
71420         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
71421         * Versions.def: Add GLIBC_2.14.
71422         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
71423         Export.
71425 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
71427         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
71428         round counter.
71429         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71431 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71433         [BZ #12597]
71434         * string/test-strncmp.c (do_page_test): New function.
71435         (check2): Likewise.
71436         (test_main): Call check2.
71437         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
71439 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
71441         [BZ #12587]
71442         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
71443         Handle cache information in CPU leaf 4.
71444         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71446 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
71448         [BZ #12583]
71449         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
71450         character representation.
71451         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
71453 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
71455         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
71456         END(__isnan) to END(__isnanf) to match function entry point/label
71457         EALIGN(__isnanf,...).
71459 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
71461         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
71463 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
71465         [BZ #12510]
71466         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
71467         copy from the symbol referenced in the relocation to initialize the
71468         used variable.
71469         Patch by Piotr Bury <pbury@goahead.com>.
71470         * elf/Makefile: Add rules to build and tst-unique3.
71471         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
71472         * elf/tst-unique3.cc: New file.
71473         * elf/tst-unique3.h: New file.
71474         * elf/tst-unique3lib.cc: New file.
71475         * elf/tst-unique3lib2.cc: New file.
71477         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
71479 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
71481         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
71482         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
71483         to _start.
71485 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
71487         * elf/dl-load.c (_dl_map_object): If we are looking for the first
71488         to-be-loaded object along a path to loader is ld.so.
71490 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71491             Ulrich Drepper  <drepper@gmail.com>
71493         * sysdeps/x86_64/memset.S: After aligning destination, code
71494         branches to different locations depending on the value of
71495         misalignment, when multiarch is enabled. Fix this.
71497 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71499         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
71500         Set _x86_64_preferred_memory_instruction for AMD processsors.
71501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71502         Set bit_Prefer_SSE_for_memop for AMD processors.
71504 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
71506         * libio/fmemopen.c (fmemopen): Optimize a bit.
71508 2011-03-03  Andreas Schwab  <schwab@redhat.com>
71510         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
71512 2011-03-03  Roland McGrath  <roland@redhat.com>
71514         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
71516 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
71518         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
71519         __bzero_ultra1 instead of __memset_ultra1.
71521 2011-02-23  Andreas Schwab  <schwab@redhat.com>
71522             Ulrich Drepper  <drepper@gmail.com>
71524         [BZ #12509]
71525         * include/link.h (struct link_map): Add l_orig_initfini.
71526         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
71527         returning unsuccessfully.
71528         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
71529         close of a file loaded at startup, restore the original l_initfini
71530         list.
71531         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
71532         list, store the pointer.
71533         * elf/Makefile ($(objpfx)noload-mem): New rule.
71534         (noload-ENV): Define.
71535         (tests): Add $(objpfx)noload-mem.
71536         * elf/noload.c: Include <memcheck.h>.
71537         (main): Call mtrace.  Close all opened handles.
71539 2011-02-17  Andreas Schwab  <schwab@redhat.com>
71541         [BZ #12454]
71542         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
71543         dependencies are missing.
71545 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71547         Fix __if_freereq crash: Unlike the generic version which uses free,
71548         Hurd needs munmap.
71549         * sysdeps/mach/hurd/ifreq.h: New file.
71551 2011-01-27  Petr Baudis  <pasky@suse.cz>
71552             Ulrich Drepper  <drepper@gmail.com>
71554         [BZ 12445]#
71555         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
71556         to extend_alloca().
71557         * stdio-common/bug23.c: New file.
71558         * stdio-common/Makefile (tests): Add bug23.
71560 2010-09-28  Andreas Schwab  <schwab@redhat.com>
71561             Ulrich Drepper  <drepper@gmail.com>
71563         [BZ #12489]
71564         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
71565         before performing relro protection.  At old place add assertion
71566         to make sure nothing changed.
71568 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
71569             Glauber de Oliveira Costa  <glommer@gmail.com>
71571         * elf/elf.h: Add new ARM TLS relocs.
71573 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
71575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71576         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
71577         cast from r3.
71578         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
71579         'tests' variable.
71580         * sysdeps/wordsize-64/tst-writev.c: New file.
71582 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
71584         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
71585         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
71586         insns in _dl_start to prevent a TOC reference before relocs are
71587         resolved.
71589 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
71591         [BZ #12469]
71592         * Makeconfig: Remove RANLIB definition.
71593         * Makerules: Don't use RANLIB.
71594         * aclocal.m4: Remove ranlib test.
71595         * configure.in: No need to check for ranlib.
71596         * elf/rtld-Rules: Don't use RANLIB.
71598 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71600         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
71601         protection macro.
71602         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71603         inclusion protection macro.
71605         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71606         SIGRTMIN and SIGRTMAX and print information in that case only when
71607         SIGRTMIN is defined.
71609 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
71611         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71612         arginfo fn returning -1.
71614         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71615         and thousands string is zero terminated.
71617 2011-02-03  Andreas Schwab  <schwab@redhat.com>
71619         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71620         sysdeps/unix/sysv/linux/bits/socket.h.
71622 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71624         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71625         (__CPU_COUNT): Remove old macros.
71626         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71627         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71628         (__CPU_ALLOC, __CPU_FREE): Add macros.
71629         (__sched_cpualloc, __sched_cpufree): Add declarations.
71631 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
71633         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71634         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71635         * nscd/aicache.c (addhstaiX): Return timeout of added value.
71636         (readdhstai): Return value of addhstaiX call.
71637         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71638         (addgrbyX): Return value returned by cache_addgr.
71639         (readdgrbyname): Return value returned by addgrbyX.
71640         (readdgrbygid): Likewise.
71641         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71642         (addpwbyX): Return value returned by cache_addpw.
71643         (readdpwbyname): Return value returned by addhstbyX.
71644         (readdpwbyuid): Likewise.
71645         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71646         (addservbyX): Return value returned by cache_addserv.
71647         (readdservbyname): Return value returned by addservbyX:
71648         (readdservbyport): Likewise.
71649         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71650         (addhstbyX): Return value returned by cache_addhst.
71651         (readdhstbyname): Return value returned by addhstbyX.
71652         (readdhstbyaddr): Likewise.
71653         (readdhstbynamev6): Likewise.
71654         (readdhstbyaddrv6): Likewise.
71655         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71656         (readdinitgroups): Return value returned by addinitgroupsX.
71657         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71658         (prune_cache): Keep track of timeout value of re-added entries.
71659         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71660         * nscd/nscd.h: Adjust prototypes of readd* functions.
71662 2011-02-04  Roland McGrath  <roland@redhat.com>
71664         * nis/nis_server.c (nis_servstate): Use the right name for 0.
71665         (nis_stats): Likewise.
71666         * nis/nis_modify.c (nis_modify): Likewise.
71667         * nis/nis_remove.c (nis_remove): Likewise.
71668         * nis/nis_add.c (nis_add): Likewise.
71670         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71672         * posix/fnmatch_loop.c: Add some consts.
71674         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71676 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
71678         [BZ #12460]
71679         * config.make.in (config-cflags-novzeroupper): Define.
71680         * configure.in: Substitute libc_cv_cc_novzeroupper.
71681         * elf/Makefile (AVX-CFLAGS): Define.
71682         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71683         (CFLAGS-tst-auditmod4a.c): Likewise.
71684         (CFLAGS-tst-auditmod4b.c): Likewise.
71685         (CFLAGS-tst-auditmod6b.c): Likewise.
71686         (CFLAGS-tst-auditmod6c.c): Likewise.
71687         (CFLAGS-tst-auditmod7b.c): Likewise.
71688         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71690 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
71692         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71693         function to the callback.
71694         Patch partly by Jiri Olsa <jolsa@redhat.com>.
71696 2011-02-02  Andreas Schwab  <schwab@redhat.com>
71698         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71699         of errno.
71701 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
71703         [BZ #11724]
71704         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71705         of constructors.
71706         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71707         of destructors.
71708         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71710         [BZ #11724]
71711         * elf/Makefile: Add rules to build and run new test.
71712         * elf/tst-initorder.c: New file.
71713         * elf/tst-initorder.exp: New file.
71714         * elf/tst-initordera1.c: New file.
71715         * elf/tst-initordera2.c: New file.
71716         * elf/tst-initordera3.c: New file.
71717         * elf/tst-initordera4.c: New file.
71718         * elf/tst-initorderb1.c: New file.
71719         * elf/tst-initorderb2.c: New file.
71720         * elf/tst-order-a1.c: New file.
71721         * elf/tst-order-a2.c: New file.
71722         * elf/tst-order-a3.c: New file.
71723         * elf/tst-order-a4.c: New file.
71724         * elf/tst-order-b1.c: New file.
71725         * elf/tst-order-b2.c: New file.
71726         * elf/tst-order-main.c: New file.
71727         New test case by George Gensure <werkt0@gmail.com>.
71729 2010-10-01  Andreas Schwab  <schwab@redhat.com>
71731         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71732         decoding ACE if AI_CANONIDN.
71734 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
71736         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71738 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
71740         * version.h (RELEASE): Bump for 2.13 release.
71741         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71743         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71745         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71746         MADV_NOHUGEPAGE.
71747         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71748         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71749         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71750         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71751         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71752         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71754         * posix/getconf.c: Update copyright year.
71755         * catgets/gencat.c: Likewise.
71756         * csu/version.c: Likewise.
71757         * debug/catchsegv.sh: Likewise.
71758         * debug/xtrace.sh: Likewise.
71759         * elf/ldconfig.c: Likewise.
71760         * elf/ldd.bash.in: Likewise.
71761         * elf/sprof.c (print_version): Likewise.
71762         * iconv/iconv_prog.c: Likewise.
71763         * iconv/iconvconfig.c: Likewise.
71764         * locale/programs/locale.c: Likewise.
71765         * locale/programs/localedef.c: Likewise.
71766         * malloc/memusage.sh: Likewise.
71767         * malloc/mtrace.pl: Likewise.
71768         * nscd/nscd.c (print_version): Likewise.
71769         * nss/getent.c: Likewise.
71771         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
71772         PF_CAIF, and PF_ALG.
71773         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71775 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
71777         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
71778         (modules-names): Use them.
71779         (ifunc-test-modules, ifunc-pie-tests): Define.
71780         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
71781         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
71782         (test-extras): Likewise.
71783         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
71784         $(compile-command.c).
71785         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
71786         (all-built-dso): Define.
71787         (check-textrel.out, check-execstack.out): Depend on it.
71789         * configure.in: Don't override --enable-multi-arch.
71791 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
71793         [BZ #6812]
71794         * nscd/hstcache.c (tryagain): Define.
71795         (cache_addhst): Return tryagain not notfound for temporary errors.
71796         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
71797         failed.
71799 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
71801         [BZ #10563]
71802         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
71803         to make the syscall.
71804         * sysdeps/unix/sysv/linux/setgroups.c: New file.
71806         [BZ #12378]
71807         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
71808         and fall back to matching as normal character if the string ends before
71809         the matching ']' is found.  This is what POSIX requires.
71810         * posix/testfnm.c: Adjust test result.
71811         * posix/globtest.sh: Adjust test result.  Add new test.
71812         * posix/tst-fnmatch.input: Likewise.
71813         * posix/tst-fnmatch2.c: Add new test.
71815 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
71817         * elf/Makefile (check-execstack): Revert last change.  Depend on
71818         check-execstack.h.
71819         (check-execstack.h): New target.
71820         (generated): Add check-execstack.h.
71821         * elf/check-execstack.c: Include "check-execstack.h".
71822         (main): Revert last change.
71823         (handle_file): Return zero if GNU_STACK is absent and
71824         DEFAULT_STACK_PERMS doesn't include PF_X.
71826 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
71828         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
71829         in child fails because the descriptor is already closed.
71830         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
71831         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
71832         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
71834         [BZ #12397]
71835         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
71836         syscall.
71838         [BZ #10484]
71839         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
71840         temporary buffer used to handle multi lookups locally.
71841         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
71843 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71845         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
71846         loader is ld.so.
71848 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
71850         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
71851         alignment for SSE2.
71853 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71855         [BZ #12394]
71856         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
71857         characters.  When rounding increased number of integer digits recompute
71858         number of groups.
71859         * stdio-common/tst-grouping.c: New file.
71860         * stdio-common/Makefile: Add rules to build and run tst-grouping.
71862 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
71864         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
71865         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
71867         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
71868         void.
71869         * bits/select.h: Likewise.
71871 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
71873         * po/ja.po: Update from translation team.
71875 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
71877         [BZ #11155]
71878         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
71879         implementation just like for lxstat, fxstatat, et al.
71881 2010-12-27  Jim Meyering  <meyering@redhat.com>
71883         [BZ #12348]
71884         * posix/regexec.c (build_trtable): Return failure indication upon
71885         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
71887 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
71889         [BZ #12201]
71890         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
71891         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
71892         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
71893         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
71895         [BZ #12207]
71896         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
71898         [BZ #12204]
71899         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
71900         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
71902 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
71904         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
71905         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
71906         script has SORT_BY_INIT_PRIORITY.
71907         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
71908         NO_CTORS_DTORS_SECTIONS is defined.
71909         * elf/soinit.c: Likewise.
71910         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
71911         NO_CTORS_DTORS_SECTIONS is defined.
71912         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
71913         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
71914         * sysdeps/sh/init-first.c: Likewise.
71915         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
71917 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
71919         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
71920         always use the slow path.
71922 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
71924         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
71925         similar rule which adds the sysdep directories to the header search in
71926         order to pick up the correct platform stackinfo.h.
71927         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
71928         perform test if it is, otherwise return successfully without testing.
71929         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
71930         DEFAULT_STACK_PERMS define in stackinfo.h.
71931         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
71932         defined in stackinfo.h.
71933         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
71934         DEFAULT_STACK_PERMS defined in stackinfo.h.
71935         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
71936         * sysdeps/ia64/stackinfo.h: Likewise.
71937         * sysdeps/s390/stackinfo.h: Likewise.
71938         * sysdeps/sh/stackinfo.h: Likewise.
71939         * sysdeps/sparc/stackinfo.h: Likewise.
71940         * sysdeps/x86_64/stackinfo.h: Likewise.
71941         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
71942         PF_X for powerpc64.  Retain PF_X for powerpc32.
71944 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
71946         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
71947         accurately.
71948         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
71949         GETDENTS_64BIT_ALIGNED.
71951 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
71953         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
71955 2010-12-10  Andreas Schwab  <schwab@redhat.com>
71957         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
71958         _GNU_SOURCE.
71960         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
71961         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
71962         Remove __restrict.
71963         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
71964         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
71966 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
71968         [BZ #11655]
71969         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
71970         are initialized.
71972 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
71974         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
71976 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
71978         * po/it.po: Update from translation team.
71980 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
71982         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
71983         unused codes.
71985 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
71987         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
71989 2010-11-24  Andreas Schwab  <schwab@redhat.com>
71991         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
71992         specially.
71993         (gaih_getanswer_slice): Likewise.
71995 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
71997         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
71999 2010-05-31  Petr Baudis  <pasky@suse.cz>
72001         [BZ #11149]
72002         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
72003         silently even in the chroot mode.
72005 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
72007         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
72008         last patch a bit.  Pretty printing
72010 2010-05-31  Petr Baudis <pasky@suse.cz>
72012         [BZ #10085]
72013         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
72014         initialization of skip_initgroups_dyn.
72016 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
72018         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
72019         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72021 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
72023         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
72025 2010-11-11  Andreas Schwab  <schwab@redhat.com>
72027         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
72028         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
72029         (tst-fnmatch-ENV): Set MALLOC_TRACE.
72030         ($(objpfx)tst-fnmatch-mem): New rule.
72031         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
72032         * posix/tst-fnmatch.c (main): Call mtrace.
72034 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
72036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72037         Support Intel processor model 6 and model 0x2c.
72039 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
72041         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
72042           signed comparison.
72044 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
72046         [BZ #12205]
72047         * string/test-strncasecmp.c (check_result): New function.
72048         (do_one_test): Use it.
72049         (check1): New function.
72050         (test_main): Use it.
72051         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
72052         Support strcasecmp and strncasecmp.
72054 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
72056         [BZ #12194]
72057         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
72058         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72060 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72062         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
72063         IFUNC support.
72064         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72065         memset-x86-64.
72066         * sysdeps/x86_64/multiarch/bzero.S: New file.
72067         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
72068         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
72069         * sysdeps/x86_64/multiarch/memset.S: New file.
72070         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
72071         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72072         Set bit_Prefer_SSE_for_memop for Intel processors.
72073         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
72074         Define.
72075         (index_Prefer_SSE_for_memop): Define.
72076         (HAS_PREFER_SSE_FOR_MEMOP): Define.
72078 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
72080         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
72081         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
72083 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
72085         [BZ #12191]
72086         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72087         (__x86_64_raw_data_cache_size_half): Likewise.
72088         (__x86_64_raw_shared_cache_size): Likewise.
72089         (__x86_64_raw_shared_cache_size_half): Likewise.
72091         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72092         (__x86_64_raw_data_cache_size_half): Likewise.
72093         (__x86_64_raw_shared_cache_size): Likewise.
72094         (__x86_64_raw_shared_cache_size_half): Likewise.
72095         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
72096         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
72097         and __x86_64_raw_shared_cache_size_half.  Round
72098         __x86_64_data_cache_size_half, __x86_64_data_cache_size
72099         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
72100         to multiple of 256 bytes.
72102 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
72104         [BZ #12167]
72105         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
72106         of inacessible symlinks.  Verify result of symlink before returning it.
72107         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
72108         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
72110 2010-10-28  Erich Ritz  <erichritz@gmail.com>
72112         * math/math.h (isinf): Fix typo in comment.
72114 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
72116         * po/da.po: Update from translation team.
72118 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
72120         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
72121         is added to the list.
72123 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72124             Ulrich Drepper  <drepper@gmail.com>
72126         * elf/dl-object.c (_dl_new_object): Don't append the new object to
72127         the global list here.  Move code to...
72128         (_dl_add_to_namespace_list): ...here.  New function.
72129         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
72130         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
72131         * elf/dl-load.c (lose): Don't remove the element from the list.
72132         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
72133         (_dl_map_object): Likewise.
72135 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
72137         [BZ #12159]
72138         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
72139         into all bytes of SSE register.
72140         Patch by Richard Li <richardpku@gmail.com>.
72142 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
72144         [BZ #12140]
72145         * malloc/malloc.c (_int_free): Fill correct number of bytes when
72146         perturbing.
72148 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
72150         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
72151         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
72152         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
72153         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
72155         submachine.
72156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
72158 2010-10-22  Andreas Schwab  <schwab@redhat.com>
72160         * include/dlfcn.h (__RTLD_SECURE): Define.
72161         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
72162         mode & __RTLD_SECURE instead.
72163         (open_path): Rename preloaded parameter to secure.
72164         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
72165         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
72166         * elf/dl-deps.c (openaux): Likewise.
72167         * elf/rtld.c (struct map_args): Remove is_preloaded.
72168         (map_doit): Don't use it.
72169         (dl_main): Likewise.
72170         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
72171         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
72173 2010-09-09  Andreas Schwab  <schwab@redhat.com>
72175         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
72176         (sysd-rules-targets): Remove duplicates.
72177         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
72178         rtld-%.$o dependency.
72180 2010-10-18  Andreas Schwab  <schwab@redhat.com>
72182         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
72183         _dl_map_object do it.
72185 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
72187         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
72188         fast fma builtins, define the macros in the C99 standard.
72189         (FP_FAST_FMAF): Likewise.
72190         (FP_FAST_FMAL): Likewise.
72191         * sysdeps/x86_64/bits/mathdef.h: Likewise.
72193         * bits/mathdef.h: Update copyright year.
72194         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72196 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
72198         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
72199         builtins, define the macros in the C99 standard.
72200         (FP_FAST_FMAF): Likewise.
72201         (FP_FAST_FMAL): Likewise.
72202         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
72203         multiply/add.
72204         (FP_FAST_FMAF): Likewise.
72206 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
72208         [BZ #3268]
72209         * math/libm-test.inc (fma_test): Some new testcases.
72210         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
72211         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
72212         y and infinite z.  Do multiplication by C already in long double.
72213         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
72214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
72215         y and infinite z.  Do bitwise or of inexact bit into u.d.
72216         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
72217         * sysdeps/i386/fpu/s_fmaf.S: Removed.
72218         * sysdeps/i386/fpu/s_fma.S: Removed.
72219         * sysdeps/i386/fpu/s_fmal.S: Removed.
72221 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
72223         [BZ #3268]
72224         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
72225         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
72226         computation is not scheduled after fetestexcept.  Fix value
72227         of minimum denormal long double.
72229 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
72231         [BZ #3268]
72232         * math/libm-test.inc (fma_test): Add some more tests.
72233         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
72234         correctly.
72236 2010-10-15  Andreas Schwab  <schwab@redhat.com>
72238         * scripts/data/localplt-s390-linux-gnu.data: New file.
72239         * scripts/data/localplt-s390x-linux-gnu.data: New file.
72241 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
72243         [BZ #3268]
72244         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
72245         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
72246         instead of dbl-64.
72247         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
72248         inlines.
72249         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
72250         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
72251         if one of x and y is very large and the other is subnormal.
72252         * sysdeps/s390/fpu/s_fmaf.c: New file.
72253         * sysdeps/s390/fpu/s_fma.c: New file.
72254         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
72255         * sysdeps/powerpc/fpu/s_fma.S: New file.
72256         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
72257         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
72258         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
72260 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
72262         [BZ #3268]
72263         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
72264         fma tests.
72265         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
72266         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
72267         * sysdeps/i386/i686/multiarch/s_fma.c: Include
72268         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
72269         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
72270         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
72271         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
72273 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
72275         [BZ #12078]
72276         * posix/regcomp.c (parse_branch): One more memory leak plugged.
72277         * posix/bug-regex31.input: Add test case.
72279 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72281         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
72282         * posix/bug-regex31.input: New file.
72284         [BZ #12078]
72285         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
72286         (parse_sub_exp): Fix last change, use postorder.
72288         * posix/bug-regex31.c: New file.
72289         * posix/Makefile: Add rules to build and run bug-regex31.
72291         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
72293         [BZ #12078]
72294         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
72296         [BZ #12108]
72297         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
72298         to have entries in sys_siglist.
72300         [BZ #12093]
72301         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
72302         be NULL.
72304 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
72306         [BZ #3268]
72307         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
72308         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
72309         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
72310         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
72311         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72312         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
72313         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
72314         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
72315         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
72316         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
72317         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
72318         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
72319         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
72320         * math/ftestexcept.c (fetestexcept): Likewise.
72321         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
72322         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
72323         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
72324         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
72325         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
72326         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
72327         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72329 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72331         [BZ #12107]
72332         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
72333         newline.
72335 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
72337         * string/bug-strstr1.c: New file.
72338         * string/Makefile: Add rules to build and run bug-strstr1.
72340 2010-10-05  Eric Blake  <eblake@redhat.com>
72342         [BZ #12092]
72343         * string/str-two-way.h (two_way_long_needle): Always clear memory
72344         when skipping input due to the shift table.
72346 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
72348         [BZ #12005]
72349         * malloc/mcheck.c: Handle large requests.
72351         [BZ #12077]
72352         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
72353         for strncmp and strncasecmp.
72354         * string/stratcliff.c: Add tests for strcmp and strncmp.
72355         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
72357 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72359         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72360         __set_fpscr.
72362 2010-09-30  Andreas Jaeger  <aj@suse.de>
72364         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
72365         (CGROUP_SUPER_MAGIC): Define.
72366         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72367         Handle btrfs and cgroup file systems.
72368         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
72369         Likewise.
72371 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
72373         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
72374         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
72376 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72378         [BZ #12067]
72379         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
72380         trying to locate the ELF header.
72382 2010-09-27  Andreas Schwab  <schwab@redhat.com>
72384         [BZ #11611]
72385         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
72386         Mask out sign-bit copies when constructing f_fsid.
72388 2010-09-24  Petr Baudis <pasky@suse.cz>
72390         * debug/stack_chk_fail_local.c: Add missing licence exception.
72391         * debug/warning-nop.c: Likewise.
72393 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
72395         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
72396         implementing getdents64 using getdents syscall, set d_type if
72397         __ASSUME_GETDENTS32_D_TYPE.
72399 2010-09-16  Andreas Schwab  <schwab@redhat.com>
72401         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
72402         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
72404 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
72406         [BZ #12037]
72407         * posix/unistd.h: Undo change of feature selection for ftruncate from
72408         2010-01-11.
72410 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
72412         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
72413         detection.
72415 2010-09-20  Andreas Schwab  <schwab@redhat.com>
72417         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
72418         fanotify_mark.
72419         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72421 2010-09-14  Andreas Schwab  <schwab@redhat.com>
72423         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
72424         variables after CHECK_SP call.
72425         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
72427 2010-09-13  Andreas Schwab  <schwab@redhat.com>
72428             Ulrich Drepper  <drepper@redhat.com>
72430         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
72431         re-relocationg ld.so.
72432         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
72433         _dl_init_paths call.
72434         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
72435         here anymore.
72437 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
72439         * resolv/res_init.c (__res_vinit): Count the default server we added.
72441 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
72442             Ulrich Drepper  <drepper@redhat.com>
72444         [BZ #11968]
72445         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72446         (____longjmp_chk): Use %ebx for saving value across system call.
72447         Add unwind info.
72449 2010-09-06  Andreas Schwab  <schwab@redhat.com>
72451         * manual/Makefile: Don't mix pattern rules with normal rules.
72453 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72455         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
72456         operation.
72457         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
72458         * libio/iofopncook.c (_IO_cookie_init): Likewise.
72459         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
72460         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
72461         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72462         Likewise.
72464 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
72466         [BZ #11979]
72467         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
72468         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
72470 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
72472         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
72473         * sysdeps/x86_64/addmul_1.S: Likewise.
72474         * sysdeps/x86_64/lshift.S: Likewise.
72475         * sysdeps/x86_64/mul_1.S: Likewise.
72476         * sysdeps/x86_64/rshift.S: Likewise.
72477         * sysdeps/x86_64/sub_n.S: Likewise.
72478         * sysdeps/x86_64/submul_1.S: Likewise.
72480 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72482         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
72483         Define __sched_param instead of SCHED_* and sched_param when
72484         <bits/sched.h> is included with __need_schedparam defined.
72485         * bits/sched.h [__need_schedparam]
72486         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
72487         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
72488         (__defined_schedparam): Define to 1.
72489         (__sched_param): New structure, identical to sched_param.
72490         (__need_schedparam): Undefine.
72492 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
72494         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
72495         (epoll_create1): Declare.
72497         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
72499 2010-08-31  Andreas Schwab  <schwab@redhat.com>
72501         [BZ #7066]
72502         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
72503         shifting retval into place.
72505 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
72507         * nis/rpcsvc/nis.h: Update copyright notice.
72508         * nis/rpcsvc/nis.x: Likewise.
72509         * nis/rpcsvc/nis_callback.h: Likewise.
72510         * nis/rpcsvc/nis_callback.x: Likewise.
72511         * nis/rpcsvc/nis_object.x: Likewise.
72512         * nis/rpcsvc/nis_tags.h: Likewise.
72513         * nis/rpcsvc/yp.h: Likewise.
72514         * nis/rpcsvc/yp.x: Likewise.
72515         * nis/rpcsvc/ypupd.h: Likewise.
72516         * nis/yp_xdr.c: Likewise.
72517         * nis/ypupdate_xdr.c: Likewise.
72519         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
72520         mainly the body of pmap_getport.  Add parameters to specify timeouts.
72521         (pmap_getport): Use __libc_rpc_getport.
72522         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
72523         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
72524         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
72526 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
72528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
72529         fanotify_mark.
72531 2010-08-27  Roland McGrath  <roland@redhat.com>
72533         * sysdeps/i386/i686/multiarch/Makefile
72534         (CFLAGS-varshift.c): New variable.
72536 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
72538         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
72539         * sysdeps/i386/i686/multiarch/varshift.c: New file.
72541         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
72543         * sysdeps/x86_64/strlen.S: Minimal code improvement.
72545 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
72547         * sysdeps/x86_64/strlen.S: Unroll the loop.
72548         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72549         strlen-sse2 strlen-sse2-bsf.
72550         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
72551         __strlen_no_bsf if bit_Slow_BSF is set.
72552         (__strlen_sse42): Removed.
72553         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
72554         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
72556 2010-08-25  Roland McGrath  <roland@redhat.com>
72558         * sysdeps/x86_64/multiarch/varshift.S: File removed.
72559         * sysdeps/x86_64/multiarch/varshift.c: New file.
72560         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
72561         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
72562         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
72563         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72565 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
72567         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72568         strlen-sse2 strlen-sse2-bsf.
72569         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
72570         __strlen_sse2_bsf if bit_Slow_BSF is unset.
72571         (__strlen_sse2): Removed.
72572         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
72573         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
72574         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
72575         bit_Slow_BSF for Atom.
72576         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
72577         (index_Slow_BSF): Define.
72578         (HAS_SLOW_BSF): Define.
72580 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
72582         [BZ #10851]
72583         * resolv/res_init.c (__res_vinit): When no server address at all
72584         is given default to loopback.
72586 2010-08-24  Roland McGrath  <roland@redhat.com>
72588         * configure.in: Remove config-name.h generation.
72589         * configure: Regenerated.
72590         * config-name.in: File removed.
72591         * scripts/config-uname.sh: New file.
72592         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
72593         ($(objdir)config-name.h): New target.
72595         * sunrpc/rpc_parse.h: Avoid nested comment.
72597 2010-08-24  Richard Henderson  <rth@redhat.com>
72598             Ulrich Drepper  <drepper@redhat.com>
72599             H.J. Lu  <hongjiu.lu@intel.com>
72601         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
72602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72603         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72604         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
72605         _mm_alignr_epi8 with _mm_loadu_si128.
72606         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72607         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72608         (__m128i_shift_right): Removed.
72609         * sysdeps/i386/i686/multiarch/varshift.h: New file.
72610         * sysdeps/i386/i686/multiarch/varshift.S: New file.
72611         * sysdeps/x86_64/multiarch/varshift.h: New file.
72612         * sysdeps/x86_64/multiarch/varshift.S: New file.
72614 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
72616         * configure.in: Move assembler checks to before sysdep dir checking.
72618 2010-08-20  Petr Baudis  <pasky@suse.cz>
72620         * LICENSES: Sync the sunrpc license.
72622 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
72624         * sunrpc/auth_des.c: Update copyright notice once again.
72625         * sunrpc/auth_none.c: Likewise.
72626         * sunrpc/auth_unix.c: Likewise.
72627         * sunrpc/authdes_prot.c: Likewise.
72628         * sunrpc/authuxprot.c: Likewise.
72629         * sunrpc/bindrsvprt.c: Likewise.
72630         * sunrpc/clnt_gen.c: Likewise.
72631         * sunrpc/clnt_perr.c: Likewise.
72632         * sunrpc/clnt_raw.c: Likewise.
72633         * sunrpc/clnt_simp.c: Likewise.
72634         * sunrpc/clnt_tcp.c: Likewise.
72635         * sunrpc/clnt_udp.c: Likewise.
72636         * sunrpc/clnt_unix.c: Likewise.
72637         * sunrpc/des_crypt.c: Likewise.
72638         * sunrpc/des_soft.c: Likewise.
72639         * sunrpc/get_myaddr.c: Likewise.
72640         * sunrpc/getrpcport.c: Likewise.
72641         * sunrpc/key_call.c: Likewise.
72642         * sunrpc/key_prot.c: Likewise.
72643         * sunrpc/openchild.c: Likewise.
72644         * sunrpc/pm_getmaps.c: Likewise.
72645         * sunrpc/pm_getport.c: Likewise.
72646         * sunrpc/pmap_clnt.c: Likewise.
72647         * sunrpc/pmap_prot.c: Likewise.
72648         * sunrpc/pmap_prot2.c: Likewise.
72649         * sunrpc/pmap_rmt.c: Likewise.
72650         * sunrpc/rpc/auth.h: Likewise.
72651         * sunrpc/rpc/auth_unix.h: Likewise.
72652         * sunrpc/rpc/clnt.h: Likewise.
72653         * sunrpc/rpc/des_crypt.h: Likewise.
72654         * sunrpc/rpc/key_prot.h: Likewise.
72655         * sunrpc/rpc/netdb.h: Likewise.
72656         * sunrpc/rpc/pmap_clnt.h: Likewise.
72657         * sunrpc/rpc/pmap_prot.h: Likewise.
72658         * sunrpc/rpc/pmap_rmt.h: Likewise.
72659         * sunrpc/rpc/rpc.h: Likewise.
72660         * sunrpc/rpc/rpc_des.h: Likewise.
72661         * sunrpc/rpc/rpc_msg.h: Likewise.
72662         * sunrpc/rpc/svc.h: Likewise.
72663         * sunrpc/rpc/svc_auth.h: Likewise.
72664         * sunrpc/rpc/types.h: Likewise.
72665         * sunrpc/rpc/xdr.h: Likewise.
72666         * sunrpc/rpc_clntout.c: Likewise.
72667         * sunrpc/rpc_cmsg.c: Likewise.
72668         * sunrpc/rpc_common.c: Likewise.
72669         * sunrpc/rpc_cout.c: Likewise.
72670         * sunrpc/rpc_dtable.c: Likewise.
72671         * sunrpc/rpc_hout.c: Likewise.
72672         * sunrpc/rpc_main.c: Likewise.
72673         * sunrpc/rpc_parse.c: Likewise.
72674         * sunrpc/rpc_parse.h: Likewise.
72675         * sunrpc/rpc_prot.c: Likewise.
72676         * sunrpc/rpc_sample.c: Likewise.
72677         * sunrpc/rpc_scan.c: Likewise.
72678         * sunrpc/rpc_scan.h: Likewise.
72679         * sunrpc/rpc_svcout.c: Likewise.
72680         * sunrpc/rpc_tblout.c: Likewise.
72681         * sunrpc/rpc_util.c: Likewise.
72682         * sunrpc/rpc_util.h: Likewise.
72683         * sunrpc/rpcinfo.c: Likewise.
72684         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72685         * sunrpc/rpcsvc/key_prot.x: Likewise.
72686         * sunrpc/rpcsvc/klm_prot.x: Likewise.
72687         * sunrpc/rpcsvc/mount.x: Likewise.
72688         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72689         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72690         * sunrpc/rpcsvc/rex.x: Likewise.
72691         * sunrpc/rpcsvc/rstat.x: Likewise.
72692         * sunrpc/rpcsvc/rusers.x: Likewise.
72693         * sunrpc/rpcsvc/sm_inter.x: Likewise.
72694         * sunrpc/rpcsvc/spray.x: Likewise.
72695         * sunrpc/rpcsvc/yppasswd.x: Likewise.
72696         * sunrpc/rtime.c: Likewise.
72697         * sunrpc/svc.c: Likewise.
72698         * sunrpc/svc_auth.c: Likewise.
72699         * sunrpc/svc_authux.c: Likewise.
72700         * sunrpc/svc_raw.c: Likewise.
72701         * sunrpc/svc_run.c: Likewise.
72702         * sunrpc/svc_simple.c: Likewise.
72703         * sunrpc/svc_tcp.c: Likewise.
72704         * sunrpc/svc_udp.c: Likewise.
72705         * sunrpc/svc_unix.c: Likewise.
72706         * sunrpc/svcauth_des.c: Likewise.
72707         * sunrpc/xcrypt.c: Likewise.
72708         * sunrpc/xdr.c: Likewise.
72709         * sunrpc/xdr_array.c: Likewise.
72710         * sunrpc/xdr_float.c: Likewise.
72711         * sunrpc/xdr_mem.c: Likewise.
72712         * sunrpc/xdr_rec.c: Likewise.
72713         * sunrpc/xdr_ref.c: Likewise.
72714         * sunrpc/xdr_sizeof.c: Likewise.
72715         * sunrpc/xdr_stdio.c: Likewise.
72717         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72718         handling.
72720 2010-08-19  Andreas Schwab  <schwab@redhat.com>
72722         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72724 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
72726         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72727         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72728         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72729         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72730         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72731         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72732         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72733         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72734         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72735         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72736         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72737         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72738         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72739         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72741 2010-07-26  Anton Blanchard  <anton@samba.org>
72743         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72744         * malloc/arena.c (heap_trim): Likewise.
72746 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
72748         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72749         here.  Not...
72750         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72751         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72753 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
72755         * sysdeps/i386/elf/Makefile: New file.
72757 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72759         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
72760         from fanotify_init.
72761         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
72762         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72764 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
72766         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
72767         of strncasecmp_l.
72768         * sysdeps/multiarch/strcmp.S: Likewise.
72770 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
72772         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72773         strncase_l-nonascii.
72774         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72775         Add strncase_l-ssse3.
72776         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
72777         * sysdeps/x86_64/strcmp.S: Likewise.
72778         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
72779         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
72780         * sysdeps/x86_64/strncase.S: New file.
72781         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
72782         * sysdeps/x86_64/strncase_l.S: New file.
72783         * string/Makefile (strop-tests): Add strncasecmp.
72784         * string/test-strncasecmp.c: New file.
72786         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
72787         warning.
72789         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
72790         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
72792 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72794         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
72796 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
72798         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
72799         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
72800         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
72802 2010-05-01  Alan Modra  <amodra@gmail.com>
72804         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
72805         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
72806         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
72807         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
72808         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
72809         tidying.  Don't tail-call __sigjmp_save for static lib.
72810         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
72811         save location.
72812         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
72813         (CALL_MCOUNT): Add eh info, and nop after bl.
72814         (TAIL_CALL_SYSCALL_ERROR): New macro.
72815         (PSEUDO_RET): Use it.
72816         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
72817         Correct save location of integer regs and cr.
72818         (_dl_profile_resolve): Correct cr save location.  Delete nops
72819         after bl when SHARED.  Reduce cfi size a little by better
72820         placement of cfi directives.
72821         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
72822         make a stack frame.  Instead use parm save area as a temp.
72823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
72824         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
72825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
72826         Don't make a stack frame for parent, use parm save area.
72827         Increase child stack frame to 112 bytes.  Don't save unused reg,
72828         and adjust reg usage.  Set up cfi on error recovery and
72829         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
72830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72831         (__makecontext): Add dummy nop after jump to exit.
72832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
72833         Use correct parm save area and cr save, reduce stack frame.
72834         Correct cfi for possible PSEUDO_RET frame setup.
72835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
72836         Branch to local label emitted by PSEUDO_RET rather than
72837         __syscall_error.
72839 2010-08-12  Andreas Schwab  <schwab@redhat.com>
72841         [BZ #11904]
72842         * locale/programs/locale.c (print_assignment): New function.
72843         (show_locale_vars): Use it.
72845 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
72847         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
72848         field.
72849         (struct statfs64): Likewise.
72850         (_STATFS_F_FLAGS): Define.
72851         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
72852         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72853         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
72854         (ST_VALID): Define locally.
72855         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
72856         __statvfs_getflags, use the provided value.
72857         * sysdeps/unix/sysv/linux/kernel-features.h: Define
72858         __ASSUME_STATFS_F_FLAGS.
72860         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
72862         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
72863         Add sys/fanotify.h.
72864         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
72865         fanotify_mask for GLIBC_2.13.
72866         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
72867         fanotify_init and fanotify_mark.
72868         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72869         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
72871         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
72872         Add prlimit.
72873         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
72874         prlimit64 for GLIBC_2.13.
72875         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
72876         prlimit64.
72877         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
72878         syscall.
72879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
72880         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72881         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
72882         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
72883         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
72884         add prlimit alias.
72885         * sysdeps/unix/sysv/linux/prlimit.c: New file.
72887         [BZ #11903]
72888         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
72889         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
72891         * nss/Makefile: Add rules to build and run tst-nss-test1.
72892         * shlib-versions: Add entry for libnss_test1.
72893         * nss/nss_test1.c: New file.
72894         * nss/tst-nss-test1.c: New file.
72896         * nss/nsswitch.c (__nss_database_custom): Define new variable.
72897         (__nss_configure_lookup): Set appropriate entry in
72898         __nss_configure_lookup to true.
72899         * nss/nsswitch.h: Define enum with indeces of databases in
72900         databases and __nss_database_custom arrays.  Declare
72901         __nss_database_custom.
72902         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
72903         to avoid using nscd when custom rules are installed.
72904         * nss/getXXbyYY_r.c: Likewise.
72905         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
72907         * nss/nss_files/files-parse.c: Whitespace fixes.
72909 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
72911         [BZ #11883]
72912         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
72913         * posix/fnmatch_loop.c: Likewise.
72915 2010-07-17  Andi Kleen  <ak@linux.intel.com>
72917         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
72918         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
72919         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
72920         * Versions.def [GLIBC_2.13]: Add.
72922 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
72924         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72925         Also fail if tpwd after pwuid call is NULL.
72927 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72929         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
72930         when converting to ms.
72932 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72934         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
72935         EOPNOTSUPP errors with ENOTTY.
72936         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
72937         EOPNOTSUPP errors with ENOTTY.
72939 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
72941         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72942         Add strcasecmp_l-ssse3.
72943         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
72944         strcasecmp.
72945         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
72946         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
72947         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
72949 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
72951         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
72953         * string/Makefile (strop-tests): Add strcasecmp.
72954         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72955         strcasecmp_l-nonascii.
72956         (gen-as-const-headers): Add locale-defines.sym.
72957         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
72958         * sysdeps/x86_64/strcasecmp.S: New file.
72959         * sysdeps/x86_64/strcasecmp_l.S: New file.
72960         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
72961         * sysdeps/x86_64/locale-defines.sym: New file.
72962         * string/test-strcasecmp.c: New file.
72964         * string/test-strcasestr.c: Test both ends of the range of characters.
72965         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
72967 2010-07-29  Roland McGrath  <roland@redhat.com>
72969         [BZ #11856]
72970         * manual/locale.texi (Yes-or-No Questions): Fix example code.
72972 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
72974         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
72975         for ld.so.
72977 2010-07-27  Andreas Schwab  <schwab@redhat.com>
72979         * manual/memory.texi (Malloc Tunable Parameters): Document
72980         M_PERTURB.
72982 2010-07-26  Roland McGrath  <roland@redhat.com>
72984         [BZ #11840]
72985         * configure.in (-fgnu89-inline check): Set and substitute
72986         gnu89_inline, not libc_cv_gnu89_inline.
72987         * configure: Regenerated.
72988         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
72990 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
72992         * string/test-strnlen.c: New file.
72993         * string/Makefile (strop-tests): Add strnlen.
72994         * string/tester.c (test_strnlen): Add a few more test cases.
72995         * string/tst-strlen.c: Better error reporting.
72997         * sysdeps/x86_64/strnlen.S: New file.
72999 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
73001         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
73002         lower-latency instructions.
73004 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
73006         * string/test-strcasestr.c: New file.
73007         * string/test-strstr.c: New file.
73008         * string/Makefile (strop-tests): Add strstr and strcasestr.
73009         * string/str-two-way.h: Don't undefine MAX.
73010         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
73012 2010-07-21  Andreas Schwab  <schwab@redhat.com>
73014         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73015         strcasestr-nonascii.
73016         (CFLAGS-strcasestr-nonascii.c): Define.
73017         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
73018         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
73019         Remove unused attribute.
73021 2010-07-20  Roland McGrath  <roland@redhat.com>
73023         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
73024         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
73025         ld.so.cache was broken.  With it, there is no way to disable dsocaps
73026         like LD_HWCAP_MASK can disable hwcaps.
73028 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73030         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
73032 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
73034         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
73035         call in strcasestr.
73036         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
73037         __strcasestr_sse42_nonascii.
73038         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
73039         strcasestr-nonascii.c.
73040         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
73042 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
73044         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
73045         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
73046         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
73047         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
73049 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
73051         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
73052         fcntl.
73054 2010-07-06  Andreas Schwab  <schwab@redhat.com>
73056         [BZ #11577]
73057         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
73058         dl_signal_cerror.
73060 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
73062         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
73063         _PC_PIPE_BUF using F_GETPIPE_SZ.
73065 2010-07-05  Roland McGrath  <roland@redhat.com>
73067         * manual/arith.texi (Rounding Functions): Fix rint description
73068         implicit in round description.
73070 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
73072         * elf/Makefile: Fix linking for a few tests to make recent linker
73073         happy.
73075 2010-06-30  Andreas Schwab  <schwab@redhat.com>
73077         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73078         $(common-objpfx)libc_nonshared.a.
73080 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
73082         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
73083         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
73084         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73085         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73086         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
73087         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
73088         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73089         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
73091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
73092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
73093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
73095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
73097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
73098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
73099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
73100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
73102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
73104         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
73105         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
73106         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
73107         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
73108         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
73109         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
73110         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
73111         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
73112         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
73113         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
73114         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
73115         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
73116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
73117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
73118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
73119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
73120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
73121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
73122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
73123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
73124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
73125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
73126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
73127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
73128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
73129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
73131 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
73133         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
73134         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
73135         * string/memmove.c (memmove): Renamed to ...
73136         (MEMMOVE): ...this.  Default to memmove.
73137         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
73138         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
73139         (END_CHK): Define.
73140         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73141         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
73142         mempcpy-ssse3-back memmove-ssse3-back.
73143         * sysdeps/x86_64/multiarch/bcopy.S: New file .
73144         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
73145         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
73146         * sysdeps/x86_64/multiarch/memcpy.S: New file.
73147         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
73148         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
73149         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
73150         * sysdeps/x86_64/multiarch/memmove.c: New file.
73151         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
73152         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
73153         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
73154         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
73155         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
73156         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
73157         Define.
73158         (index_Fast_Copy_Backward): Define.
73159         (HAS_ARCH_FEATURE): Define.
73160         (HAS_FAST_REP_STRING): Define.
73161         (HAS_FAST_COPY_BACKWARD): Define.
73163 2010-06-21  Andreas Schwab  <schwab@redhat.com>
73165         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73166         Restore proper fallback handling.
73168 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
73170         [BZ #11701]
73171         * posix/group_member.c (__group_member): Correct checking loop.
73173         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
73174         OOM in getpwuid_r correctly.  Return error number when the caller
73175         should return, otherwise -1.
73176         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
73177         call returning > 0 value.
73178         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
73180 2010-06-07  Andreas Schwab  <schwab@redhat.com>
73182         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
73183         libc_nonshared.a from targets in modules-names.
73185 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
73187         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
73188         requires it.
73190 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
73192         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
73193         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
73194         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
73195         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
73197 2010-06-02  Andreas Schwab  <schwab@redhat.com>
73199         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
73201 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
73203         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
73204         and F_GETPIPE_SZ.
73205         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73206         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73207         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73208         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73209         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73210         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73212 2010-06-14  Roland McGrath  <roland@redhat.com>
73214         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
73216 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
73218         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
73219         __REDIRECT followed by __THROW.
73220         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
73221         * posix/getopt.h (getopt): Likewise.
73223 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73225         * hurd/lookup-at.c (__file_name_lookup_at): Accept
73226         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
73227         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
73228         in AT_FLAGS.
73229         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
73230         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
73232 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
73234         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
73236 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
73238         [BZ #11640]
73239         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73240         Properly check family and model.
73242 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
73244         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
73246 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
73248         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
73250 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
73252         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
73253         symbol reference.
73255 2010-05-19  Andreas Schwab  <schwab@redhat.com>
73257         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
73258         symbol reference.
73260 2010-05-21  Andreas Schwab  <schwab@redhat.com>
73262         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
73263         and internal_recvmmsg.
73264         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
73265         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
73266         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
73267         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
73269         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
73270         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73271         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73273 2010-05-20  Andreas Schwab  <schwab@redhat.com>
73275         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
73277 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
73279         POWER7 optimizations.
73280         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
73281         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
73283 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
73285         * version.h: Update for 2.13 development version.
73287 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
73289         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
73290         exceptions.  Return 0.
73292 2010-05-07  Roland McGrath  <roland@redhat.com>
73294         * elf/ldconfig.c (main): Add a const.
73296 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
73298         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
73299         (args_options): Add no-idn option.
73300         (ahosts_keys_int): Add idn_flags to ai_flags.
73301         (parse_option): Handle 'i' option to clear idn_flags.
73303         * malloc/malloc.c (_int_free): Possible race in the most recently
73304         added check.  Only act on the data if no current modification
73305         happened.
73307 See ChangeLog.17 for earlier changes.