Improve generic strspn performance
[glibc.git] / ChangeLog
blob79e2e2339806444459d693136c5d4c10d42c56eb
1 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * string/strspn.c (strcspn): Rewrite function.
4         * string/bits/string2.h (strspn): Use __builtin_strcspn.
5         (__strspn_c1): Remove inline function.
6         (__strspn_c2): Likewise.
7         (__strspn_c3): Likewise.
8         * string/string-inlines.c
9         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
10         compatibility symbol.
11         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
12         Likewise.
13         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
14         Likewise.
15         * string/string-inlines.c: Include generic version.
17 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
18             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20         * string/Version (libc): Add GLIBC_2.24.
21         * string/strcspn.c (strcspn): Rewrite function.
22         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23         (__strcspn_c1): Remove inline function.
24         (__strcspn_c2): Likewise.
25         (__strcspn_c3): Likewise.
26         * string/string-inline.c
27         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
28         compatibility symbol.
29         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
30         Likewise.
31         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
32         Likewise.
33         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
35 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
37         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
38         Use ahi instead of aghi to adjust stack pointer.
40 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
42         [BZ #19853]
43         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
44         TEST to take significant digits as second parameter.
45         [TEST]: Redefine in terms of TEST_N taking 30
46         significant digits.
47         (do_test): Add test case to demonstrate precision
48         failure in the ldbl-128ibm printf.
49         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
50         (__mpn_extract_long_double): Carry 7 extra intermediate
51         bits of precision to aide computing difference when
52         signs differ.
54 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
56         [BZ #19881]
57         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
59         memset-avx512-unaligned-erms.
60         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
61         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
62         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
63         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
64         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
65         __memset_sse2_unaligned_erms, __memset_erms,
66         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
67         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
68         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
69         file.
70         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
71         Likewise.
72         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
73         Likewise.
74         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
75         Likewise.
77 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
79         [BZ #19776]
80         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
82         memmove-avx512-unaligned-erms.
83         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
84         (__libc_ifunc_impl_list): Test
85         __memmove_chk_avx512_unaligned_2,
86         __memmove_chk_avx512_unaligned_erms,
87         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
88         __memmove_chk_sse2_unaligned_2,
89         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
90         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
91         __memmove_avx512_unaligned_erms, __memmove_erms,
92         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
93         __memcpy_chk_avx512_unaligned_2,
94         __memcpy_chk_avx512_unaligned_erms,
95         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
96         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
97         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
98         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
99         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
100         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
101         __mempcpy_chk_avx512_unaligned_erms,
102         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
103         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
104         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
105         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
106         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
107         __mempcpy_erms.
108         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
109         file.
110         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
111         Likwise.
112         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
113         Likwise.
114         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
115         Likwise.
117 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
119         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
120         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
121         (La_s390_64_regs): Likewise.
122         (La_s390_32_retval): Append vector register lrv_v24.
123         (La_s390_64_retval): Likeweise.
124         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
125         Handle extended structs La_s390_32_regs and La_s390_32_retval.
126         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
127         Handle extended structs La_s390_64_regs and La_s390_64_retval.
129 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
131         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
132         to create a non-vector/vector version for _dl_runtime_resolve and
133         _dl_runtime_profile. Move implementation to ...
134         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
135         (_dl_runtime_resolve) Save and restore fpr/vrs.
136         (_dl_runtime_profile) Save and restore vrs and fix some issues
137         if _dl_call_pltexit is called.
138         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
139         Choose the correct resolver function if running on a machine with vx.
140         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
141         to create a non-vector/vector version for _dl_runtime_resolve and
142         _dl_runtime_profile. Move implementation to ...
143         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
144         (_dl_runtime_resolve) Save and restore fpr/vrs.
145         (_dl_runtime_profile) Save and restore vrs and fix some issues
146         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
147         Choose the correct resolver function if running on a machine with vx.
149 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
151         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
153 2016-03-31  Florian Weimer  <fweimer@redhat.com>
155         [BZ #19509]
156         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
157         skip_map != NULL.
158         * elf/tst-dlsym-error.c: New file.
159         * elf/Makefile (tests): Add tst-dlsym-error.
160         (tst-dlsym-error): Link against libdl.
162 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
164         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
165         (__ASSUME_FUTIMESAT): Remove macro.
166         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
168 2016-03-29  Florian Weimer  <fweimer@redhat.com>
170         [BZ #19879]
171         CVE-2016-3075
172         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
173         copy name.
175 2016-03-29  Florian Weimer  <fweimer@redhat.com>
177         [BZ #19837]
178         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
179         error if parse_line fails.
181 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
183         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
184         (index_cpu_ERMS): Likewise.
185         (reg_ERMS): Likewise.
187 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
189         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
190         PER_LINUX_FDPIC): Add.
192 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
195         memcpy-avx512-no-vzeroupper.
196         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
197         to ...
198         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
199         (MEMCPY): Don't define.
200         (MEMCPY_CHK): Likewise.
201         (MEMPCPY): Likewise.
202         (MEMPCPY_CHK): Likewise.
203         (MEMPCPY_CHK): Renamed to ...
204         (__mempcpy_chk_avx512_no_vzeroupper): This.
205         (MEMPCPY_CHK): Renamed to ...
206         (__mempcpy_chk_avx512_no_vzeroupper): This.
207         (MEMCPY_CHK): Renamed to ...
208         (__memmove_chk_avx512_no_vzeroupper): This.
209         (MEMCPY): Renamed to ...
210         (__memmove_avx512_no_vzeroupper): This.
211         (__memcpy_avx512_no_vzeroupper): New alias.
212         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
214 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
216         [BZ #18858]
217         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
218         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
219         and mempcpy-avx512-no-vzeroupper.
220         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
221         New.
222         (MEMPCPY): Likewise.
223         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
224         (MEMPCPY_CHK): New.
225         (MEMPCPY): Likewise.
226         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
227         (MEMPCPY): Likewise.
228         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
229         (MEMPCPY): Likewise.
230         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
231         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
232         Likewise.
233         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
234         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
236 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
237              Amit Pawar  <Amit.Pawar@amd.com>
239         [BZ #19583]
240         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
241         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
242         processors.  Set Fast_Copy_Backward for AMD Excavator
243         processors.
244         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
245         New.
246         (index_arch_Fast_Unaligned_Copy): Likewise.
247         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
248         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
250 2016-03-25  Florian Weimer  <fweimer@redhat.com>
252         [BZ #19791]
253         * resolv/res_send.c (close_and_return_error): New function.
254         (send_dg): Initialize *resplen2 after reopen failure.  Call
255         close_and_return_error for error returns.  On error paths without
256         __res_iclose, initialze *resplen2 explicitly.  Update comment for
257         successful return.
259 2016-03-25  Florian Weimer  <fweimer@redhat.com>
261         [BZ# 19860]
262         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
263         zero if the compiler does not provide the AVX512F bit.
265 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
267         [BZ #19848]
268         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
269         from 8 to 4.
270         (__ieee754_powl): Compare integer exponent against 4 not 8.
271         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
272         from 8 to 4.
273         (__ieee754_powl): Compare integer exponent against 4 not 8.
274         * math/auto-libm-test-in: Add more tests of pow.
275         * math/auto-libm-test-out: Regenerated.
276         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
279 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
281         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
282         Make code unconditional.
283         [!__NR_utimensat]: Remove conditional code.
284         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
285         Make code unconditional.
286         [!__NR_utimensat]: Remove conditional code.
287         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
288         Make code unconditional.
289         [!__NR_utimensat]: Remove conditional code.
291 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
293         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
294         Make code unconditional.
296 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
298         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
299         call-clobbered %eax on retry path.
300         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
302 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
304         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
305         Don't set %rcx twice before "rep movsb".
307 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
309         [BZ #19583]
310         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
311         inline.  Check family before setting family, model and
312         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
313         bits here.
314         (init_cpu_features): Replace HAS_CPU_FEATURE and
315         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
316         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
317         for Intel processors with usable AVX2.  Call get_common_indeces
318         for other processors with family == NULL.
319         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
320         (CPU_FEATURES_ARCH_P): Likewise.
321         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
322         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
324 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
326         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
327         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
328         $(shared-thread-library) instead of hardcoding the path to libpthread.
330 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
332         * sysdeps/unix/sysv/linux/kernel-features.h
333         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
334         * sysdeps/unix/sysv/linux/getdents.c
335         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
336         [!have_no_getdents64_defined]: Likewise.
337         (__GETDENTS): Remove __have_no_getdents64 conditional.
339 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
341         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
342         Remove macro.
343         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
344         <kernel-features.h>.
345         (signalfd) [__NR_signalfd4]: Make code unconditional.
346         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
348 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
350         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
351         style.
353 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
355         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
356         (__pthread_enable_asynccancel): Use JUMPTARGET to call
357         __pthread_unwind.
358         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
359         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
360         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
361         (__condvar_cleanup1): Likewise.
363 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
365         [BZ #19822]
366         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
367         move it to the final $@ location.
369 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
371         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
372         access where posix_spawn success and pid argument is null.
373         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
374         success case.
376 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
378         * sysdeps/mach/hurd/i386/c++-types.data: New file.
380         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
382         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
383         and __fcntl.
384         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
385         __fcntl only.
386         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
387         adding attribute_hidden to __open and __fcntl.
389         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
390         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
391         depend on libc-modules.h,
392         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
394 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
396         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
397         Remove macro.
398         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
399         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
400         entry.
402         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
403         Remove macro.
404         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
405         include <kernel-features.h>.
406         [!__ASSUME_FALLOCATE]: Remove conditional code.
407         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
409 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
411         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
412         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
413         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
414         (_ZGVdN4v_cos_avx2): Likewise.
415         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
416         (_ZGVdN4v_cos): Likewise.
417         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
418         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
419         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
420         (_ZGVdN4v_exp_avx2): Likewise.
421         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
422         (_ZGVdN4v_exp): Likewise.
423         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
424         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
425         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
426         (_ZGVdN4v_log_avx2): Likewise.
427         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
428         (_ZGVdN4v_log): Likewise.
429         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
430         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
431         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
432         (_ZGVdN4vv_pow_avx2): Likewise.
433         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
434         (_ZGVdN4vv_pow): Likewise.
435         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
436         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
437         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
438         (_ZGVdN4v_sin_avx2): Likewise.
439         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
440         (_ZGVdN4v_sin): Likewise.
441         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
442         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
443         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
444         (_ZGVdN4vvv_sincos_avx2): Likewise.
445         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
446         (_ZGVdN4vvv_sincos): Likewise.
447         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
448         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
449         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
450         (_ZGVbN4v_cosf_sse4): Likewise.
451         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
452         (_ZGVdN8v_cosf_avx2): Likewise.
453         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
454         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
455         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
456         (_ZGVbN4v_expf_sse4): Likewise.
457         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
458         (_ZGVdN8v_expf_avx2): Likewise.
459         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
460         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
461         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
462         (_ZGVbN4v_logf_sse4): Likewise.
463         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
464         (_ZGVdN8v_logf_avx2): Likewise.
465         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
466         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
467         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
468         (_ZGVbN4vv_powf_sse4): Likewise.
469         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
470         (_ZGVdN8vv_powf_avx2): Likewise.
471         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
472         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
473         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
474         (_ZGVbN4vvv_sincosf_sse4): Likewise.
475         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
476         (_ZGVdN8vvv_sincosf_avx2): Likewise.
477         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
478         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
479         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
480         (_ZGVbN4v_sinf_sse4): Likewise.
481         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
482         (_ZGVdN8v_sinf_avx2): Likewise.
483         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
484         Use JUMPTARGET to call callee.
485         (WRAPPER_IMPL_SSE2_ff): Likewise.
486         (WRAPPER_IMPL_SSE2_fFF): Likewise.
487         (WRAPPER_IMPL_AVX): Likewise.
488         (WRAPPER_IMPL_AVX_ff): Likewise.
489         (WRAPPER_IMPL_AVX_fFF): Likewise.
490         (WRAPPER_IMPL_AVX512): Likewise.
491         (WRAPPER_IMPL_AVX512_ff): Likewise.
492         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
493         Likewise.
494         (WRAPPER_IMPL_SSE2_ff): Likewise.
495         (WRAPPER_IMPL_SSE2_fFF): Likewise.
496         (WRAPPER_IMPL_AVX): Likewise.
497         (WRAPPER_IMPL_AVX_ff): Likewise.
498         (WRAPPER_IMPL_AVX_fFF): Likewise.
499         (WRAPPER_IMPL_AVX512): Likewise.
500         (WRAPPER_IMPL_AVX512_ff): Likewise.
501         (WRAPPER_IMPL_AVX512_fFF): Likewise.
503 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
505         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
506         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
507         qualifier.
508         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
509         internal_function qualifiers.
511 2016-03-15  Carlos O'Donell <carlos@redhat.com>
513         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
514         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
515         * math/atest-exp.c (exp_mpn): Mark chk unused.
516         * math/atest-exp2.c (exp_mpn): Likwise.
517         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
518         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
520 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
522         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
523         Remove macro.
524         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
525         <kernel-features.h>.
526         [__NR_ppoll]: Make code unconditional.
527         [!__ASSUME_PPOLL]: Remove conditional code.
529         * sysdeps/unix/sysv/linux/kernel-features.h
530         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
531         (__ASSUME_ACCEPT4): Likewise.
532         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
533         Define.
534         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
535         Likewise.
536         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
537         Likewise.
538         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
539         Likewise.
540         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
541         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
542         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
543         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
544         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
545         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
546         * sysdeps/unix/sysv/linux/arm/kernel-features.h
547         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
548         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
549         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
550         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
551         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
552         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
553         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
554         * sysdeps/unix/sysv/linux/i386/kernel-features.h
555         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
556         Likewise.
557         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
558         Likewise.
559         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
560         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
561         0x040300].
562         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
563         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
564         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
565         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
566         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
567         0x030300].
568         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
569         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
570         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
571         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
572         0x040300].
573         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
574         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
575         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
576         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
577         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
578         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
579         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
580         0x030300].
581         * sysdeps/unix/sysv/linux/mips/kernel-features.h
582         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
583         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
584         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
585         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
586         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
587         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
588         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
589         * sysdeps/unix/sysv/linux/s390/kernel-features.h
590         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
591         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
592         0x040300].
593         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
594         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
595         * sysdeps/unix/sysv/linux/sh/kernel-features.h
596         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
597         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
598         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
599         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
600         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
601         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
602         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
603         * sysdeps/unix/sysv/linux/tile/kernel-features.h
604         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
605         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
606         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
607         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
608         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
609         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
610         Likewise.
611         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
612         Likewise.
614 2016-03-15  Andreas Schwab  <schwab@suse.de>
616         [BZ #19257]
617         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
618         statp->_u._ext.nscount as loop count.
620 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
622         * math/test-signgam-finite-c99.c: Also #undef
623         __LIBC_INTERNAL_MATH_INLINES.
624         * math/test-signgam-main.c: Likewise.
626 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
628         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
629         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
630         (MADV_FREE): Likewise.
631         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
632         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
633         EPOLLEXCLUSIVE.
635 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
637         * timezone/README: Remove mention of checktab.awk. Mention wiki
638         SharedSourceFiles.
640 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
642         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
643         WUNTRACED.
645 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
647         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
648         order to match the type of p when calling atomic_exchange_acq().
650 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
652         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
653         cfi_offset calls.
654         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
655         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
656         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
657         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
658         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
660 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
662         * timezone/checktab.awk: Removed.
664 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
666         * manual/math.texi (Errors in Math Functions): Document relaxed
667         accuracy goals for IBM long double.
668         * math/libm-test.inc (test_exceptions): Always allow spurious
669         "underflow" and "inexact" exceptions for IBM long double.
671 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
673         [BZ #19762]
674         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
675         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
676         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
677         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
678         (bit_arch_*): This for feature array.
679         (bit_*): Renamed to ...
680         (bit_cpu_*): This for cpu array.
681         (index_*): Renamed to ...
682         (index_arch_*): This for feature array.
683         (index_*): Renamed to ...
684         (index_cpu_*): This for cpu array.
685         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
686         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
687         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
688         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
689         bit_##name with index_cpu_##name and bit_cpu_##name.
690         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
691         bit_##name with index_arch_##name and bit_arch_##name.
693 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
695         [BZ #19792]
696         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
697         Terminate FDE before return label.
699 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
701         [BZ #19790]
702         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
703         (rintl): Define as macro.
704         [USE_AS_NEARBYINTL] (__rintl): Likewise.
705         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
706         of fesetround.  Ensure results are evaluated before end of scope.
707         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
708         USE_AS_NEARBYINTL and include s_rintl.c.
709         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
710         Disable exception traps in new environment.
711         (libc_feholdsetround_ppc_ctx): Likewise.
713 2016-03-08  Roland McGrath  <roland@hack.frob.com>
715         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
716         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
717         (tst_audit10_aux) [__AVX512F__]: ... here.
719 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
721         * include/sys/auxv.h: New file.
723 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
725         [BZ #19759]
726         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
728 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
730         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
731         operand modifier.
732         (feclearexcept): Likewise.
734 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
736         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
737         to reflect the entire 32-bit HWCAP.
738         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
739         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
741 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
743         [BZ #19783]
744         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
745         $(test-via-rtld-prefix).
746         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
748 2016-03-08  Florian Weimer  <fweimer@redhat.com>
750         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
751         union wait.  Report any non-zero exit status as error.
753 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
755         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
756         configured with --enable-hardcoded-path-in-tests.
758 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
760         [BZ #19677]
761         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
762         (__ieee754_remainderl): Put zero low parts in canonical form.
763         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
764         file.  Based on
765         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
766         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
767         with wrapper round test-fmodrem-ldbl-128ibm.c.
768         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
769         file.
770         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
771         Likewise.
772         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
773         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
775 2016-03-07  Florian Weimer  <fweimer@redhat.com>
777         [BZ #19610]
778         * elf/ldconfig.c (opt_link): Update comment.
779         (options): Update help string for option -X.
780         (search_dir): Unlink stale symbolic link only if updating symbolic
781         links.
782         * elf/tst-ldconfig-X.sh: New file.
783         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
784         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
786 2016-03-07  Andreas Schwab  <schwab@suse.de>
788         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
789         needed arguments.
791 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
793         [BZ #15333]
794         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
795         to lstat64.
797 2016-03-07  Florian Weimer  <fweimer@redhat.com>
799         * libio/filedoalloc.c (isatty): Remove.
800         (local_isatty): Add comment.  Call __isatty directly.
801         (_IO_file_doallocate): Update comment.  Assume _LIBC.
802         * libio/wfiledoalloc.c (isatty): Remove.
803         (_IO_wfile_doallocate): Update comment.
805 2016-03-07  Florian Weimer  <fweimer@redhat.com>
807         [BZ #19269]
808         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
809         tst-audit4-aux.o.
810         (tst-audit10): Depend on tst-audit10-aux.o.
811         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
812         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
813         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
814         instead of inline AVX code.
815         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
816         instead of inline AVX512 code.
817         * sysdeps/x86_64/tst-audit4-aux.c: New file
818         * sysdeps/x86_64/tst-audit10-aux.c: New file
820         [BZ #19648]
821         * test-skeleton.c (main): Do not set RLIMIT_DATA.
823 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
825         [BZ #14750]
826         [BZ #10354]
827         [BZ #18433]
828         * include/sched.h (__clone): Add hidden prototype.
829         (__clone2): Likewise.
830         * include/unistd.h (__dup): Likewise.
831         * posix/Makefile (tests): Add tst-spawn2.
832         * posix/tst-spawn2.c: New file.
833         * sysdeps/posix/dup.c (__dup): Add hidden definition.
834         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
835         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
836         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
837         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
838         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
839         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
840         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
841         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
842         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
843         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
845         Likewise.
846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
847         Likewise.
848         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
849         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
850         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
851         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
852         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
853         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
854         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
855         * sysdeps/unix/sysv/linux/nptl-signals.h
856         (____nptl_is_internal_signal): New function.
857         * sysdeps/unix/sysv/linux/spawni.c: New file.
859         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
860         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
861         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
862         * posix/tst-execvp2.c (do_test): Likewise.
863         * posix/tst-execvp3.c (do_test): Likewise.
864         * posix/tst-execvp4.c (do_test): Likewise.
865         * posix/tst-execvpe1.c: New file.
866         * posix/tst-execvpe2.c: Likewise.
867         * posix/tst-execvpe3.c: Likewise.
868         * posix/tst-execvpe4.c: Likewise.
869         * posix/tst-execvpe5.c: Likewise.
870         * posix/tst-execvpe6.c: Likewise.
872         [BZ #19534]
873         * posix/execl.c (execl): Remove dynamic memory allocation.
874         * posix/execle.c (execle): Likewise.
875         * posix/execlp.c (execlp): Likewise.
877 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
879         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
880         Replace .text with .text.avx512.
881         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
882         Likewise.
884 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
886         * sysdeps/generic/libnsl.abilist: New file.
887         * sysdeps/generic/libutil.abilist: New file.
889 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
891         [BZ #19762]
892         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
893         HAS_ARCH_FEATURE with Fast_Rep_String.
894         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
895         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
896         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
897         Likewise.
898         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
899         Likewise.
900         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
901         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
902         Likewise.
903         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
904         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
905         Likewise.
907 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
909         [BZ #19745]
910         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
911         with *%rax in call.
913 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
915         [BZ #19745]
916         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
917         with *__libc_start_main@GOTPCREL(%rip) in call.
919 2016-03-04  Roland McGrath  <roland@hack.frob.com>
921         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
922         inside conditional for nonempty $(CXX).
924         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
925         nonempty.
927         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
928         to test for empty $(CXX) rather than $(CXX) of "no".
930 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
932         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
934 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
935             H.J. Lu  <hongjiu.lu@intel.com>
937         [BZ #18880]
938         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
939         instead of Slow_BSF, and also check for Fast_Copy_Backward to
940         enable __memcpy_ssse3_back.
942 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
944         [BZ #19758]
945         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
946         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
948 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
950         [BZ #19490]
951         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
952         (__fentry__): Likewise.
954 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
956         * gmon/Makefile (noprof): Add $(sysdep_noprof).
957         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
959 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
961         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
962         __mcount_internal directly.
963         (C_LABEL(__fentry__)): Likewise.
964         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
965         directly.
967 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
969         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
970         (__start_context): Call __setcontext directly.
972 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
974         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
975         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
976         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
977         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
978         * sysdeps/unix/sysv/linux/arm/kernel-features.h
979         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
980         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
981         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
982         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
983         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
984         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
985         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
986         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
987         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
988         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
989         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
990         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
991         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
992         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
993         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
994         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
995         * sysdeps/unix/sysv/linux/mips/kernel-features.h
996         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
997         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
998         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
999         Remove conditional code.
1000         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1001         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
1002         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1003         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1004         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
1005         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1006         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1007         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1008         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1009         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1010         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1011         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1013 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
1015         * NEWS (2.23): Fix typo in bug 19048 text.
1017 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
1019         [BZ #14259]
1020         * Makeconfig: Rename msgcatdir to localedir.
1021         Rename inst_msgcatdir to inst_localedir.
1022         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
1023         * config.make.in: Add localedir.
1024         * elf/Makefile ($(objpfx)sotruss): Use localedir.
1025         (ldd-rewrite): Likewise.
1026         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
1027         (install-others): Use inst_localedir.
1028         (CPPFLAGS): Use localedir.
1029         * locale/Makefile (locale-CPPFLAGS): Likewise.
1030         * po/Makefile (mo-installed): Use inst_localedir.
1032         [BZ #19575]
1033         * localedata/charmaps/GB18030: Update comments regarding PAU to
1034         non-PUA mappings.
1036 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
1038         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
1039         test for header.
1040         * sysdeps/unix/sysv/linux/configure: Regenerated.
1041         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
1042         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
1043         Remove conditional code.
1044         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
1046         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1047         Define to 3.2.0.
1048         (arch_minimum_kernel): Likewise.
1049         * sysdeps/unix/sysv/linux/configure: Regenerated.
1050         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1051         Define to 2.6.32.
1052         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1053         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1054         (arch_minimum_kernel): Define to 2.6.32.
1055         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1056         * README: Document Linux 3.2 requirement.
1057         * manual/install.texi (Linux): Document Linux 3.2 headers
1058         requirement.
1059         * INSTALL: Regenerated.
1061 2016-02-24  Andreas Schwab  <schwab@suse.de>
1063         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
1064         if !NO_LONG_DOUBLE.
1066 2016-02-22  Roland McGrath  <roland@hack.frob.com>
1068         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
1069         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
1071 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
1073         [BZ #19512]
1074         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
1076 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1078         * posix/tst-dir.c: Include libc-internal.h.
1080 2016-02-20  Florian Weimer  <fweimer@redhat.com>
1082         [BZ #19056]
1083         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
1084         * manual/filesys.texi (Reading/Closing Directory): Mention
1085         deprecaion.
1086         * posix/tst-dir.c (main): Disable deprecation warning in test.
1088 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
1090         [BZ #19679]
1091         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
1092         Renamed to ...
1093         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
1094         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1095         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
1096         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1097         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1098         * sysdeps/x86_64/dl-trampoline.h
1099         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1100         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1102 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1104         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
1106 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1108         * elf/elf.h (R_386_GOT32X): New.
1109         (R_386_NUM): Update.
1110         (R_X86_64_GOTPCRELX: New.
1111         (R_X86_64_REX_GOTPCRELX): New.
1112         (R_X86_64_NUM): Update.
1114 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
1116         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
1118 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
1120         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
1121         assign attr->stackaddr to it, and adjust it down when
1122         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
1123         [_STACK_GROWS_UP]: Delete assert.
1124         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
1125         Implement stack grows up logic.
1126         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
1127         stack grows up logic.
1129 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1131         * NEWS: Update with 2.24 template.
1133 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1135         [BZ #19678]
1136         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1137         Ensure +0.0 is returned when taking the next value below the least
1138         positive value.
1140 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1142         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
1143         available.  Do not define NO_THREADS.
1144         * malloc/malloc.c: Do not check NO_THREADS.
1145         * malloc/arena.c: Likewise.
1147 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1149         * malloc/malloc.c (__libc_mallinfo): Update comment.
1150         (struct malloc_par): Remove max_total_mem member, it was always 0.
1151         (int_mallinfo): Store 0 into usmblks (no functional change).
1152         * malloc/hooks.c (struct malloc_state): Document that
1153         max_total_mem is always 0.
1154         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
1155         always 0.
1156         * manual/memory.texi (Statistics of Malloc): Likewise.
1158 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1160         * malloc/malloc.c (sysmalloc): Do not update arena_max.
1161         * malloc/arena.c (arena_max): Remove.
1162         (heap_trim, _int_new_arena): Do not update arena_max.
1164 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1166         * resolv/res_init.c (res_ninit): Update comment.
1168 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1170         [BZ #19505]
1171         * posix/spawn_int.h: Add headers and include guard.
1172         (__spawn_valid_fd): New function.
1173         * posix/spawn_faction_addopen.c
1174         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
1175         * posix/spawn_faction_addclose.c
1176         (posix_spawn_file_actions_addclose): Likewise.
1177         * posix/spawn_faction_adddup2.c
1178         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
1179         second file descriptor.
1180         * posix/spawn_valid_fd.c: New file.
1181         * posix/tst-posix_spawn-fd.c: New file.
1182         * posix/Makefile (routines): Add spawn_valid_fd.
1183         (tests): Add tst-posix_spawn-fd.
1185 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1187         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
1188         (do_test): Limit the number of arenas, so that we can use fewer
1189         outer threads.  Limit timeout to 3 seconds, in preparation for a
1190         larger TIMEOUT value.
1192 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1194         [BZ #19674]
1195         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
1196         sign in overflowing and underflowing results when overflow or
1197         underflow is detected early.  Include sign in result before rather
1198         than after scaling.
1200         [BZ #19603]
1201         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1202         (__ieee754_remainderl): Adjust sign of integer version of low part
1203         when taking absolute value of high part.
1204         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1205         * math/libm-test.inc (remainder_test_data): Add another test.
1206         (remquo_test_data): Likewise.
1208 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
1210         [BZ #19602]
1211         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
1212         equal high parts and both low parts zero specially.
1213         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
1214         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1215         Add test-fmodl-ldbl-128ibm.
1217         [BZ #19595]
1218         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
1219         common logic for all cases of shifting subnormal results.  Do not
1220         insert sign bit in shifted mantissa.  Always pass -1023 as biased
1221         exponent to ldbl_insert_mantissa in subnormal case.
1223         [BZ #19594]
1224         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
1225         on high and low parts then adjust result and use
1226         ldbl_canonicalize_int if needed.
1228         [BZ #19593]
1229         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
1230         on high part and __floor or __ceil on low part then use
1231         ldbl_canonicalize_int if needed.
1233         [BZ #19592]
1234         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
1235         high and low parts then use ldbl_canonicalize_int if needed.
1237         [BZ #17899]
1238         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1239         New function.
1240         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
1241         on high and low parts then use ldbl_canonicalize_int if needed.
1243 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1245         * configure: Regenerated.
1247         * po/libc.pot: Regenerated.
1249         * po/be.po: Updated translation.
1250         * po/bg.po: Likewise.
1251         * po/ca.po: Likewise.
1252         * po/cs.po: Likewise.
1253         * po/da.po: Likewise.
1254         * po/el.po: Likewise.
1255         * po/eo.po: Likewise.
1256         * po/es.po: Likewise.
1257         * po/fi.po: Likewise.
1258         * po/fr.po: Likewise.
1259         * po/gl.po: Likewise.
1260         * po/hr.po: Likewise.
1261         * po/hu.po: Likewise.
1262         * po/ia.po: Likewise.
1263         * po/id.po: Likewise.
1264         * po/it.po: Likewise.
1265         * po/ja.po: Likewise.
1266         * po/lt.po: Likewise.
1267         * po/nb.po: Likewise.
1268         * po/nl.po: Likewise.
1269         * po/pt_BR.po: Likewise.
1270         * po/rw.po: Likewise.
1271         * po/sk.po: Likewise.
1272         * po/sl.po: Likewise.
1273         * po/sv.po: Likewise.
1274         * po/tr.po: Likewise.
1275         * po/zh_CN.po: Likewise.
1276         * po/zh_TW.po: Likewise.
1278         * version.h (RELEAES): Set to "development".
1279         (VERSION): Set to 2.23.90.
1281         * version.h (RELEASE): Set to "stable".
1282         (VERSION): Set to 2.23.
1283         * include/feature.h (__GLIBC_MINOR__): Set to 23.
1285         * NEWS: Updated fixed bugs.
1287 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1288             Wilco Dijkstra  <wdijkstr@arm.com>
1290         [BZ #19462]
1291         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
1292         (_STRING_INLINE_unaligned): This.
1293         * include/string.h: Include <string_private.h>.
1294         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
1295         _STRING_INLINE_unaligned.
1296         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
1297         (_STRING_INLINE_unaligned): New.
1298         * sysdeps/aarch64/string_private.h: New file.
1299         * sysdeps/generic/string_private.h: Likewise.
1300         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
1301         * sysdeps/s390/string_private.h: Likewise.
1302         * sysdeps/x86/string_private.h: Likewise.
1303         * sysdeps/m68k/m680x0/m68020/bits/string.h
1304         (_STRING_ARCH_unaligned): Renamed to ...
1305         (_STRING_INLINE_unaligned): This.
1306         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
1307         to ...
1308         (_STRING_INLINE_unaligned): This.
1309         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
1310         to ...
1311         (_STRING_INLINE_unaligned): This.
1312         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
1313         to ...
1314         (_STRING_INLINE_unaligned): This.
1316 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1317             H.J. Lu  <hongjiu.lu@intel.com>
1319         [BZ #19590]
1320         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
1321         relocation.
1323 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
1325         [BZ #18665]
1326         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
1327         *herrno_p.
1328         (gaih_getanswer): Document functional behviour. Return tryagain
1329         if any result is tryagain.
1330         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
1331         when freed.
1332         * resolv/res_send.c: Add copyright text.
1333         (__libc_res_nsend): Document that MAXPACKET is expected.
1334         (send_vc): Document. Remove buffer reuse.
1335         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
1336         size of the buffer. Add Dprint for truncated UDP buffer.
1338 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
1340         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
1341         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
1342         * INSTALL: Regenerate.
1344 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
1345             Jonathan Wakely  <jwakely@redhat.com>
1346             Carlos O'Donell  <carlos@redhat.com>
1348         [BZ 19439]
1349         * math/Makefile (tests): Add test-math-isinff.
1350         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
1351         * math/bits/mathcalls.h [__USE_MISC]: Use
1352         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
1353         functions not in C++11 and which don't conflict e.g. isinff,
1354         isinfl etc.
1355         * math/test-math-isinff.cc: New file.
1357 2016-02-12  Florian Weimer  <fweimer@redhat.com>
1359         * misc/bug18240.c (do_test): Set RLIMIT_AS.
1361 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1363         [BZ #19529]
1364         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
1366 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1368         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1370 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
1372         [BZ #19550]
1373         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
1374         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
1375         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
1376         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
1377         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
1378         New syscall entry.
1379         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
1380         New syscall entry.
1381         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
1382         syscall entry.
1384 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
1386         [BZ #18240]
1387         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
1388         unsigned int wraparound.
1390 2016-01-27  Florian Weimer  <fweimer@redhat.com>
1392         [BZ #18240]
1393         * misc/bug18240.c: New test.
1394         * misc/Makefile (tests): Add it.
1396 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
1397             Joseph Myers  <joseph@codesourcery.com>
1399         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
1400         load in branch delay slot when less than a word of input left.
1402 2016-01-27  Andreas Schwab  <schwab@suse.de>
1404         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
1405         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
1406         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
1407         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
1409 2016-01-26  David S. Miller  <davem@davemloft.net>
1411         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
1413 2016-01-25  David S. Miller  <davem@davemloft.net>
1415         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
1416         __sqrtl_finite.
1417         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
1418         instead using versioned_symbol.
1419         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
1420         of entries.
1422         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
1423         __sqrtl_finite to GLIBC_2.23
1425 2016-01-25  Ricchard Henderson  <rth@redhat.com>
1427         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1429 2016-01-25  Andreas Schwab  <schwab@suse.de>
1431         [BZ #17514]
1432         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
1433         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
1434         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
1435         * nptl/tst-mutex-errorcheck.c: New file.
1437 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1439         [BZ #18560]
1440         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
1441         (IPCOP_semop): Likewise.
1442         (IPCOP_semget): Likewise.
1443         (IPCOP_semctl): Likewise.
1444         (IPCOP_msgsnd): Likewise.
1445         (IPCOP_msgrcv): Likewise.
1446         (IPCOP_msgget): Likewise.
1447         (IPCOP_msgctl): Likewise.
1448         (IPCOP_shmat): Likewise.
1449         (IPCOP_shmdt): Likewise.
1450         (IPCOP_shmget): Likewise.
1451         (IPCOP_shmctl): Likewise.
1453 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1455         * string/tst-endian.c: Include <libc-internal.h>.
1456         (do_test): Ignore tautological-compare warnings around
1457         "htobeXX (beXXtoh (i)) != i" and
1458         "htoleXX (leXXtoh (i)) != i" if-statements.
1460 2016-01-24  David S. Miller  <davem@davemloft.net>
1462         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
1463         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
1464         alias.
1465         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1466         __sqrtl_finite.
1468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1470 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
1472         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
1473         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
1474         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1476 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1478         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
1479         (thread_func): Use new function to simplify barrier check.
1480         (do_test): Use new function to simplify checking barrier exit
1481         code, and actually join the child thread.
1483 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1485         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
1486         semicolon.
1487         (__libc_tend): Likewise.
1488         (__libc_tabort): Likewise.
1490 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
1492         * sysdeps/nios2/libm-test-ulps: Update.
1493         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
1494         (__gtsf2): Likewise.
1495         (__unorddf2): Likewise.
1496         (__unordsf2): Likewise.
1497         (__ledf2): Likewise.
1499 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
1501         * nis/nis_table.c (__follow_path): Disable diagnostic for
1502         uninitialized variable that is a false positive for gcc 4.7.
1503         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
1505 2016-01-20  Roland McGrath  <roland@hack.frob.com>
1507         * sysdeps/nacl/lowlevellock-futex.h
1508         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
1509         Always evaluate PRIVATE argument.
1511 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
1513         [BZ #19490]
1514         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
1515         (pthread_cond_broadcast): Use ENTRY/END
1516         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
1517         (pthread_cond_signal): Likewise.
1518         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
1519         Likewise.
1520         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
1521         Likewise.
1522         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
1523         Likewise.
1525 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
1527         * sysdeps/ieee754/dbl-64/s_finite.c
1528         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
1529         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
1530         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
1531         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
1532         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
1534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1535         (__gtsf2): Add as optional for libc.so.
1536         (__unordsf2): Likewise.
1537         (__signbit): Remove for libc.so.
1538         (__signbitl): Likewise.
1540 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1542         * iconvdata/bug-iconv11.c (test_ibm93x):
1543         Use %zu printf format specifier for size_t argument.
1545 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
1547         * math/gen-libm-test.pl (parse_ulps): Do not reduce
1548         already-recorded ulps.
1549         * sysdeps/arm/libm-test-ulps: Regenerated.
1550         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1551         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1552         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1554 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1555             Paul Pluzhnikov  <ppluzhnikov@google.com>
1557         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
1558         assembler not supporting AVX-512.
1560 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1562         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1564 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
1566         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1567         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1569         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1571         * sysdeps/arm/libm-test-ulps: Regenerated.
1573 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1575         [BZ #19451]
1576         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
1578 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1580         [BZ #19486]
1581         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
1582         * sysdeps/generic/fix-fp-int-convert-overflow.h
1583         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
1584         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
1585         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
1586         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
1587         Likewise.
1588         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
1589         Avoid conversions to long int where inexact exceptions
1590         could be raised.
1591         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
1592         Likewise.
1593         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
1594         Avoid conversions to long long int where inexact exceptions
1595         could be raised.
1596         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
1597         Likewise.
1599 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
1601         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
1602         * configure: Regenerated.
1604 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1606         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
1608 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
1610         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
1611         outside of comment.
1613 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1615         * nptl/tst-barrier1.c: Add description on first line.
1616         * nptl/tst-barrier2.c: Likewise.
1617         * nptl/tst-barrier3.c: Likewise.
1618         * nptl/tst-barrier4.c: Likewise.
1619         * nptl/tst-barrier5.c: Likewise.
1621 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1623         [BZ #18868]
1624         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1626 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1628         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1629         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1630         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1631         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1632         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1633         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1634         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1635         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1636         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1637         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1638         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1640 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1642         [BZ #13065]
1643         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1644         new implementation.
1645         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1646         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1647         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1648         (BARRIER_IN_THRESHOLD): New macro.
1649         * nptl/pthread_barrierattr_setpshared.c
1650         (pthread_barrierattr_setpshared): Clean up.
1651         * nptl/tst-barrier4.c: Correct comment.
1652         * nptl/tst-barrier5.c: New file.
1653         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1654         (gen-as-const-headers): Remove lowlevelbarrier.sym.
1655         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1656         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1657         * nptl/lowlevelbarrier.sym: Remove.
1658         * nptl/DESIGN-barrier.txt: Remove.
1659         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1660         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1661         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1662         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1663         error.
1664         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1665         implementation.
1667 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1669         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1670         (do_child): Mask SIGRTMIN while thr is running.
1672 2016-01-15  Martin Sebor  <msebor@redhat.com>
1674         [BZ #19432]
1675         * iconvdata/Makefile: Add bug-iconv11.
1676         * iconvdata/bug-iconv11.c: New test.
1677         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1678         * iconvdata/ibm933.c: Same.
1679         * iconvdata/ibm935.c: Same.
1680         * iconvdata/ibm937.c: Same.
1681         * iconvdata/ibm939.c: Same.
1683 2016-01-15  Martin Sebor  <msebor@redhat.com>
1685         [BZ #19443]
1686         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1687         [DEBUG] (_ufc_set_bits): Declare used.
1688         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1689         [DEBUG] (print_all): Declare used.
1690         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1691         operands of the ternary ?: expression to target type.
1692         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1693         calling the undeclared abort.
1694         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1696 2016-01-15  Martin Sebor  <msebor@redhat.com>
1698         [BZ #18755]
1699         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1700         warnings.
1701         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1702         (__gai_create_helper_thread): Same.
1703         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1704         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1705         to suppress -Wmaybe-uninitialized warnings.
1707 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1709         [BZ #19465]
1710         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1711         inside if.
1712         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1713         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1714         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1716 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1718         [BZ #19466]
1719         * time/tst-mktime2.c (time_t_max): Removed.
1720         (time_t_min): Likewise.
1721         (TYPE_SIGNED): New.
1722         (TYPE_MINIMUM): Likewise.
1723         (TYPE_MAXIMUM): Likewise.
1724         (TIME_T_MIN): Likewise.
1725         (TIME_T_MAX): Likewise.
1726         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1727         and TIME_T_MIN.
1728         (do_test): Likewise.
1730 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
1732         [BZ #19467]
1733         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1734         index_Fast_Unaligned_Load flag for Excavator family CPUs.
1736 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
1738         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1740 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
1742         * benchtests/Makefile (PYTHON): Define.
1743         (bench-func): Use $(PYTHON) to run python scripts.
1744         ($(objpfx)bench-%.c): Likewise.
1746 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
1748         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1749         leading slash when `file_name' is "/".
1751 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
1753         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1754         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1755         Likewise.
1756         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1757         Likewise.
1758         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1759         Likewise.
1760         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1761         enum constant and macro.
1762         (PTRACE_SETSIGMASK): Likewise.
1763         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1764         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1765         (PTRACE_GETSIGMASK): Likewise.
1766         (PTRACE_SETSIGMASK): Likewise.
1767         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1768         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1769         Likewise.
1770         (PTRACE_SETSIGMASK): Likewise.
1771         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1772         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1773         (PTRACE_GETSIGMASK): Likewise.
1774         (PTRACE_SETSIGMASK): Likewise.
1775         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1776         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
1777         Likewise.
1778         (PTRACE_SETSIGMASK): Likewise.
1779         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1780         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
1781         Likewise.
1782         (PTRACE_SETSIGMASK): Likewise.
1783         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1784         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
1785         Likewise.
1786         (PTRACE_SETSIGMASK): Likewise.
1787         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1789 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1790             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1792         [BZ #19439]
1793         * math/bits/mathcalls.h
1794         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
1795         prototype.
1796         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
1798 2016-01-11  Andreas Schwab  <schwab@suse.de>
1800         [BZ #19253]
1801         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
1802         cache when TZDEFRULES was used.
1803         * time/tst-tzname.c: New file.
1804         * time/Makefile (test): Add tst-tzname.
1805         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
1806         * timezone/Makefile (test-zones): Add $(posixrules-file).
1807         ($(testdata)/$(posixrules-file)): New rule.
1809 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
1811         Fix doc quoting problems with Texinfo 5
1812         Without this change, in the info file output, Texinfo 5 quotes code
1813         in text with undirected single quotes 'like this' and generates
1814         code examples that with many PDF readers cannot be cut out of PDFs
1815         and pasted into code.
1816         * manual/libc.texinfo: Configure the libc manual like the GNU
1817         Emacs manual, by using @documentencoding and setting
1818         txicodequoteundirected and txicodequotebacktick.  This way,
1819         Texinfo 5 quotes code in text with directed single quotes ‘like
1820         this’ and produces examples that can be cut out of PDFs.  This
1821         change causes Texinfo 5 to generate info files that contain UTF-8
1822         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
1823         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
1825 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1827         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
1828         __libc_tabort, __libc_tend): New wrappers that enforce compiler
1829         barriers to their respective compiler built-ins.
1830         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
1831         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
1832         * sysdeps/powerpc/sysdep.h: Likewise.
1833         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
1834         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
1835         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
1837 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
1839         * scripts/config.guess: Revert previous shebang change.
1840         * scripts/config.sub: Likewise.
1841         * scripts/mkinstalldirs: Likewise.
1843 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1845         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
1846         PPC_FEATURE2_HAS_IEEE128.
1847         * sysdeps/powerpc/dl-procinfo.c:
1848         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
1850 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
1852         [BZ #19415]
1853         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
1854         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
1855         (_dl_lookup_address): Rewrite using function resolver trampoline.
1856         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
1857         two bits in address.
1859 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1861         * longlong.h: Change !__SHMEDIA__ to
1862         (!defined (__SHMEDIA__) || !__SHMEDIA__).
1863         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
1865 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
1866             Joseph Myers  <joseph@codesourcery.com>
1867             Mark Shinwell  <shinwell@codesourcery.com>
1868             Andrew Stubbs  <ams@codesourcery.com>
1869             Rich Felker <dalias@libc.org>
1871         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
1873 2016-01-07  Richard Henderson  <rth@redhat.com>
1875         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
1877 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1879         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
1880         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
1881         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1882         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1883         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
1885 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1886             Joseph Myers  <joseph@codesourcery.com>
1888         * timezone/private.h: Update from tzcode 2015g.
1889         * timezone/tzfile.h: Likewise.
1890         * timezone/tzselect.ksh: Likewise.
1891         * timezone/zdump.c: Likewise.
1892         * timezone/zic.c: Likewise.
1893         * timezone/ialloc.c: Remove file.
1894         * timezone/scheck.c: Likewise.
1895         * timezone/Makefile (extra-objs): Remove variable.
1896         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
1897         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
1898         -Wno-maybe-uninitialized.
1899         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
1900         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
1901         (CFLAGS-ialloc.c): Remove variable.
1902         (CFLAGS-scheck.c): Likewise.
1903         * timezone/README: Update list of files from tzcode.
1905 2016-01-07  Khem Raj  <raj.khem@gmail.com>
1907         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
1908         instead of __fxprintf when _LIBC is undefined.
1910 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
1912         * catgets/test-gencat.sh: Remove space after shebang.
1913         * conform/GlibcConform.pm: Likewise.
1914         * conform/check-header-lists.sh: Likewise.
1915         * conform/conformtest.pl: Likewise.
1916         * conform/linknamespace.pl: Likewise.
1917         * conform/list-header-symbols.pl: Likewise.
1918         * debug/catchsegv.sh: Likewise.
1919         * elf/genrtldtbl.awk: Likewise.
1920         * elf/tst-pathopt.sh: Likewise.
1921         * elf/tst-rtld-load-self.sh: Likewise.
1922         * grp/tst_fgetgrent.sh: Likewise.
1923         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1924         * iconvdata/gen-8bit-gap.sh: Likewise.
1925         * iconvdata/gen-8bit.sh: Likewise.
1926         * iconvdata/run-iconv-test.sh: Likewise.
1927         * intl/tst-gettext.sh: Likewise.
1928         * intl/tst-gettext2.sh: Likewise.
1929         * intl/tst-gettext4.sh: Likewise.
1930         * intl/tst-gettext6.sh: Likewise.
1931         * intl/tst-translit.sh: Likewise.
1932         * io/ftwtest-sh: Likewise.
1933         * libio/test-freopen.sh: Likewise.
1934         * locale/gen-translit.pl: Likewise.
1935         * malloc/tst-mtrace.sh: Likewise.
1936         * manual/check-safety.sh: Likewise.
1937         * manual/libc-texinfo.sh: Likewise.
1938         * manual/tsort.awk: Likewise.
1939         * manual/xtract-typefun.awk: Likewise.
1940         * nptl/tst-cancel-wrappers.sh: Likewise.
1941         * nptl/tst-tls6.sh: Likewise.
1942         * posix/globtest.sh: Likewise.
1943         * posix/tst-getconf.sh: Likewise.
1944         * posix/wordexp-tst.sh: Likewise.
1945         * scripts/check-c++-types.sh: Likewise.
1946         * scripts/check-local-headers.sh: Likewise.
1947         * scripts/config.guess: Likewise.
1948         * scripts/config.sub: Likewise.
1949         * scripts/cpp: Likewise.
1950         * scripts/cross-test-ssh.sh: Likewise.
1951         * scripts/documented.sh: Likewise.
1952         * scripts/evaluate-test.sh: Likewise.
1953         * scripts/gen-libc-abis: Likewise.
1954         * scripts/gen-sorted.awk: Likewise.
1955         * scripts/list-fixed-bugs.py: Likewise.
1956         * scripts/merge-test-results.sh: Likewise.
1957         * scripts/mkinstalldirs: Likewise.
1958         * scripts/rellns-sh: Likewise.
1959         * scripts/test-installation.pl: Likewise.
1960         * scripts/update-copyrights: Likewise.
1961         * stdio-common/tst-printf.sh: Likewise.
1962         * stdio-common/tst-unbputc.sh: Likewise.
1963         * stdlib/tst-fmtmsg.sh: Likewise.
1964         * stdlib/tst-setcontext3.sh: Likewise.
1965         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
1966         * sysdeps/unix/make-syscalls.sh: Likewise.
1968 2016-01-06  John David Anglin  <dave.anglin@bell.net>
1970         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
1971         asm stw with atomic_exchange_rel.  Add explanatory comment.
1972         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1973         Likewise.
1975 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1977         [BZ #19122]
1978         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
1979         * sysdeps/generic/dl-unistd.h: New file.
1980         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
1982 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1984          [BZ #19122]
1985          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
1986          * sysdeps/generic/dl-mman.h: New file.
1987          * sysdeps/mach/hurd/dl-mman.h: Likewise.
1989 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
1991         * manual/texinfo.tex: Update to version 2016-01-04.21 with
1992         trailing whitespace removed.
1993         * scripts/config.guess: Update to version 2016-01-01.
1994         * scripts/config.sub: Update to version 2016-01-01.
1995         * scripts/move-if-change: Update from gnulib.
1997 2016-01-04  Anton Blanchard  <anton@samba.org>
1999         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
2000         for array indices.
2001         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
2003 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
2005         * NEWS: Update copyright dates.
2006         * catgets/gencat.c (print_version): Likewise.
2007         * csu/version.c (banner): Likewise.
2008         * debug/catchsegv.sh: Likewise.
2009         * debug/pcprofiledump.c (print_version): Likewise.
2010         * debug/xtrace.sh (do_version): Likewise.
2011         * elf/ldconfig.c (print_version): Likewise.
2012         * elf/ldd.bash.in: Likewise.
2013         * elf/pldd.c (print_version): Likewise.
2014         * elf/sotruss.sh: Likewise.
2015         * elf/sprof.c (print_version): Likewise.
2016         * iconv/iconv_prog.c (print_version): Likewise.
2017         * iconv/iconvconfig.c (print_version): Likewise.
2018         * locale/programs/locale.c (print_version): Likewise.
2019         * locale/programs/localedef.c (print_version): Likewise.
2020         * login/programs/pt_chown.c (print_version): Likewise.
2021         * malloc/memusage.sh (do_version): Likewise.
2022         * malloc/memusagestat.c (print_version): Likewise.
2023         * malloc/mtrace.pl: Likewise.
2024         * manual/libc.texinfo: Likewise.
2025         * nptl/version.c (banner): Likewise.
2026         * nscd/nscd.c (print_version): Likewise.
2027         * nss/getent.c (print_version): Likewise.
2028         * nss/makedb.c (print_version): Likewise.
2029         * posix/getconf.c (main): Likewise.
2030         * scripts/test-installation.pl: Likewise.
2031         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2033         * All files with FSF copyright notices: Update copyright dates
2034         using scripts/update-copyrights.
2035         * intl/plural.c: Regenerated.
2036         * locale/programs/charmap-kw.h: Likewise.
2037         * locale/programs/locfile-kw.h: Likewise.
2039 2016-01-02  Helge Deller  <deller@gmx.de>
2041         [BZ #19285]
2042         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
2043         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
2044         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
2045         (MADV_xxK_PAGES): Remove.
2047 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
2049         [BZ #15421]
2050         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
2051         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
2052         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
2053         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
2055 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
2057         [BZ #19408]
2058         * sysdeps/unix/sysv/linux/personality.c: New file.
2059         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
2060         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
2061         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
2062         (sysdep_routines): Add personality.
2063         (tests): Add tst-personality.
2064         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
2065         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
2066         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
2067         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
2068         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
2069         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
2070         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
2071         Likewise.
2072         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
2073         Likewise.
2074         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
2075         Likewise.
2076         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
2077         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
2078         Likewise.
2080 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
2082         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
2083         (PATH_ARM_SYSTYPE): Remove.
2084         (PATH_CPUINFO): Likewise.
2085         (IO_BASE_FOOTBRIDGE): Likewise.
2086         (IO_SHIFT_FOOTBRIDGE): Likewise.
2087         (struct platform): Likewise.
2088         (init_iosys): Remove compatibility code for 2.4 kernels.
2089         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
2091 2015-12-29  Florian Weimer  <fweimer@redhat.com>
2093         * malloc/tst-malloc-thread-fail.c: New file.
2094         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
2095         (tst-malloc-thread-fail): Link against libpthread.
2097 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
2099         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
2100         (get_parser): New function.
2101         (main): New function.
2103 2015-12-29  Rob Wu  <rob@robwu.nl>
2105         [BZ #19369]
2106         * resolv/res_init.c (__res_vinit): Reset defdname before use.
2108 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
2110         [BZ #19270]
2111         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2113 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
2115         [BZ #15421]
2116         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
2118 2015-12-23  Torvald Riegel  <triegel@redhat.com>
2120         [BZ #13690]
2121         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
2122         after releasing it.
2123         (__lll_robust_unlock): Likewise.
2124         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2125         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
2126         (lll_robust_unlock): Likewise.
2127         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
2128         Prevent warnings in callers.
2130 2015-12-23  Florian Weimer  <fweimer@redhat.com>
2132         * malloc/arena.c (list_lock): Update comment.
2134 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2136         * sysdeps/powerpc/hwcapinfo.c: Export symbol
2137         __parse_hwcap_and_convert_at_platform to libc.a.
2139 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2141         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
2142         platform and feature support for POWER9.
2143         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2144         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
2145         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
2146         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
2147         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
2148         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
2149         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
2150         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
2152 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2154         Harmonize generic stdio-lock support with nptl
2156         This fixes build when _IO_funlockfile is a macro, fixes build where
2157         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
2158         stack unwind.
2160         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
2161         _IO_release_lock ): Use cleanup attribute on new
2162         _IO_acquire_lock_file variable instead of assuming that
2163         _IO_release_lock will be called.
2164         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
2165         _IO_acquire_lock_needs_exceptions_enabled.
2166         (_IO_acquire_lock_clear_flags2): New macro.
2168 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2170         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2172 2015-12-21  Florian Weimer  <fweimer@redhat.com>
2174         [BZ #19182]
2175         * malloc/arena.c (list_lock): Document lock ordering requirements.
2176         (free_list_lock): New lock.
2177         (ptmalloc_lock_all): Comment on free_list_lock.
2178         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
2179         (detach_arena): Update comment.  free_list_lock is now needed.
2180         (_int_new_arena): Use free_list_lock around detach_arena call.
2181         Acquire arena lock after list_lock.  Add comment, including FIXME
2182         about incorrect synchronization.
2183         (get_free_list): Switch to free_list_lock.
2184         (reused_arena): Acquire free_list_lock around detach_arena call
2185         and attached threads counter update.  Add two FIXMEs about
2186         incorrect synchronization.
2187         (arena_thread_freeres): Switch to free_list_lock.
2188         * malloc/malloc.c (struct malloc_state): Update comments to
2189         mention free_list_lock.
2191 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2193         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
2194         Remove functions.
2195         (sloww, sloww1): Accept argument to offset quadrant.
2196         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
2197         quadrant.
2198         (__sin, __cos): Consolidate common code into new functions.
2199         (reduce_sincos_1, do_sincos_1): New functions.
2200         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2202         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
2203         code to new functions.
2204         (reduce_sincos_2, do_sincos_2): New functions.
2205         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2207         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
2208         common code for sincos.
2209         (__cos) [!IN_SINCOS]: Likewise.
2210         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
2211         New function.
2212         (__sincos): Use it.
2214 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
2216         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
2217         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
2218         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2220 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2222         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
2223         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
2224         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2225         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
2226         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2227         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
2228         index_Prefer_No_VZEROUPPER): New feature.
2229         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
2230         Prefer_No_VZEROUPPER for Knights Landing.
2232 015-12-18  Torvald Riegel  <triegel@redhat.com>
2234         * math/atest-exp2.c (mp_exp_m1): Remove.
2236 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2238         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
2239         syscalls.
2240         (__SYSCALL0): New macro.
2241         (__SYSCALL1): Likewise.
2242         (__SYSCALL2): Likewise.
2243         (__SYSCALL3): Likewise.
2244         (__SYSCALL4): Likewise.
2245         (__SYSCALL5): Likewise.
2246         (__SYSCALL6): Likewise.
2247         (__SYSCALL_CONCAT_X): Likewise.
2248         (__SYSCALL_CONCAT): Likewise.
2249         (__SYSCALL_DIST): Likewise.
2250         (__SYSCALL_CALL): Likewise.
2252 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
2254         [BZ #19363]
2255         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
2257 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2259         [BZ #19375]
2260         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
2261         negative subnormals.
2263 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
2265         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2266         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
2267         (INTERNAL_SYSCALL_NCS): Use it.
2268         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2270 2015-12-16  Florian Weimer  <fweimer@redhat.com>
2272         [BZ #19243]
2273         * malloc/arena.c (get_free_list): Remove assert and adjust
2274         reference count handling.  Add comment about reused_arena
2275         interaction.
2276         (reused_arena): Add comments abount get_free_list interaction.
2277         * malloc/tst-malloc-thread-exit.c: New file.
2278         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
2279         (tst-malloc-thread-exit): Link against libpthread.
2281 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2283         [BZ #19367]
2284         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
2285         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
2286         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2287         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
2288         (index_Prefer_MAP_32BIT_EXEC): Likewise.
2290 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2292         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
2293         Silvermont optimizations for Knights Landing.
2295 2015-12-15  Andreas Schwab  <schwab@suse.de>
2297         [BZ #17197]
2298         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
2299         immediately after emitting SI.
2300         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
2301         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
2302         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
2303         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
2304         * iconvdata/bug-iconv10.c: New file.
2305         * iconvdata/Makefile (tests): Add bug-iconv10.
2306         ($(objpfx)bug-iconv10.out): New rule.
2308 2015-12-15  Florian Weimer  <fweimer@redhat.com>
2310         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
2311         aliasing violation.
2313 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
2315         [BZ #18472]
2316         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
2317         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
2318         conditionals for them.
2319         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
2320         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
2321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2322         sys/kdaemon.h.
2323         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
2324         compat-only syscall, obsoleted in glibc 2.23.
2325         (create_module): Likewise.
2326         (get_kernel_syms): Likewise.
2327         (query_module): Likewise.
2328         (uselib): Likewise.
2329         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
2331 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
2333         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
2334         <linux/version.h>.
2335         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
2336         conditional code.
2337         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
2338         and ioshift_name initialization.
2340 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2342         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2343         Fix indentation.
2345 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2347         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
2349 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2351         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
2353 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
2354             Jakub Wilk  <jwilk@debian.org>
2356         [BZ #19347]
2357         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
2358         to change the group of the device to the tty group.
2360 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
2362         Split large string section; add truncation advice
2363         * manual/examples/strncat.c: Remove.
2364         This example was misleading, as the code would have undefined
2365         behavior if "hello" was longer than SIZE.  Anyway, the manual
2366         shouldn't encourage strncpy+strncat for this sort of thing.
2367         * manual/string.texi (Copying Strings and Arrays): Split into
2368         three sections Copying Strings and Arrays, Concatenating Strings,
2369         and Truncating Strings, as this section was way too long.  All
2370         cross-referenced changed.  Add advice about string-truncation
2371         functions.  Remove misleading strncat example.
2373 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
2375         * manual/nss.texi (NSS Modules Interface): Document
2376         NSS_STATUS_NOTFOUND and SUCCESS.
2378 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2380         [BZ 18568]
2381         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2382         201505L, for Unicode 8.
2384 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
2386         * locale/C-translit.h: Regenerate.
2388 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2390         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
2391         and U+0153.
2393 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
2395         [BZ #19351]
2396         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
2397         expanding log(1+z), compare z rather than its square with epsilon
2398         to determine when to avoid evaluating the expansion.
2400         [BZ #19350]
2401         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2402         Increase overflow threshold.
2404         [BZ #19349]
2405         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
2406         when small.
2408         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2409         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2410         New macro.
2411         [__LINUX_KERNEL_VERSION >= 0x040300]
2412         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2413         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2414         Likewise.
2415         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2416         Likewise.
2417         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2418         Likewise.
2419         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2420         Likewise.
2421         [__LINUX_KERNEL_VERSION >= 0x040300]
2422         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2423         [__LINUX_KERNEL_VERSION >= 0x040300]
2424         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2425         [__LINUX_KERNEL_VERSION >= 0x040300]
2426         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2427         [__LINUX_KERNEL_VERSION >= 0x040300]
2428         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2429         [__LINUX_KERNEL_VERSION >= 0x040300]
2430         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2431         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2432         Likewise.
2433         [__LINUX_KERNEL_VERSION >= 0x040300]
2434         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2435         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2436         Likewise.
2437         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2438         Likewise.
2439         [__LINUX_KERNEL_VERSION >= 0x040300]
2440         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2441         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2442         Likewise.
2443         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2444         Likewise.
2445         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2446         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
2447         Likewise.
2448         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
2449         Likewise.
2450         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2451         Likewise.
2452         [__LINUX_KERNEL_VERSION >= 0x040300]
2453         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2454         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2455         Likewise.
2456         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2457         Likewise.
2458         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2459         Likewise.
2460         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2461         Likewise.
2462         [__LINUX_KERNEL_VERSION >= 0x040300]
2463         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2464         [__LINUX_KERNEL_VERSION >= 0x040300]
2465         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2466         [__LINUX_KERNEL_VERSION >= 0x040300]
2467         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2468         [__LINUX_KERNEL_VERSION >= 0x040300]
2469         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2470         [__LINUX_KERNEL_VERSION >= 0x040300]
2471         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2472         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2473         Likewise.
2474         [__LINUX_KERNEL_VERSION >= 0x040300]
2475         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2476         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2477         Likewise.
2478         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2479         Likewise.
2480         [__LINUX_KERNEL_VERSION >= 0x040300]
2481         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2482         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2483         Likewise.
2484         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2485         Likewise.
2486         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2487         (__ASSUME_SOCKET_SYSCALL): Likewise.
2488         (__ASSUME_BIND_SYSCALL): Likewise.
2489         (__ASSUME_CONNECT_SYSCALL): Likewise.
2490         (__ASSUME_LISTEN_SYSCALL): Likewise.
2491         (__ASSUME_ACCEPT_SYSCALL): Likewise.
2492         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2493         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2494         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2495         (__ASSUME_SEND_SYSCALL): Likewise.
2496         (__ASSUME_SENDTO_SYSCALL): Likewise.
2497         (__ASSUME_RECV_SYSCALL): Likewise.
2498         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2499         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
2500         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2501         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2502         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2503         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2504         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2505         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
2506         Likewise.
2507         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
2508         Likewise.
2509         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
2510         Likewise.
2511         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
2512         Likewise.
2513         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
2514         Likewise.
2515         [__LINUX_KERNEL_VERSION >= 0x020625]
2516         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2517         [__LINUX_KERNEL_VERSION >= 0x020625]
2518         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2519         [__LINUX_KERNEL_VERSION >= 0x020625]
2520         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2521         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
2522         Likewise.
2523         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
2524         Likewise.
2525         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
2526         Likewise.
2527         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
2528         Likewise.
2529         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
2530         Likewise.
2531         [__LINUX_KERNEL_VERSION >= 0x020625]
2532         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2533         [__LINUX_KERNEL_VERSION >= 0x020625]
2534         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2535         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
2536         Likewise.
2537         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
2538         Likewise.
2540 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2542         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
2543         record the current if the current ABI and CPU support the FP64
2544         extension.
2545         (has-modd-spreg): Define to record the current if the current ABI and
2546         CPU support 32-bit floating point values in odd FPU registers.
2547         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2548         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
2549         $(has-modd-spreg) equals yes.
2550         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
2551         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
2552         $(has-modd-spreg) equal yes.
2554 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2556         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
2557         basename.
2559 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
2561         * benchtests/Makefile (bench-math): Move ffs and ffsll...
2562         (bench-string): ... here.
2563         (bench): Add bench-string.
2564         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
2565         to *-benchset to reflect what they are.
2566         (benchset): Adjust.
2568         * benchtests/sincos-inputs: Add inputs from sin-inputs and
2569         cos-inputs.
2571 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
2573         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
2574         __attribute__ ((__simd__)) for vector math function declarations.
2576 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2578         Fix typo in strncat, wcsncat manual entries
2579         * manual/string.texi (Copying and Concatenation): Fix typos in
2580         sample implementations of strncat and wcsncat, by having them use
2581         the old value of the destination length, not the new one.
2583 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
2585         [BZ #16961]
2586         [BZ #16962]
2587         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
2588         string on the stack for strtod.
2589         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
2590         a string on the stack for strtof.
2591         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
2592         constructing a string on the stack for strtold.
2593         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
2594         __strtold_nan to GLIBC_PRIVATE.
2595         * math/test-nan-overflow.c: New file.
2596         * math/test-nan-payload.c: Likewise.
2597         * math/Makefile (tests): Add test-nan-overflow and
2598         test-nan-payload.
2600 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2602         Consistency about byte vs character in string.texi
2603         * manual/string.texi (String and Array Utilities):
2604         Distinguish more carefully among bytes, multibyte characters,
2605         and wide characters.  Use "byte" when talking about C 'char',
2606         to distinguish it more clearly from multibyte characters.
2607         Say "wide character" or "multibyte character" instead of
2608         "character", when a wide or multibyte character is intended.
2609         Similarly for "multibyte string" versus "string".
2610         Define these terms more carefully.
2612 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
2614         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
2615         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
2616         Likewise.
2617         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2618         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2619         * sysdeps/sh/math_private.h: New file.
2620         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2621         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2622         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2623         long double function name.
2624         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2625         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2626         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2627         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2628         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2630         Remove __finitel, __isinfl, and __isnanl.
2631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2632         Likewise.
2633         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2635         Remove __finitel.
2636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2637         Likewise.
2638         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2640 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
2642         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2643         installed libmvec_nonshared.a.
2645 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2647         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2648         (sysdep_routines): Likewise.
2649         (sysdep-rtld-routines): Likewise.
2650         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2651         [$(subdir) = nptl](tests-static): test-get_hwcap-static
2652         * sysdeps/powerpc/Versions: Added new
2653         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2654         * sysdeps/powerpc/hwcapinfo.c: New file.
2655         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2656         and parse hwcap, hwcap2 and platform number information.
2657         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
2658         to store HWCAP+HWCAP2 and platform number.
2659         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2660         for HWCAP+HWCAP2 and platform number in the TCB.
2661         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
2662         the HWCAP, HWCAP2 and platform number in the TCB.
2663         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2664         (TLS_INIT_TP): Included calls to add the hwcap and
2665         at_platform values in the TCB in TP initialization.
2666         (TLS_DEFINE_INIT_TP): Likewise.
2667         (THREAD_GET_HWCAP): New macro.
2668         (THREAD_SET_HWCAP): Likewise.
2669         (THREAD_GET_AT_PLATFORM): Likewise.
2670         (THREAD_SET_AT_PLATFORM): Likewise.
2671         * sysdeps/powerpc/powerpc32/dl-machine.h:
2672         (dl_platform_init): New function that calls
2673         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2674         powerpc32.
2675         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2676         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
2677         this functionality, static linking case.
2678         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
2679         linking case.
2680         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2681         __parse_hwcap_and_convert_at_platform for the static linking case.
2682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2683         Included the new __parse_hwcap_and_convert_at_platform symbol in the
2684         ABI list for GLIBC 2.23.
2685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2686         Likewise.
2687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2688         Likewise.
2690 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
2692         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2693         * configure: Regenerate.
2694         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2695         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
2697 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
2699         * iconvdata/ibm930.c: Add comment explaining encoding uses.
2700         * iconvdata/ibm933.c: Likewise.
2701         * iconvdata/ibm935.c: Likewise.
2702         * iconvdata/ibm937.c: Likewise.
2703         * iconvdata/ibm939.c: Likewise.
2705 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2707         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2708         pthread_join.
2709         * nptl/tst-cancel21.c (tf): Likewise.
2711 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
2713         [BZ #19313]
2714         * bits/typesizes.h (__CPU_MASK_TYPE): New.
2715         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2716         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2717         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2718         Likewise.
2719         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2720         Likewise.
2721         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2722         Likewise.
2723         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2724         Likewise.
2725         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2726         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2727         unsigned long int with __CPU_MASK_TYPE.
2729 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2731         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2733 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
2735         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2736         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2737         t512.x.
2738         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2740 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
2742         [BZ #19214]
2743         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2744         argument to return extended model.  Update family and model
2745         with extended family and model when family == 0x0f.
2746         (init_cpu_features): Updated.
2748 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2750         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2751         signed off_t, so 32bit bigger than 2GiB values are fine actually.
2753         * sysdeps/mach/hurd/mmap64.c: New file.
2755 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
2757         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2758         rights for its main user thread in NEWTASK.
2760 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
2762         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2763         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2765 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
2767         [BZ #14259]
2768         * Makeconfig: Rename localedir to complocaledir.
2769         Rename inst_localedir to inst_complocaledir.
2770         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2771         * config.make.in: Use complocaledir and libc_cv_complocaledir.
2772         * configure.ac: Use libc_cv_complocaledir.
2773         * configure: Regenerate.
2774         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
2775         -DCOMPLOCALEDIR.
2776         * locale/findlocale.c: Use COMPLOCALEDIR.
2777         * locale/loadarchive.c: Likewise.
2778         * locale/programs/locale.c: Likewise.
2779         * locale/programs/localedef.c: Likewise.
2780         * locale/programs/locarchive.c: Likewise.
2781         * localedata/Makefile: Use inst_complocaledir.
2782         * sysdeps/gnu/configure: Regenerate.
2783         * sysdeps/hppa/configure: Regenerate.
2784         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2785         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2787         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2788         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2789         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2790         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2792 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
2794         [BZ #19058]
2795         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
2796         AS_NEEDED.
2797         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
2798         workaround.
2799         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
2800         libmvec-static-only-routines): Added new file.
2801         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
2803 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2805         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
2806         of interrupted RPC instead of restoring it.
2808         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
2809         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
2810         libc_hidden_def.
2811         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
2812         into initialized data instead of common. Define rtld_hidden_data_def.
2813         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
2814         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
2815         libc_hidden_def.
2816         (if_freenameindex): Add libc_hidden_weak.
2817         (if_nameindex): Add libc_hidden_weak.
2818         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
2819         __open64.
2820         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
2821         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
2822         * sysdeps/mach/nanosleep.c: Include <time.h>
2823         (__nanosleep): Rename to __libc_nanosleep.
2824         (__nanosleep): Add weak_alias.
2825         (nanosleep): Update alias.
2827 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
2829         * stdlib/strtod_nan.c: New file.
2830         * stdlib/strtod_nan_double.h: Likewise.
2831         * stdlib/strtod_nan_float.h: Likewise.
2832         * stdlib/strtod_nan_main.c: Likewise.
2833         * stdlib/strtod_nan_narrow.h: Likewise.
2834         * stdlib/strtod_nan_wide.h: Likewise.
2835         * stdlib/strtof_nan.c: Likewise.
2836         * stdlib/strtold_nan.c: Likewise.
2837         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
2838         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
2839         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
2840         * wcsmbs/wcstod_nan.c: Likewise.
2841         * wcsmbs/wcstof_nan.c: Likewise.
2842         * wcsmbs/wcstold_nan.c: Likewise.
2843         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
2844         strtold_nan.
2845         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
2846         wcstof_nan.
2847         * include/stdlib.h (__strtof_nan): Declare and use
2848         libc_hidden_proto.
2849         (__strtod_nan): Likewise.
2850         (__strtold_nan): Likewise.
2851         (__wcstof_nan): Likewise.
2852         (__wcstod_nan): Likewise.
2853         (__wcstold_nan): Likewise.
2854         * include/wchar.h (____wcstoull_l_internal): Declare.
2855         * stdlib/strtod_l.c: Do not include <ieee754.h>.
2856         (____strtoull_l_internal): Remove declaration.
2857         (STRTOF_NAN): Define macro.
2858         (SET_MANTISSA): Remove macro.
2859         (STRTOULL): Likewise.
2860         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
2861         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
2862         (STRTOF_NAN): Define macro.
2863         (SET_MANTISSA): Remove macro.
2864         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
2865         (SET_MANTISSA): Remove macro.
2866         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
2867         macro.
2868         (SET_MANTISSA): Remove macro.
2869         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
2870         macro.
2871         (SET_MANTISSA): Remove macro.
2872         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
2873         (SET_MANTISSA): Remove macro.
2874         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
2875         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
2876         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
2878         [BZ #19266]
2879         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
2880         upper case and lower case letters inside NAN(), not using TOLOWER.
2881         * stdlib/tst-strtod-nan-locale-main.c: New file.
2882         * stdlib/tst-strtod-nan-locale.c: Likewise.
2883         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
2884         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
2885         Depend on $(gen-locales).
2886         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
2887         * wcsmbs/tst-wcstod-nan-locale.c: New file.
2888         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
2889         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
2890         Depend on $(gen-locales).
2891         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
2893 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
2895         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
2897         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
2899         __finitel, __isinfl, and __isnanl.
2900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2901         Likewise.
2902         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
2904         __finitel.
2905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2906         Likewise.
2907         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2909 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2911         * malloc/memusage.c (me): Remove redundant getenv call.
2913 2015-10-24  Florian Weimer  <fweimer@redhat.com>
2915         [BZ #19143]
2916         [BZ #19164]
2917         * nptl/check-cpuset.h: Remove.
2918         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
2919         Remove CPU set size check.
2920         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
2921         Likewise.
2922         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
2923         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2924         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
2925         (__pthread_setaffinity_new): Remove CPU set size check.
2926         * sysdeps/unix/sysv/linux/sched_setaffinity.c
2927         (__kernel_cpumask_size): Remove.
2928         (__sched_setaffinity_new): Remove CPU set size check.
2929         * manual/threads.texi (Default Thread Attributes): Remove stale
2930         reference to check_cpuset_attr, determine_cpumask_size in comment.
2931         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
2932         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
2933         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
2934         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
2935         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
2936         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
2937         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
2938         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
2939         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
2940         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
2941         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
2942         skeleton test file.
2943         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
2944         tst-affinity-pid.
2946 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2948         * scripts/update-abilist.sh: New file.
2949         * Makefile (+subdir_targets): Add subdir_update-all-abi.
2950         * Makerules (update-all-abi-%, update-all-abi)
2951         (subdir_update-all-abi): New targets.
2952         * elf/Makefile (update-all-abi): New target.
2954 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2956         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
2957         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
2958         (__libc_lock_define_initialized): Use it.
2959         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
2960         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
2961         * malloc/malloc.c (main_arena): Likewise.
2962         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2963         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2965 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
2967         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2968         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
2969         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2970         (PTRACE_O_MASK): Update value.
2971         * sysdeps/unix/sysv/linux/ia64/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.
2975         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2976         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2977         (PTRACE_O_MASK): Update value.
2978         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2979         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2980         (PTRACE_O_MASK): Update value.
2981         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
2982         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2983         (PTRACE_O_MASK): Update value.
2984         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
2985         New value in enum __ptrace_setoptions.
2986         (PTRACE_O_MASK): Update value.
2987         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
2988         New value in enum __ptrace_setoptions.
2989         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2990         (PTRACE_O_MASK): Update value.
2992         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
2993         New macro.
2994         (PACKET_AUXDATA): Likewise.
2995         (PACKET_ORIGDEV): Likewise.
2996         (PACKET_VERSION): Likewise.
2997         (PACKET_HDRLEN): Likewise.
2998         (PACKET_RESERVE): Likewise.
2999         (PACKET_TX_RING): Likewise.
3000         (PACKET_LOSS): Likewise.
3001         (PACKET_VNET_HDR): Likewise.
3002         (PACKET_TX_TIMESTAMP): Likewise.
3003         (PACKET_TIMESTAMP): Likewise.
3004         (PACKET_FANOUT): Likewise.
3005         (PACKET_TX_HAS_OFF): Likewise.
3006         (PACKET_QDISC_BYPASS): Likewise.
3007         (PACKET_ROLLOVER_STATS): Likewise.
3008         (PACKET_FANOUT_DATA): Likewise.
3009         (PACKET_MR_UNICAST): Likewise.
3011         [BZ #19242]
3012         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
3013         (TOUPPER): Likewise.
3014         * stdlib/tst-strtol-locale-main.c: New file.
3015         * stdlib/tst-strtol-locale.c: Likewise.
3016         * stdlib/Makefile (tests): Add tst-strtol-locale.
3017         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
3018         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
3019         Depend on $(gen-locales).
3020         * wcsmbs/tst-wcstol-locale.c: New file.
3021         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
3022         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
3023         tr_TR.ISO-8859-9.
3024         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
3025         Depend on $(gen-locales).
3027 2015-11-20  Roland McGrath  <roland@hack.frob.com>
3029         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
3030         __glibc_likely instead of __builtin_expect.  After falling back to
3031         dyncode_create in a non-ET_DYN case, use the allocate_code_data
3032         system interface to register the code pages as occupied.
3034 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
3036         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3037         [!ARM_MATH_PRIVATE_H].
3038         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
3039         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3040         [!HPPA_MATH_PRIVATE_H].
3041         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
3042         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
3043         to [!I386_MATH_PRIVATE_H].
3044         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
3045         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
3046         Change guard to [!M68K_MATH_PRIVATE_H].
3047         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
3048         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
3049         guard to [!MICROBLAZE_MATH_PRIVATE_H].
3050         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
3051         macro.
3052         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3053         [!MIPS_MATH_PRIVATE_H].
3054         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
3055         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3056         [!NIO2_MATH_PRIVATE_H].
3057         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
3058         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3059         [!TILE_MATH_PRIVATE_H].
3060         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
3062         [BZ #15421]
3063         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
3064         initialize with 0 and define as weak alias of __signgam.
3065         * include/math.h [!_ISOMAC] (__signgam): Declare.
3066         * math/Makefile (libm-calls): Add w_lgamma_compat.
3067         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
3068         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
3069         test-signgam-ullong-init.
3070         (tests-static): Add test-signgam-uchar-static,
3071         test-signgam-uchar-init-static, test-signgam-uint-static,
3072         test-signgam-uint-init-static, test-signgam-ullong-static and
3073         test-signgam-ullong-init-static.
3074         (CFLAGS-test-signgam-uchar.c): New variable.
3075         (CFLAGS-test-signgam-uchar-init.c): Likewise.
3076         (CFLAGS-test-signgam-uchar-static.c): Likewise.
3077         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
3078         (CFLAGS-test-signgam-uint.c): Likewise.
3079         (CFLAGS-test-signgam-uint-init.c): Likewise.
3080         (CFLAGS-test-signgam-uint-static.c): Likewise.
3081         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
3082         (CFLAGS-test-signgam-ullong.c): Likewise.
3083         (CFLAGS-test-signgam-ullong-init.c): Likewise.
3084         (CFLAGS-test-signgam-ullong-static.c): Likewise.
3085         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
3086         * math/Versions (libm): Add GLIBC_2.23.
3087         * math/lgamma-compat.h: New file.
3088         * math/test-signgam-main.c: Likewise.
3089         * math/test-signgam-uchar-init-static.c: Likewise.
3090         * math/test-signgam-uchar-init.c: Likewise.
3091         * math/test-signgam-uchar-static.c: Likewise.
3092         * math/test-signgam-uchar.c: Likewise.
3093         * math/test-signgam-uint-init-static.c: Likewise.
3094         * math/test-signgam-uint-init.c: Likewise.
3095         * math/test-signgam-uint-static.c: Likewise.
3096         * math/test-signgam-uint.c: Likewise.
3097         * math/test-signgam-ullong-init-static.c: Likewise.
3098         * math/test-signgam-ullong-init.c: Likewise.
3099         * math/test-signgam-ullong-static.c: Likewise.
3100         * math/test-signgam-ullong.c: Likewise.
3101         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
3102         wrapper of w_lgamma_main.c.
3103         * math/w_lgamma_compat.c: New file.
3104         * math/w_lgamma_compatf.c: Likewise.
3105         * math/w_lgamma_compatl.c: Likewise.
3106         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
3107         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3108         defining compatibility symbols.
3109         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
3110         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
3111         wrapper of w_lgammaf_main.c.
3112         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
3113         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3114         defining compatibility symbols.
3115         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
3116         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
3117         wrapper of w_lgammal_main.c.
3118         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
3119         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3120         defining compatibility symbols.
3121         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
3122         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
3123         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
3124         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
3125         <lgamma-compat.h>.
3126         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
3127         (__ieee754_gamma): Define as alias.
3128         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
3129         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
3130         <lgamma-compat.h>.
3131         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
3132         (__ieee754_gammaf): Define as alias.
3133         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
3134         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
3135         <lgamma-compat.h>.
3136         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
3137         (__ieee754_gammal): Define as alias.
3138         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
3139         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
3140         <math/w_lgamma_compat.c>.
3141         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
3142         Define as alias of __lgamma_compat and use in defining lgammal.
3143         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
3144         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
3145         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
3146         (USE_AS_COMPAT): New macro.
3147         (LGAMMA_OLD_VER): Undefine and redefine.
3148         (lgammal): Do not define here.
3149         (gammal): Only define here if [GAMMA_ALIAS].
3150         * conform/linknamespace.pl (@whitelist): Remove signgam.
3151         * sysdeps/nacl/libm.abilist: Update.
3152         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3153         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3154         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3155         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3156         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3157         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3158         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3159         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3160         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3161         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3162         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3163         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3165         Likewise.
3166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3167         Likewise.
3168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3169         Likewise.
3170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3171         Likewise.
3172         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3173         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3174         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3175         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3176         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3178         Likewise.
3179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3180         Likewise.
3181         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3182         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3183         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3185 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3187         [BZ #16364]
3188         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
3189         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
3191 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3193         * sysdeps/s390/fpu/bits/mathinline.h:
3194         Use __asm__ [__volatile__] instead of asm [volatile].
3195         * sysdeps/s390/abort-instr.h: Likewise.
3196         * sysdeps/s390/atomic-machine.h: Likewise.
3197         * sysdeps/s390/bits/string.h: Likewise.
3198         * sysdeps/s390/dl-tls.h: Likewise.
3199         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3200         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3201         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3202         * sysdeps/s390/fpu/fesetround.c: Likewise.
3203         * sysdeps/s390/fpu/fpu_control.h: Likewise.
3204         * sysdeps/s390/fpu/s_fma.c: Likewise.
3205         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
3206         * sysdeps/s390/memusage.h: Likewise.
3207         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
3208         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3209         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3210         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3211         * sysdeps/s390/nptl/tls.h: Likewise.
3212         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
3213         * sysdeps/s390/s390-32/backtrace.c: Likewise.
3214         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3215         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3216         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3217         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3218         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
3219         * sysdeps/s390/s390-64/backtrace.c: Likewise.
3220         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3221         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
3222         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3223         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3224         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3225         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
3226         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3227         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3228         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
3229         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3230         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
3231         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3232         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
3233         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3234         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
3236 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3237             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3239         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3240         Add lwarx hint, and use macro for acquire instruction.
3241         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3242         Likewise.
3243         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
3244         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
3245         update to use new atomic macros.
3247 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3249         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3250         (__lll_trylock_elision): Fix setting of adapt_count.
3251         * sysdeps/unix/sysv/linux/powerpc/htm.h
3252         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
3253         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
3254         (_ABORT_SYSCALL): Renumber, and clarify definition.
3255         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
3257 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3259         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
3260         after system headers to prevent MIN/MAX redefinition.  Define
3261         HAVE_ALLOCA to preserve builtin alloca usage.
3263 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3265         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
3266         static and don't set or restore rounding.
3267         (__cos)[IN_SINCOS]: Likewise.
3268         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
3269         (__sincos): Set and restore rounding mode.  Remove check for infinite
3270         or NaN input.
3272         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
3274         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
3275         as used.
3277 2015-11-16  Florian Weimer  <fweimer@redhat.com>
3279         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
3281 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
3283         * config.make.in (have-glob-dat-reloc): New.
3284         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
3285         target supports GLOB_DAT relocaton. AC_SUBST.
3286         * configure: Regenerated.
3287         * elf/Makefile (tests): Add tst-prelink.
3288         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3289         (tst-prelink-ENV): New.
3290         ($(objpfx)tst-prelink-conflict.out): Likewise.
3291         ($(objpfx)tst-prelink-cmp.out): Likewise.
3292         * sysdeps/x86/tst-prelink.c: Moved to ...
3293         * elf/tst-prelink.c: Here.
3294         * sysdeps/x86/tst-prelink.exp: Moved to ...
3295         * elf/tst-prelink.exp: Here.
3296         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
3297         (tst-prelink-ENV): Removed.
3298         ($(objpfx)tst-prelink-conflict.out): Likewise.
3299         ($(objpfx)tst-prelink-cmp.out): Likewise.
3300         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
3302 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
3304         [BZ #14551]
3305         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
3306         (__mpn_construct_long_double): If high part overflows to infinity,
3307         set errno and recompute overflowed result of the correct sign.
3308         * sysdeps/ieee754/ldbl-128ibm/Makefile
3309         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
3310         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
3311         $(libm).
3312         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
3314 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
3316         [BZ #15479]
3317         [BZ #19238]
3318         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
3319         floating-point state after first operation on input.  Restore full
3320         state rather than just rounding mode.
3321         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3322         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3323         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3325         [BZ #19235]
3326         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
3327         add 0.5 to integer arguments.
3328         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
3329         Likewise.
3330         (.LC2): New object.
3332 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
3334         * scripts/pylintrc (reports): Set to no.
3336 2015-11-10  Roland McGrath  <roland@hack.frob.com>
3338         * elf/dl-load.c (open_verify): Take new argument FD.
3339         Skip __open call if passed FD is not -1.
3340         (_dl_map_object, open_path): Update callers.
3341         * elf/dl-sysdep-open.h: New file.
3342         * elf/dl-load.c: Include it.
3343         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
3344         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
3345         * sysdeps/nacl/dl-sysdep-open.h: New file.
3346         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
3347         from libc to rtld.
3349 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3351         [BZ #19228]
3352         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
3353         and restore full floating-point state.
3354         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3355         Likewise.
3356         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3357         Likewise.
3358         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3359         Likewise.
3360         * math/test-nearbyint-except-2.c: New file.
3361         * math/Makefile (tests): Add test-nearbyint-except-2.
3363 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
3365         [BZ #19178]
3366         * sysdeps/x86/Makefile (tests): Add tst-prelink.
3367         (tst-prelink-ENV): New.
3368         ($(objpfx)tst-prelink-conflict.out): Likewise.
3369         ($(objpfx)tst-prelink-cmp.out): Likewise.
3370         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3371         * sysdeps/x86/tst-prelink.c: New file.
3372         * sysdeps/x86/tst-prelink.exp: Likewise.
3374 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3376         * math/auto-libm-test-in: Add another test of pow.
3377         * math/auto-libm-test-out: Regenerated.
3378         * math/libm-test.inc (pow_test_data): Add another test.
3380 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3382         [BZ #19219]
3383         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
3384         weak_alias to nearbyintl.
3386 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3388         * sysdeps/aarch64/bits/string.h: New file.
3389         (_STRING_ARCH_unaligned): Define.
3391 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3393         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
3394         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3395         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3396         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
3397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
3399 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
3401         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
3402         for original name of the DSO.  Add it to the name list of the DSO
3403         if it is actually given.
3404         (_dl_map_object): Keep track of whether an audit module rewrote
3405         the file name.  If yes, pass the original name to
3406         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
3407         debugging is enabled, log the change of the file name.
3408         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
3409         _dl_map_object_from_fd.
3410         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
3411         * elf/tst-audit11.c: New file
3412         * elf/tst-auditmod11.c: New file.
3413         * elf/tst-audit11mod1.c: New file.
3414         * elf/tst-audit11mod2.c: New file.
3415         * elf/tst-audit11mod2.map: New file.
3416         * elf/tst-audit12.c: New file
3417         * elf/tst-auditmod12.c: New file.
3418         * elf/tst-audit12mod1.c: New file.
3419         * elf/tst-audit12mod2.c: New file.
3420         * elf/tst-audit12mod2.map: New file.
3421         * elf/tst-audit12mod3.c: New file.
3423 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3425         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
3426         Don't create weak aliases,
3427         because versioned symbols are created later.
3428         * sysdeps/s390/s390-32/setjmp.S
3429         (setjmp, _setjmp): Remove weak and rename to an unique name
3430         in SHARED case due to existing versioned symbols.
3431         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3432         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
3433         (getcontext): Create weak alias only in non SHARED case.
3434         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3436 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3438         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
3439         (__ASSUME_*_SYSCALL) Define new macros.
3440         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
3441         Remove socketcall syscalls.
3442         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
3443         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
3444         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
3445         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
3446         * sysdeps/unix/sysv/linux/send.c (__libc_send):
3447         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
3449 2015-11-09  Florian Weimer  <fweimer@redhat.com>
3451         [BZ #12926]
3452         Terminate process on invalid netlink response.
3453         * sysdeps/unix/sysv/linux/netlinkaccess.h
3454         (__netlink_assert_response): Declare.
3455         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
3456         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
3457         (sysdep_routines): Add netlink_assert_response.
3458         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
3459         __netlink_assert_response.
3460         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3461         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3462         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
3463         __netlink_assert_response.
3465 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
3467         [BZ #19178]
3468         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
3469         (RTYPE_CLASS_PLT): Likewise.
3470         (RTYPE_CLASS_COPY): Likewise.
3471         (RTYPE_CLASS_TLS): Likewise.
3472         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
3473         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
3474         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
3475         DL_DEBUG_PRELINK.
3477 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
3479         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
3480         calls with argument -0.5.
3481         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
3483         * configure.ac (libc_cv_z_nodelete): Remove configure test.
3484         (libc_cv_z_nodlopen): Likewise.
3485         (libc_cv_z_initfirst): Likewise.
3486         * configure: Regenerated.
3488 2015-11-06  Florian Weimer  <fweimer@redhat.com>
3490         Simplify abilist format to be line-based.
3491         * scripts/abilist.awk: Collect descriptors in the descs variable.
3492         (emit): Write descs variable and sort it
3493         externally, with sort.
3494         * sysdeps/**/*.abilist: Convert to new format.
3496 2015-11-06  Mark Wielaard  <mjw@redhat.com>
3498         [BZ #11460]
3499         * io/Makefile (routines): Add fts64.
3500         (tests): Add tst-fts and tst-fts-lfs.
3501         (CFLAGS-fts64.c): New.
3502         * io/Versions (GLIBC_2.23): New.
3503         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
3504         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
3505         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
3506         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
3507         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
3508         (FTSENT64): Likewise.
3509         (fts64_children): Likewise.
3510         (fts64_close): Likewise.
3511         (fts64_open): Likewise.
3512         (fts64_read): Likewise.
3513         (fts64_set): Likewise.
3514         * io/fts64.c: New file.
3515         * io/tst-fts.c: New test.
3516         * io/tst-fts-lfs.c: Likewise.
3517         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
3518         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
3519         fts64_set.
3520         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3521         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3522         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3523         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3524         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3525         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3526         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3527         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3528         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3529         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3530         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3531         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3532         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3534         Likewise.
3535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3536         Likewise.
3537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3539         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3540         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3541         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3542         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3543         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3546         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3547         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3548         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3549         * sysdeps/wordsize-64/fts.c: New file.
3550         * sysdeps/wordsize-64/fts64.c: Likewise.
3551         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
3552         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
3553         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
3554         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
3556 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3558         * math/libm-test.inc (NON_FINITE): New macro.
3559         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
3560         * math/gen-libm-test.pl (show_exceptions): Add argument
3561         $non_finite.
3562         (parse_args): Update call to show_exceptions.
3563         * math/test-math-finite.h: New file.
3564         * math/test-math-no-finite.h: Likewise.
3565         * math/test-double-finite.c: Likewise.
3566         * math/test-float-finite.c: Likewise.
3567         * math/test-ldouble-finite.c: Likewise.
3568         * math/test-double.c: Include "test-math-no-finite.h".
3569         * math/test-float.c: Include "test-math-no-finite.h".
3570         * math/test-ldouble.c: Include "test-math-no-finite.h".
3571         * math/test-math-inline.h (TEST_FINITE): New macro.
3572         * math/test-math-vector.h (TEST_FINITE): Likewise.
3573         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
3574         (libm-tests): Add test-float-finite and test-double-finite.
3575         ($(objpfx)test-float-finite.o): New dependency on
3576         $(objpfx)libm-test.stmp.
3577         ($(objpfx)test-double-finite.o): Likewise.
3578         ($(objpfx)test-ldouble-finite.o): Likewise.
3579         (libm-test-no-inline-cflags): New variable.
3580         (libm-test-finite-cflags): Likewise.
3581         (CFLAGS-test-float-finite.c): Likewise.
3582         (CFLAGS-test-double-finite.c): Likewise.
3583         (CFLAGS-test-ldouble-finite.c): Likewise.
3584         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
3585         (CFLAGS-test-double.c): Likewise.
3586         (CFLAGS-test-ldouble.c): Likewise.
3588 2015-11-05  Roland McGrath  <roland@hack.frob.com>
3590         * io/fcntl.c (__fcntl): Add ... to prototype.
3591         * misc/ioctl.c (__ioctl): Likewise.
3592         * misc/syscall.c (syscall): Likewise.
3594 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3596         * scripts/list-fixed-bugs.py: New file.
3598         [BZ #19213]
3599         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
3600         returned for argument 1.
3601         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
3602         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
3603         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
3604         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
3605         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
3606         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
3608         [BZ #19211]
3609         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
3610         __USE_XOPEN], not if [!__USE_ISOC99].
3611         (lgammaf): Likewise.
3612         (lgammal): Likewise.
3613         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
3614         (gammaf): Likewise.
3615         (gammal): Likewise.
3616         * math/test-signgam-finite-c11.c: New file.
3617         * math/test-signgam-finite-c99.c: Likewise.
3618         * math/test-signgam-finite.c: Likewise.
3619         * math/Makefile (tests): Add test-signgam-finite,
3620         test-signgam-finite-c99 and test-signgam-finite-c11.
3621         (CFLAGS-test-signgam-finite.c): New variable.
3622         (CFLAGS-test-signgam-finite-c99.c): Likewise.
3623         (CFLAGS-test-signgam-finite-c11.c): Likewise.
3625         [BZ #19212]
3626         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3627         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3628         500].
3629         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3630         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3631         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3632         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3633         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3634         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3635         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3636         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3637         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3638         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3640         [BZ #19209]
3641         * math/bits/math-finite.h (ldexp): Remove declaration.
3642         (ldexpf): Likewise.
3643         (ldexpl): Likewise.
3645         [BZ #19205]
3646         * math/bits/math-finite.h (acosf): Condition declaration on
3647         [__USE_ISOC99].
3648         (acosl): Likewise.
3649         (acoshf): Likewise.
3650         (acoshl): Likewise.
3651         (asinf): Likewise.
3652         (asinl): Likewise.
3653         (atan2f): Likewise.
3654         (atan2l): Likewise.
3655         (atanhf): Likewise.
3656         (atanhl): Likewise.
3657         (coshf): Likewise.
3658         (coshl): Likewise.
3659         (expf): Likewise.
3660         (expl): Likewise.
3661         (fmodf): Likewise.
3662         (fmodl): Likewise.
3663         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3664         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3665         (j0l): Likewise.
3666         (y0f): Likewise.
3667         (y0l): Likewise.
3668         (j1f): Likewise.
3669         (j1l): Likewise.
3670         (y1f): Likewise.
3671         (y1l): Likewise.
3672         (jnf): Likewise.
3673         (jnl): Likewise.
3674         (ynf): Likewise.
3675         (ynl): Likewise.
3676         (lgammaf_r): Condition declaration on [__USE_ISOC99].
3677         (lgammal_r): Likewise.
3678         (__lgamma_r_finite): New declaration.
3679         (__lgammaf_r_finite): Likewise.
3680         (__lgammal_r_finite): Likewise.
3681         (lgamma): Use __lgamma_r_finite.
3682         (lgammaf): Condition definition on [__USE_ISOC99].  Use
3683         __lgammaf_r_finite.
3684         (lgammal): Condition definition on [__USE_ISOC99].  Use
3685         __lgammal_r_finite.
3686         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
3687         __lgamma_r_finite.
3688         (gammaf): Condition definition on [__USE_ISOC99].  Use
3689         __lgammaf_r_finite.
3690         (gammal): Condition definition on [__USE_ISOC99].  Use
3691         __lgammal_r_finite.
3692         (logf): Condition declaration on [__USE_ISOC99].
3693         (logl): Likewise.
3694         (log10f): Likewise.
3695         (log10l): Likewise.
3696         (ldexpf): Likewise.
3697         (ldexpl): Likewise.
3698         (powf): Likewise.
3699         (powl): Likewise.
3700         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3701         __USE_ISOC99].
3702         (remainderf): Condition declaration on [__USE_ISOC99].
3703         (remainderl): Likewise.
3704         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3705         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3706         (scalbl): Likewise.
3707         (sinhf): Condition declaration on [__USE_ISOC99].
3708         (sinhl): Likewise.
3709         (sqrtf): Likewise.
3710         (sqrtl): Likewise.
3712 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3714         * sysdeps/arm/atomic-machine.h
3715         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3716         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3717         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3718         Remove conditional code.
3719         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3720         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3721         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3722         Change conditional to [__ASSEMBLER__].
3723         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3724         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3725         [!__ASSEMBLER__].
3726         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3727         code.
3728         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3729         conditional macro definitions.
3730         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3731         (__arch_compare_and_exchange_val_16_acq): Likewise.
3732         (__arch_compare_and_exchange_val_32_acq): Likewise.
3733         (atomic_exchange_and_add): Likewise.
3734         (atomic_add): Likewise.
3735         (atomic_add_negative): Likewise.
3736         (atomic_add_zero): Likewise.
3737         (atomic_bit_set): Likewise.
3738         (atomic_bit_test_set): Likewise.
3739         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3740         code unconditional.
3741         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3743         * math/test-math-errno.h: New file.
3744         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3745         empty.
3746         (TEST_ERRNO): New macro.
3747         (TEST_EXCEPTIONS): Likewise.
3748         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3749         (TEST_EXCEPTIONS): Likewise.
3750         * math/test-math-vector.h (TEST_ERRNO): Likewise.
3751         * math/test-double.c: Include "test-math-errno.h".
3752         * math/test-float.c: Likewise.
3753         * math/test-ldouble.c: Likewise.
3754         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3755         code unconditional.
3756         (test_exceptions): Only run code if TEST_EXCEPTIONS.
3757         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3758         unconditional.
3759         (test_errno): Only run code if TEST_ERRNO.
3760         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3762 2015-11-04  Florian Weimer  <fweimer@redhat.com>
3764         * nptl/tst-once5.cc: Remove attribution.
3766 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3768         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3769         sqrt, tan, tanh, y0, y1 and yn.
3770         * math/auto-libm-test-out: Regenerated.
3771         * math/libm-test.inc (scalb_test_data): Add more tests.
3772         (scalbn_test_data): Likewise.
3773         (scalbln_test_data): Likewise.
3774         (signbit_test_data): Likewise.
3775         (sin_test_data): Likewise.
3776         (sincos_test_data): Likewise.
3777         (sinh_test_data): Likewise.
3778         (sqrt_test_data): Likewise.
3779         (tan_test_data): Likewise.
3780         (tanh_test_data): Likewise.
3781         (tgamma_test_data): Likewise.
3782         (y0_test_data): Likewise.
3783         (y1_test_data): Likewise.
3784         (yn_test_data): Likewise.
3785         (significand_test_data): Likewise.
3786         * sysdeps/i386/fpu/libm-test-ulps: Update.
3788 2015-11-03  David Kastrup  <dak@gnu.org>
3790         [BZ #18604]
3791         * assert/assert.h (assert): Don't macro-expand failed assertion
3792         expression in error message.
3793         * malloc/malloc.c (assert): Likewise.
3795 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
3797         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
3798         test.
3799         * configure: Regenerated.
3801 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
3803         * math/libm-test.inc (modf_test_data): Add more tests.
3804         (nearbyint_test_data): Likewise.
3805         (nextafter_test_data): Likewise.
3806         (nexttoward_test_data): Likewise.
3807         (pow_test_data): Likewise.
3808         (remainder_test_data): Likewise.
3809         (remquo_test_data): Likewise.
3810         (rint_test_data): Likewise.
3812         [BZ #19201]
3813         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3814         Check for zero remainder in case of large exponents and ensure
3815         correct sign of result in that case.
3816         * math/libm-test.inc (remainder_test_data): Add more tests.
3818         [BZ #6799]
3819         * math/s_nextafter.c: Include <errno.h>.
3820         (__nextafter): Set errno on overflow and underflow.
3821         * math/s_nexttowardf.c: Include <errno.h>.
3822         (__nexttowardf): Set errno on overflow and underflow.
3823         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
3824         (__nextafterl): Set errno on overflow and underflow.
3825         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
3826         (__nexttoward): Set errno on overflow and underflow.
3827         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
3828         (__nexttowardf): Set errno on overflow and underflow.
3829         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
3830         (__nextafterf): Set errno on overflow and underflow.
3831         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
3832         (__nextafterl): Set errno on overflow and underflow.
3833         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
3834         (__nexttoward): Set errno on overflow and underflow.
3835         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
3836         (__nexttowardf): Set errno on overflow and underflow.
3837         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
3838         (__nextafterl): Set errno on overflow and underflow.
3839         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
3840         (__nexttoward): Set errno on overflow and underflow.
3841         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
3842         (__nexttowardf): Set errno on overflow and underflow.
3843         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
3844         (__nexttoward): Set errno on overflow and underflow.
3845         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
3846         (__nexttowardf): Set errno on overflow and underflow.
3847         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
3848         (__nldbl_nexttowardf): Set errno on overflow and underflow.
3849         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
3850         (__nextafterl): Set errno on overflow and underflow.
3851         * math/libm-test.inc (nextafter_test_data): Do not allow errno
3852         setting to be missing on overflow.  Add more tests.
3853         (nexttoward_test_data): Likewise.
3855         * configure.ac (libc_cv_initfini_array): Remove configure test.
3856         * configure: Regenerated.
3858 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
3860         [BZ #19189]
3861         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
3862         non-finite argument handle arguments with negative sign.
3864         * math/libm-test.inc (j0_test_data): Do not test sign of zero
3865         result from infinite argument.
3866         (j1_test_data): Likewise.
3867         (jn_test_data): Likewise.
3868         (y0_test_data): Likewise.
3869         (y1_test_data): Likewise.
3870         (yn_test_data): Likewise.
3872         [BZ #16171]
3873         * math/w_remainder.c (drem): Define as weak alias of __remainder.
3874         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
3875         * math/w_remainderf.c (dremf): Define as weak alias of
3876         __remainderf.
3877         * math/w_remainderl.c (dreml): Define as weak alias of
3878         __remainderl.
3879         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
3880         __remainder.
3881         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
3882         __remainderf.
3883         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
3884         __remainderl.
3885         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
3886         weak alias of remainderl.
3887         * sysdeps/ieee754/ldbl-opt/w_remainder.c
3888         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
3889         alias of __remainder.
3890         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
3891         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
3892         strong alias of __remainderl.
3893         (dreml): Use long_double_symbol.
3894         * math/Makefile (libm-calls): Remove w_drem.
3895         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
3896         (CFLAGS-nldbl-drem.c): Remove variable.
3897         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
3898         * math/w_drem.c: Remove file.
3899         * math/w_dremf.c: Likewise.
3900         * math/w_dreml.c: Likewise.
3901         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
3902         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
3903         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
3905         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
3906         * sysdeps/i386/configure: Regenerated.
3907         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
3908         * sysdeps/x86_64/configure: Regenerated.
3910         * configure.ac (libc_cv_asm_protected_directive): Remove configure
3911         test.
3912         (libc_cv_visibility_attribute): Likewise.
3913         (libc_cv_protected_data): Test unconditionally.
3914         (libc_cv_broken_visibility_attribute): Remove configure test.
3915         (libc_cv_have_sdata_section): Test unconditionally.
3916         * configure: Regenerated.
3918         * include/libc-internal.h (libc_max_align_t): Remove typedef.
3919         * include/scratch_buffer.h: Include <stddef.h> instead of
3920         <libc-internal.h>.
3921         (struct scratch_buffer): Use max_align_t instead of
3922         libc_max_align_t.
3924 2015-10-29  Florian Weimer  <fweimer@redhat.com>
3926         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
3927         instead of extend_alloca.  Change control flow to avoid a goto.
3928         Remove assert which is trivially always true.
3930 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3932         [BZ #16068]
3933         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
3934         (FE_ALL_EXCEPT_X86): New macro.
3935         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3936         FE_ALL_EXCEPT.  Ensure precision control is included in
3937         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3938         handle "denormal operand exception" and clear FZ and DAZ bits.
3939         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
3940         (FE_ALL_EXCEPT_X86): New macro.
3941         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3942         FE_ALL_EXCEPT.  Ensure precision control is included in
3943         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3944         handle "denormal operand exception" and clear FZ and DAZ bits.
3945         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
3946         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
3947         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3948         test-fenv-x87 and test-fenv-sse-2.
3949         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
3951         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
3952         * math/test-double.h (BUILD_COMPLEX): New macro.
3953         * math/test-float.h (BUILD_COMPLEX): Likewise.
3954         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
3956         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
3957         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
3958         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
3959         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
3960         instead of DBL_DENORM_MIN in comment.
3961         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
3962         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3963         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
3964         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
3965         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
3966         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3968 2015-10-28  Florian Weimer  <fweimer@redhat.com>
3970         [BZ# 19048]
3971         * malloc/malloc.c (struct malloc_state): Update comment.  Add
3972         attached_threads member.
3973         (main_arena): Initialize attached_threads.
3974         * malloc/arena.c (list_lock): Update comment.
3975         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
3976         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
3977         (deattach_arena): New function.
3978         (_int_new_arena): Initialize arena reference count and deattach
3979         replaced arena.
3980         (get_free_list, reused_arena): Update reference count and deattach
3981         replaced arena.
3982         (arena_thread_freeres): Update arena reference count and only put
3983         unreferenced arenas on the free list.
3985 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3987         [BZ #19181]
3988         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
3989         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
3990         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
3991         * math/test-fenv-clear-main.c: New file.
3992         * math/test-fenv-clear.c: Likewise.
3993         * math/Makefile (tests): Add test-fenv-clear.
3994         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
3995         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3996         test-fenv-clear-sse.
3997         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
3999         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
4000         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
4001         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
4003 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4005         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
4006         static libc.
4008 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4010         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
4011         test.
4012         * sysdeps/i386/configure: Regenerated.
4013         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
4014         test.
4015         * sysdeps/x86_64/configure: Regenerated.
4016         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
4017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4018         memset-avx2 unconditionally instead of conditionally on
4019         [$(config-cflags-avx2) = yes].
4020         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4021         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
4022         unconditional.
4023         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
4024         * sysdeps/x86_64/multiarch/memset_chk.S
4025         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
4026         to [IS_IN (libc) && SHARED].
4028 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4030         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
4031         configure test.
4032         * sysdeps/arm/configure: Regenerated.
4033         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
4034         Define variable if not already defined.
4036         [BZ #17404]
4037         * sysdeps/mips/atomic-machine.h
4038         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
4039         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
4040         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4042         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
4043         unconditional.
4044         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
4045         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4046         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
4047         unconditional.
4048         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4049         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
4050         unconditional.
4051         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4052         * stdlib/setenv.c
4053         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
4054         code unconditional.
4055         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
4056         Remove conditional code.
4057         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4058         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
4059         unconditional.
4060         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4061         code.
4062         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4063         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
4064         unconditional.
4065         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4066         code.
4067         * sysdeps/ieee754/ldbl-128/k_tanl.c
4068         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4069         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4070         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4071         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4072         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4073         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4074         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
4075         unconditional.
4076         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4077         code.
4078         * sysdeps/ieee754/ldbl-96/k_tanl.c
4079         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4080         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4082         * nptl/tst-initializers1-c11.c: New file.
4083         * nptl/tst-initializers1-gnu11.c: Likewise.
4084         * nptl/Makefile (tests): Add these new tests.
4085         (CFLAGS-tst-initializers1-c11.c): New variable.
4086         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
4088         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
4089         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
4090         instead of -std=gnu99.
4091         * configure.ac (systemtap): Test with -std=gnu11 instead of
4092         -std=gnu99.
4093         * configure: Regenerated.
4094         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
4095         in compilation command in comment.
4097         * sysdeps/nptl/configure.ac: Remove file.
4098         * sysdeps/nptl/configure: Remove generated file.
4099         * configure.ac (libc_cv_forced_unwind): Do not substitute.
4100         * configure: Regenerated.
4101         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
4102         * config.make.in (have-forced-unwind): Remove variable.
4103         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4104         unconditional.
4105         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
4106         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
4107         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
4108         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
4109         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4110         unconditional.
4112 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4114         [BZ #19174]
4115         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
4116         .skip_lock_out_of_tbegin_retries.
4117         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4118         (__lll_lock_elision): Likewise, and respect a value of
4119         try_tbegin <= 0.
4121 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4123         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
4124         statement.
4126 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4128         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
4129         variable.
4130         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4131         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4133         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
4134         of -std=c1x -D_ISOC11_SOURCE.
4136         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
4137         * configure: Regenerated.
4138         * manual/install.texi (Tools for Compilation): Document
4139         requirement for GCC 4.7 or later.
4140         * INSTALL: Regenerated.
4142 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
4144         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
4145         on CNT to a conditional jump to 'puntdata'.
4147 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4149         * configure.ac (libc_cv_gcc___thread): Remove configure test.
4150         (libc_cv_gcc_tls_model_attr): Likewise.
4151         * configure: Regenerated.
4153         * configure.ac (libc_cv_need_minus_P): Remove configure test.
4154         * configure: Regenerated.
4155         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
4157 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
4159         * configure.ac (old_glibc_headers): Remove configure test.
4160         * configure: Regenerated.
4161         * config.make.in (old-glibc-headers): Remove variable.
4162         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
4163         (install): Remove dependency on remove-old-headers.
4164         (headers2_0): Remove variable.
4165         (remove-old-headers): Remove rule.
4167         * configure.ac (libc_cv_dot_text): Remove configure test.
4168         (libc_cv_asm_set_directive): Use .text instead of
4169         ${libc_cv_dot_text} in configure test.
4170         * configure: Regenerated.
4172 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4174         [BZ #19168]
4175         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4177 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4179         * configure.ac (CXX): Clear the variable if the C++ toolchain does
4180         not support static linking.
4181         * configure: Regenerate.
4183 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
4185         * math/libm-test.inc (check_float_internal): Do not special-case
4186         errors up to 0.5 ulp.
4188         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4189         log2.
4190         * math/auto-libm-test-out: Regenerated.
4191         * math/libm-test.inc (MAX_EXP): New macro.
4192         (ilogb_test_data): Add more tests.
4193         (isfinite_test_data): Likewise.
4194         (isgreater_test_data): Likewise.
4195         (isgreaterequal_test_data): Likewise.
4196         (isinf_test_data): Likewise.
4197         (isless_test_data): Likewise.
4198         (islessequal_test_data): Likewise.
4199         (islessgreater_test_data): Likewise.
4200         (isnan_test_data): Likewise.
4201         (isnormal_test_data): Likewise.
4202         (issignaling_test_data): Likewise.
4203         (isunordered_test_data): Likewise.
4204         (j0_test_data): Likewise.
4205         (j1_test_data): Likewise.
4206         (jn_test_data): Likewise.
4207         (lgamma_test_data): Likewise.
4208         (log_test_data): Likewise.
4209         (log10_test_data): Likewise.
4210         (log1p_test_data): Likewise.
4211         (log2_test_data): Likewise.
4212         (logb_test_data): Likewise.
4213         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4215         [BZ #18611]
4216         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
4217         avoid excess range and precision on underflow.
4218         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4219         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
4220         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4221         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
4222         underflow.
4223         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4224         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4225         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4226         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4227         * math/auto-libm-test-in: Do not allow missing errno setting for
4228         tests of j1 and jn.
4229         * math/auto-libm-test-out: Regenerated.
4231 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
4233         [BZ #15491]
4234         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
4235         floating-point environment instead of clearing all exceptions.
4236         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4237         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
4238         merging in "invalid" exceptions from frndint.
4239         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4240         * math/test-nearbyint-except.c: New file.
4241         * math/Makefile (tests): Add test-nearbyint-except.
4243 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
4245         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
4247         * sysdeps/tile/libm-test-ulps: Regenerated.
4249 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
4252         (__NR_sync_file_range2): Assume it is always defined.
4253         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4254         (__NR_sync_file_range): Assume it is always defined.
4256 2015-10-22  Andreas Schwab  <schwab@suse.de>
4258         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4259         INTERNAL_SYSCALL_ERRNO.
4260         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4261         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4262         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4263         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4264         Likewise.
4265         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4267 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4269         * io/tst-fcntl.c (fd): New static variable.
4270         (do_prepare): Open temporary file here....
4271         (do_test): ...not here.
4273         * io/ftwtest-sh: Also trap on exit to remove temporary files.
4275 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4277         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
4278         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4279         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4280         Moved before "#ifdef __ASSEMBLER__".
4282 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4284         [BZ #19156]
4285         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
4286         arguments very close to 0.
4288 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
4290         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
4291         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
4293 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4295         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4296         New.  Defined for GCC 5 and above when not compiling for
4297         profiling.
4298         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4300         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4301         Renamed to ...
4302         (CFLAGS-epoll_pwait.o): This.
4303         (CFLAGS-mmap.c): Renamed to ...
4304         (CFLAGS-mmap.o): This.
4305         (CFLAGS-mmap64.c): Renamed to ...
4306         (CFLAGS-mmap64.o): This.
4307         (CFLAGS-epoll_pwait.os): New.
4308         (CFLAGS-mmap.os): Likewise.
4309         (CFLAGS-mmap64.os): Likewise.
4310         (CFLAGS-semtimedop.os): Likewise.
4311         (CFLAGS-semtimedop.c): Renamed to ...
4312         (CFLAGS-semtimedop.o): This.
4314 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4316         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
4317         warning message.
4319 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4321         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
4322         * Makefile ($(objpfx)c++-types-check.out): Filter out
4323         $(+gccwarn-c) instead of -Wstrict-prototypes.
4325         * io/fts.c (fts_open): Convert to prototype-style function
4326         definition.
4327         * malloc/mcheck.c (mcheck): Likewise.
4328         (mcheck_pedantic): Likewise.
4329         * posix/regexec.c (re_search_2_stub): Likewise.  Use
4330         internal_function.
4331         (re_search_internal): Likewise.
4332         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
4333         prototype-style function definition.
4334         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4335         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4336         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
4337         (xdr_utmpptr): Likewise.
4338         (xdr_utmparr): Likewise.
4339         (xdr_utmpidle): Likewise.
4340         (xdr_utmpidleptr): Likewise.
4341         (xdr_utmpidlearr): Likewise.
4343         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
4344         log, log10 and log2.
4345         * math/auto-libm-test-out: Regenerated.
4346         * math/libm-test.inc (fmod_test_data): Add more tests.
4347         (fpclassify_test_data): Likewise.
4348         (frexp_test_data): Likewise.
4349         (hypot_test_data): Likewise.
4350         (ilogb_test_data): Likewise.
4352 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
4354         * debug/fortify_fail.c (__fortify_fail): Convert to
4355         prototype-style function definition.  Use internal_function.
4356         * libio/genops.c (save_for_backup): Convert to prototype-style
4357         function definition.
4358         * libio/wgenops.c (save_for_wbackup): Likewise.
4359         * login/grantpt.c (grantpt): Likewise.
4360         * login/ptsname.c (ptsname): Likewise.
4361         (__ptsname_r): Likewise.
4362         * login/unlockpt.c (unlockpt): Likewise.
4363         * mach/msgserver.c (__mach_msg_server): Likewise.
4364         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
4365         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
4366         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
4367         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
4368         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
4369         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
4370         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
4371         Likewise.
4372         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
4373         internal_function.
4374         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
4375         prototype-style function definition.
4376         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
4377         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
4378         (__pthread_create_2_0): Likewise.
4379         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
4380         * nptl/register-atfork.c (__register_atfork): Likewise.
4381         * posix/glob.c (glob): Likewise.
4382         * posix/regcomp.c (re_comp): Likewise.
4383         * posix/regexec.c (re_exec): Likewise.
4384         * stdlib/add_n.c [__STDC__]: Make code unconditional.
4385         [!__STDC__]: Remove conditional code.
4386         * stdlib/cmp.c [__STDC__]: Make code unconditional.
4387         [!__STDC__]: Remove conditional code.
4388         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
4389         [!__STDC__]: Remove conditional code.
4390         * stdlib/divrem.c [__STDC__]: Make code unconditional.
4391         [!__STDC__]: Remove conditional code.
4392         * stdlib/lshift.c [__STDC__]: Make code unconditional.
4393         [!__STDC__]: Remove conditional code.
4394         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
4395         [!__STDC__]: Remove conditional code.
4396         * stdlib/mul.c [__STDC__]: Make code unconditional.
4397         [!__STDC__]: Remove conditional code.
4398         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
4399         [!__STDC__]: Remove conditional code.
4400         * stdlib/rshift.c [__STDC__]: Make code unconditional.
4401         [!__STDC__]: Remove conditional code.
4402         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
4403         function definition.
4404         (STRTOF): Likewise.
4405         * stdlib/strtod_l.c (__STRTOF): Likewise.
4406         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
4407         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
4408         (__strtol_l): Likewise.
4409         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
4410         [!__STDC__]: Remove conditional code.
4411         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
4412         definition.
4413         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4414         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4415         type.
4416         (__strcasecmp): Convert to prototype-style function definition.
4417         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
4418         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4419         type.
4420         (__strncasecmp): Convert to prototype-style function definition.
4421         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
4422         * sunrpc/xdr.c (xdr_union): Likewise.
4423         * sunrpc/xdr_array.c (xdr_array): Likewise.
4424         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
4425         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
4426         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
4427         Likewise.
4428         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
4429         Likewise.
4430         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
4431         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4432         Likewise.
4433         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
4434         (LOCALE_PARAM_PROTO): Likewise.
4435         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
4436         argument type.
4437         (ut_argument_spec): Remove macro.
4438         (ut_argument_spec_iso): Rename to ut_argument_spec.
4439         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
4440         prototype-style function definition.
4441         (memcpy_uppcase): Likewise.
4442         (__strftime_internal): Likewise.
4443         (my_strftime): Likewise.
4444         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
4445         (LOCALE_PARAM_DECL): Likewise.
4446         [_LIBC] (LOCALE_PARAM): Include argument type.
4447         (__strptime_internal): Convert to prototype-style function
4448         definition.
4449         (strptime): Likewise.
4450         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4451         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4452         type.
4453         (__wcscasecmp): Convert to prototype-style function definition.
4454         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
4455         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4456         type.
4457         (__wcsncasecmp): Convert to prototype-style function definition.
4459         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
4460         function definition.
4461         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4462         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4463         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
4464         * elf/dl-minimal.c (_itoa): Likewise.
4465         * hurd/hurdmalloc.c (malloc): Likewise.
4466         (free): Likewise.
4467         (realloc): Likewise.
4468         * inet/inet6_option.c (inet6_option_space): Likewise.
4469         (inet6_option_init): Likewise.
4470         (inet6_option_append): Likewise.
4471         (inet6_option_alloc): Likewise.
4472         (inet6_option_next): Likewise.
4473         (inet6_option_find): Likewise.
4474         * io/ftw.c (FTW_NAME): Likewise.
4475         (NFTW_NAME): Likewise.
4476         (NFTW_NEW_NAME): Likewise.
4477         (NFTW_OLD_NAME): Likewise.
4478         * libio/iofwide.c (_IO_fwide): Likewise.
4479         * libio/strops.c (_IO_str_init_static_internal): Likewise.
4480         (_IO_str_init_static): Likewise.
4481         (_IO_str_init_readonly): Likewise.
4482         (_IO_str_overflow): Likewise.
4483         (_IO_str_underflow): Likewise.
4484         (_IO_str_count): Likewise.
4485         (_IO_str_seekoff): Likewise.
4486         (_IO_str_pbackfail): Likewise.
4487         (_IO_str_finish): Likewise.
4488         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
4489         (_IO_wstr_overflow): Likewise.
4490         (_IO_wstr_underflow): Likewise.
4491         (_IO_wstr_count): Likewise.
4492         (_IO_wstr_seekoff): Likewise.
4493         (_IO_wstr_pbackfail): Likewise.
4494         (_IO_wstr_finish): Likewise.
4495         * locale/programs/localedef.c (normalize_codeset): Likewise.
4496         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4497         (add_locales_to_archive): Likewise.
4498         (delete_locales_from_archive): Likewise.
4499         * malloc/malloc.c (__libc_mallinfo): Likewise.
4500         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
4501         * misc/tsearch.c (__tfind): Likewise.
4502         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
4503         * nptl/pthread_attr_getdetachstate.c
4504         (__pthread_attr_getdetachstate): Likewise.
4505         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4506         Likewise.
4507         * nptl/pthread_attr_getinheritsched.c
4508         (__pthread_attr_getinheritsched): Likewise.
4509         * nptl/pthread_attr_getschedparam.c
4510         (__pthread_attr_getschedparam): Likewise.
4511         * nptl/pthread_attr_getschedpolicy.c
4512         (__pthread_attr_getschedpolicy): Likewise.
4513         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
4514         Likewise.
4515         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
4516         Likewise.
4517         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4518         Likewise.
4519         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4520         Likewise.
4521         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
4522         (__pthread_attr_init_2_0): Likewise.
4523         * nptl/pthread_attr_setdetachstate.c
4524         (__pthread_attr_setdetachstate): Likewise.
4525         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4526         Likewise.
4527         * nptl/pthread_attr_setinheritsched.c
4528         (__pthread_attr_setinheritsched): Likewise.
4529         * nptl/pthread_attr_setschedparam.c
4530         (__pthread_attr_setschedparam): Likewise.
4531         * nptl/pthread_attr_setschedpolicy.c
4532         (__pthread_attr_setschedpolicy): Likewise.
4533         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
4534         Likewise.
4535         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
4536         Likewise.
4537         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4538         Likewise.
4539         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4540         Likewise.
4541         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
4542         Likewise.
4543         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
4544         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4545         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
4546         use internal_function.
4547         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
4548         prototype-style function definition.
4549         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4550         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
4551         internal_function.
4552         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
4553         Convert to prototype-style function definition.
4554         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4555         Likewise.
4556         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4557         Likewise.
4558         (__pthread_mutex_unlock): Likewise.
4559         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
4560         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
4561         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
4562         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
4563         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
4564         * nss/makedb.c (process_input): Likewise.
4565         * posix/fnmatch.c (__strchrnul): Likewise.
4566         (__wcschrnul): Likewise.
4567         (fnmatch): Likewise.
4568         * posix/fnmatch_loop.c (FCT): Likewise.
4569         * posix/glob.c (globfree): Likewise.
4570         (__glob_pattern_type): Likewise.
4571         (__glob_pattern_p): Likewise.
4572         * posix/regcomp.c (re_compile_pattern): Likewise.
4573         (re_set_syntax): Likewise.
4574         (re_compile_fastmap): Likewise.
4575         (regcomp): Likewise.
4576         (regerror): Likewise.
4577         (regfree): Likewise.
4578         * posix/regexec.c (regexec): Likewise.
4579         (re_match): Likewise.
4580         (re_search): Likewise.
4581         (re_match_2): Likewise.
4582         (re_search_2): Likewise.
4583         (re_search_stub): Likewise.  Use internal_function
4584         (re_copy_regs): Likewise.
4585         (re_set_registers): Convert to prototype-style function
4586         definition.
4587         (prune_impossible_nodes): Likewise.  Use internal_function.
4588         * resolv/inet_net_pton.c (inet_net_pton): Convert to
4589         prototype-style function definition.
4590         (inet_net_pton_ipv4): Likewise.
4591         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4592         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
4593         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4594         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
4595         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4596         Make variadic.
4597         * time/strptime_l.c (localtime_r): Convert to prototype-style
4598         function definition.
4599         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4600         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4601         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4602         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4604         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
4605         definition.
4606         (_ufc_doit_r): Likewise.
4607         * crypt/crypt_util.c (_ufc_copymem): Likewise.
4608         (_ufc_output_conversion_r): Likewise.
4609         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
4610         * inet/rcmd.c (rcmd_af): Likewise.
4611         (rcmd): Likewise.
4612         (ruserok_af): Likewise.
4613         (ruserok): Likewise.
4614         (ruserok2_sa): Likewise.
4615         (ruserok_sa): Likewise.
4616         (iruserok_af): Likewise.
4617         (iruserok): Likewise.
4618         (__ivaliduser): Likewise.
4619         (__validuser2_sa): Likewise.
4620         * inet/rexec.c (rexec_af): Likewise.
4621         (rexec): Likewise.
4622         * inet/ruserpass.c (ruserpass): Likewise.
4623         * locale/programs/xmalloc.c (xcalloc): Likewise.
4624         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4625         * math/w_drem.c (__drem): Likewise.
4626         * math/w_dremf.c (__dremf): Likewise.
4627         * math/w_dreml.c (__dreml): Likewise.
4628         * misc/daemon.c (daemon): Likewise.
4629         * resolv/res_debug.c (p_fqnname): Likewise.
4630         * stdlib/div.c (div): Likewise.
4631         * string/memcmp.c (memcmp_bytes): Likewise.
4632         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4633         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4635         * crypt/cert.c (main): Convert to prototype-style function
4636         definition.
4637         * io/pipe.c (__pipe): Likewise.
4638         * io/pipe2.c (__pipe2): Likewise.
4639         * misc/futimesat.c (futimesat): Likewise.
4640         * misc/utimes.c (__utimes): Likewise.
4641         * posix/execve.c (__execve): Likewise.
4642         * posix/execvp.c (execvp): Likewise.
4643         * posix/execvpe.c (__execvpe): Likewise.
4644         * posix/fexecve.c (fexecve): Likewise.
4645         * socket/socketpair.c (socketpair): Likewise.
4646         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4647         * stdlib/erand48.c (erand48): Likewise.
4648         * stdlib/erand48_r.c (__erand48_r): Likewise.
4649         * stdlib/jrand48.c (jrand48): Likewise.
4650         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4651         * stdlib/lcong48.c (lcong48): Likewise.
4652         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4653         * stdlib/nrand48.c (nrand48): Likewise.
4654         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4655         * stdlib/seed48.c (seed48): Likewise.
4656         * stdlib/seed48_r.c (__seed48_r): Likewise.
4657         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4658         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4659         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4661 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4663         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4664         * configure: Regenerated.
4665         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4666         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4667         unconditional.
4668         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4669         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4670         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4671         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4672         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4673         unconditional.
4674         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4676         * posix/Makefile (CFLAGS-regex.c): Remove variable.
4677         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4679         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4680         function definition.
4681         * crypt/crypt_util.c (__encrypt_r): Likewise.
4682         * libio/genops.c (_IO_no_init): Likewise.
4683         * libio/iofopncook.c (_IO_fopencookie): Likewise.
4684         (_IO_old_fopencookie): Likewise.
4685         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4686         * libio/iogetline.c (_IO_getline): Likewise.
4687         (_IO_getline_info): Likewise.
4688         * libio/iogetwline.c (_IO_getwline): Likewise.
4689         (_IO_getwline_info): Likewise.
4690         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4691         * libio/vswprintf.c (_IO_vswprintf): Likewise.
4692         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4693         (find_entry): Likewise.
4694         (iterate_table): Likewise.
4695         (lookup): Likewise.
4696         * login/forkpty.c (forkpty): Likewise.
4697         * misc/hsearch_r.c (__hsearch_r): Likewise.
4698         * misc/select.c (__select): Likewise.
4699         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4700         Likewise.
4701         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4702         Likewise.
4703         * nptl/old_pthread_cond_timedwait.c
4704         (__pthread_cond_timedwait_2_0): Likewise.
4705         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4706         * nptl/pthread_barrierattr_getpshared.c
4707         (pthread_barrierattr_getpshared): Likewise.
4708         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4709         Likewise.
4710         * nptl/pthread_mutex_setprioceiling.c
4711         (pthread_mutex_setprioceiling): Likewise.
4712         * nptl/pthread_mutexattr_getprioceiling.c
4713         (pthread_mutexattr_getprioceiling): Likewise.
4714         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4715         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4716         Likewise.
4717         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4718         Likewise.
4719         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4720         Likewise.
4721         * socket/recvfrom.c (__recvfrom): Likewise.
4722         * socket/sendto.c (__sendto): Likewise.
4723         * socket/setsockopt.c (__setsockopt): Likewise.
4724         * stdio-common/_itoa.c (_itoa): Likewise.
4725         * stdio-common/_itowa.c (_itowa): Likewise.
4726         * stdio-common/reg-printf.c (__register_printf_specifier):
4727         Likewise.
4728         (__register_printf_function): Likewise.
4729         * stdio-common/tempname.c (__path_search): Likewise.
4730         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4731         * stdlib/mul_1.c (mpn_mul_1): Likewise.
4732         * stdlib/random_r.c (__initstate_r): Likewise.
4733         * stdlib/setenv.c (__add_to_environ): Likewise.
4734         * stdlib/submul_1.c (mpn_submul_1): Likewise.
4735         * streams/getpmsg.c (getpmsg): Likewise.
4736         * streams/putmsg.c (putmsg): Likewise.
4737         * streams/putpmsg.c (putpmsg): Likewise.
4738         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4739         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4740         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4741         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4742         * sunrpc/pm_getport.c (pmap_getport): Likewise.
4743         * sunrpc/svc_udp.c (cache_get): Likewise.
4744         * sunrpc/xdr_array.c (xdr_vector): Likewise.
4745         * sysdeps/mach/hurd/getcwd.c
4746         (__canonicalize_directory_name_internal): Likewise.
4747         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4748         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4749         * sysdeps/mach/hurd/select.c (__select): Likewise.
4750         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4751         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4752         * sysdeps/sparc/nptl/pthread_barrier_init.c
4753         (__pthread_barrier_init): Likewise.
4754         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4755         (__pthread_cond_timedwait): Likewise.
4756         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4757         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4758         Likewise.
4759         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4760         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4761         Likewise.
4762         * sysvipc/semtimedop.c (semtimedop): Likewise.
4763         * time/setitimer.c (__setitimer): Likewise.
4764         * time/strftime_l.c (emacs_strftime): Likewise.
4766 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4768         * config.make.in (have-ssp): Delete.
4769         (stack-protector): New variable.
4770         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
4771         cache test for -fstack-protector-strong.  Export stack_protector to
4772         the best ssp flag.
4773         * configure: Regenerated.
4774         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
4775         * nscd/Makefile (CFLAGS-nscd): Likewise.
4776         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4778 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
4780         [BZ #19122]
4781         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
4782         attribute_hidden.
4784 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4786         [BZ #18743]
4787         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
4788         code to...
4789         (ELIDE_LOCK): ...here.
4790         (__get_new_count): New function with part of the code from
4791         __elide_lock that updates the value of adapt_count after a
4792         transaction abort.
4793         (__elided_trylock): Moved this code to...
4794         (ELIDE_TRYLOCK): ...here.
4796 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4798         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
4799         * configure: Regenerate.
4800         * INSTALL: Regenerate.
4801         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
4802         and tweak grammar.
4804 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
4806         * login/programs/pt_chown.c: Include signal.h
4807         (main): Clear any signal mask from the parent process.
4809 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4811         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
4812         * configure: Regenerated.
4813         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
4814         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
4815         $(gnu89-inline-CFLAGS).
4817         * configure.ac (libc_cv_asm_weak_directive): Remove configure
4818         test.
4819         (libc_cv_asm_weakext_directive): Likewise.
4820         * configure: Regenerated.
4821         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
4822         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
4823         * include/libc-symbols.h
4824         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
4825         #error.
4826         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
4827         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
4829         * sysdeps/arm/backtrace.c (__backtrace): Convert to
4830         prototype-style function definition.
4831         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4832         * sysdeps/i386/ffs.c (__ffs): Likewise.
4833         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4834         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
4835         Likewise.
4836         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4837         Likewise.
4838         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4839         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4840         Likewise.
4841         * sysdeps/m68k/ffs.c (__ffs): Likewise.
4842         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
4843         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
4844         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
4845         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
4846         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
4847         * sysdeps/mach/hurd/access.c (__access): Likewise.
4848         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
4849         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
4850         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4851         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
4852         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
4853         (cthread_getspecific): Likewise.
4854         (cthread_setspecific): Likewise.
4855         (__libc_getspecific): Likewise.
4856         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
4857         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
4858         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
4859         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
4860         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
4861         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
4862         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
4863         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
4864         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
4865         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
4866         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
4867         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4868         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
4869         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
4870         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
4871         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
4872         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
4873         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
4874         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
4875         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
4876         * sysdeps/mach/hurd/link.c (__link): Likewise.
4877         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
4878         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
4879         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4880         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
4881         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4882         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
4883         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
4884         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
4885         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4886         * sysdeps/mach/hurd/rename.c (rename): Likewise.
4887         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
4888         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4889         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
4890         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
4891         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
4892         * sysdeps/mach/hurd/send.c (__send): Likewise.
4893         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
4894         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
4895         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
4896         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
4897         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
4898         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
4899         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
4900         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
4901         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
4902         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
4903         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
4904         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
4905         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
4906         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
4907         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4908         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4909         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
4910         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4911         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
4912         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4913         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
4914         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
4915         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
4916         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
4917         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
4918         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
4919         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
4920         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4921         * sysdeps/posix/alarm.c (alarm): Likewise.
4922         * sysdeps/posix/cuserid.c (cuserid): Likewise.
4923         * sysdeps/posix/dirfd.c (dirfd): Likewise.
4924         * sysdeps/posix/dup.c (__dup): Likewise.
4925         * sysdeps/posix/dup2.c (__dup2): Likewise.
4926         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
4927         (main): Likewise.
4928         * sysdeps/posix/flock.c (__flock): Likewise.
4929         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4930         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4931         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
4932         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
4933         * sysdeps/posix/isatty.c (__isatty): Likewise.
4934         * sysdeps/posix/killpg.c (killpg): Likewise.
4935         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4936         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
4937         * sysdeps/posix/raise.c (raise): Likewise.
4938         * sysdeps/posix/remove.c (remove): Likewise.
4939         * sysdeps/posix/rename.c (rename): Likewise.
4940         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
4941         * sysdeps/posix/seekdir.c (seekdir): Likewise.
4942         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4943         * sysdeps/posix/sigignore.c (sigignore): Likewise.
4944         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
4945         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
4946         * sysdeps/posix/sigset.c (sigset): Likewise.
4947         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
4948         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4949         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
4950         * sysdeps/posix/time.c (time): Likewise.
4951         * sysdeps/posix/ttyname.c (getttyname): Likewise.
4952         (ttyname): Likewise.
4953         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
4954         * sysdeps/posix/utime.c (utime): Likewise.
4955         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
4956         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4957         Likewise.
4958         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
4959         (pthread_spin_trylock): Likewise.
4960         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
4961         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
4962         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
4963         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
4964         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
4965         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
4966         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
4967         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
4968         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
4969         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
4970         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
4971         * sysdeps/s390/ffs.c (__ffs): Likewise.
4972         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
4973         Likewise.
4974         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4975         Likewise.
4976         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
4977         Likewise.
4978         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
4979         (pthread_barrier_destroy): Likewise.
4980         * sysdeps/sparc/nptl/pthread_barrier_wait.c
4981         (__pthread_barrier_wait): Likewise.
4982         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
4983         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4984         (__pthread_barrier_wait): Likewise.
4985         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
4986         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
4987         (memcmp_not_common_alignment): Likewise.
4988         (MEMCMP): Likewise.
4989         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
4990         (_wordcopy_fwd_dest_aligned): Likewise.
4991         (_wordcopy_bwd_aligned): Likewise.
4992         (_wordcopy_bwd_dest_aligned): Likewise.
4993         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
4994         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
4995         * sysdeps/unix/bsd/stty.c (stty): Likewise.
4996         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4997         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4998         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
4999         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
5000         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
5001         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
5002         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
5003         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
5004         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5005         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
5006         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
5007         * sysdeps/unix/stime.c (stime): Likewise.
5008         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
5009         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
5010         Likewise.  Use internal_function.
5011         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
5012         Convert to prototype-style function definition.
5013         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5014         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5015         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
5016         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5017         Likewise.  Use internal_function.
5018         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
5019         prototype-style function definition
5020         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5021         Likewise.
5022         (__getlogin_r): Likewise.
5023         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
5024         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
5025         (__pthread_cond_broadcast): Likewise.
5026         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
5027         (__pthread_cond_destroy): Likewise.
5028         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
5029         (__pthread_cond_init): Likewise.
5030         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
5031         (__pthread_cond_signal): Likewise.
5032         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5033         (__pthread_cond_wait): Likewise.
5034         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
5035         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5036         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
5037         Likewise.
5038         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
5039         Likewise.
5040         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
5041         Likewise.
5042         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
5043         Likewise.
5044         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
5045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
5046         (__ftruncate64): Likewise.
5047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
5048         (truncate64): Likewise.
5049         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
5050         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
5051         (pthread_getcpuclockid): Likewise.
5052         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5053         Likewise.
5054         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5055         Likewise.
5056         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
5057         Likewise.
5058         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5059         Likewise.
5060         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
5061         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
5062         (__libc_sigaction): Likewise.
5063         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
5064         Likewise.
5065         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
5066         (__sigprocmask): Likewise.
5067         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
5068         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
5069         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
5070         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5071         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5072         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
5073         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5074         Likewise.
5075         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
5076         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
5077         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5078         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
5079         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
5080         Likewise.
5081         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
5082         (__sigprocmask): Likewise.
5083         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
5084         (cfgetispeed): Likewise.
5085         (cfsetospeed): Likewise.
5086         (cfsetispeed): Likewise.
5087         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
5088         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
5089         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5090         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5091         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
5092         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
5093         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
5094         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
5095         Likewise.
5096         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
5097         Likewise.
5098         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
5099         Likewise.
5100         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
5101         Likewise.
5102         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5104 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5106         sunrpc: Rewrite with explicit TLS access using __thread.
5107         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
5108         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
5109         directly.
5110         (__rpc_thread_variables): Access thread_rpc_vars directly.
5111         Eliminate redundant assignment of the tvp variable.
5113 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5115         malloc: Rewrite with explicit TLS access using __thread.
5116         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
5117         (tsd_setspecific, tsd_getspecific): Remove.
5118         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
5119         (tsd_setspecific, tsd_getspecific): Likewise.
5120         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
5121         (tsd_setspecific, tsd_getspecific): Likewise.
5122         * malloc/arena.c (thread_arena): New TLS variable.
5123         (arena_key): Remove variable.
5124         (arena_get): Use thread_arena.
5125         (arena_lookup): Remove macro.
5126         (malloc_atfork, free_atfork, ptmalloc_lock_all)
5127         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
5128         (_int_new_arena, get_free_list, reused_arena)
5129         (arena_thread_freeres): Use thread_arena.
5130         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
5131         tsd_getspecific, tsd_setspecific from safety annotations.
5132         (Allocating Cleared Space): Remove arena_lookup from safety
5133         annotations.
5135 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5137         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
5138         struct scratch_buffer instead of extend_alloca.
5140 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5142         * sysdeps/unix/sysv/linux/kernel-features.h
5143         (__ASSUME_SOCK_CLOEXEC): Remove.
5144         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
5145         (__have_paccept): Remove unused macro.
5146         * include/unistd.h (__have_sock_cloexec): Remove declaration.
5147         * misc/syslog.c (openlog_internal): Remove fallback code for
5148         !__ASSUME_SOCK_CLOEXEC.
5149         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
5150         missing SOCK_CLOEXEC.
5151         * nscd/connections.c (have_sock_cloexec): Remove definition.
5152         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5153         * nscd/nscd_helper.c (open_socket): Remove fallback code for
5154         !__ASSUME_SOCK_CLOEXEC.
5155         * resolv/res_send.c (__have_o_nonblock): Remove definition.
5156         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5157         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
5158         definition.
5159         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
5160         code for !__ASSUME_SOCK_CLOEXEC.
5162 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5164         [BZ #18982]
5165         * manual/stdio.texi (Variable Arguments Output): Add portability
5166         note, explaining that vfprintf clobbers the va_list pointer.
5168 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5170         * math/libm-test.inc (fabs_test_data): Add more tests.
5171         (fdim_test_data): Likewise.
5172         (fma_test_data): Likewise.
5173         (fmax_test_data): Likewise.
5174         (fmin_test_data): Likewise.
5175         (fmod_test_data): Likewise.
5177 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
5179         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
5180         data.
5182 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5184         * math/libm-test.inc (ceil_test_data): Add more tests and more
5185         expectations for "inexact".
5186         (floor_test_data): Add more tests.
5187         (round_test_data): Likewise.
5188         (trunc_test_data): Likewise.
5190         * crypt/cert.c (good_bye): Convert to prototype-style function
5191         definition.
5192         (get8): Likewise.
5193         (put8): Likewise.
5194         * crypt/crypt-entry.c (crypt): Likewise.
5195         (__fcrypt): Likewise.
5196         * crypt/crypt_util.c (_ufc_prbits): Likewise.
5197         (_ufc_set_bits): Likewise.
5198         (_ufc_clearmem): Likewise.
5199         (__init_des_r): Likewise.
5200         (shuffle_sb): Likewise.
5201         (shuffle_sb): Likewise.
5202         (_ufc_setup_salt_r): Likewise.
5203         (_ufc_mk_keytab_r): Likewise.
5204         (_ufc_dofinalperm_r): Likewise.
5205         (encrypt): Likewise.
5206         (__setkey_r): Likewise.
5207         (setkey): Likewise.
5208         * crypt/md5.c (md5_init_ctx): Likewise.
5209         (md5_read_ctx): Likewise.
5210         (md5_finish_ctx): Likewise.
5211         (md5_stream): Likewise.
5212         (md5_buffer): Likewise.
5213         (md5_process_bytes): Likewise.
5214         * crypt/sha256.c (__sha256_init_ctx): Likewise.
5215         (__sha256_finish_ctx): Likewise.
5216         (__sha256_process_bytes): Likewise.
5217         * crypt/sha512.c (__sha512_init_ctx): Likewise.
5218         (__sha512_finish_ctx): Likewise.
5219         (__sha512_process_bytes): Likewise.
5220         * ctype/isctype.c (__isctype): Likewise.
5221         * debug/backtrace.c (__backtrace): Likewise.
5222         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
5223         * debug/fgets_chk.c (__fgets_chk): Likewise.
5224         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
5225         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
5226         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5227         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5228         * debug/memset_chk.c (__memset_chk): Likewise.
5229         * debug/strcat_chk.c (__strcat_chk): Likewise.
5230         * debug/strncat_chk.c (__strncat_chk): Likewise.
5231         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
5232         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
5233         * dirent/dirfd.c (dirfd): Likewise.
5234         * dirent/getdents.c (__getdirentries): Likewise.
5235         * dirent/getdents64.c (getdirentries64): Likewise.
5236         * dirent/rewinddir.c (__rewinddir): Likewise.
5237         * dirent/seekdir.c (seekdir): Likewise.
5238         * dirent/telldir.c (telldir): Likewise.
5239         * elf/sln.c (makesymlinks): Likewise.
5240         (makesymlink): Likewise.
5241         * gmon/gmon.c (__moncontrol): Likewise.
5242         (__monstartup): Likewise.
5243         (write_hist): Likewise.
5244         (write_call_graph): Likewise.
5245         (write_bb_counts): Likewise.
5246         * grp/setgroups.c (setgroups): Likewise.
5247         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5248         * inet/inet_net.c (inet_network): Likewise.
5249         * inet/inet_netof.c (inet_netof): Likewise.
5250         * inet/rcmd.c (rresvport_af): Likewise.
5251         (rresvport): Likewise.
5252         * io/access.c (__access): Likewise.
5253         * io/chdir.c (__chdir): Likewise.
5254         * io/chmod.c (__chmod): Likewise.
5255         * io/chown.c (__chown): Likewise.
5256         * io/close.c (__close): Likewise.
5257         * io/creat.c (creat): Likewise.
5258         * io/creat64.c (creat64): Likewise.
5259         * io/dup.c (__dup): Likewise.
5260         * io/dup2.c (__dup2): Likewise.
5261         * io/dup3.c (__dup3): Likewise.
5262         * io/euidaccess.c (__euidaccess): Likewise.
5263         * io/faccessat.c (faccessat): Likewise.
5264         * io/fchmod.c (__fchmod): Likewise.
5265         * io/fchmodat.c (fchmodat): Likewise.
5266         * io/fchown.c (__fchown): Likewise.
5267         * io/fchownat.c (fchownat): Likewise.
5268         * io/fcntl.c (__fcntl): Likewise.
5269         * io/flock.c (__flock): Likewise.
5270         * io/fts.c (fts_load): Likewise.
5271         (fts_close): Likewise.
5272         (fts_read): Likewise.
5273         (fts_set): Likewise.
5274         (fts_children): Likewise.
5275         (fts_build): Likewise.
5276         (fts_stat): Likewise.
5277         (fts_sort): Likewise.
5278         (fts_alloc): Likewise.
5279         (fts_lfree): Likewise.
5280         (fts_palloc): Likewise.
5281         (fts_padjust): Likewise.
5282         (fts_maxarglen): Likewise.
5283         (fts_safe_changedir): Likewise.
5284         * io/getwd.c (getwd): Likewise.
5285         * io/isatty.c (__isatty): Likewise.
5286         * io/lchown.c (__lchown): Likewise.
5287         * io/link.c (__link): Likewise.
5288         * io/linkat.c (linkat): Likewise.
5289         * io/lseek.c (__libc_lseek): Likewise.
5290         * io/mkdir.c (__mkdir): Likewise.
5291         * io/mkdirat.c (mkdirat): Likewise.
5292         * io/mkfifo.c (mkfifo): Likewise.
5293         * io/mkfifoat.c (mkfifoat): Likewise.
5294         * io/open.c (__libc_open): Likewise.
5295         * io/open64.c (__libc_open64): Likewise.
5296         * io/readlink.c (__readlink): Likewise.
5297         * io/readlinkat.c (readlinkat): Likewise.
5298         * io/rmdir.c (__rmdir): Likewise.
5299         * io/symlink.c (__symlink): Likewise.
5300         * io/symlinkat.c (symlinkat): Likewise.
5301         * io/ttyname.c (ttyname): Likewise.
5302         * io/ttyname_r.c (__ttyname_r): Likewise.
5303         * io/umask.c (__umask): Likewise.
5304         * io/unlink.c (__unlink): Likewise.
5305         * io/unlinkat.c (unlinkat): Likewise.
5306         * io/utime.c (utime): Likewise.
5307         * libio/clearerr.c (clearerr): Likewise.
5308         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
5309         * libio/feof.c (_IO_feof): Likewise.
5310         * libio/feof_u.c (feof_unlocked): Likewise.
5311         * libio/ferror.c (_IO_ferror): Likewise.
5312         * libio/ferror_u.c (ferror_unlocked): Likewise.
5313         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5314         * libio/fileno.c (__fileno): Likewise.
5315         * libio/fputc.c (fputc): Likewise.
5316         * libio/fputc_u.c (fputc_unlocked): Likewise.
5317         * libio/fputwc.c (fputwc): Likewise.
5318         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
5319         * libio/freopen.c (freopen): Likewise.
5320         * libio/freopen64.c (freopen64): Likewise.
5321         * libio/fseek.c (fseek): Likewise.
5322         * libio/fseeko.c (fseeko): Likewise.
5323         * libio/fseeko64.c (fseeko64): Likewise.
5324         * libio/ftello.c (__ftello): Likewise.
5325         * libio/ftello64.c (ftello64): Likewise.
5326         * libio/fwide.c (fwide): Likewise.
5327         * libio/genops.c (_IO_un_link): Likewise.
5328         (_IO_link_in): Likewise.
5329         (_IO_least_marker): Likewise.
5330         (_IO_switch_to_main_get_area): Likewise.
5331         (_IO_switch_to_backup_area): Likewise.
5332         (_IO_switch_to_get_mode): Likewise.
5333         (_IO_free_backup_area): Likewise.
5334         (_IO_switch_to_put_mode): Likewise.
5335         (__overflow): Likewise.
5336         (__underflow): Likewise.
5337         (__uflow): Likewise.
5338         (_IO_setb): Likewise.
5339         (_IO_doallocbuf): Likewise.
5340         (_IO_default_underflow): Likewise.
5341         (_IO_default_uflow): Likewise.
5342         (_IO_default_xsputn): Likewise.
5343         (_IO_sgetn): Likewise.
5344         (_IO_default_xsgetn): Likewise.
5345         (_IO_sync): Likewise.
5346         (_IO_default_setbuf): Likewise.
5347         (_IO_default_seekpos): Likewise.
5348         (_IO_default_doallocate): Likewise.
5349         (_IO_init): Likewise.
5350         (_IO_old_init): Likewise.
5351         (_IO_default_sync): Likewise.
5352         (_IO_default_finish): Likewise.
5353         (_IO_default_seekoff): Likewise.
5354         (_IO_sputbackc): Likewise.
5355         (_IO_sungetc): Likewise.
5356         (_IO_set_column): Likewise.
5357         (_IO_set_column): Likewise.
5358         (_IO_adjust_column): Likewise.
5359         (_IO_get_column): Likewise.
5360         (_IO_init_marker): Likewise.
5361         (_IO_remove_marker): Likewise.
5362         (_IO_marker_difference): Likewise.
5363         (_IO_marker_delta): Likewise.
5364         (_IO_seekmark): Likewise.
5365         (_IO_unsave_markers): Likewise.
5366         (_IO_nobackup_pbackfail): Likewise.
5367         (_IO_default_pbackfail): Likewise.
5368         (_IO_default_seek): Likewise.
5369         (_IO_default_stat): Likewise.
5370         (_IO_default_read): Likewise.
5371         (_IO_default_write): Likewise.
5372         (_IO_default_showmanyc): Likewise.
5373         (_IO_default_imbue): Likewise.
5374         (_IO_iter_next): Likewise.
5375         (_IO_iter_file): Likewise.
5376         * libio/getc.c (_IO_getc): Likewise.
5377         * libio/getwc.c (_IO_getwc): Likewise.
5378         * libio/iofclose.c (_IO_new_fclose): Likewise.
5379         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5380         * libio/iofflush.c (_IO_fflush): Likewise.
5381         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
5382         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
5383         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
5384         * libio/iofgets.c (_IO_fgets): Likewise.
5385         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
5386         * libio/iofgetws.c (fgetws): Likewise.
5387         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5388         * libio/iofopen64.c (_IO_fopen64): Likewise.
5389         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5390         (_IO_cookie_write): Likewise.
5391         (_IO_cookie_seek): Likewise.
5392         (_IO_cookie_close): Likewise.
5393         (_IO_cookie_seekoff): Likewise.
5394         (_IO_old_cookie_seek): Likewise.
5395         * libio/iofputs.c (_IO_fputs): Likewise.
5396         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
5397         * libio/iofputws.c (fputws): Likewise.
5398         * libio/iofputws_u.c (fputws_unlocked): Likewise.
5399         * libio/iofread.c (_IO_fread): Likewise.
5400         * libio/iofread_u.c (__fread_unlocked): Likewise.
5401         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
5402         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5403         * libio/ioftell.c (_IO_ftell): Likewise.
5404         * libio/iofwrite.c (_IO_fwrite): Likewise.
5405         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5406         * libio/iogets.c (_IO_gets): Likewise.
5407         * libio/iopadn.c (_IO_padn): Likewise.
5408         * libio/iopopen.c (_IO_new_proc_open): Likewise.
5409         (_IO_new_popen): Likewise.
5410         (_IO_new_proc_close): Likewise.
5411         * libio/ioputs.c (_IO_puts): Likewise.
5412         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
5413         (_IO_seekoff): Likewise.
5414         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
5415         (_IO_seekpos): Likewise.
5416         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5417         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5418         * libio/ioungetc.c (_IO_ungetc): Likewise.
5419         * libio/ioungetwc.c (ungetwc): Likewise.
5420         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5421         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5422         * libio/iowpadn.c (_IO_wpadn): Likewise.
5423         * libio/libc_fatal.c (__libc_fatal): Likewise.
5424         * libio/memstream.c (__open_memstream): Likewise.
5425         (_IO_mem_sync): Likewise.
5426         (_IO_mem_finish): Likewise.
5427         * libio/oldfileops.c (_IO_old_file_init): Likewise.
5428         (_IO_old_file_close_it): Likewise.
5429         (_IO_old_file_finish): Likewise.
5430         (_IO_old_file_fopen): Likewise.
5431         (_IO_old_file_attach): Likewise.
5432         (_IO_old_file_setbuf): Likewise.
5433         (_IO_old_do_write): Likewise.
5434         (old_do_write): Likewise.
5435         (_IO_old_file_underflow): Likewise.
5436         (_IO_old_file_overflow): Likewise.
5437         (_IO_old_file_sync): Likewise.
5438         (_IO_old_file_seekoff): Likewise.
5439         (_IO_old_file_write): Likewise.
5440         (_IO_old_file_xsputn): Likewise.
5441         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5442         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5443         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
5444         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
5445         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5446         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
5447         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
5448         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5449         (_IO_old_popen): Likewise.
5450         (_IO_old_proc_close): Likewise.
5451         * libio/oldpclose.c (__old_pclose): Likewise.
5452         * libio/pclose.c (__new_pclose): Likewise.
5453         * libio/peekc.c (_IO_peekc_locked): Likewise.
5454         * libio/putc.c (_IO_putc): Likewise.
5455         * libio/putc_u.c (putc_unlocked): Likewise.
5456         * libio/putchar.c (putchar): Likewise.
5457         * libio/putchar_u.c (putchar_unlocked): Likewise.
5458         * libio/putwc.c (putwc): Likewise.
5459         * libio/putwc_u.c (putwc_unlocked): Likewise.
5460         * libio/putwchar.c (putwchar): Likewise.
5461         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5462         * libio/rewind.c (rewind): Likewise.
5463         * libio/setbuf.c (setbuf): Likewise.
5464         * libio/setlinebuf.c (setlinebuf): Likewise.
5465         * libio/vasprintf.c (_IO_vasprintf): Likewise.
5466         * libio/vscanf.c (_IO_vscanf): Likewise.
5467         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
5468         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
5469         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5470         * libio/wgenops.c (_IO_least_wmarker): Likewise.
5471         (_IO_switch_to_main_wget_area): Likewise.
5472         (_IO_switch_to_wbackup_area): Likewise.
5473         (_IO_wsetb): Likewise.
5474         (_IO_wdefault_pbackfail): Likewise.
5475         (_IO_wdefault_finish): Likewise.
5476         (_IO_wdefault_uflow): Likewise.
5477         (__woverflow): Likewise.
5478         (__wuflow): Likewise.
5479         (__wunderflow): Likewise.
5480         (_IO_wdefault_xsputn): Likewise.
5481         (_IO_wdefault_xsgetn): Likewise.
5482         (_IO_wdoallocbuf): Likewise.
5483         (_IO_wdefault_doallocate): Likewise.
5484         (_IO_switch_to_wget_mode): Likewise.
5485         (_IO_free_wbackup_area): Likewise.
5486         (_IO_switch_to_wput_mode): Likewise.
5487         (_IO_sputbackwc): Likewise.
5488         (_IO_sungetwc): Likewise.
5489         (_IO_adjust_wcolumn): Likewise.
5490         (_IO_init_wmarker): Likewise.
5491         (_IO_wmarker_delta): Likewise.
5492         (_IO_seekwmark): Likewise.
5493         (_IO_unsave_wmarkers): Likewise.
5494         * libio/wmemstream.c (open_wmemstream): Likewise.
5495         (_IO_wmem_sync): Likewise.
5496         (_IO_wmem_finish): Likewise.
5497         * locale/nl_langinfo.c (nl_langinfo): Likewise.
5498         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
5499         * locale/programs/simple-hash.c (init_hash): Likewise.
5500         (delete_hash): Likewise.
5501         (insert_entry): Likewise.
5502         (set_entry): Likewise.
5503         (next_prime): Likewise.
5504         (is_prime): Likewise.
5505         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
5506         (xmalloc): Likewise.
5507         (xrealloc): Likewise.
5508         * locale/programs/xstrdup.c (xstrdup): Likewise.
5509         * localedata/collate-test.c (xstrcoll): Likewise.
5510         * localedata/xfrm-test.c (xstrcmp): Likewise.
5511         * login/getlogin_r.c (__getlogin_r): Likewise.
5512         * login/getpt.c (__posix_openpt): Likewise.
5513         * login/login_tty.c (login_tty): Likewise.
5514         * login/setlogin.c (setlogin): Likewise.
5515         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
5516         (mach_msg_destroy_port): Likewise.
5517         (mach_msg_destroy_memory): Likewise.
5518         * malloc/mcheck.c (flood): Likewise.
5519         * misc/acct.c (acct): Likewise.
5520         * misc/brk.c (__brk): Likewise.
5521         * misc/chflags.c (chflags): Likewise.
5522         * misc/chroot.c (chroot): Likewise.
5523         * misc/fchflags.c (fchflags): Likewise.
5524         * misc/fstab.c (getfsspec): Likewise.
5525         (getfsfile): Likewise.
5526         * misc/fsync.c (fsync): Likewise.
5527         * misc/ftruncate.c (__ftruncate): Likewise.
5528         * misc/ftruncate64.c (__ftruncate64): Likewise.
5529         * misc/getdomain.c (getdomainname): Likewise.
5530         (getdomainname): Likewise.
5531         * misc/gethostname.c (__gethostname): Likewise.
5532         * misc/getpass.c (getpass): Likewise.
5533         * misc/getttyent.c (skip): Likewise.
5534         (value): Likewise.
5535         * misc/gtty.c (gtty): Likewise.
5536         * misc/hsearch.c (hsearch): Likewise.
5537         (hcreate): Likewise.
5538         * misc/hsearch_r.c (__hcreate_r): Likewise.
5539         (__hdestroy_r): Likewise.
5540         * misc/ioctl.c (__ioctl): Likewise.
5541         * misc/mkdtemp.c (mkdtemp): Likewise.
5542         * misc/mkostemp.c (mkostemp): Likewise.
5543         * misc/mkostemp64.c (mkostemp64): Likewise.
5544         * misc/mkostemps.c (mkostemps): Likewise.
5545         * misc/mkostemps64.c (mkostemps64): Likewise.
5546         * misc/mkstemp.c (mkstemp): Likewise.
5547         * misc/mkstemp64.c (mkstemp64): Likewise.
5548         * misc/mkstemps.c (mkstemps): Likewise.
5549         * misc/mkstemps64.c (mkstemps64): Likewise.
5550         * misc/mktemp.c (__mktemp): Likewise.
5551         * misc/preadv.c (preadv): Likewise.
5552         * misc/preadv64.c (preadv64): Likewise.
5553         * misc/pwritev.c (pwritev): Likewise.
5554         * misc/pwritev64.c (pwritev64): Likewise.
5555         * misc/readv.c (__readv): Likewise.
5556         * misc/revoke.c (revoke): Likewise.
5557         * misc/setdomain.c (setdomainname): Likewise.
5558         * misc/setegid.c (setegid): Likewise.
5559         * misc/seteuid.c (seteuid): Likewise.
5560         * misc/sethostid.c (sethostid): Likewise.
5561         * misc/sethostname.c (sethostname): Likewise.
5562         * misc/setregid.c (__setregid): Likewise.
5563         * misc/setreuid.c (__setreuid): Likewise.
5564         * misc/sstk.c (sstk): Likewise.
5565         * misc/stty.c (stty): Likewise.
5566         * misc/syscall.c (syscall): Likewise.
5567         * misc/syslog.c (setlogmask): Likewise.
5568         * misc/truncate.c (__truncate): Likewise.
5569         * misc/truncate64.c (truncate64): Likewise.
5570         * misc/ualarm.c (ualarm): Likewise.
5571         * misc/usleep.c (usleep): Likewise.
5572         * misc/ustat.c (ustat): Likewise.
5573         * misc/writev.c (__writev): Likewise.
5574         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
5575         * nptl/old_pthread_cond_broadcast.c
5576         (__pthread_cond_broadcast_2_0): Likewise.
5577         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
5578         Likewise.
5579         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
5580         Likewise.
5581         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
5582         Likewise.
5583         * nptl/pt-raise.c (raise): Likewise.
5584         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
5585         Likewise.
5586         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
5587         * nptl/pthread_barrierattr_destroy.c
5588         (pthread_barrierattr_destroy): Likewise.
5589         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5590         Likewise.
5591         * nptl/pthread_barrierattr_setpshared.c
5592         (pthread_barrierattr_setpshared): Likewise.
5593         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5594         Likewise.
5595         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5596         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5597         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5598         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
5599         Likewise.
5600         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
5601         Likewise.
5602         * nptl/pthread_condattr_getpshared.c
5603         (pthread_condattr_getpshared): Likewise.
5604         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
5605         Likewise.
5606         * nptl/pthread_condattr_setpshared.c
5607         (pthread_condattr_setpshared): Likewise.
5608         * nptl/pthread_detach.c (pthread_detach): Likewise.
5609         * nptl/pthread_equal.c (__pthread_equal): Likewise.
5610         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
5611         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
5612         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
5613         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
5614         Likewise.
5615         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5616         Likewise.
5617         * nptl/pthread_mutex_getprioceiling.c
5618         (pthread_mutex_getprioceiling): Likewise.
5619         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5620         Likewise.
5621         * nptl/pthread_mutexattr_getprotocol.c
5622         (pthread_mutexattr_getprotocol): Likewise.
5623         * nptl/pthread_mutexattr_getpshared.c
5624         (pthread_mutexattr_getpshared): Likewise.
5625         * nptl/pthread_mutexattr_getrobust.c
5626         (pthread_mutexattr_getrobust): Likewise.
5627         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5628         Likewise.
5629         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5630         Likewise.
5631         * nptl/pthread_mutexattr_setprioceiling.c
5632         (pthread_mutexattr_setprioceiling): Likewise.
5633         * nptl/pthread_mutexattr_setprotocol.c
5634         (pthread_mutexattr_setprotocol): Likewise.
5635         * nptl/pthread_mutexattr_setpshared.c
5636         (pthread_mutexattr_setpshared): Likewise.
5637         * nptl/pthread_mutexattr_setrobust.c
5638         (pthread_mutexattr_setrobust): Likewise.
5639         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5640         Likewise.
5641         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5642         Likewise.
5643         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5644         Likewise.
5645         * nptl/pthread_rwlockattr_getkind_np.c
5646         (pthread_rwlockattr_getkind_np): Likewise.
5647         * nptl/pthread_rwlockattr_getpshared.c
5648         (pthread_rwlockattr_getpshared): Likewise.
5649         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5650         Likewise.
5651         * nptl/pthread_rwlockattr_setkind_np.c
5652         (pthread_rwlockattr_setkind_np): Likewise.
5653         * nptl/pthread_rwlockattr_setpshared.c
5654         (pthread_rwlockattr_setpshared): Likewise.
5655         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5656         Likewise.
5657         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5658         Likewise.
5659         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5660         Likewise.
5661         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5662         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5663         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5664         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5665         * nptl/sem_close.c (sem_close): Likewise.
5666         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5667         * nptl/sem_init.c (__old_sem_init): Likewise.
5668         * nptl/sigaction.c (__sigaction): Likewise.
5669         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5670         * posix/_exit.c (_exit): Likewise.
5671         * posix/alarm.c (alarm): Likewise.
5672         * posix/confstr.c (confstr): Likewise.
5673         * posix/fpathconf.c (__fpathconf): Likewise.
5674         * posix/getgroups.c (__getgroups): Likewise.
5675         * posix/getpgid.c (__getpgid): Likewise.
5676         * posix/group_member.c (__group_member): Likewise.
5677         * posix/pathconf.c (__pathconf): Likewise.
5678         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5679         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5680         * posix/setgid.c (__setgid): Likewise.
5681         * posix/setpgid.c (__setpgid): Likewise.
5682         * posix/setuid.c (__setuid): Likewise.
5683         * posix/sleep.c (__sleep): Likewise.
5684         * posix/sysconf.c (__sysconf): Likewise.
5685         * posix/times.c (__times): Likewise.
5686         * posix/uname.c (__uname): Likewise.
5687         * posix/waitid.c (__waitid): Likewise.
5688         * pwd/getpw.c (__getpw): Likewise.
5689         * resolv/base64.c (b64_pton): Likewise.
5690         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5691         * resolv/gethnamaddr.c (Dprintf): Likewise.
5692         (gethostbyname): Likewise.
5693         (gethostbyname2): Likewise.
5694         (gethostbyaddr): Likewise.
5695         (_sethtent): Likewise.
5696         (_gethtbyname): Likewise.
5697         (_gethtbyname2): Likewise.
5698         (_gethtbyaddr): Likewise.
5699         (map_v4v6_address): Likewise.
5700         (map_v4v6_hostent): Likewise.
5701         (addrsort): Likewise.
5702         (ht_sethostent): Likewise.
5703         (ht_gethostbyname): Likewise.
5704         (ht_gethostbyaddr): Likewise.
5705         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5706         (inet_net_ntop_ipv4): Likewise.
5707         * resolv/inet_neta.c (inet_neta): Likewise.
5708         * resolv/inet_ntop.c (inet_ntop): Likewise.
5709         (inet_ntop4): Likewise.
5710         (inet_ntop6): Likewise.
5711         * resolv/inet_pton.c (__inet_pton): Likewise.
5712         (inet_pton4): Likewise.
5713         (inet_pton6): Likewise.
5714         * resolv/res_debug.c (loc_aton): Likewise.
5715         (loc_ntoa): Likewise.
5716         * resource/getpriority.c (__getpriority): Likewise.
5717         * resource/getrusage.c (__getrusage): Likewise.
5718         * resource/nice.c (nice): Likewise.
5719         * resource/setpriority.c (__setpriority): Likewise.
5720         * resource/setrlimit64.c (setrlimit64): Likewise.
5721         * resource/vlimit.c (vlimit): Likewise.
5722         * resource/vtimes.c (vtimes): Likewise.
5723         * rt/aio_error.c (aio_error): Likewise.
5724         * rt/aio_return.c (aio_return): Likewise.
5725         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5726         * signal/kill.c (__kill): Likewise.
5727         * signal/killpg.c (killpg): Likewise.
5728         * signal/raise.c (raise): Likewise.
5729         * signal/sigaction.c (__sigaction): Likewise.
5730         * signal/sigaddset.c (sigaddset): Likewise.
5731         * signal/sigaltstack.c (sigaltstack): Likewise.
5732         * signal/sigandset.c (sigandset): Likewise.
5733         * signal/sigblock.c (__sigblock): Likewise.
5734         * signal/sigdelset.c (sigdelset): Likewise.
5735         * signal/sigempty.c (sigemptyset): Likewise.
5736         * signal/sigfillset.c (sigfillset): Likewise.
5737         * signal/sighold.c (sighold): Likewise.
5738         * signal/sigignore.c (sigignore): Likewise.
5739         * signal/sigintr.c (siginterrupt): Likewise.
5740         * signal/sigisempty.c (sigisemptyset): Likewise.
5741         * signal/sigismem.c (sigismember): Likewise.
5742         * signal/signal.c (signal): Likewise.
5743         * signal/sigorset.c (sigorset): Likewise.
5744         * signal/sigpause.c (__sigpause): Likewise.
5745         * signal/sigpending.c (sigpending): Likewise.
5746         * signal/sigprocmask.c (__sigprocmask): Likewise.
5747         * signal/sigrelse.c (sigrelse): Likewise.
5748         * signal/sigreturn.c (__sigreturn): Likewise.
5749         * signal/sigset.c (sigset): Likewise.
5750         * signal/sigsetmask.c (__sigsetmask): Likewise.
5751         * signal/sigstack.c (sigstack): Likewise.
5752         * signal/sigsuspend.c (__sigsuspend): Likewise.
5753         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5754         * signal/sysv_signal.c (__sysv_signal): Likewise.
5755         * socket/accept.c (accept): Likewise.
5756         * socket/accept4.c (__libc_accept4): Likewise.
5757         * socket/bind.c (__bind): Likewise.
5758         * socket/connect.c (__connect): Likewise.
5759         * socket/getpeername.c (getpeername): Likewise.
5760         * socket/getsockname.c (__getsockname): Likewise.
5761         * socket/getsockopt.c (getsockopt): Likewise.
5762         * socket/listen.c (__listen): Likewise.
5763         * socket/recv.c (__recv): Likewise.
5764         * socket/recvmsg.c (__recvmsg): Likewise.
5765         * socket/send.c (__send): Likewise.
5766         * socket/sendmsg.c (__sendmsg): Likewise.
5767         * socket/shutdown.c (shutdown): Likewise.
5768         * socket/sockatmark.c (sockatmark): Likewise.
5769         * socket/socket.c (__socket): Likewise.
5770         * stdio-common/ctermid.c (ctermid): Likewise.
5771         * stdio-common/cuserid.c (cuserid): Likewise.
5772         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5773         * stdio-common/remove.c (remove): Likewise.
5774         * stdio-common/rename.c (rename): Likewise.
5775         * stdio-common/renameat.c (renameat): Likewise.
5776         * stdio-common/tempname.c (__gen_tempname): Likewise.
5777         * stdio-common/xbug.c (InitBuffer): Likewise.
5778         (AppendToBuffer): Likewise.
5779         (ReadFile): Likewise.
5780         * stdlib/a64l.c (a64l): Likewise.
5781         * stdlib/drand48_r.c (drand48_r): Likewise.
5782         * stdlib/getcontext.c (getcontext): Likewise.
5783         * stdlib/getenv.c (getenv): Likewise.
5784         * stdlib/l64a.c (l64a): Likewise.
5785         * stdlib/llabs.c (llabs): Likewise.
5786         * stdlib/lldiv.c (lldiv): Likewise.
5787         * stdlib/lrand48_r.c (lrand48_r): Likewise.
5788         * stdlib/mrand48_r.c (mrand48_r): Likewise.
5789         * stdlib/putenv.c (putenv): Likewise.
5790         * stdlib/random.c (__srandom): Likewise.
5791         (__initstate): Likewise.
5792         (__setstate): Likewise.
5793         * stdlib/random_r.c (__srandom_r): Likewise.
5794         (__setstate_r): Likewise.
5795         (__random_r): Likewise.
5796         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
5797         * stdlib/setcontext.c (setcontext): Likewise.
5798         * stdlib/setenv.c (setenv): Likewise.
5799         (unsetenv): Likewise.
5800         * stdlib/srand48.c (srand48): Likewise.
5801         * stdlib/srand48_r.c (__srand48_r): Likewise.
5802         * stdlib/swapcontext.c (swapcontext): Likewise.
5803         * stdlib/system.c (__libc_system): Likewise.
5804         * stdlib/tst-strtod.c (expand): Likewise.
5805         * stdlib/tst-strtol.c (expand): Likewise.
5806         * stdlib/tst-strtoll.c (expand): Likewise.
5807         * streams/fattach.c (fattach): Likewise.
5808         * streams/fdetach.c (fdetach): Likewise.
5809         * streams/getmsg.c (getmsg): Likewise.
5810         * streams/isastream.c (isastream): Likewise.
5811         * string/ffs.c (__ffs): Likewise.
5812         * string/ffsll.c (ffsll): Likewise.
5813         * string/memcmp.c (memcmp_common_alignment): Likewise.
5814         (memcmp_not_common_alignment): Likewise.
5815         (MEMCMP): Likewise.
5816         * string/memcpy.c (memcpy): Likewise.
5817         * string/memmove.c (MEMMOVE): Likewise.
5818         * string/memset.c (memset): Likewise.
5819         * string/rawmemchr.c (RAWMEMCHR): Likewise.
5820         * string/strchrnul.c (STRCHRNUL): Likewise.
5821         * string/strerror.c (strerror): Likewise.
5822         * string/strndup.c (__strndup): Likewise.
5823         * string/strverscmp.c (__strverscmp): Likewise.
5824         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
5825         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
5826         (clnttcp_freeres): Likewise.
5827         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
5828         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
5829         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
5830         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
5831         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
5832         (xdr_callhdr): Likewise.
5833         * sunrpc/rpcinfo.c (udpping): Likewise.
5834         (tcpping): Likewise.
5835         (pstatus): Likewise.
5836         (pmapdump): Likewise.
5837         (brdcst): Likewise.
5838         (deletereg): Likewise.
5839         (getprognum): Likewise.
5840         (getvers): Likewise.
5841         (get_inet_address): Likewise.
5842         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
5843         * sunrpc/svc_udp.c (svcudp_create): Likewise.
5844         (svcudp_stat): Likewise.
5845         (svcudp_recv): Likewise.
5846         (svcudp_reply): Likewise.
5847         (svcudp_getargs): Likewise.
5848         (svcudp_freeargs): Likewise.
5849         (svcudp_destroy): Likewise.
5850         * sunrpc/xdr.c (xdr_bytes): Likewise.
5851         (xdr_netobj): Likewise.
5852         (xdr_string): Likewise.
5853         (xdr_wrapstring): Likewise.
5854         * sunrpc/xdr_float.c (xdr_float): Likewise.
5855         (xdr_double): Likewise.
5856         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
5857         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
5858         * sysvipc/ftok.c (ftok): Likewise.
5859         * sysvipc/msgctl.c (msgctl): Likewise.
5860         * sysvipc/msgget.c (msgget): Likewise.
5861         * sysvipc/msgrcv.c (msgrcv): Likewise.
5862         * sysvipc/msgsnd.c (msgsnd): Likewise.
5863         * sysvipc/semget.c (semget): Likewise.
5864         * sysvipc/semop.c (semop): Likewise.
5865         * sysvipc/shmat.c (shmat): Likewise.
5866         * sysvipc/shmctl.c (shmctl): Likewise.
5867         * sysvipc/shmdt.c (shmdt): Likewise.
5868         * sysvipc/shmget.c (shmget): Likewise.
5869         * termios/cfmakeraw.c (cfmakeraw): Likewise.
5870         * termios/speed.c (cfgetospeed): Likewise.
5871         (cfgetispeed): Likewise.
5872         (cfsetospeed): Likewise.
5873         (cfsetispeed): Likewise.
5874         * termios/tcflow.c (tcflow): Likewise.
5875         * termios/tcflush.c (tcflush): Likewise.
5876         * termios/tcgetattr.c (__tcgetattr): Likewise.
5877         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
5878         * termios/tcgetsid.c (tcgetsid): Likewise.
5879         * termios/tcsendbrk.c (tcsendbreak): Likewise.
5880         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
5881         * time/adjtime.c (__adjtime): Likewise.
5882         * time/dysize.c (dysize): Likewise.
5883         * time/ftime.c (ftime): Likewise.
5884         * time/getitimer.c (__getitimer): Likewise.
5885         * time/gettimeofday.c (__gettimeofday): Likewise.
5886         * time/gmtime.c (__gmtime_r): Likewise.
5887         (gmtime): Likewise.
5888         * time/localtime.c (__localtime_r): Likewise.
5889         (localtime): Likewise.
5890         * time/offtime.c (__offtime): Likewise.
5891         * time/settimeofday.c (__settimeofday): Likewise.
5892         * time/stime.c (stime): Likewise.
5893         * time/strftime_l.c (tm_diff): Likewise.
5894         (iso_week_days): Likewise.
5895         * time/strptime.c (strptime): Likewise.
5896         * time/time.c (time): Likewise.
5897         * time/timespec_get.c (timespec_get): Likewise.
5898         * time/tzset.c (tzset_internal): Likewise.
5899         (compute_change): Likewise.
5900         (__tz_compute): Likewise.
5901         * wcsmbs/btowc.c (__btowc): Likewise.
5902         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
5903         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
5904         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
5905         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
5906         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
5907         * wcsmbs/wcscat.c (__wcscat): Likewise.
5908         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5909         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
5910         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
5911         * wcsmbs/wcscspn.c (wcscspn): Likewise.
5912         * wcsmbs/wcsdup.c (wcsdup): Likewise.
5913         * wcsmbs/wcslen.c (__wcslen): Likewise.
5914         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
5915         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
5916         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
5917         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
5918         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5919         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
5920         * wcsmbs/wcsspn.c (wcsspn): Likewise.
5921         * wcsmbs/wcsstr.c (wcsstr): Likewise.
5922         * wcsmbs/wcstok.c (wcstok): Likewise.
5923         * wcsmbs/wctob.c (wctob): Likewise.
5924         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
5925         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5926         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
5927         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
5928         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
5929         * wcsmbs/wmemset.c (__wmemset): Likewise.
5930         * wctype/wcfuncs.c (__towlower): Likewise.
5931         (__towupper): Likewise.
5933         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
5934         (lll_unlock_elision): Add adapt_count parameter.
5936 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5938         * sysdeps/nptl/configure.ac: Do not give errors based on the
5939         results of top-level configure tests.
5940         * sysdeps/nptl/configure: Regenerated.
5942         * configure.ac (libc_cv_Bgroup): Remove configure test.
5943         * configure: Regenerated.
5944         * config.make.in (have-Bgroup): Remove variable.
5946         * configure.ac (sizeof_long_double): Remove configure test.
5947         * configure: Regenerated.
5948         * config.make.in (sizeof-long-double): Remove variable.
5950         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
5951         * configure: Regenerated.
5952         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
5953         variable.
5954         (exceptions): Likewise.
5955         * sysdeps/arm/configure: Regenerated.
5956         * config.make.in (exceptions): Remove variable.
5957         * Makeconfig (uses-callbacks): Use -fexceptions instead of
5958         $(exceptions).
5959         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
5960         (CFLAGS-vdprintf_chk.c): Likewise.
5961         (CFLAGS-printf_chk.c): Likewise.
5962         (CFLAGS-fprintf_chk.c): Likewise.
5963         (CFLAGS-vprintf_chk.c): Likewise.
5964         (CFLAGS-vfprintf_chk.c): Likewise.
5965         (CFLAGS-gets_chk.c): Likewise.
5966         (CFLAGS-fgets_chk.c): Likewise.
5967         (CFLAGS-fgets_u_chk.c): Likewise.
5968         (CFLAGS-fread_chk.c): Likewise.
5969         (CFLAGS-fread_u_chk.c): Likewise.
5970         (CFLAGS-wprintf_chk.c): Likewise.
5971         (CFLAGS-fwprintf_chk.c): Likewise.
5972         (CFLAGS-vwprintf_chk.c): Likewise.
5973         (CFLAGS-vfwprintf_chk.c): Likewise.
5974         (CFLAGS-fgetws_chk.c): Likewise.
5975         (CFLAGS-fgetws_u_chk.c): Likewise.
5976         * libio/Makefile (CFLAGS-fileops.c): Likewise.
5977         (CFLAGS-fputc.c): Likewise.
5978         (CFLAGS-fputwc.c): Likewise.
5979         (CFLAGS-freopen64.c): Likewise.
5980         (CFLAGS-freopen.c): Likewise.
5981         (CFLAGS-fseek.c): Likewise.
5982         (CFLAGS-fseeko64.c): Likewise.
5983         (CFLAGS-fseeko.c): Likewise.
5984         (CFLAGS-ftello64.c): Likewise.
5985         (CFLAGS-ftello.c): Likewise.
5986         (CFLAGS-fwide.c): Likewise.
5987         (CFLAGS-genops.c): Likewise.
5988         (CFLAGS-getc.c): Likewise.
5989         (CFLAGS-getchar.c): Likewise.
5990         (CFLAGS-getwc.c): Likewise.
5991         (CFLAGS-getwchar.c): Likewise.
5992         (CFLAGS-iofclose.c): Likewise.
5993         (CFLAGS-iofflush.c): Likewise.
5994         (CFLAGS-iofgetpos64.c): Likewise.
5995         (CFLAGS-iofgetpos.c): Likewise.
5996         (CFLAGS-iofgets.c): Likewise.
5997         (CFLAGS-iofgetws.c): Likewise.
5998         (CFLAGS-iofputs.c): Likewise.
5999         (CFLAGS-iofputws.c): Likewise.
6000         (CFLAGS-iofread.c): Likewise.
6001         (CFLAGS-iofsetpos64.c): Likewise.
6002         (CFLAGS-iofsetpos.c): Likewise.
6003         (CFLAGS-ioftell.c): Likewise.
6004         (CFLAGS-iofwrite.c): Likewise.
6005         (CFLAGS-iogetdelim.c): Likewise.
6006         (CFLAGS-iogetline.c): Likewise.
6007         (CFLAGS-iogets.c): Likewise.
6008         (CFLAGS-iogetwline.c): Likewise.
6009         (CFLAGS-ioputs.c): Likewise.
6010         (CFLAGS-ioseekoff.c): Likewise.
6011         (CFLAGS-ioseekpos.c): Likewise.
6012         (CFLAGS-iosetbuffer.c): Likewise.
6013         (CFLAGS-iosetvbuf.c): Likewise.
6014         (CFLAGS-ioungetc.c): Likewise.
6015         (CFLAGS-ioungetwc.c): Likewise.
6016         (CFLAGS-oldfileops.c): Likewise.
6017         (CFLAGS-oldiofclose.c): Likewise.
6018         (CFLAGS-oldiofgetpos64.c): Likewise.
6019         (CFLAGS-oldiofgetpos.c): Likewise.
6020         (CFLAGS-oldiofsetpos64.c): Likewise.
6021         (CFLAGS-oldiofsetpos.c): Likewise.
6022         (CFLAGS-peekc.c): Likewise.
6023         (CFLAGS-putc.c): Likewise.
6024         (CFLAGS-putchar.c): Likewise.
6025         (CFLAGS-putwc.c): Likewise.
6026         (CFLAGS-putwchar.c): Likewise.
6027         (CFLAGS-rewind.c): Likewise.
6028         (CFLAGS-wfileops.c): Likewise.
6029         (CFLAGS-wgenops.c): Likewise.
6030         (CFLAGS-oldiofopen.c): Likewise.
6031         (CFLAGS-iofopen.c): Likewise.
6032         (CFLAGS-iofopen64.c): Likewise.
6033         (CFLAGS-oldtmpfile.c): Likewise.
6034         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
6035         (CFLAGS-fprintf.c): Likewise.
6036         (CFLAGS-printf.c): Likewise.
6037         (CFLAGS-vfwprintf.c): Likewise.
6038         (CFLAGS-vfscanf.c): Likewise.
6039         (CFLAGS-vfwscanf.c): Likewise.
6040         (CFLAGS-fscanf.c): Likewise.
6041         (CFLAGS-scanf.c): Likewise.
6042         (CFLAGS-isoc99_vfscanf.c): Likewise.
6043         (CFLAGS-isoc99_vscanf.c): Likewise.
6044         (CFLAGS-isoc99_fscanf.c): Likewise.
6045         (CFLAGS-isoc99_scanf.c): Likewise.
6046         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
6047         (CFLAGS-isoc99_fwscanf.c): Likewise.
6048         (CFLAGS-isoc99_vwscanf.c): Likewise.
6049         (CFLAGS-isoc99_vfwscanf.c): Likewise.
6051         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
6052         after mkstemp64.
6053         * login/tst-utmp.c (do_prepare): Likewise.
6054         * rt/tst-aio.c (do_prepare): Likewise.
6055         * rt/tst-aio64.c (do_prepare): Likewise.
6057 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6059         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6060         (__lll_lock_elision): Remove adapt_count decrement...
6061         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6062         (__lll_trylock_elision): Likewise.
6063         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6064         (__lll_unlock_elision): ... to here. And utilize
6065         new adapt_count parameter.
6066         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6067         (__lll_unlock_elision): Update to include adapt_count
6068         parameter.
6069         (lll_unlock_elision): Pass pointer to adapt_count
6070         variable.
6072 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6074         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
6075         Add elision adapt_count parameter to list of arguments.
6076         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6077         (lll_unlock_elision): Update with new parameter list
6078         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6079         (lll_unlock_elision): Likewise.
6080         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
6081         (lll_unlock_elision): Likewise.
6083 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6085         [BZ #19122]
6086         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
6087         attribute_hidden.
6089         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
6090         attribute_hidden.
6091         [IS_IN (rtld)] (__strdup): Likewise.
6092         [IS_IN (rtld)] (__strerror_r): Likewise.
6093         [IS_IN (rtld)] (__strsep_g): Likewise.
6094         [IS_IN (rtld)] (memchr): Likewise.
6095         [IS_IN (rtld)] (memcmp): Likewise.
6096         [IS_IN (rtld)] (memcpy): Likewise.
6097         [IS_IN (rtld)] (memmove): Likewise.
6098         [IS_IN (rtld)] (memset): Likewise.
6099         [IS_IN (rtld)] (rawmemchr): Likewise.
6100         [IS_IN (rtld)] (stpcpy): Likewise.
6101         [IS_IN (rtld)] (strchr): Likewise.
6102         [IS_IN (rtld)] (strcmp): Likewise.
6103         [IS_IN (rtld)] (strlen): Likewise.
6104         [IS_IN (rtld)] (strnlen): Likewise.
6105         [IS_IN (rtld)] (strsep): Likewise.
6107         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
6108         attribute_hidden.
6109         [IS_IN (rtld)] (__strtoul_internal): Likewise.
6111         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
6112         attribute_hidden.
6113         [IS_IN (rtld)] (__libc_sigaction): Likewise.
6115         * include/setjmp.h (__longjmp): Add attribute_hidden.
6116         [IS_IN (rtld)] (__sigsetjmp): Likewise.
6118         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
6119         Add attribute_hidden.
6121         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
6122         [IS_IN (rtld)] (__open): Likewise.
6123         [IS_IN (rtld)] (__fcntl): Likewise.
6125         * include/dirent.h (__opendirat): Add attribute_hidden.
6126         (__getdents): Likewise.
6127         (__getdents64): Likewise.
6128         (__alloc_dir): Likewise.
6129         [IS_IN (rtld)] (__closedir): Likewise.
6130         [IS_IN (rtld)] (__fdopendir): Likewise.
6131         [IS_IN (rtld)] (__readdir): Likewise.
6132         [IS_IN (rtld)] (__readdir64): Likewise.
6133         [IS_IN (rtld)] (__rewinddir): Likewise.
6135         * include/dlfcn.h (_dl_catch_error): Moved to ...
6136         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
6137         attribute_hidden.
6139         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
6140         (_itoa_word): Likewise.
6142         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
6143         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
6144         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
6145         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
6146         (_dl_higher_prime_number): Likewise.
6147         (_dl_debug_printf_c): Likewise.
6148         (_dl_signal_cerror): Likewise.
6149         (_dl_receive_error): Likewise.
6150         (_dl_reloc_bad_type): Likewise.
6151         (_dl_resolve_conflicts): Likewise.
6152         (_dl_check_all_versions): Likewise.
6153         (_dl_check_map_versions): Likewise.
6154         (_dl_sort_fini): Likewise.
6155         (_dl_debug_initialize): Likewise.
6156         (_dl_init_paths): Likewise.
6157         (_dl_show_auxv): Likewise.
6158         (_dl_next_ld_env_entry): Likewise.
6159         (_dl_important_hwcaps): Likewise.
6160         (_dl_load_cache_lookup): Likewise.
6161         (_dl_update_slotinfo): Likewise.
6162         (_dl_show_scope): Likewise.
6164         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
6165         attribute_hidden.
6166         (_wordcopy_fwd_dest_aligned): Likewise.
6167         (_wordcopy_bwd_aligned): Likewise.
6168         (_wordcopy_bwd_dest_aligned): Likewise.
6170         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6171         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6172         Likewise.
6173         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6174         Likewise.
6175         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
6177 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6179         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
6180         GCC 5 requirement.
6182 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6184         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
6185         test.
6186         * sysdeps/i386/configure: Regenerated.
6187         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
6188         code unconditional.
6190         * configure.ac (libc_cv_asm_previous_directive): Remove configure
6191         test.
6192         (libc_cv_asm_popsection_directive): Likewise.
6193         * configure: Regenerated.
6194         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
6195         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
6196         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
6197         (__make_section_unallocated): Make definition unconditional.
6198         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
6199         Remove conditional definition.
6200         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
6201         (__make_section_unallocated): Likewise.
6203         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
6204         * configure: Regenerated.
6205         * config.make.in (static-libgcc): Remove variable.
6206         * Makerules (build-shlib-helper): Use -static-libgcc instead of
6207         $(static-libgcc).
6208         (build-module-helper): Likewise.
6210         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
6211         * configure: Regenerated.
6213 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6215         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
6216         (struct char_buffer): New type.
6217         (char_buffer_start, char_buffer_size, char_buffer_error)
6218         (char_buffer_rewind, char_buffer_add): New functions.
6219         (ADDW): Remove macro, replaced by the char_buffer_add function.
6220         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
6221         of extend_alloca.  Make control flow more explicit.
6223 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6225         [BZ #19137]
6226         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6227         Add -fomit-frame-pointer.
6228         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
6230 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6232         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
6233         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
6234         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
6235         only if !__GNUC_PREREQ (5,0).
6236         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
6237         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
6238         (INTERNAL_SYSCALL_NCS): Likewise.
6239         (LOADREGS_0): New macro for GCC 5.
6240         (ASMARGS_0): Likewise.
6241         (LOADREGS_1): Likewise.
6242         (ASMARGS_1): Likewise.
6243         (LOADREGS_2): Likewise.
6244         (ASMARGS_2): Likewise.
6245         (LOADREGS_3): Likewise.
6246         (ASMARGS_3): Likewise.
6247         (LOADREGS_4): Likewise.
6248         (ASMARGS_4): Likewise.
6249         (LOADREGS_5): Likewise.
6250         (ASMARGS_5): Likewise.
6251         (LOADREGS_6): Likewise.
6252         (ASMARGS_6): Likewise.
6254 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6256         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
6257         -fomit-frame-pointer.
6258         (CFLAGS-mmap64.c): Likewise.
6259         (CFLAGS-semtimedop.c): Likewise.
6260         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
6261         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
6262         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6263         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6265 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6267         [BZ #18928]
6268         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
6269         _dl_pointer_guard member.
6270         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
6271         initializer.
6272         (security_init): Always set up pointer guard.
6273         (process_envvars): Do not process LD_POINTER_GUARD.
6275 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
6277         [BZ #19134]
6278         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
6279         (.LC2): Likewise.
6280         (.LC3): Likewise.
6281         (__lround): Do not add 0.5 to integer or out-of-range arguments.
6283 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6285         [BZ #19129]
6286         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
6287         r0 and r1.
6289 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
6291         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
6293 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
6295         * include/stap-probe.h: Fix macro definition formatting.
6297 2015-10-14  Florian Weimer  <fweimer@redhat.com>
6299         [BZ #19074]
6300         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
6301         load and store num_ifs.
6303 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6305         [BZ #18822]
6306         * sysdeps/unix/sysv/linux/sched_getaffinity.c
6307         (__sched_getaffinity_new): Add libc_hidden_proto and
6308         libc_hidden_def.
6310 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6312         [BZ #19007]
6313         * scripts/localplt.awk: Also allow GOT references.
6314         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
6315         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
6316         with "+ REL R_386_GLOB_DAT".
6317         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
6318         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
6320 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6322         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
6323         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6324         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
6325         Likewise.
6326         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6327         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
6328         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6329         INTERNAL_SYSCALLINTERNAL_SYSCALL and
6330         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6331         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6332         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6333         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6334         Likewise.
6335         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6337 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6339         [BZ #19125]
6340         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
6341         <math_private.h> and <stdint.h>.
6342         (__llround): Avoid conversions to and from long long int, and
6343         subtractions, where those might raise spurious exceptions.
6344         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6345         <math_private.h> and <stdint.h>.
6346         (__llroundf): Avoid conversions to and from long long int, and
6347         subtractions, where those might raise spurious exceptions.
6349 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6351         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
6352         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6353         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6354         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
6355         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6356         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6357         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
6358         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
6359         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
6360         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6361         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6362         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6363         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
6364         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6365         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6366         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
6367         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
6368         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6369         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
6370         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
6371         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6372         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
6373         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
6374         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6375         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
6376         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6377         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
6378         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6379         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6380         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
6381         (__xstat64_conv): Likewise.
6382         (__xstat32_conv): Likewise.
6384 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6386         * sysdeps/unix/sysv/linux/sysdep.h: New file.
6387         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
6388         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
6389         <sysdeps/unix/sysv/linux/sysdep.h>.
6390         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6391         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
6392         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
6393         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6394         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6395         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
6396         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
6397         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6398         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6401         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6402         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6403         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6404         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6405         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6406         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
6407         (sysdep-dl-routines): Add sysdep.
6408         [$(subdir) == nptl] (libpthread-routines): Likewise.
6409         [$(subdir) == rt] (librt-routines): Likewise.
6410         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
6411         PIC when branching to SYSCALL_ERROR_LABEL.
6412         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
6413         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
6414         <sysdeps/unix/sysv/linux/sysdep.h>.
6415         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
6416         (SYSCALL_ERROR_ERRNO): Removed.
6417         (SYSCALL_ERROR_HANDLER): Changed to empty.
6418         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
6419         (__syscall_error): New prototype.
6420         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
6421         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
6423 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6425         [BZ #19124]
6426         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
6427         (_dl_runtime_resolve_avx512): Make it a hidden alias of
6428         _dl_runtime_resolve_avx.
6429         (_dl_runtime_profile_avx512): Make it a hidden alias of
6430         _dl_runtime_profile_avx.
6432 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6434         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
6435         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
6436         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
6437         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
6439         [BZ #16422]
6440         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
6441         New configure test.
6442         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
6443         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
6444         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
6445         <math_private.h> and <stdint.h>.
6446         (__llrint): Avoid conversions to long long int where those might
6447         raise spurious exceptions.
6448         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6449         <math_private.h> and <stdint.h>.
6450         (__llrintf): Avoid conversions to long long int where those might
6451         raise spurious exceptions.
6453 2015-10-12  Andreas Schwab  <schwab@suse.de>
6455         [BZ #18969]
6456         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
6457         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
6458         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
6459         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
6460         $(gen-locales).
6461         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
6462         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
6463         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
6464         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
6465         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
6466         $(gen-locales).
6467         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
6468         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
6469         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
6470         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
6471         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
6472         ($(objpfx)tst-ftell-active-handler.out)
6473         ($(objpfx)tst-ftell-append.out)
6474         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
6475         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
6476         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
6477         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
6478         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
6479         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
6480         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
6481         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
6482         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
6483         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
6484         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
6485         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
6486         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
6487         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
6488         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
6489         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
6490         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
6491         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
6492         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
6493         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
6494         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
6495         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
6496         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
6497         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
6498         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
6499         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
6500         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
6501         $(gen-locales).
6502         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
6503         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
6504         $(gen-locales).
6505         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
6506         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
6507         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
6508         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
6509         $(gen-locales).
6510         * libio/tst_wprintf2.c (main): Use explicit locale.
6511         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
6513 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6515         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
6516         __msg_sig_post.
6517         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
6519 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6521         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6522         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6524         * sysdeps/arm/libm-test-ulps: Regenerated.
6526         [BZ #15470]
6527         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
6529         [BZ #16399]
6530         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
6531         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
6532         and <fix-fp-int-convert-overflow.h>.
6533         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6534         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6535         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
6536         and <fix-fp-int-convert-overflow.h>.
6537         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
6538         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6539         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
6540         <fix-fp-int-convert-overflow.h>.
6541         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6542         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6543         * sysdeps/ieee754/dbl-64/s_lround.c: Include
6544         <fix-fp-int-convert-overflow.h>.
6545         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
6546         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6547         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
6548         and <fix-fp-int-convert-overflow.h>.
6549         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6550         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6551         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
6552         <limits.h> and <fix-fp-int-convert-overflow.h>.
6553         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6554         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6555         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
6556         and <fix-fp-int-convert-overflow.h>.
6557         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6558         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6559         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
6560         and <fix-fp-int-convert-overflow.h>.
6561         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6562         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6563         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
6565 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
6567         [BZ #18589]
6568         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
6569         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
6570         $(gen-locales).
6572 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6573             Phil Blundell <pb@pbcl.net>
6575         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
6576         * nptl/tst-cancel26.c: New file.
6577         * nptl/tst-cancel27.c: Likewise.
6579 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
6581         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
6582         __ILP32__ isn't defined.
6583         (lrint): Likewise.
6584         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
6585         (lrintf): Likewise.
6586         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
6587         (lrintl): Likewise.
6588         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
6589         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
6590         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
6592 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6594         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6595         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6597         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
6598         file.
6599         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
6600         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6602 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6604         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
6605         configure test.
6606         * sysdeps/i386/configure: Regenerated.
6607         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
6608         configure test.
6609         * sysdeps/x86_64/configure: Regenerated.
6610         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
6611         Make code unconditional.
6613         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
6614         test.
6615         * sysdeps/i386/configure: Regenerated.
6616         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
6617         test.
6618         * sysdeps/x86_64/configure: Regenerated.
6619         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6620         Make code unconditional.
6621         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6622         Likewise.
6623         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6624         Likewise.
6625         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6626         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6627         code unconditional.
6628         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6629         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6630         code unconditional.
6631         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6632         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6633         code unconditional.
6634         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6635         code unconditional.
6636         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6637         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6638         code unconditional.
6639         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6640         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6641         code unconditional.
6642         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6643         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6644         code unconditional.
6645         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6646         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6647         code unconditional.
6648         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6649         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6651         [BZ #19095]
6652         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6653         mantissa to long int before shifting left.
6655 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6657         [BZ #19094]
6658         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6659         <limits.h>.
6660         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6661         when result overflows but exception would not result from cast.
6662         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6663         <limits.h>.
6664         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6665         when result overflows but exception would not result from cast.
6666         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6667         <limits.h>.
6668         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6669         when result overflows but exception would not result from cast.
6670         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6671         <limits.h>.
6672         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6673         when result overflows but exception would not result from cast.
6674         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6675         <limits.h>.
6676         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6677         when result overflows but exception would not result from cast.
6678         * math/libm-test.inc (lrint_test_data): Add more tests.
6679         (llrint_test_data): Likewise.
6681 2015-10-08  Roland McGrath  <roland@hack.frob.com>
6683         [BZ #18872]
6684         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6685         Move out from under [$(run-built-tests) = yes] conditional.
6686         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6687         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6689 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
6691         [BZ #18589]
6692         * string/Makefile (tests): Add bug-strcoll2.
6693         (LOCALES): Add cs_CZ.UTF-8.
6694         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6696         [BZ #18589]
6697         * string/bug-strcoll2.c: New file.
6698         * locale/categories.def: Revert commit
6699         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6700         * locale/langinfo.h: Likewise.
6701         * locale/localeinfo.h: Likewise.
6702         * locale/C-collate.c: Likewise.
6703         * locale/programs/ld-collate.c (collate_output): Likewise.
6704         * string/strcoll_l.c (STRDIFF): Likewise.
6705         (STRCOLL): Likewise.
6706         * wcsmbs/wcscoll_l.c: Likewise.
6708 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6710         * math/libm-test.inc (lround_test_data): Do not expect the absence
6711         of "inexact" for some tests with non-integer arguments.
6712         (llround_test_data): Likewise.
6714         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6715         test.
6716         (libc_cv_cc_sse2avx): Likewise.
6717         * sysdeps/i386/configure: Regenerated.
6718         * sysdeps/i386/i686/multiarch/Makefile
6719         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6720         [$(subdir) = math].
6721         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6722         code unconditional.
6723         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6724         Likewise.
6725         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6726         Likewise.
6727         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6728         Likewise.
6729         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6730         test.
6731         (libc_cv_cc_sse2avx): Likewise.
6732         * sysdeps/x86_64/configure: Regenerated.
6733         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6734         unconditional.
6735         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6736         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6737         unconditional.
6738         (_dl_runtime_profile)
6739         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6740         conditional code.
6741         * sysdeps/x86_64/fpu/multiarch/Makefile
6742         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6743         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6744         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6745         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6746         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6747         * sysdeps/x86_64/fpu/multiarch/e_log.c
6748         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6749         * sysdeps/x86_64/fpu/multiarch/s_atan.c
6750         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6751         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6752         Likewise.
6753         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6754         Likewise.
6755         * sysdeps/x86_64/fpu/multiarch/s_sin.c
6756         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6757         * sysdeps/x86_64/fpu/multiarch/s_tan.c
6758         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6759         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6760         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6761         (HAVE_SSE2AVX_SUPPORT): Likewise.
6763 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
6765         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6766         instead of #pragma optimize.
6768 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6770         [BZ #17195]
6771         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6772         as is similarly done in systrim and _int_free already.
6774 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6776         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
6778 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6780         [BZ #19088]
6781         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
6782         <limits.h>.
6783         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6784         overflows but exception would not result from cast.
6785         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
6786         and <limits.h>.
6787         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6788         overflows but exception would not result from cast.
6789         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
6790         <limits.h>.
6791         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6792         overflows but exception would not result from cast.
6793         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
6794         <limits.h>.
6795         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6796         overflows but exception would not result from cast.
6797         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
6798         <limits.h>.
6799         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6800         overflows but exception would not result from cast.
6801         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
6802         <limits.h>.
6803         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6804         overflows but exception would not result from cast.
6805         * math/libm-test.inc (lround_test_data): Add more tests.
6806         (llround_test_data): Likewise.
6808 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
6810         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
6811         (CFLAGS-ialloc.c): Ditto.
6812         (CFLAGS-scheck.c): Ditto.
6814 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6816         [BZ #19086]
6817         * manual/filesys.texi (Storage Allocation): Fix argument order for
6818         posix_fallocate64.
6820 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6822         [BZ #19085]
6823         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
6824         exponent below 48 inside case for non-overflowing exponent.
6825         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6827 2015-10-07  Florian Weimer  <fweimer@redhat.com>
6829         * iconvdata/cp737.h (from_idx): Add const.
6830         * iconvdata/cp775.h (from_idx): Likewise.
6832 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6834         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
6835         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6836         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6838         [BZ #19079]
6839         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
6840         file, conditioned on [!_LP64].
6841         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
6842         [!_LP64] (__lround): Do not define as function or alias.
6843         [!_LP64] (lround): Likewise.
6844         [!_LP64] (__lroundl): Likewise.
6845         [!_LP64] (lroundl): Likewise.
6846         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
6847         macro.
6848         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6849         Likewise.
6851 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6853         * math/libm-test.inc (lrint_test_data): Add more tests.
6854         (llrint_test_data): Likewise.
6855         (lround_test_data): Likewise.
6856         (llround_test_data): Likewise.
6858         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
6859         (llrint_test_data): Add tests used for lrint.
6861         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
6862         test.
6863         * sysdeps/i386/configure: Regenerated.
6864         * sysdeps/i386/i686/multiarch/Makefile
6865         [$(config-cflags-sse4) = yes]: Make code unconditional.
6866         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6867         Likewise.
6868         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
6869         Likewise.
6870         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
6871         test.
6872         * sysdeps/x86_64/configure: Regenerated.
6873         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
6874         Make code unconditional.
6875         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6876         Likewise.
6877         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
6878         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
6880         * scripts/rpm2dynsym.sh: Remove file.
6882 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6884         * configure.ac (libc_cv_cxx_thread_local): Define.
6885         * configure: Regenerate.
6886         * config.make.in (have-cxx-thread_local): Define.
6887         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
6888         (LDLIBS-tst-thread_local1): Define.
6889         (tests): Add tst-thread_local1.
6890         [have-cxx-thread_local != yes] (tests-unsupported): Add
6891         tst-thread_local1.
6892         * nptl/tst-thread_local1.cc: New file.
6894 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6896         [BZ #19078]
6897         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
6898         (u_thres): Likewise.
6899         (__expl): Determine whether to call __kernel_standard_l based on
6900         value of result, not argument.
6902         * math/libm-test.inc (scalb_test_data): Add more expectations for
6903         the "inexact" exception.
6905         [BZ #19077]
6906         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
6907         0.0L for argument 1.0L.
6909         [BZ #19076]
6910         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
6911         constant 0.0L when computing infinite result.
6913 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6915         [BZ #10432]
6916         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
6917         malloc_usable_size.
6919 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6921         [BZ #19018]
6922         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6923         Mangle function pointer before storing it.
6924         (__call_tls_dtors): Demangle function pointer before calling it.
6926 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6928         [BZ #19012]
6929         * iconv/gconv_db.c (gen_steps): Check for additional errors.
6930         Clean up on failure.
6932 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
6934         [BZ #19071]
6935         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
6936         long int variable to store possibly incremented high part of
6937         mantissa.
6938         * math/libm-test.inc (lround_test_data): Add tests used for
6939         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
6940         for tests requiring 64-bit long.  Do not condition tests on
6941         [TEST_FLOAT] unnecessarily.
6942         (llround_test_data): Add tests used for lround.  Add another
6943         expectation for the "inexact" exception.  Do not condition tests
6944         on [TEST_FLOAT] unnecessarily.
6946         [BZ #887]
6947         [BZ #19049]
6948         [BZ #19050]
6949         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
6950         * sysdeps/ieee754/dbl-64/e_log10.c: Include
6951         <fix-int-fp-convert-zero.h>.
6952         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6953         * sysdeps/ieee754/dbl-64/e_log2.c: Include
6954         <fix-int-fp-convert-zero.h>.
6955         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6956         * sysdeps/ieee754/dbl-64/s_erf.c: Include
6957         <fix-int-fp-convert-zero.h>.
6958         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6959         * sysdeps/ieee754/dbl-64/s_logb.c: Include
6960         <fix-int-fp-convert-zero.h>.
6961         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6962         * sysdeps/ieee754/flt-32/e_log10f.c: Include
6963         <fix-int-fp-convert-zero.h>.
6964         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6965         * sysdeps/ieee754/flt-32/e_log2f.c: Include
6966         <fix-int-fp-convert-zero.h>.
6967         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6968         * sysdeps/ieee754/flt-32/s_erff.c: Include
6969         <fix-int-fp-convert-zero.h>.
6970         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6971         * sysdeps/ieee754/flt-32/s_logbf.c: Include
6972         <fix-int-fp-convert-zero.h>.
6973         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6974         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
6975         <fix-int-fp-convert-zero.h>.
6976         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6977         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
6978         <fix-int-fp-convert-zero.h>.
6979         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6980         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
6981         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
6982         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
6983         file.
6984         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
6986 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6988         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6990 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
6992         [BZ #19059]
6993         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
6994         overflowing computation.
6995         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6996         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6997         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6998         Likewise.
6999         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7000         Likewise.
7001         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7002         Likewise.
7003         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7004         Likewise.
7005         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7006         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7007         Likewise.
7008         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7009         Likewise.
7010         * math/libm-test.inc (nexttoward_test_data): Add more tests.
7012         * nss/rewrite_field.c (__nss_rewrite_field): Use
7013         internal_function.
7014         * nss/valid_field.c (__nss_valid_field): Likewise.
7015         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7017 2015-10-02  Florian Weimer  <fweimer@redhat.com>
7019         [BZ #18724]
7020         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
7021         (__nss_invalid_field_characters, __nss_valid_field)
7022         (__nss_valid_list_field, __nss_rewrite_field): Declare.
7023         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
7024         tst-field.c: New file.
7025         * nss/Makefile (routines): Add valid_field, rewrite_field.
7026         (tests-static): Define unconditionally.
7027         (tests): Include tests-static.
7028         [build-static-nss] (tests-static): Use append.
7029         [build-static-nss] (tests): Remove modification.
7030         * nss/getent.c (print_group): Call putgrent.  Report error.
7031         (print_gshadow): Call putsgent.  Report error.
7032         (print_passwd): Call putpwent.  Report error.
7033         (print_shadow): Call putspent.  Report error.
7034         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
7035         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
7036         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
7037         name, password, directory, shell fields for valid syntax.  Rewrite
7038         GECOS field to match syntax.
7039         * pwd/Makefile (tests): Add tst-putpwent.
7040         * pwd/tst-putpwent.c: New file.
7041         * grp/putgrent.c (putgrent): Convert to ISO function definition.
7042         Check grName, grpasswd, gr_mem fields for valid syntax.
7043         Change loop variable i to size_t.
7044         * grp/Makefile (tests): Add tst-putgrent.
7045         * grp/tst-putgrent.c: New file.
7046         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
7047         valid syntax.
7048         * shadow/Makefile (tests): Add tst-putspent.
7049         * shadow/tst-putspent.c: New file.
7050         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
7051         sg_mem fields for valid syntax.
7052         * gshadow/Makefile (tests): Add tst-putsgent.
7053         * gshadow/tst-putsgent.c: New file.
7055 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7057         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
7058         assembly instructions.
7060 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7062         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
7063         prefix from operands.
7065 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
7067         [BZ #16347]
7068         [BZ #19046]
7069         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
7070         <libc-internal.h>.
7071         (MAXLGM): Do not use diagnostic control macros.
7072         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
7073         threshold for ldbl-128ibm.
7074         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
7075         instead of multiplying by log then subtracting.
7076         * math/auto-libm-test-in: Add more tests of lgamma.
7077         * math/auto-libm-test-out: Regenerated.
7079         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
7080         (TYPE_HEX_DIG): Likewise.
7081         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
7082         precisions when printing floating-point numbers.
7083         (check_float_internal): Likewise.
7085 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7087         [BZ #16620]
7088         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
7089         of log (10) rounded downward to 48 bits.
7090         (log10_low): Use corresponding low part of log (10).
7092         [BZ #19032]
7093         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
7094         compute result as (x - x) / (x - x) not as 0 / 0.
7095         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7096         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
7098         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7099         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
7100         and expm1.
7101         * math/auto-libm-test-out: Regenerated.
7102         * math/libm-test.inc (acos_test_data): Add more tests.
7103         (asin_test_data): Likewise.
7104         (asinh_test_data): Likewise.
7105         (atan_test_data): Likewise.
7106         (atanh_test_data): Likewise.
7107         (atan2_test_data): Likewise.
7108         (cbrt_test_data): Likewise.
7109         (ceil_test_data): Likewise.
7110         (copysign_test_data): Likewise.
7111         (cos_test_data): Likewise.
7112         (cosh_test_data): Likewise.
7113         (erf_test_data): Likewise.
7114         (erfc_test_data): Likewise.
7115         (exp_test_data): Likewise.
7116         (exp10_test_data): Likewise.
7117         (exp2_test_data): Likewise.
7118         (expm1_test_data): Likewise.
7119         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7121 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
7123         [BZ #19006]
7124         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
7125         to ...
7126         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
7127         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
7128         to ...
7129         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
7130         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
7131         to ...
7132         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
7133         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
7134         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
7135         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
7136         to ...
7137         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
7138         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7139         Moved to ...
7140         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
7141         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7142         Moved to ...
7143         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
7144         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
7145         to ...
7146         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
7147         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7148         Moved to ...
7149         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
7150         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
7151         to ...
7152         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
7153         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
7154         Removed.
7155         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
7156         Likewise.
7157         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
7158         Likewise.
7159         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
7160         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
7161         Likewise.
7162         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7163         Likewise.
7164         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7165         Likewise.
7166         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7167         Likewise.
7168         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7169         Likewise.
7170         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
7171         Likewise.
7172         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
7173         Likewise.
7174         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
7175         Likewise.
7176         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
7177         Likewise.
7178         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
7179         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
7180         Likewise.
7181         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7182         Likewise.
7183         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7184         Likewise.
7185         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7186         Likewise.
7187         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
7188         Likewise.
7189         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7190         Replace ../i486/pthread_cond_timedwait.S with
7191         ../pthread_cond_timedwait.S.
7193 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7195         * math/libm-test.inc (acos_test_data): Refine expectations for
7196         errno and "inexact" exceptions.
7197         (acosh_test_data): Likewise.
7198         (asin_test_data): Likewise.
7199         (asinh_test_data): Likewise.
7200         (atan_test_data): Likewise.
7201         (atanh_test_data): Likewise.
7202         (atan2_test_data): Likewise.
7203         (cbrt_test_data): Likewise.
7204         (ceil_test_data): Likewise.
7205         (copysign_test_data): Likewise.
7206         (cosh_test_data): Likewise.
7207         (erf_test_data): Likewise.
7208         (erfc_test_data): Likewise.
7209         (exp_test_data): Likewise.
7210         (exp10_test_data): Likewise.
7211         (exp2_test_data): Likewise.
7212         (expm1_test_data): Likewise.
7213         (fabs_test_data): Likewise.
7214         (floor_test_data): Likewise.
7215         (fma_test_data): Likewise.
7216         (fmax_test_data): Likewise.
7217         (fmin_test_data): Likewise.
7218         (fmod_test_data): Likewise.
7219         (fpclassify_test_data): Likewise.
7220         (frexp_test_data): Likewise.
7221         (hypot_test_data): Likewise.
7222         (ilogb_test_data): Likewise.
7223         (isgreater_test_data): Likewise.
7224         (isgreaterequal_test_data): Likewise.
7225         (isinf_test_data): Likewise.
7226         (isless_test_data): Likewise.
7227         (islessequal_test_data): Likewise.
7228         (islessgreater_test_data): Likewise.
7229         (isnan_test_data): Likewise.
7230         (isnormal_test_data): Likewise.
7231         (issignaling_test_data): Likewise.
7232         (isunordered_test_data): Likewise.
7233         (j0_test_data): Likewise.
7234         (j1_test_data): Likewise.
7235         (jn_test_data): Likewise.
7236         (lgamma_test_data): Likewise.
7237         (lrint_test_data): Likewise.
7238         (llrint_test_data): Likewise.
7239         (log_test_data): Likewise.
7240         (log10_test_data): Likewise.
7241         (log1p_test_data): Likewise.
7242         (log2_test_data): Likewise.
7243         (logb_test_data): Likewise.
7244         (lround_test_data): Likewise.
7245         (llround_test_data): Likewise.
7246         (modf_test_data): Likewise.
7247         (nearbyint_test_data): Likewise.
7248         (nextafter_test_data): Likewise.
7249         (nexttoward_test_data): Likewise.
7250         (pow_test_data): Likewise.
7251         (remainder_test_data): Likewise.
7252         (remquo_test_data): Likewise.
7253         (rint_test_data): Likewise.
7254         (round_test_data): Likewise.
7255         (signbit_test_data): Likewise.
7256         (sinh_test_data): Likewise.
7257         (sqrt_test_data): Likewise.
7258         (tanh_test_data): Likewise.
7259         (tgamma_test_data): Likewise.
7260         (trunc_test_data): Likewise.
7261         (y0_test_data): Likewise.
7262         (y1_test_data): Likewise.
7263         (yn_test_data): Likewise.
7264         (significand_test_data): Likewise.
7266 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
7268         * manual/filesys.texi (Storage Allocation): Document that
7269         posix_fallocate emulation fails when fd is open with O_WRONLY.
7271 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
7273         [BZ #19016]
7274         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
7275         allow more cases with X^2 + Y^2 >= 0.5.
7276         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
7277         normal element in sum instead of special-casing based on values of
7278         arguments.
7279         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
7280         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
7281         -1 as normal element in sum instead of special-casing based on
7282         values of arguments.
7283         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
7284         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
7285         (__x2y2m1): Update comment.
7286         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
7287         as normal element in sum instead of special-casing based on values
7288         of arguments.
7289         * math/s_clog.c (__clog): Handle more cases using log1p without
7290         hypot.
7291         * math/s_clog10.c (__clog10): Likewise.
7292         * math/s_clog10f.c (__clog10f): Likewise.
7293         * math/s_clog10l.c (__clog10l): Likewise.
7294         * math/s_clogf.c (__clogf): Likewise.
7295         * math/s_clogl.c (__clogl): Likewise.
7296         * math/auto-libm-test-in: Add more tests of clog and clog10.
7297         * math/auto-libm-test-out: Regenerated.
7298         * sysdeps/i386/fpu/libm-test-ulps: Update.
7299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7301 2015-09-28  Martin Sebor  <msebor@redhat.com>
7303         [BZ #18969]
7304         * string/Makefile (LOCALES): Define.
7305         (gen-locales.mk): Include.
7306         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
7307         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
7308         * string/tst-strxfrm2.c (do_test): Print the name of the locale
7309         on setlocale failure.
7311 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7313         [BZ #18985]
7314         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
7315         (__strftime_internal): Likewise.
7316         * time/tst-strftime.c (do_bz18985): New test.
7317         (do_test): Call it.
7319 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
7321         [BZ #18956]
7322         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
7323         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
7324         extracting high part.
7325         * math/auto-libm-test-in: Add another test of pow.
7326         * math/auto-libm-test-out: Regenerated.
7327         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7329 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7331         [BZ #18825]
7332         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
7333         New macro.
7334         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
7335         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7336         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
7337         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
7338         DBL_NARROW_EVAL, reloading the PIC register as needed.
7339         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
7340         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
7341         FLT_NARROW_EVAL.  Use separate return path for case when first
7342         argument is NaN.
7343         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
7344         DEFINE_LDBL_MIN.
7345         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
7346         PIC register.
7347         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
7348         math_check_force_underflow_nonneg.
7349         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
7350         underflow for subnormal result.
7351         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7352         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
7353         math_check_force_underflow_nonneg.
7354         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
7355         math_check_force_underflow.
7356         * sysdeps/x86_64/fpu/x86_64-math-asm.h
7357         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
7358         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
7359         DEFINE_LDBL_MIN.
7360         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
7361         * math/auto-libm-test-in: Add more tests of pow.
7362         * math/auto-libm-test-out: Regenerated.
7364 2015-09-25  Florian Weimer  <fweimer@redhat.com>
7366         * nss/bug17079.c (init_test_items): Add diagnostic for
7367         inconsistent entries.
7368         (test_buffer_size): Skip inconsistent entries.
7370 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7372         [BZ #13304]
7373         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
7374         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
7375         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
7377         [BZ #13304]
7378         * sysdeps/microblaze/s_fma.c: New file.
7379         * sysdeps/microblaze/s_fmaf.c: Likewise.
7380         * sysdeps/microblaze/sfp-machine.h: Likewise.
7382 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
7384         [BZ #17250]
7385         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
7386         member.
7388 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7390         [BZ #18803]
7391         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
7392         (MO): New macro.
7393         (__ieee754_hypot) [PIC]: Load PIC register.
7394         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
7395         DBL_NARROW_EVAL.
7396         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
7397         math_check_force_underflow_nonneg in case where result might be
7398         tiny.
7399         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7400         Likewise.
7401         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7402         Likewise.
7403         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7404         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
7405         * math/auto-libm-test-in: Add more tests of hypot.
7406         * math/auto-libm-test-out: Regenerated.
7408 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
7410         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
7412 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7414         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
7415         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
7416         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7417         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7418         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
7419         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7420         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7422         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
7423         LOAD_PIC_REG.
7425         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
7426         (FLT_CHECK_FORCE_UFLOW): Likewise.
7427         (DBL_CHECK_FORCE_UFLOW): Likewise.
7428         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
7429         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
7430         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
7431         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7432         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7433         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7434         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7435         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7436         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
7437         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7438         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
7439         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
7440         (flt_min): Replace with use of DEFINE_FLT_MIN.
7441         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
7442         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
7443         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7444         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
7445         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
7446         (flt_min): Replace with use of DEFINE_FLT_MIN.
7447         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
7448         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
7449         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7450         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
7451         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
7452         (flt_min): Replace with use of DEFINE_FLT_MIN.
7453         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
7454         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
7455         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7456         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7457         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
7458         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7459         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7460         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
7461         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7462         (__atan): Use DBL_CHECK_FORCE_UFLOW.
7463         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
7464         (flt_min): Replace with use of DEFINE_FLT_MIN.
7465         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
7466         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
7467         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7468         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
7469         main computation.
7470         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
7471         (flt_min): Replace with use of DEFINE_FLT_MIN.
7472         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
7473         main computation.
7474         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
7475         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7476         (MO): New macro.
7477         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
7478         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
7479         (flt_min): Replace with use of DEFINE_FLT_MIN.
7480         (MO): New macro.
7481         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
7482         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
7483         (__log1pl): Use MO.
7485         [BZ #19003]
7486         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
7487         $(config-cflags-nofma).
7489 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7491         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7493 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
7495         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
7496         (TWO127): Likewise.
7498         * sysdeps/generic/math_private.h (fabs_tg): New macro.
7499         (min_of_type): Likewise.
7500         (math_check_force_underflow): Likewise.
7501         (math_check_force_underflow_nonneg): Likewise.
7502         (math_check_force_underflow_complex): Likewise.
7503         * math/e_exp2l.c (__ieee754_exp2l): Use
7504         math_check_force_underflow_nonneg.
7505         * math/k_casinh.c (__kernel_casinh): Likewise.
7506         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7507         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7508         * math/s_catan.c (__catan): Use
7509         math_check_force_underflow_complex.
7510         * math/s_catanf.c (__catanf): Likewise.
7511         * math/s_catanh.c (__catanh): Likewise.
7512         * math/s_catanhf.c (__catanhf): Likewise.
7513         * math/s_catanhl.c (__catanhl): Likewise.
7514         * math/s_catanl.c (__catanl): Likewise.
7515         * math/s_ccosh.c (__ccosh): Likewise.
7516         * math/s_ccoshf.c (__ccoshf): Likewise.
7517         * math/s_ccoshl.c (__ccoshl): Likewise.
7518         * math/s_cexp.c (__cexp): Likewise.
7519         * math/s_cexpf.c (__cexpf): Likewise.
7520         * math/s_cexpl.c (__cexpl): Likewise.
7521         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
7522         * math/s_clog10.c (__clog10): Likewise.
7523         * math/s_clog10f.c (__clog10f): Likewise.
7524         * math/s_clog10l.c (__clog10l): Likewise.
7525         * math/s_clogf.c (__clogf): Likewise.
7526         * math/s_clogl.c (__clogl): Likewise.
7527         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
7528         * math/s_csinf.c (__csinf): Likewise.
7529         * math/s_csinh.c (__csinh): Likewise.
7530         * math/s_csinhf.c (__csinhf): Likewise.
7531         * math/s_csinhl.c (__csinhl): Likewise.
7532         * math/s_csinl.c (__csinl): Likewise.
7533         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
7534         * math/s_csqrtf.c (__csqrtf): Likewise.
7535         * math/s_csqrtl.c (__csqrtl): Likewise.
7536         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
7537         * math/s_ctanf.c (__ctanf): Likewise.
7538         * math/s_ctanh.c (__ctanh): Likewise.
7539         * math/s_ctanhf.c (__ctanhf): Likewise.
7540         * math/s_ctanhl.c (__ctanhl): Likewise.
7541         * math/s_ctanl.c (__ctanl): Likewise.
7542         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
7543         instead of volatile.
7544         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
7545         math_check_force_underflow.
7546         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7547         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
7548         volatile when forcing underflow.
7549         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7550         math_check_force_underflow_nonneg.
7551         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7552         Likewise.
7553         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
7554         math_check_force_underflow.
7555         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7556         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7557         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7558         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
7559         math_check_force_underflow_nonneg.
7560         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
7561         math_check_force_underflow.
7562         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7563         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
7564         instead of volatile.
7565         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
7566         math_check_force_underflow.
7567         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7568         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7569         math_check_force_underflow_nonneg.
7570         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
7571         math_check_force_underflow.
7572         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
7573         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7574         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
7575         math_check_force_underflow_nonneg.
7576         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7577         Likewise.
7578         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
7579         math_check_force_underflow.
7580         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7581         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7582         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7583         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
7584         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7585         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
7586         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7587         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7588         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7589         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
7590         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
7591         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7592         Likewise.
7593         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
7594         math_check_force_underflow_nonneg.
7595         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7596         Likewise.
7597         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
7598         math_check_force_underflow.
7599         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7600         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7601         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7602         Likewise.
7603         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7604         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
7605         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
7606         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
7607         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
7608         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7609         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
7610         instead of volatile.
7611         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
7612         math_check_force_underflow.
7613         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7614         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
7615         math_check_force_underflow.
7616         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
7617         Likewise.
7618         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7619         Use math_check_force_underflow_nonneg.
7620         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7621         math_check_force_underflow.
7622         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7623         Likewise.
7624         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7625         Likewise.
7626         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7627         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7628         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7629         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7630         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7631         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7632         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7633         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7634         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7635         math_check_force_underflow_nonneg.
7636         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7637         math_check_force_underflow.
7638         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7639         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7640         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7641         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7642         math_check_force_underflow_nonneg.
7643         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7644         math_check_force_underflow.
7645         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7646         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7647         instead of volatile.
7648         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7649         math_check_force_underflow.
7651         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7652         * stdlib/strtod_l.c: Include <math_private.h>.
7653         (overflow_value): Use math_narrow_eval.
7654         (underflow_value): Likewise.
7655         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7656         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7657         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7658         (__ieee754_gamma_r): Likewise.
7659         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7660         Likewise.
7661         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7662         Likewise.
7663         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7664         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7665         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7666         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7667         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7668         (__ieee754_gammaf_r): Likewise.
7669         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7670         Likewise.
7671         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7672         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7673         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7674         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7675         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7676         volatile.
7677         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7678         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7679         math_narrow_eval.
7680         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7681         Likewise.
7682         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7683         Likewise.
7684         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7685         Likewise.
7686         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7687         volatile.
7688         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7689         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7690         math_narrow_eval.
7691         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7692         Likewise.
7693         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7694         Likewise.
7696 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
7698         * nptl/Versions: Remove ignored symbols.
7700 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7702         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
7703         * nss/Makefile (tests): Update.
7705 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7707         * nss/bug18287.c: New file.
7708         * nss/Makefile (tests): Add bug18287.
7710 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7712         * mach/Versions (__mach_host_self_): Add symbol.
7714 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7716         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7717         vm_page_size.
7719 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7721         Really fix sysdeps/i386/fpu/s_scalbn.S build
7723         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7724         (libc: GLIBC_2_22): Remove unused version set.
7726 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7728         * config.make.in (enable-timezone-tools): New variable.
7729         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7730         (enable_timezone_tools): Export to generated files.
7731         * configure: Regenerate.
7732         * INSTALL: Regenerate.
7733         * manual/install.texi (--disable-timezone-tools): Document new flag.
7734         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7735         ifeq ($(enable-timezone-tools),yes) check.
7737 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7739         * timezone/Makefile: Revert previous change.
7741         [BZ #18980]
7742         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7743         (DEFINE_DBL_MIN): Likewise.
7744         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7745         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7746         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7747         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7748         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7749         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7750         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7751         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7752         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7753         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7754         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7755         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7756         (flt_min): Replace with use of DEFINE_FLT_MIN.
7757         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7758         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7759         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7760         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7761         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7762         (flt_min): Replace with use of DEFINE_FLT_MIN.
7763         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7764         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7765         (flt_min): Replace with use of DEFINE_FLT_MIN.
7766         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7767         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7768         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7769         (__ieee754_hypot): Use DBL_NARROW_EVAL.
7770         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7771         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7772         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7773         (__ieee754_pow): Use DBL_NARROW_EVAL.
7774         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
7775         (__ieee754_powf): Use FLT_NARROW_EVAL.
7776         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
7777         (__ieee754_expf_sse2): Convert double-precision result to single
7778         precision.
7779         * sysdeps/i386/fpu/libm-test-ulps: Update.
7781 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7783         * timezone/Makefile: Ignore unused variable errors due to private.h
7784         (time_t_min) and (time_t_max).
7785         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
7786         Likewise.
7788 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7790         [BZ #18981]
7791         * sysdeps/i386/fpu/i386-math-asm.h: New file.
7792         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
7793         (__ieee754_scalb): Use DBL_NARROW_EVAL.
7794         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
7795         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
7796         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
7797         (__scalbn): Use DBL_NARROW_EVAL.
7798         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
7799         (__scalbnf): Use FLT_NARROW_EVAL.
7801 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7803         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
7804         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
7805         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
7806         * stdio-common/printf_fp.c (___printf_fp):
7807         Use signbit to get the sign. Use isinf macro to allow inlining.
7808         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
7809         * stdio-common/printf_size.c (__printf_size): Likewise.
7811 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7813         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
7815 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7817         [BZ #18980]
7818         * sysdeps/generic/math_private.h: Include <float.h>.
7819         (math_narrow_eval): New macro.
7820         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7821         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
7822         math_narrow_eval on overflowing return value.
7823         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
7824         Likewise.
7825         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7826         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
7827         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
7828         Likewise.
7829         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7831 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7833         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
7834         * math/Makefile: Remove isinf_ns.c.
7835         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
7836         * math/multc3.c (__multc3): Likewise.
7837         * math/s_casin.c (__casin): Likewise.
7838         * math/s_casinf.c (__casinf): Likewise.
7839         * math/s_casinl.c (__casinl): Likewise.
7840         * math/s_cproj.c (__cproj): Likewise.
7841         * math/s_cprojf.c (__cprojf): Likewise.
7842         * math/s_cprojl.c (__cprofl): Likewise.
7843         * math/s_ctan.c (__ctan): Likewise.
7844         * math/s_ctanf.c (__ctanf): Likewise.
7845         * math/s_ctanh.c (__ctanh): Likewise.
7846         * math/s_ctanhf.c (__ctanhf): Likewise.
7847         * math/s_ctanhl.c (__ctanhl): Likewise.
7848         * math/s_ctanl.c (__ctanl): Likewise.
7849         * math/w_fmod.c (__fmod): Likewise.
7850         * math/w_fmodf.c (__fmodf): Likewise.
7851         * math/w_fmodl.c (_fmodl): Likewise.
7852         * math/w_remainder.c (__remainder): Likewise.
7853         * math/w_remainderf.c (__remainderf): Likewise.
7854         * math/w_remainderl.c (__remainderl): Likewise.
7855         * math/w_scalb.c (__scalb): Likewise.
7856         * math/w_scalbf.c (__scalbf): Likewise.
7857         * math/w_scalbl.c (__scalbl): Likewise.
7858         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
7859         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
7860         with isinf.
7861         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
7862         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
7863         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
7864         __isinf_nsf with isinf.
7865         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
7866         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
7867         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
7868         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
7869         with isinf.
7870         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
7871         __isinf_nsl with isinf.
7872         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
7873         with isinf.
7874         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
7875         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
7876         __isinf_nsl with isinf.
7877         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
7878         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
7879         with isinf.
7881 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7883         * resolv/base64.c (rcsid): Remove unused static.
7884         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
7885         static.  (tqpi1): Likewise.
7886         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
7887         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
7888         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
7889         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
7890         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
7891         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
7892         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
7893         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
7894         Likewise.
7896 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
7898         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
7899         <nptl/pthreadP.h>.
7900         (_longjmp_unwind): Use __libc_ptf_call.
7901         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
7903 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
7905         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
7906         * sysdeps/arm/__longjmp.S: Likewise.
7908 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7910         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
7911         Use __builtin_signbit.
7912         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
7913         Use __builtin_signbitf.
7914         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
7915         Use __builtin_signbitl.
7916         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7917         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
7919 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7921         [BZ #15367]
7922         [BZ #17441]
7924         * math/Makefile: Build test-snan.c with -fsignaling-nans.
7925         * math/math.h (fpclassify): Use __builtin_fpclassify when
7926         available.  (signbit): Use __builtin_signbit(f/l).
7927         (isfinite): Use__builtin_isfinite.  (isnormal): Use
7928         __builtin_isnormal.  (isnan): Use __builtin_isnan.
7929         (isinf): Use __builtin_isinf_sign.
7931 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7933         * benchtests/Makefile: Add bench-math-inlines, link with libm.
7934         * benchtests/bench-math-inlines.c: New benchmark.
7935         * benchtests/bench-util.h: New file.
7936         * benchtests/bench-util.c: New file.
7937         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
7939 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
7941         * elf/tst-dlmopen1.c: Define TEST_SO.
7942         (do_test): Use TEST_SO.
7944         * elf/dl-load.c: Include libc-internal.h.
7945         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
7947 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7949         [BZ #17887]
7950         * time/strptime_l.c (__strptime_internal): Make %z accept
7951         [+-]HH:MM time zones.
7953 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7955         [BZ #17886]
7956         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
7957         valid time zone.
7959 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
7961         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
7962         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
7963         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7964         (__ASSUME_FDATASYNC): Delete.
7966 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7968         * conform/linknamespace.pl: Require weak undefined symbols to be
7969         in the standard namespace.
7970         (%strong_syms): Rename to %seen_syms.
7971         (%strong_seen): Rename to %seen_where.
7973 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
7975         [BZ #18970]
7976         * misc/error.c (error): Replace pthread_setcancelstate with
7977         __pthread_setcancelstate.
7978         (error_at_line): Likewise.
7979         * posix/wordexp.c (parse_comm): Likewise.
7980         * stdlib/fmtmsg.c (fmtmsg): Likewise.
7981         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
7982         (__pthread_setcancelstate): This.
7983         (pthread_setcancelstate): Add an alias.
7984         * nptl/nptl-init.c (pthread_functions): Replace
7985         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
7986         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
7987         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
7988         hidden_proto.
7989         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
7990         it with hidden_def.
7991         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
7992         (pthread_setcancelstate): Renamed to ...
7993         (__pthread_setcancelstate): This.
7994         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
7995         __libc_ptf_call with __pthread_setcancelstate.
7997 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7998             Andreas Schwab  <schwab@suse.de>
8000         [BZ #17118]
8001         * math/s_ctan.c (__ctan): Determine sign of zero real part of
8002         result when imaginary part of argument is infinite using sine and
8003         cosine.
8004         * math/s_ctanf.c (__ctanf): Likewise.
8005         * math/s_ctanl.c (__ctanl): Likewise.
8006         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
8007         of result when real part of argument is infinite using sine and
8008         cosine.
8009         * math/s_ctanhf.c (__ctanhf): Likewise.
8010         * math/s_ctanhl.c (__ctanhl): Likewise.
8011         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
8012         (ctanh_test_data): Add more tests of ctanh.
8014 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8016         [BZ #15384]
8017         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
8018         bit-mask as in subtraction.
8019         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
8020         Likewise.
8021         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8022         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8023         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
8025         [BZ #18951]
8026         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
8027         underflow exception for small results.
8028         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8029         Likewise.
8030         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8031         Likewise.
8032         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8033         Likewise.
8034         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8035         Likewise.
8036         * math/auto-libm-test-in: Add more tests of tgamma.
8037         * math/auto-libm-test-out: Regenerated.
8039 2015-09-17  Andreas Schwab  <schwab@suse.de>
8041         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
8043 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8045         [BZ #18977]
8046         * math/bits/mathcalls.h
8047         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
8048         not declare.
8049         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
8050         Likewise.
8051         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
8052         Likewise.
8053         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
8054         Likewise.
8055         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
8056         Likewise.
8057         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
8058         Likewise.
8059         * conform/data/math.h-data
8060         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
8061         function.
8062         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
8063         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
8064         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
8065         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
8066         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
8067         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
8068         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
8069         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
8070         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
8071         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
8072         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
8074         [BZ #6803]
8075         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
8076         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
8077         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
8078         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
8079         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
8080         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
8081         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
8082         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
8083         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8084         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
8085         Likewise.
8086         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8087         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
8088         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
8089         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
8090         long_double_symbol calls.
8091         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
8092         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
8093         strong alias of __ldexpl.
8094         (scalbnl): Define using long_double_symbol.
8095         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
8096         Remove alias.
8097         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
8098         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
8099         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
8100         (scalbln_test_data): Add more errno expectations.
8102 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
8104         Cache the host port like we cache the task port.  This way we do not
8105         need to call the kernel just to get the port.  Furthermore, we no
8106         longer increase the reference count on every invocation of
8107         `mach_host_self'.
8109         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
8110         Protect declarations against the macro expansion.
8111         * mach/mach_init.c (__mach_host_self_): New variable.
8112         (mach_init): Initialize `__mach_host_self_'.
8113         * mach/mach_init.h (__mach_host_self_): New declaration.
8114         (__mach_host_self, mach_host_self): New macros.
8115         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
8116         Release reference.
8118 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8120         [BZ #4404]
8121         * po/de.po: Update from Translation Project.
8123         [BZ #16415]
8124         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
8125         (__expm1l): Remove code to handle positive infinity and overflow.
8126         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
8127         variable.
8128         (__expm1l): Remove code to handle positive infinity and overflow.
8130 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
8131             Paul Pluzhnikov  <ppluzhnikov@google.com>
8133         [BZ #18872]
8134         * stdio-common/Makefile (tst-printf-bz18872): New test.
8135         (tst-printf-bz18872-mem.out): Likewise.
8136         * stdio-common/tst-printf-bz18872.sh: Generate new test.
8137         * stdio-common/vfprintf.c: Fix memory leaks.
8139 2015-09-16  Andreas Schwab  <schwab@suse.de>
8141         [BZ #17244]
8142         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
8143         Remove extra va_start/va_end calls.
8145         [BZ #17243]
8146         * posix/execl.c (execl): Add missing va_end.
8147         * posix/execle.c (execle): Likewise.
8148         * posix/execlp.c (execlp): Likewise.
8150 2015-09-15  Roland McGrath  <roland@hack.frob.com>
8152         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
8153         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
8155 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
8157         [BZ #18967]
8158         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
8159         undefine around includes of <bits/mathcalls.h>.
8160         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
8161         not declare function.
8162         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
8163         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
8164         (scalb): Likewise.
8165         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
8166         not define macro.
8167         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
8168         variable.
8169         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8170         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8171         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8173         [BZ #18857]
8174         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
8175         return non-finite argument without doing ordered comparisons on
8176         it.
8178         [BZ #16296]
8179         * math/fenv.h (fegetround): Use __attribute_pure__.
8180         * include/fenv.h (__fegetround): Likewise.
8182         [BZ #18595]
8183         * math/s_ctan.c (__ctan): Force underflow exception for results
8184         whose real or imaginary part has small absolute value.
8185         * math/s_ctanf.c (__ctanf): Likewise.
8186         * math/s_ctanh.c (__ctanh): Likewise.
8187         * math/s_ctanhf.c (__ctanhf): Likewise.
8188         * math/s_ctanhl.c (__ctanhl): Likewise.
8189         * math/s_ctanl.c (__ctanl): Likewise.
8190         * math/auto-libm-test-in: Do not allow missing underflow for ctan
8191         and ctanh.  Add more tests of ctan and ctanh.
8193         [BZ #15918]
8194         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
8195         handling of cases where one argument is an infinity.
8197         [BZ #18875]
8198         [BZ #18966]
8199         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
8200         (MO): New macro.
8201         (__ieee754_exp10): For small results, force underflow exception
8202         and remove excess range and precision from return value.
8203         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
8204         (MO): New macro.
8205         (__ieee754_exp10f): For small results, force underflow exception
8206         and remove excess range and precision from return value.
8207         * math/auto-libm-test-in: Add more tests of exp10.
8208         * math/auto-libm-test-out: Regenerated.
8210 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
8212         [BZ #18875]
8213         [BZ #18961]
8214         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
8215         (MO): New macro.
8216         (__ieee754_exp): For small results, force underflow exception and
8217         remove excess range and precision from return value.
8218         (__exp_finite): Likewise.
8219         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
8220         (MO): New macro.
8221         (__ieee754_expf): For small results, force underflow exception and
8222         remove excess range and precision from return value.
8223         (__expf_finite): Likewise.
8224         * math/auto-libm-test-in: Add more tests of exp.
8225         * math/auto-libm-test-out: Regenerated.
8227         [BZ #16521]
8228         [BZ #18875]
8229         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
8230         small results.
8231         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
8232         (MO): New macro.
8233         (__ieee754_exp2): For small results, force underflow exception and
8234         remove excess range and precision from return value.
8235         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
8236         (MO): New macro.
8237         (__ieee754_exp2f): For small results, force underflow exception
8238         and remove excess range and precision from return value.
8239         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
8240         (MO): New macro.
8241         (__ieee754_exp2l): Force underflow exception for small results.
8242         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8243         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8244         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
8245         (MO): New macro.
8246         (__ieee754_exp2l): Force underflow exception for small results.
8247         * math/auto-libm-test-in: Add more tests or exp2.
8248         * math/auto-libm-test-out: Regenerated.
8250 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
8252         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
8254         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
8255         /dev/null.
8257 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8259         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8260         io fs process)): Drop spurious backslash.
8262 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8264         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
8265         Use sysinfo system call instead of parsing /proc/meminfo.
8266         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
8267         Likewise.
8269 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
8271         [BZ #16985]
8272         * programs/localedef.c (main): Display argv[remaining] when
8273         output_path is NULL.
8275 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8277         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8278         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
8279         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
8280         tanh.
8281         * math/auto-libm-test-out: Regenerated.
8282         * sysdeps/i386/fpu/libm-test-ulps: Update.
8283         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8284         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8287 2015-09-11  Roland McGrath  <roland@hack.frob.com>
8289         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
8290         Use 'override' keyword to freeze the value here, preventing
8291         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
8293 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8295         [BZ #14912]
8296         * sysdeps/aarch64/bits/atomic.h: Move to ...
8297         * sysdeps/aarch64/atomic-machine.h: ...here.
8298         (_AARCH64_BITS_ATOMIC_H): Rename macro to
8299         _AARCH64_ATOMIC_MACHINE_H.
8300         * sysdeps/alpha/bits/atomic.h: Move to ...
8301         * sysdeps/alpha/atomic-machine.h: ...here.
8302         * sysdeps/arm/bits/atomic.h: Move to ...
8303         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
8304         * bits/atomic.h: Move to ...
8305         * sysdeps/generic/atomic-machine.h: ...here.
8306         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8307         * sysdeps/i386/bits/atomic.h: Move to ...
8308         * sysdeps/i386/atomic-machine.h: ...here.
8309         * sysdeps/ia64/bits/atomic.h: Move to ...
8310         * sysdeps/ia64/atomic-machine.h: ...here.
8311         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
8312         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
8313         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8314         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
8315         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
8316         * sysdeps/microblaze/bits/atomic.h: Move to ...
8317         * sysdeps/microblaze/atomic-machine.h: ...here.
8318         * sysdeps/mips/bits/atomic.h: Move to ...
8319         * sysdeps/mips/atomic-machine.h: ...here.
8320         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
8321         * sysdeps/powerpc/bits/atomic.h: Move to ...
8322         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
8323         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
8324         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
8325         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
8326         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
8327         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
8328         <atomic-machine.h> instead of <bits/atomic.h>.
8329         * sysdeps/s390/bits/atomic.h: Move to ...
8330         * sysdeps/s390/atomic-machine.h: ...here.
8331         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
8332         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
8333         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8334         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
8335         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
8336         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
8337         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
8338         * sysdeps/tile/bits/atomic.h: Move to ...
8339         * sysdeps/tile/atomic-machine.h: ...here.
8340         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
8341         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
8342         <sysdeps/tile/atomic-machine.h> instead of
8343         <sysdeps/tile/bits/atomic.h>.
8344         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8345         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
8346         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
8347         <sysdeps/tile/atomic-machine.h> instead of
8348         <sysdeps/tile/bits/atomic.h>.
8349         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8350         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
8351         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
8352         <sysdeps/arm/atomic-machine.h> instead of
8353         <sysdeps/arm/bits/atomic.h>.
8354         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
8355         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
8356         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8357         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
8358         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
8359         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8360         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
8361         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
8362         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
8363         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
8364         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
8365         * sysdeps/x86_64/bits/atomic.h: Move to ...
8366         * sysdeps/x86_64/atomic-machine.h: ...here.
8367         * include/atomic.h: Include <atomic-machine.h> instead of
8368         <bits/atomic.h>.
8370         * sysdeps/mips/mips32/libm-test-ulps: Update.
8371         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8373         [BZ #18952]
8374         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
8375         not convert non-integer negative arguments to int to determine the
8376         value of signgam.
8377         * math/auto-libm-test-in: Add more tests of lgamma.
8378         * math/auto-libm-test-out: Regenerated.
8380         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
8381         cosh, csqrt, erfc, expm1 and lgamma.
8382         * math/auto-libm-test-out: Regenerated.
8383         * sysdeps/i386/fpu/libm-test-ulps: Update.
8384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8386 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
8388         [BZ #2542]
8389         [BZ #2543]
8390         [BZ #2558]
8391         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
8392         __lgamma_neg for arguments from -28.0 to -2.0.
8393         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
8394         __lgamma_negf for arguments from -15.0 to -2.0.
8395         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8396         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
8397         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
8398         Call __lgamma_negl for arguments from -33.0 to -2.0.
8399         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
8400         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8401         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8402         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
8403         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8404         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8405         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8406         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
8407         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8408         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8409         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
8410         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
8411         (__lgamma_neg): Likewise.
8412         (__lgamma_negl): Likewise.
8413         (__lgamma_product): Likewise.
8414         (__lgamma_productl): Likewise.
8415         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
8416         * math/auto-libm-test-in: Add more tests of lgamma.
8417         * math/auto-libm-test-out: Regenerated.
8418         * sysdeps/i386/fpu/libm-test-ulps: Update.
8419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8421 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
8423         [BZ #18675]
8424         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
8426 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
8428         [BZ #14912]
8429         * bits/libc-lock.h: Move to ...
8430         * sysdeps/generic/libc-lock.h: ...here.
8431         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8432         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
8433         * sysdeps/mach/hurd/libc-lock.h: ...here.
8434         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8435         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
8436         * sysdeps/mach/bits/libc-lock.h: Move to ...
8437         * sysdeps/mach/libc-lock.h: ...here.
8438         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8439         * sysdeps/nptl/bits/libc-lock.h: Move to ...
8440         * sysdeps/nptl/libc-lock.h: ...here.
8441         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8442         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
8443         * sysdeps/nptl/libc-lockP.h: ...here.
8444         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
8445         * crypt/crypt_util.c: Include <libc-lock.h> instead of
8446         <bits/libc-lock.h>.
8447         * dirent/scandir-tail.c: Likewise.
8448         * dlfcn/dlerror.c: Likewise.
8449         * elf/dl-close.c: Likewise.
8450         * elf/dl-iteratephdr.c: Likewise.
8451         * elf/dl-lookup.c: Likewise.
8452         * elf/dl-open.c: Likewise.
8453         * elf/dl-support.c: Likewise.
8454         * elf/dl-writev.h: Likewise.
8455         * elf/rtld.c: Likewise.
8456         * grp/fgetgrent.c: Likewise.
8457         * gshadow/fgetsgent.c: Likewise.
8458         * gshadow/sgetsgent.c: Likewise.
8459         * iconv/gconv_conf.c: Likewise.
8460         * iconv/gconv_db.c: Likewise.
8461         * iconv/gconv_dl.c: Likewise.
8462         * iconv/gconv_int.h: Likewise.
8463         * iconv/gconv_trans.c: Likewise.
8464         * include/link.h: Likewise.
8465         * inet/getnameinfo.c: Likewise.
8466         * inet/getnetgrent.c: Likewise.
8467         * inet/getnetgrent_r.c: Likewise.
8468         * intl/bindtextdom.c: Likewise.
8469         * intl/dcigettext.c: Likewise.
8470         * intl/finddomain.c: Likewise.
8471         * intl/gettextP.h: Likewise.
8472         * intl/loadmsgcat.c: Likewise.
8473         * intl/localealias.c: Likewise.
8474         * intl/textdomain.c: Likewise.
8475         * libidn/idn-stub.c: Likewise.
8476         * libio/libioP.h: Likewise.
8477         * locale/duplocale.c: Likewise.
8478         * locale/freelocale.c: Likewise.
8479         * locale/newlocale.c: Likewise.
8480         * locale/setlocale.c: Likewise.
8481         * login/getutent_r.c: Likewise.
8482         * login/getutid_r.c: Likewise.
8483         * login/getutline_r.c: Likewise.
8484         * login/utmp-private.h: Likewise.
8485         * login/utmpname.c: Likewise.
8486         * malloc/mtrace.c: Likewise.
8487         * misc/efgcvt.c: Likewise.
8488         * misc/error.c: Likewise.
8489         * misc/fstab.c: Likewise.
8490         * misc/getpass.c: Likewise.
8491         * misc/mntent.c: Likewise.
8492         * misc/syslog.c: Likewise.
8493         * nis/nis_call.c: Likewise.
8494         * nis/nis_callback.c: Likewise.
8495         * nis/nss-default.c: Likewise.
8496         * nis/nss_compat/compat-grp.c: Likewise.
8497         * nis/nss_compat/compat-initgroups.c: Likewise.
8498         * nis/nss_compat/compat-pwd.c: Likewise.
8499         * nis/nss_compat/compat-spwd.c: Likewise.
8500         * nis/nss_nis/nis-alias.c: Likewise.
8501         * nis/nss_nis/nis-ethers.c: Likewise.
8502         * nis/nss_nis/nis-grp.c: Likewise.
8503         * nis/nss_nis/nis-hosts.c: Likewise.
8504         * nis/nss_nis/nis-network.c: Likewise.
8505         * nis/nss_nis/nis-proto.c: Likewise.
8506         * nis/nss_nis/nis-pwd.c: Likewise.
8507         * nis/nss_nis/nis-rpc.c: Likewise.
8508         * nis/nss_nis/nis-service.c: Likewise.
8509         * nis/nss_nis/nis-spwd.c: Likewise.
8510         * nis/nss_nisplus/nisplus-alias.c: Likewise.
8511         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8512         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8513         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8514         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
8515         * nis/nss_nisplus/nisplus-network.c: Likewise.
8516         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8517         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8518         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8519         * nis/nss_nisplus/nisplus-service.c: Likewise.
8520         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8521         * nis/ypclnt.c: Likewise.
8522         * nptl/libc_pthread_init.c: Likewise.
8523         * nss/getXXbyYY.c: Likewise.
8524         * nss/getXXent.c: Likewise.
8525         * nss/getXXent_r.c: Likewise.
8526         * nss/nss_db/db-XXX.c: Likewise.
8527         * nss/nss_db/db-netgrp.c: Likewise.
8528         * nss/nss_db/nss_db.h: Likewise.
8529         * nss/nss_files/files-XXX.c: Likewise.
8530         * nss/nss_files/files-alias.c: Likewise.
8531         * nss/nsswitch.c: Likewise.
8532         * posix/regex_internal.h: Likewise.
8533         * posix/wordexp.c: Likewise.
8534         * pwd/fgetpwent.c: Likewise.
8535         * resolv/res_hconf.c: Likewise.
8536         * resolv/res_libc.c: Likewise.
8537         * shadow/fgetspent.c: Likewise.
8538         * shadow/lckpwdf.c: Likewise.
8539         * shadow/sgetspent.c: Likewise.
8540         * socket/opensock.c: Likewise.
8541         * stdio-common/reg-modifier.c: Likewise.
8542         * stdio-common/reg-printf.c: Likewise.
8543         * stdio-common/reg-type.c: Likewise.
8544         * stdio-common/vfprintf.c: Likewise.
8545         * stdio-common/vfscanf.c: Likewise.
8546         * stdlib/abort.c: Likewise.
8547         * stdlib/cxa_atexit.c: Likewise.
8548         * stdlib/fmtmsg.c: Likewise.
8549         * stdlib/random.c: Likewise.
8550         * stdlib/setenv.c: Likewise.
8551         * string/strsignal.c: Likewise.
8552         * sunrpc/auth_none.c: Likewise.
8553         * sunrpc/bindrsvprt.c: Likewise.
8554         * sunrpc/create_xid.c: Likewise.
8555         * sunrpc/key_call.c: Likewise.
8556         * sunrpc/rpc_thread.c: Likewise.
8557         * sysdeps/arm/backtrace.c: Likewise.
8558         * sysdeps/generic/ldsodefs.h: Likewise.
8559         * sysdeps/generic/stdio-lock.h: Likewise.
8560         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
8561         * sysdeps/i386/backtrace.c: Likewise.
8562         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8563         * sysdeps/m68k/backtrace.c: Likewise.
8564         * sysdeps/mach/hurd/cthreads.c: Likewise.
8565         * sysdeps/mach/hurd/dirstream.h: Likewise.
8566         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8567         * sysdeps/nptl/malloc-machine.h: Likewise.
8568         * sysdeps/nptl/stdio-lock.h: Likewise.
8569         * sysdeps/posix/dirstream.h: Likewise.
8570         * sysdeps/posix/getaddrinfo.c: Likewise.
8571         * sysdeps/posix/system.c: Likewise.
8572         * sysdeps/pthread/aio_suspend.c: Likewise.
8573         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8574         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8575         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8576         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8577         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
8578         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
8579         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
8580         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8581         * sysdeps/unix/sysv/linux/system.c: Likewise.
8582         * sysdeps/x86_64/backtrace.c: Likewise.
8583         * time/alt_digit.c: Likewise.
8584         * time/era.c: Likewise.
8585         * time/tzset.c: Likewise.
8586         * wcsmbs/wcsmbsload.c: Likewise.
8587         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
8588         instead of <bits/libc-lock.h> in comment.
8590 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
8592         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
8593         Only use .set mips2 if the current ISA is below mips2.
8594         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
8595         Likewise.
8596         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
8597         mips32r2 if the current ISA is below mips32r2.
8598         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
8599         (TLS_IE): Updated to use the TLD_RDHWR macro.
8600         (TLS_LE): Likewise.
8601         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
8602         __ASSEMBLER__ condition.
8604 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8606         Fix parallel build of before-compile targets.
8608         * sysdeps/mach/Makefile ($(patsubst
8609         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
8610         mach-before-compile target.
8611         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8612         io fs process)): Move rule to dedicated hurd-before-compile target.
8614 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8616         Fix rules generating headers in hurd/ and mach/ when initial make call
8617         has subdir= explicitly set.
8619         * sysdeps/mach/Makefile ($(patsubst
8620         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8621         calling $(MAKE).
8622         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8623         io fs process)): Force subdir to hurd when calling $(MAKE).
8624         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8625         subdir to mach when calling $(MAKE).
8627 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
8629         Check sysheaders when looking for Mach and Hurd headers
8631         * sysdeps/mach/configure.ac: Add sysheaders check.
8632         * sysdeps/mach/configure: Regenerate.
8633         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8634         * sysdeps/mach/hurd/configure: Regenerate.
8636 2015-09-04  Roland McGrath  <roland@hack.frob.com>
8638         [BZ #18921]
8639         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8640         Fix inverted sense of test of 'o_directory_works' value.
8641         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8642         Bernhard Voelker <mail@bernhard-voelker.de>.
8644 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8646         [BZ #14912]
8647         * bits/linkmap.h: Move to ...
8648         * sysdeps/generic/linkmap.h: ...here.
8649         * sysdeps/aarch64/bits/linkmap.h: Move to ...
8650         * sysdeps/aarch64/linkmap.h: ...here.
8651         * sysdeps/arm/bits/linkmap.h: Move to ...
8652         * sysdeps/arm/linkmap.h: ...here.
8653         * sysdeps/hppa/bits/linkmap.h: Move to ...
8654         * sysdeps/hppa/linkmap.h: ...here.
8655         * sysdeps/ia64/bits/linkmap.h: Move to ...
8656         * sysdeps/ia64/linkmap.h: ...here.
8657         * sysdeps/mips/bits/linkmap.h: Move to ...
8658         * sysdeps/mips/linkmap.h: ...here.
8659         * sysdeps/s390/bits/linkmap.h: Move to ...
8660         * sysdeps/s390/linkmap.h: ...here.
8661         * sysdeps/sh/bits/linkmap.h: Move to ...
8662         * sysdeps/sh/linkmap.h: ...here.
8663         * sysdeps/x86/bits/linkmap.h: Move to ...
8664         * sysdeps/x86/linkmap.h: ...here.
8665         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8667 2015-09-04  Andreas Schwab  <schwab@suse.de>
8669         [BZ #18635]
8670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8671         (__makecontext): Terminate FDE before return label.
8672         (__novec_makecontext): Likewise.
8674 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8676         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8677         first member of struct sv in syscall macro.
8679 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8681         [BZ #14912]
8682         * bits/stdio-lock.h: Move to ...
8683         * sysdeps/generic/stdio-lock.h: ...here.
8684         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8685         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8686         * sysdeps/nptl/stdio-lock.h: ...here.
8687         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8688         * include/libio.h: Include <stdio-lock.h> instead of
8689         <bits/stdio-lock.h>.
8690         * sysdeps/nptl/fork.c: Likewise.
8691         * sysdeps/pthread/flockfile.c: Likewise.
8692         * sysdeps/pthread/ftrylockfile.c: Likewise.
8693         * sysdeps/pthread/funlockfile.c: Likewise.
8695         [BZ #14912]
8696         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8697         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8698         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8699         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8700         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8701         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8702         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8704 2015-09-03  Roland McGrath  <roland@hack.frob.com>
8706         * elf/Makefile (test-xfail-tst-protected1a): New variable.
8707         (test-xfail-tst-protected1b): New variable.
8709 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
8711         [BZ #14912]
8712         * bits/libc-tsd.h: Move to ...
8713         * sysdeps/generic/libc-tsd.h: ...here.
8714         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8715         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8716         * sysdeps/mach/hurd/libc-tsd.h: ...here.
8717         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8718         * include/ctype.h: Include <libc-tsd.h> instead of
8719         <bits/libc-tsd.h>.
8720         * include/rpc/rpc.h: Likewise.
8721         * locale/localeinfo.h: Likewise.
8722         * sunrpc/rpc_thread.c: Likewise.
8723         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8724         * sysdeps/nptl/malloc-machine.h: Likewise.
8726         * Makefile (headers): Remove bits/libc-lock.h.
8727         * libio/Makefile (headers): Remove bits/stdio-lock.h.
8729         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8730         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8731         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8732         <bits/stdio-lock.h>.
8733         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8734         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8736 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8738         [BZ #18757]
8739         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8740         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8741         BZ #18757.
8743 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8745         * malloc/mtrace.pl: Filter out NULL entries.
8747 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
8749         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8750         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8751         macro.
8753         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8754         (TCP_CC_INFO): Likewise.
8755         (TCP_SAVE_SYN): Likewise.
8756         (TCP_SAVED_SYN): Likewise.
8758 2015-08-31  Brett Neumeier <brett@neumeier.us>
8760         [BZ #18870]
8761         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8763 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
8765         [BZ #18873]
8766         Fix broken overflow check in posix_fallocate
8767         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8768         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8769         Fix parenthesization typo.
8771 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
8773         [BZ #18887]
8774         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
8775         tst-mntent-blank-passno.
8776         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
8777         * misc/tst-mntent-blank-corrupt.c: New test.
8778         * misc/tst-mntent-blank-passno.c: New test ripped from ...
8779         * misc/tst-mntent.c (do_test): ... here.
8781 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
8783         [BZ #4404]
8784         * po/de.po: Fix SIGALRM typo.
8786 2015-08-28  James Perkins  <james@loowit.net>
8788         * time/tst-strptime2.c (tests): Replace short list of test
8789         strings for strptime %z specifier with code which exhaustively
8790         tests every combination of sign and 0 to 5 digits. Tests for
8791         rejection of invalid strings.
8793 2015-08-28  James Perkins  <james@loowit.net>
8795         [BZ #16141]
8796         * time/strptime_l.c (__strptime_internal): Fix %z minutes
8797         calculation, removing incorrect decimal time rounding, so that
8798         all minute values result in a valid seconds value.
8799         * time/strptime_l.c (__strptime_internal): Extend %z time zone
8800         offset range limits to UTC-99:59 through UTC+99:59 to parse
8801         current and historical use cases.
8802         * time/tst-strptime2.c (tests): Modify and add tests for the
8803         strptime %z input field descriptor, specifically conversion of
8804         minutes to seconds and validating an offset range of -9959 to
8805         +9959.
8807 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8808             Dmitry V. Levin  <ldv@altlinux.org>
8810         [BZ #18877]
8811         * posix/Makefile (tests): Add tst-mmap-offset.
8812         * posix/tst-mmap.c: New file.
8813         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8814         offset calculation for negative values.
8816 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8818         * sysdeps/i386/init-arch.h: New file.
8819         * sysdeps/i386/i586/init-arch.h: Likewise.
8820         * sysdeps/i386/i686/init-arch.h: Likewise.
8821         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
8822         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
8823         * sysdeps/x86/cpu-features.h (bit_I586): New.
8824         (bit_I686): Likewise.
8825         (bit_CX8): Likewise.
8826         (bit_CMOV): Likewise.
8827         (index_CX8): Likewise.
8828         (index_CMOV): Likewise.
8829         (index_I586): Likewise.
8830         (index_I686): Likewise.
8831         (reg_CX8): Likewise.
8832         (reg_CMOV): Likewise.
8833         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
8834         available at compile-time.
8835         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
8836         available at compile-time.
8837         * sysdeps/x86/init-arch.h (USE_I586): New macro.
8838         (USE_I686): Likewise.
8840 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8842         * sysdeps/i386/bcopy.S: New file.
8843         * sysdeps/i386/bzero.S: Likewise.
8844         * sysdeps/i386/memcpy.S: Likewise.
8845         * sysdeps/i386/memmove.S: Likewise.
8846         * sysdeps/i386/mempcpy.S: Likewise.
8847         * sysdeps/i386/memset.S: Likewise.
8848         * sysdeps/i386/bzero.c: Removed.
8849         * sysdeps/i386/memset.c: Likewise.
8850         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
8851         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
8852         * sysdeps/i386/i586/memset_chk.S: Likewise.
8853         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
8854         * sysdeps/i386/memcpy_chk.S: Here.
8855         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
8856         * sysdeps/i386/memmove_chk.S: Here.
8857         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
8858         * sysdeps/i386/mempcpy_chk.S: Likewise.
8859         * sysdeps/i386/i686/memset_chk.S: Moved to ...
8860         * sysdeps/i386/memset_chk.S: Likewise.
8862 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
8864         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
8865         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
8866         file, move DIAG_POP_NEEDS_COMMENT to end of file.
8867         * soft-fp/fmadf4.c: Ditto.
8868         * soft-fp/fmatf4.c: Ditto.
8870 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8872         * sysdeps/i386/i586/Implies: Removed.
8873         * sysdeps/i386/i686/Implies: Likewise.
8875 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8877         * sysdeps/i386/i486/strlen.S: Moved to ...
8878         * sysdeps/i386/strlen.S: Here.
8880 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8882         * sysdeps/i386/i486/strcat.S: Moved to ...
8883         * sysdeps/i386/strcat.S: Here.
8885 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8887         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
8888         * sysdeps/i386/pthread_spin_trylock.S: Here.
8889         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
8890         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
8892 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8894         * sysdeps/i386/i486/string-inlines.c: Moved to ...
8895         * sysdeps/i386/string-inlines.c: Here.
8897 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8899         * sysdeps/i386/i486/htonl.S: Moved ...
8900         * sysdeps/i386/htonl.S: here.
8902 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8904         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
8905         * sysdeps/i386/bits/atomic.h: Here.
8907 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8909         * sysdeps/i386/i486/Versions: Removed.
8911 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8913         [BZ #2898]
8914         * misc/mktemp.c: Add mkdtemp to the link_warning message.
8915         Based on patch by Aurelien Jarno.
8917 2015-08-26  Stan Shebs  <stanshebs@google.com>
8919         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
8920         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8922 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8924         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
8925         * sysdeps/powerpc/dl-procinfo.c:
8926         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
8927         feature so it shows when LD_SHOW_AUXV=1.
8929 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8931         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8932         (__arch_compare_and_exchange_val_32_acq): Remove and use common
8933         definition.  ISA 2.07B no longer requires full sync.
8935 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
8937         [BZ #18863]
8938         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
8939         (si_call_addr): Define.
8940         (si_syscall): Define.
8941         (si_arch): Define.
8943 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
8945         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
8946         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
8947         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
8948         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8949         (__memset_zero_constant_len_parameter): New.
8950         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
8951         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8952         (__memset_zero_constant_len_parameter): Don't define if
8953         __memset_chk or USE_AS_BZERO are defined.
8955         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
8956         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
8957         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
8959         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
8960         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
8961         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
8962         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
8963         comments.
8964         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
8965         -mno-mmx for $(all-rtld-routines).
8966         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
8967         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
8968         i386.
8970 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8972         * sysdeps/generic/unwind.h
8973         (_Unwind_Word): Use __mode__(__unwind_word__)
8974         instead of __mode__(__word__).
8975         (_Unwind_Sword): Likewise.
8977         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8978         (MAX_NEEDED_INPUT): New define.
8979         (MAX_NEEDED_OUTPUT): New define.
8981         * NEWS: New item for IBM z13 string optimizations.
8983         * sysdeps/s390/multiarch/memrchr-c.c: New File.
8984         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
8985         * sysdeps/s390/multiarch/memrchr.c: Likewise.
8986         * sysdeps/s390/multiarch/Makefile
8987         (sysdep_routines): Add memrchr functions.
8988         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8989         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
8991         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
8992         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
8993         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
8994         * sysdeps/s390/multiarch/Makefile
8995         (sysdep_routines): Add wmemcmp functions.
8996         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8997         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
8998         * benchtests/bench-wmemcmp.c: New File.
8999         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
9001         * sysdeps/s390/multiarch/wmemset-c.c: New File.
9002         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
9003         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9004         * sysdeps/s390/multiarch/Makefile
9005         (sysdep_routines): Add wmemset functions.
9006         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9007         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
9008         * wcsmbs/wmemset.c: Use WMEMSET if defined.
9009         * string/test-memset.c: Add wmemset support.
9010         * wcsmbs/test-wmemset.c: New File.
9011         * wcsmbs/Makefile (strop-tests): Add wmemset.
9012         * benchtests/bench-memset.c: Add wmemset support.
9013         * benchtests/bench-wmemset.c: New File.
9014         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
9016         * sysdeps/s390/multiarch/memccpy-c.c: New File.
9017         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
9018         * sysdeps/s390/multiarch/memccpy.c: Likewise.
9019         * sysdeps/s390/multiarch/Makefile
9020         (sysdep_routines): Add memccpy functions.
9021         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9022         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
9023         * string/memccpy.c: Use MEMCCPY if defined.
9025         * sysdeps/s390/multiarch/memchr-vx.S: New File.
9026         * sysdeps/s390/multiarch/memchr.c: Likewise.
9027         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
9028         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
9029         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9030         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
9031         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
9032         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9033         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
9034         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9035         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
9036         and rawmemchr functions.
9037         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9038         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
9039         and wmemchr.
9040         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
9041         * string/test-memchr.c: Add wmemchr support.
9042         * wcsmbs/test-wmemchr.c: New File.
9043         * wcsmbs/Makefile (strop-tests): Add wmemchr.
9044         * benchtests/bench-memchr.c: Add wmemchr support.
9045         * benchtests/bench-wmemchr.c: New File.
9046         * benchtests/Makefile (wcsmbs-bench): wmemchr.
9048         * sysdeps/s390/multiarch/strcspn-c.c: New File.
9049         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
9050         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9051         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
9052         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
9053         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
9054         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
9055         wcscspn functions.
9056         * sysdeps/s390/multiarch/ifunc-impl-list.c
9057         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
9058         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
9059         * string/test-strcspn.c: Add wcscspn support.
9060         * wcsmbs/test-wcscspn.c: New File.
9061         * wcsmbs/Makefile (strop-tests): Add wcscspn.
9062         * benchtests/bench-strcspn.c: Add wcscspn support.
9063         * benchtests/bench-wcscspn.c: New File.
9064         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
9066         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
9067         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
9068         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9069         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
9070         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
9071         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9072         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
9073         wcspbrk functions.
9074         * sysdeps/s390/multiarch/ifunc-impl-list.c
9075         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
9076         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
9077         * string/test-strpbrk.c: Add wcspbrk support.
9078         * wcsmbs/test-wcspbrk.c: New File.
9079         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
9080         * benchtests/bench-strpbrk.c: Add wcspbrk support.
9081         * benchtests/bench-wcspbrk.c: New File.
9082         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
9084         * sysdeps/s390/multiarch/strspn-c.c: New File.
9085         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
9086         * sysdeps/s390/multiarch/strspn.c: Likewise.
9087         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
9088         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
9089         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9090         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
9091         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
9092         wcsspn functions.
9093         * sysdeps/s390/multiarch/ifunc-impl-list.c
9094         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
9095         * string/test-strspn.c: Add wcsspn support.
9096         * wcsmbs/test-wcsspn.c: New File.
9097         * wcsmbs/Makefile (strop-tests): Add wcsspn.
9098         * benchtests/bench-strspn.c: Add wcsspn support.
9099         * benchtests/bench-wcsspn.c: New File.
9100         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
9102         * sysdeps/s390/multiarch/strrchr-c.c: New File.
9103         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
9104         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9105         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
9106         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
9107         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
9108         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
9109         wcsrchr functions.
9110         * sysdeps/s390/multiarch/ifunc-impl-list.c
9111         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
9112         * benchtests/bench-wcsrchr.c: New File.
9113         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
9115         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
9116         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
9117         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
9118         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
9119         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
9120         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
9121         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
9122         wcschrnul functions.
9123         * sysdeps/s390/multiarch/ifunc-impl-list.c
9124         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
9125         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
9126         * string/test-strchr.c: Add wcschrnul support.
9127         * wcsmbs/test-wcschrnul.c: New File.
9128         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
9129         * benchtests/bench-strchr.c: Add wcschrnul support.
9130         * benchtests/bench-wcschrnul.c: New File.
9131         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
9133         * sysdeps/s390/multiarch/strchr-c.c: New File.
9134         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
9135         * sysdeps/s390/multiarch/strchr.c: Likewise.
9136         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
9137         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
9138         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9139         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
9140         wcschr functions.
9141         * sysdeps/s390/multiarch/ifunc-impl-list.c
9142         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
9143         * string/strchr.c (STRCHR): Define and use macro.
9144         * benchtests/bench-wcschr.c: New File.
9145         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
9147         * sysdeps/s390/multiarch/strncmp-c.c: New File.
9148         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
9149         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9150         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
9151         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
9152         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
9153         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
9154         wcsncmp functions.
9155         * sysdeps/s390/multiarch/ifunc-impl-list.c
9156         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
9157         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
9158         * benchtests/bench-strncmp.c: Add wcsncmp support.
9159         * benchtests/bench-wcsncmp.c: New File.
9160         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
9162         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
9163         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9164         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
9165         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
9166         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9167         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
9168         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9169         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
9170         wcscmp functions.
9171         * sysdeps/s390/multiarch/ifunc-impl-list.c
9172         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
9173         * string/strcmp.c (STRCMP): Define and use macro.
9174         * benchtests/bench-wcscmp.c: New File.
9175         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
9176         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
9177         instead of _HAVE_STRING_ARCH_memchr.
9179         * sysdeps/s390/multiarch/strncat-c.c: New File.
9180         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
9181         * sysdeps/s390/multiarch/strncat.c: Likewise.
9182         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
9183         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
9184         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
9185         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
9186         wcsncat functions.
9187         * sysdeps/s390/multiarch/ifunc-impl-list.c
9188         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
9189         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
9190         * string/test-strncat.c: Add wcsncat support.
9191         * wcsmbs/test-wcsncat.c: New File.
9192         * wcsmbs/Makefile (strop-tests): Add wcsncat.
9193         * benchtests/bench-strncat.c: Add wcsncat support.
9194         * benchtests/bench-wcsncat.c: New File.
9195         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
9197         * sysdeps/s390/multiarch/strcat-c.c: New File.
9198         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
9199         * sysdeps/s390/multiarch/strcat.c: Likewise.
9200         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
9201         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
9202         * sysdeps/s390/multiarch/wcscat.c: Likewise.
9203         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
9204         wcscat functions.
9205         * sysdeps/s390/multiarch/ifunc-impl-list.c
9206         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
9207         * string/strcat.c (STRCAT): Define and use macro.
9208         * wcsmbs/wcscat.c: Use WCSCAT if defined.
9209         * string/test-strcat.c: Add wcscat support.
9210         * wcsmbs/test-wcscat.c: New File.
9211         * wcsmbs/Makefile (strop-tests): Add wcscat.
9212         * benchtests/bench-strcat.c: Add wcscat support.
9213         * benchtests/bench-wcscat.c: New File.
9214         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
9216         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
9217         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
9218         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9219         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
9220         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
9221         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
9222         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
9223         wcpncpy functions.
9224         * sysdeps/s390/multiarch/ifunc-impl-list.c
9225         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
9226         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
9227         * string/test-stpncpy.c: Add wcpncpy support.
9228         * wcsmbs/test-wcpncpy.c: New File.
9229         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
9230         * benchtests/bench-stpncpy.c: Add wcpncpy support.
9231         * benchtests/bench-wcpncpy.c: New File.
9232         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
9234         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
9235         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9236         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
9237         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
9238         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
9239         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
9240         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9241         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
9242         wcsncpy functions.
9243         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
9244         * sysdeps/s390/multiarch/ifunc-impl-list.c
9245         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
9246         * string/test-strncpy.c: Add wcsncpy support.
9247         * wcsmbs/test-wcsncpy.c: New File.
9248         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
9249         * benchtests/bench-strncpy.c: Add wcsncpy support.
9250         * benchtests/bench-wcsncpy.c: New File.
9251         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
9253         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
9254         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
9255         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9256         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
9257         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
9258         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
9259         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
9260         wcpcpy functions.
9261         * string/stpcpy.c: Use STPCPY if defined.
9262         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
9263         * sysdeps/s390/multiarch/ifunc-impl-list.c
9264         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
9265         * string/test-stpcpy.c: Add wcpcpy support.
9266         * wcsmbs/test-wcpcpy.c: New File.
9267         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
9268         * benchtests/bench-stpcpy.c: Add wcpcpy support.
9269         * benchtests/bench-wcpcpy.c: New File.
9270         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
9272         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
9273         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9274         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
9275         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
9276         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
9277         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
9278         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9279         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
9280         wcscpy functions.
9281         * sysdeps/s390/multiarch/ifunc-impl-list.c
9282         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
9283         * benchtests/bench-wcscpy.c: New File.
9284         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
9286         * sysdeps/s390/multiarch/strnlen-c.c: New File.
9287         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
9288         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9289         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
9290         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
9291         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
9292         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
9293         wcsnlen functions.
9294         * sysdeps/s390/multiarch/ifunc-impl-list.c
9295         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
9296         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
9297         * string/test-strnlen.c: Add wcsnlen support.
9298         * wcsmbs/test-wcsnlen.c: New File.
9299         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
9300         * benchtests/bench-strnlen.c: Add wcsnlen support.
9301         * benchtests/bench-wcsnlen.c: New File.
9302         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
9304         * sysdeps/s390/multiarch/Makefile: New File.
9305         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
9306         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
9307         * sysdeps/s390/multiarch/strlen.c: Likewise.
9308         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
9309         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
9310         * sysdeps/s390/multiarch/wcslen.c: Likewise.
9311         * string/strlen.c (STRLEN): Define and use macro.
9312         * sysdeps/s390/multiarch/ifunc-impl-list.c
9313         (IFUNC_VX_IMPL): New macro function.
9314         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
9315         * benchtests/Makefile (wcsmbs-bench): New variable.
9316         (string-bench-all): Added wcsmbs-bench.
9317         * benchtests/bench-wcslen.c: New File.
9319         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
9320         s390_vx_libc_ifunc2): New macro function.
9322         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
9323         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
9324         assembler support.
9325         * sysdeps/s390/configure: Regenerated.
9327         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
9328         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9330         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
9331         * sysdeps/s390/dl-procinfo.h: Add vector capability.
9332         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
9334         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9335         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
9336         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
9337         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
9338         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
9339         (memcmp, bcmp): Use __memcmp_default as alias source.
9340         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
9341         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
9342         Rename to __memcmp_default.
9343         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
9344         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
9345         (memcpy): Use __memcpy_default as alias source.
9346         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
9347         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
9348         Rename to __memcpy_default.
9349         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
9350         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
9351         (memset): Use __memset_default as alias source.
9352         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
9353         * sysdeps/s390/s390-32/memset.S (__memset_g5):
9354         Rename to __memset_default.
9355         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
9356         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
9357         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
9358         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
9359         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
9360         (memcmp, bcmp): Use __memcmp_default as alias source.
9361         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
9362         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
9363         Rename to __memcmp_default.
9364         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
9365         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
9366         (memcpy): Use __memcpy_default as alias source.
9367         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
9368         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
9369         Rename to __memcpy_default.
9370         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
9371         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
9372         (memset): Use __memset_default as alias source.
9373         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
9374         * sysdeps/s390/s390-64/memset.S (__memset_z900):
9375         Rename to __memset_default.
9376         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
9377         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
9379         [BZ #18610]
9380         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
9381         __ieee_instruction_pointer to __unused.
9382         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
9383         __ieee_instruction_pointer.
9384         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
9385         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
9386         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9387         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9388         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
9389         Mark dxc-field as reserved.
9391 2015-08-25  Roland McGrath  <roland@hack.frob.com>
9393         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
9394         if the weak reference is not null.
9396 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9398         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
9400         [BZ #11214]
9401         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
9403 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9405         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
9406         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
9407         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
9408         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
9409         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
9410         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
9411         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
9412         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
9413         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
9414         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
9415         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
9416         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
9417         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
9418         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
9419         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
9420         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
9421         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
9422         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
9424 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9426         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
9427         register other than r0 for tabort, it has special meaning.
9428         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
9429         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
9430         transaction before starting syscall.
9432 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9434         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
9436 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9438         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
9440         * sysdeps/x86_64/rtld-memcmp.c: Removed.
9441         * sysdeps/x86_64/rtld-memset.S: Likewise.
9442         * sysdeps/x86_64/rtld-strchr.S: Likewise.
9443         * sysdeps/x86_64/rtld-strlen.S: Likewise.
9444         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
9445         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9447         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
9449 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
9451         * debug/strcpy_chk.c: Improve performance.
9452         * debug/stpcpy_chk.c: Likewise.
9453         * sysdeps/x86_64/strcpy_chk.S: Remove.
9454         * sysdeps/x86_64/stpcpy_chk.S: Remove.
9456         [BZ #18240]
9457         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
9459 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9461         [BZ #15128]
9462         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
9463         ifuncmain8.
9464         (modules-names): Add ifuncmod8.
9465         ($(objpfx)ifuncmain8): New rule.
9466         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
9467         <cpuid.h>.
9468         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
9469         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
9470         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
9471         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
9472         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
9473         * sysdeps/x86_64/dl-trampoline.h: Likewise.
9474         * sysdeps/x86_64/ifuncmain8.c: New file.
9475         * sysdeps/x86_64/ifuncmod8.c: Likewise.
9476         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
9477         Removed.
9478         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
9479         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
9480         Change rtld_savespace_sse to __glibc_unused2.
9481         (RTLD_CHECK_FOREIGN_CALL): Removed.
9482         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
9483         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
9484         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
9486 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9488         * sysdeps/aarch64/bzero.S (__bzero): Remove.
9490 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9492         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
9493         Unconditionally set __fpcr to avoid uninialized warning.
9494         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
9496 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9498         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
9499         is corrupt.
9501         * malloc/arena.c (arena_get2): Drop unused argument.
9502         (arena_lock): Adjust.
9503         (arena_get_retry): Likewise.
9505 2015-08-24  Andreas Schwab  <schwab@suse.de>
9507         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
9508         Don't define.
9509         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9510         (__ASSUME_IPC64): Don't undef.
9511         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
9512         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9513         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9514         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
9515         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
9516         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
9517         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
9518         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
9519         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
9520         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
9521         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
9522         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
9523         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
9524         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
9525         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
9526         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
9527         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
9528         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
9529         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
9530         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
9531         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
9533 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
9535         * manual/Makefile (install): Only build manual when perl is available.
9537 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9539         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
9540         '#undef memcpy' by '#undef memchr'.
9542 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9544         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
9545         memchr not point to the internal __GI_memchr implementation.
9547 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9549         * timezone/Makefile (CFLAGS-zdump.c): Remove
9550         -Wno-strict-prototypes.
9551         (CFLAGS-zic.c): Likewise.
9552         (CFLAGS-ialloc.c): Likewise.
9553         (CFLAGS-scheck.c): Likewise.
9555         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
9556         -Wno-error=undef.
9558 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9560         * i386/i686/multiarch/strcasestr-c.c: Removed.
9561         * x86_64/multiarch/strcasestr.c: Likewise.
9562         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9563         Remove strcasestr.
9565 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9567         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
9569         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
9570         variables for high and low parts before possibly modifying them.
9572 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9574         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
9575         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
9576         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
9577         of "multiarch/init-arch.h".
9578         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
9579         * sysdeps/x86/init-arch.h: This.
9581 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9583         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
9584         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
9586 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
9588         [BZ #17787]
9589         * manual/macros.texi: Add twoexp macro.
9590         * manual/filesys.texi: Fix exponents.
9591         * manual/llio.texi: Likewise.
9592         * manual/stdio.texi: Likewise.
9594 2015-08-20  Florian Weimer  <fweimer@redhat.com>
9596         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
9597         incorrect use.
9599 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9601         [BZ #18370]
9602         * math/s_csqrt.c (__csqrt): Force underflow exception for results
9603         whose real or imaginary part has small absolute value.
9604         * math/s_csqrtf.c (__csqrtf): Likewise.
9605         * math/s_csqrtl.c (__csqrtl): Likewise.
9606         * math/auto-libm-test-in: Add more tests of csqrt.
9607         * math/auto-libm-test-out: Regenerated.
9608         * sysdeps/i386/fpu/libm-test-ulps: Update.
9610 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9612         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
9613         __ppc_set_ppr_very_low): New functions.
9614         * manual/platform.texi: Add documentation about
9615         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
9617 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
9619         * string/stpncpy.c (stpncpy): Improve performance using
9620         __strnlen/memcpy/memset.
9622 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9624         [BZ #18796]
9625         * scripts/test-installation.pl: Don't add -lmvec to build options if
9626         libmvec wasn't built.
9628 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9630         [BZ #14341]
9631         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9632         case when there is a gap between DT_REL and DT_JMPREL sections.
9633         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9634         (LDFLAGS-tst-split-dynreloc): New.
9635         (tst-split-dynreloc-ENV): Likewise.
9636         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9637         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9639 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9641         [BZ #18822]
9642         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9643         attribute_hidden.
9644         (__xstat64_conv): Likewise.
9645         (__xstat32_conv): Likewise.
9647 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9649         [BZ #18822]
9650         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9651         Don't load %ebx when calling __setcontext.  Call __setcontext
9652         with HIDDEN_JUMPTARGET.
9653         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9654         libc_hidden_def.
9656 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9658         * sysdeps/i386/i686/Makefile
9659         [$(subdir) == string] (sysdep_routines): Moved to ...
9660         * sysdeps/i386/Makefile: Here.
9661         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9662         * sysdeps/i386/cacheinfo.c: Here.
9663         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9664         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9665         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9666         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9668 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9670         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9671         __i586__ is defined.
9672         (HAS_I686): Defined to 1 if __i686__ is defined.
9674 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9676         * elf/Makefile [$(have-z-execstack) = yes]
9677         (CPPFLAGS-tst-execstack.c): New variable.
9679         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9680         conditional to [defined UTMPX || _HAVE_UT_TYPE].
9681         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9682         UTMPX || _HAVE_UT_TV].
9683         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9684         UTMPX || _HAVE_UT_TV - 0].
9686 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
9688         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9689         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9690         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9692 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9694         * sysdeps/powerpc/dl-procinfo.c:
9695         (_dl_powerpc_cap_flags): Added missing strings for some
9696         hwcap features.
9697         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9699 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
9701         Port the 0x7efe...feff pattern to GCC 6.
9702         See Steve Ellcey's bug report in:
9703         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9704         * string/memrchr.c (MEMRCHR):
9705         * string/rawmemchr.c (RAWMEMCHR):
9706         * string/strchr.c (strchr):
9707         * string/strchrnul.c (STRCHRNUL):
9708         Rewrite code to avoid issues with signed shift overflow.
9710 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
9712         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9713         whether cpuid is available only if HAS_CPUID is 0.
9714         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9715         (HAS_I586): Likewise.
9716         (HAS_I686): Likewise.
9718 2015-08-18  Zack Weinberg  <zackw@panix.com>
9720         * misc/Versions (libc): Add GLIBC_2.23.
9722 2015-08-18  Alan Modra  <amodra@gmail.com>
9724         [BZ #18421]
9725         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9726         .Lp__global.
9727         (_start): Load %dp via .Lp__global.
9728         [!SHARED]: Use .section .rodata.
9730 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9732         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9733         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9735 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9737         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9738         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9740 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9742         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9743         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9745 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9747         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9748         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9750 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9752         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9753         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9755 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9757         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9758         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9760 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9762         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9764 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9766         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9767         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
9768         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9769         (__ASSUME_LWS_CAS): Delete.
9771 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9773         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9774         * sysdeps/hppa/configure: Regenerated.
9775         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
9776         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
9777         * sysdeps/hppa/nptl/tls.h: Likewise.
9779 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
9781         [BZ #18823]
9782         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
9783         for scaling up small arguments.
9784         * math/s_csqrtf.c (__csqrtf): Likewise.
9785         * math/s_csqrtl.c (__csqrtl): Likewise.
9786         * math/auto-libm-test-in: Add more tests of csqrt.
9787         * math/auto-libm-test-out: Regenerated.
9789 2015-08-17  Andreas Schwab  <schwab@suse.de>
9791         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
9792         version set GLIBC_2.19.
9794 2015-08-16  Zack Weinberg  <zackw@panix.com>
9796         [BZ #18681]
9797         * misc/regexp.h: This interface is no longer supported.
9798         Remove all contents, leaving only an #error directive.
9799         * misc/regexp.c (loc1, loc2, locs, step, advance):
9800         Demote to compatibility symbols.
9802 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
9804         [BZ #18084]
9805         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
9806         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
9807         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9808         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
9809         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
9810         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
9811         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
9812         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
9813         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9815 2015-08-15  Zack Weinberg  <zackw@panix.com>
9817         [BZ #18795]
9818         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
9819         buffer length is known to be too large, not if it's known to be
9820         small enough.
9821         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
9822         overflow at runtime, involving a length parameter, twice: once
9823         with a compile-time constant length parameter, once without.
9825 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
9827         [BZ #18824]
9828         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
9829         scaling x * y up instead of down.
9830         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9831         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9832         * math/auto-libm-test-in: Add more tests of fma.
9833         * math/auto-libm-test-out: Regenerated.
9835 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9837         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9839 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9841         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
9842         unnecessary movq.
9843         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
9844         Likewise.
9846 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
9848         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9849         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
9850         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
9851         and tgamma.
9852         * math/auto-libm-test-out: Regenerated.
9853         * sysdeps/i386/fpu/libm-test-ulps: Update.
9854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9856         [BZ #16520]
9857         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
9858         (__tanh): Force underflow exception for arguments with small
9859         absolute value.
9860         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
9861         (__tanhf): Force underflow exception for arguments with small
9862         absolute value.
9863         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
9864         (__tanhl): Force underflow exception for arguments with small
9865         absolute value.
9866         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
9867         (__tanhl): Force underflow exception for arguments with small
9868         absolute value.
9869         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
9870         (__tanhl): Force underflow exception for arguments with small
9871         absolute value.
9872         * math/auto-libm-test-in: Add more tests of tanh.
9873         * math/auto-libm-test-out: Regenerated.
9874         * sysdeps/i386/fpu/libm-test-ulps: Update.
9876 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9878         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
9879         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
9881 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9883         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
9884         <cpuid.h>.
9886 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9888         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
9889         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
9891 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9893         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
9894         Remove $(objpfx)init-arch.o.
9895         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
9896         init-arch.
9897         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
9898         (INIT_ARCH_EXT): Defined as empty.
9899         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
9900         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
9901         __init_cpu_features call.  Replace HAS_XXX with
9902         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9903         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
9904         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
9905         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
9906         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
9907         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9908         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
9909         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
9910         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9911         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
9912         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
9913         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9914         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
9915         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
9916         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9917         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
9918         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
9919         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9920         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9921         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
9922         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
9923         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9924         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
9925         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
9926         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9927         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
9928         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
9929         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9930         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
9931         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
9932         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9933         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
9934         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
9935         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9936         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
9937         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
9939 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9941         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
9942         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9943         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9944         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9945         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
9946         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
9947         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
9948         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
9949         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
9950         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
9951         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
9952         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
9953         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9954         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9955         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9956         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9957         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9958         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9959         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9960         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9961         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9962         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9963         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9964         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9965         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9966         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9967         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9968         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9969         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9970         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9971         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9972         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9973         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9974         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9975         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9976         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9977         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9978         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9979         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9980         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9981         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9982         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9983         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9985 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9987         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
9988         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9989         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9990         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9991         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9992         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9993         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9994         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
9995         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9996         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9997         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9998         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
9999         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
10000         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
10001         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
10002         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
10003         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
10004         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
10005         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
10006         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
10007         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10008         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
10009         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
10010         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10011         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10012         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
10013         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
10014         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
10015         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10016         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10017         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10018         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10019         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10020         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10021         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10022         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10023         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10024         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10025         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10026         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10027         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10028         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10029         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10031 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10033         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
10034         (dl_platform_init): Call init_cpu_features.
10035         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
10036         * sysdeps/i386/i686/cacheinfo.c
10037         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
10038         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
10039         * sysdeps/i386/i686/multiarch/Versions: Removed.
10040         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
10041         Removed.
10042         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
10043         * sysdeps/unix/sysv/linux/x86/Makefile
10044         (libpthread-sysdep_routines): Remove init-arch.
10045         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
10046         <sysdeps/x86_64/dl-procinfo.c> instead of
10047         sysdeps/generic/dl-procinfo.c>.
10048         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
10049         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
10050         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
10051         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
10052         [$(subdir) == elf] (tests-static): Add
10053         tst-get-cpu-features-static.
10054         * sysdeps/x86/Versions: New file.
10055         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
10056         * sysdeps/x86/cpu-features.c: Likewise.
10057         * sysdeps/x86/cpu-features.h: Likewise.
10058         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
10059         * sysdeps/x86/libc-start.c: Likewise.
10060         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10061         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
10062         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
10063         * sysdeps/x86_64/dl-procinfo.c: Likewise.
10064         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
10065         Assume USE_MULTIARCH is defined and don't check it.
10066         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
10067         (is_amd): Likewise.
10068         (max_cpuid): Likewise.
10069         (intel_check_word): Likewise.
10070         (__cache_sysconf): Don't call __init_cpu_features.
10071         (__x86_preferred_memory_instruction): Removed.
10072         (init_cacheinfo): Don't call __init_cpu_features. Replace
10073         __cpu_features with GLRO(dl_x86_cpu_features).
10074         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
10075         (dl_platform_init): Call init_cpu_features.
10076         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
10077         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
10078         * sysdeps/x86_64/multiarch/Versions: Removed.
10079         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
10080         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
10081         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
10082         Removed.
10083         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
10085 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10087         [BZ #18820]
10088         * libio/Makefile (test-fmemopen-mem): New test.
10089         * libio/test-fmemopen.c (do_bz18820): New test.
10090         * libio/fmemopen.c (__fmemopen): Fix memory leak.
10091         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
10093 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10095         [BZ #16734]
10096         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
10097         (FREE_BUF): Delete.
10098         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
10099         * libio/genops.c (_IO_setb): Use malloc and free directly.
10100         (_IO_default_doallocate, _IO_default_finish): Likewise.
10101         ( _IO_unbuffer_all): Likewise.
10102         ( libc_freeres_fn): Likewise.
10103         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10104         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10105         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
10106         (_IO_wdefault_doallocate): Likewise.
10108 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10110         [BZ #18086]
10111         * sysdeps/posix/nice.c (nice): Restore old errno.
10112         * posix/tst-nice.c (do_test): Add test for BZ #18086.
10114 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
10116         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
10118 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10120         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
10121         __bcopy and add a weak_alias to bcopy.
10122         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
10123         for static build.
10125         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
10126         cleanup macro usage.
10127         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
10128         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
10129         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10130         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
10131         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10132         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
10133         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
10134         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10135         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10136         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
10137         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10138         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
10139         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10140         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
10141         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10142         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
10143         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
10144         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
10145         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10147         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
10148         libc_hidden_def.
10149         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
10151         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
10152         (sysdep_routines): Add strstr-ppc64.
10153         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
10155 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
10157         [BZ #18778]
10158         * elf/Makefile (tests): Add Add tst-nodelete2.
10159         (modules-names): Add tst-nodelete2mod.
10160         (tst-nodelete2mod.so-no-z-defs): New.
10161         ($(objpfx)tst-nodelete2): Likewise.
10162         ($(objpfx)tst-nodelete2.out): Likewise.
10163         (LDFLAGS-tst-nodelete2): Likewise.
10164         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
10165         out of loop through all loaded libraries.
10166         * elf/tst-nodelete2.c: New file.
10167         * elf/tst-nodelete2mod.c: Likewise.
10168         * elf/tst-znodelete-zlib.cc: Delete.
10170 2015-08-11  Andreas Schwab  <schwab@suse.de>
10172         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
10173         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
10174         (__openat64_nocancel): Likewise.
10176 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
10178         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
10179         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
10180         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
10181         * math/auto-libm-test-out: Regenerated.
10182         * sysdeps/i386/fpu/libm-test-ulps: Update.
10183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10185 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10187         [BZ #18790]
10188         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
10189         threshold for returning +/- 1.
10190         * math/auto-libm-test-in: Add more tests of tanh.
10191         * math/auto-libm-test-out: Regenerated.
10192         * sysdeps/i386/fpu/libm-test-ulps: Update.
10194 2015-08-10  Andreas Schwab  <schwab@suse.de>
10196         [BZ #18781]
10197         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
10198         MORE_OFLAGS to oflag.
10199         * io/test-lfs.c (do_test): Test openat64.
10201 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10203         [BZ #18789]
10204         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
10205         smaller threshold for returning the argument.
10206         * math/auto-libm-test-in: Add more tests of sinh.
10207         * math/auto-libm-test-out: Regenerated.
10208         * sysdeps/i386/fpu/libm-test-ulps: Update.
10210 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10212         [BZ #18674]
10213         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
10214         break.
10216 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10218         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
10219         (generated): Don't add $(addprefix z.,$(tzfiles)).
10221 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10223         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
10224         * scripts/sysd-rules.awk: Likewise.
10226 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10228         * iconvdata/tst-tables.sh: Change echo -n to printf.
10229         * nss/db-Makefile: Likewise.
10230         * posix/tst-getconf.sh: Likewise.
10231         * stdio-common/tst-unbputc.sh: Likewise.
10233 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10235         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
10236         MADV_*_PAGES defines behind this feature check.
10238 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
10240         [BZ #18480]
10241         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
10242         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
10243         Define.
10244         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
10245         LOAD_REGS_5, LOAD_REGS_6): Update.
10246         (INTERNAL_SYSCALL): Update using new LOAD defines.
10247         (INTERNAL_SYSCALL_NCS): Likewise.
10248         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
10250 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10252         [BZ #16734]
10253         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
10255 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10257         [BZ #17905]
10258         * catgets/Makefile (tst-catgets-mem): New test.
10259         * catgets/catgets.c (catopen): Don't use unbounded alloca.
10260         * catgets/open_catalog.c (__open_catalog): Likewise.
10261         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
10263 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
10265         [BZ #18787]
10266         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
10267         clobber registers.
10268         (atomic_compare_and_exchange_val_acq): Use register asms to assign
10269         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
10270         Cast return to __typeof (oldval).
10272 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
10274         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
10275         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
10276         and delete sys/syscall.h include.
10278 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
10280         [BZ #16517]
10281         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
10282         (tan): Force underflow exception for arguments with small absolute
10283         value.
10284         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
10285         (__kernel_tanf): Force underflow exception for arguments with
10286         small absolute value.
10287         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
10288         (__kernel_tanl): Force underflow exception for arguments with
10289         small absolute value.
10290         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
10291         (__kernel_tanl): Force underflow exception for arguments with
10292         small absolute value.
10293         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
10294         (__kernel_tanl): Force underflow exception for arguments with
10295         small absolute value.
10296         * math/auto-libm-test-in: Add more tests of tan.
10297         * math/auto-libm-test-out: Regenerated.
10299 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10301         Fix sysdeps/i386/fpu/s_scalbn.S build
10303         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
10305 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
10307         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10309 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10311         Fix gcrt0.o compilation
10313         When static-start-installed-name is different from
10314         start-installed-name, we must not use the shared objects.
10316         * csu/Makefile
10317         (extra-objs): Add gmon-start.o when building shared library and
10318         $(static-start-installed-name) is different from
10319         $(start-installed-name).
10320         $(objpfx)g$(static-start-installed-name): When building shared
10321         library and $(static-start-installed-name) is different from
10322         $(static-start-installed-name), revert to non-shared rule,
10323         i.e. using $(objpfx)% and gmon-start.o.
10325 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
10327         [BZ #16519]
10328         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
10329         (__ieee754_sinh): Force underflow exception for arguments with
10330         small absolute value.
10331         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
10332         (__ieee754_sinhf): Force underflow exception for arguments with
10333         small absolute value.
10334         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
10335         (__ieee754_sinhl): Force underflow exception for arguments with
10336         small absolute value.
10337         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
10338         (__ieee754_sinhl): Force underflow exception for arguments with
10339         small absolute value.
10340         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
10341         (__ieee754_sinhl): Force underflow exception for arguments with
10342         small absolute value.
10343         * math/auto-libm-test-in: Add more tests of sinh.
10344         * math/auto-libm-test-out: Regenerated.
10345         * sysdeps/i386/fpu/libm-test-ulps: Update.
10347 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10349         * libio/oldfileops.c: Include unistd.h.
10351 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
10353         * stdlib/isomac.c: Include ctype.h.
10355 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
10357         * dirent/tst-seekdir.c (main): Converted to ...
10358         (do_test): ... this.
10359         (TEST_FUNCTION): New macro.
10360         Include test-skeleton.c.
10361         * elf/tst-dlmodcount.c (main): Converted to ...
10362         (do_test): ... this.
10363         (TEST_FUNCTION): New macro.
10364         Include test-skeleton.c.
10365         * elf/tst-order-main.c (main): Converted to ...
10366         (do_test): ... this.
10367         (TEST_FUNCTION): New macro.
10368         Include test-skeleton.c.
10369         * elf/tst-pie2.c (main): Converted to ...
10370         (do_test): ... this.
10371         (TEST_FUNCTION): New macro.
10372         Include test-skeleton.c.
10373         * inet/tst-ether_aton.c (main): Converted to ...
10374         (do_test): ... this.
10375         (TEST_FUNCTION): New macro.
10376         Include test-skeleton.c.
10377         * misc/tst-mntent.c (main): Converted to ...
10378         (do_test): ... this.
10379         (TEST_FUNCTION): New macro.
10380         Include test-skeleton.c.
10381         * misc/tst-tsearch.c (main): Converted to ...
10382         (do_test): ... this.
10383         (TEST_FUNCTION): New macro.
10384         Include test-skeleton.c.
10385         * posix/tst-regexloc.c (main): Converted to ...
10386         (do_test): ... this.
10387         (TEST_FUNCTION): New macro.
10388         Include test-skeleton.c.
10389         * resolv/tst-aton.c (main): Converted to ...
10390         (do_test): ... this.
10391         (TEST_FUNCTION): New macro.
10392         Include test-skeleton.c.
10393         * stdio-common/test-fwrite.c (main): Converted to ...
10394         (do_test): ... this.
10395         (TEST_FUNCTION): New macro.
10396         Include test-skeleton.c.
10397         * stdio-common/tst-ferror.c (main): Converted to ...
10398         (do_test): ... this.
10399         (TEST_FUNCTION): New macro.
10400         Include test-skeleton.c.
10401         * stdio-common/tst-printf.c (main): Converted to ...
10402         (do_test): ... this.
10403         (TEST_FUNCTION): New macro.
10404         Include test-skeleton.c.
10405         * stdio-common/tst-printfsz.c (main): Converted to ...
10406         (do_test): ... this.
10407         (TEST_FUNCTION): New macro.
10408         Include test-skeleton.c.
10409         * stdlib/tst-strtod.c (main): Converted to ...
10410         (do_test): ... this.
10411         (TEST_FUNCTION): New macro.
10412         Include test-skeleton.c.
10413         * string/tst-strlen.c (main): Converted to ...
10414         (do_test): ... this.
10415         (TEST_FUNCTION): New macro.
10416         Include test-skeleton.c.
10417         * string/tst-svc.c (main): Converted to ...
10418         (do_test): ... this.
10419         (TEST_FUNCTION): New macro.
10420         Include test-skeleton.c.
10421         * time/tst-strptime.c (main): Converted to ...
10422         (do_test): ... this.
10423         (TEST_FUNCTION): New macro.
10424         Include test-skeleton.c.
10425         * timezone/tst-timezone.c (main): Converted to ...
10426         (do_test): ... this.
10427         (TEST_FUNCTION): New macro.
10428         Include test-skeleton.c.
10430 2015-08-05  Zack Weinberg  <zackw@panix.com>
10432         * misc/regexp.h: Update comments.
10434 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
10436         [BZ #18635]
10437         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
10438         before return label.
10440 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10442         [BZ #18661]
10443         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
10444         when calling __errno_location.
10445         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
10446         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
10448 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10450         [BZ #18661]
10451         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
10452         (__lll_timedwait_tid): Align stack to 16 bytes when calling
10453         __gettimeofday.
10455 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10457         [BZ #18661]
10458         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10459         (__start_context): Don't use pop to restore %rdi so that stack
10460         is aligned to 16 bytes when calling __setcontext.
10462 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10464         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
10465         only for libc.
10466         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10468 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10470         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
10471         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
10472         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
10474 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10476         * string/memccpy.c (memccpy):
10477         Improve performance by using memchr/memcpy/__mempcpy.
10479 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10481         * string/strncpy.c (strncpy):
10482         Improve performance by using __strnlen/memcpy.
10484 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10486         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10487         Optimize to avoid an unnecessary FPCR read.
10489 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10491         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10492         Optimize to reduce FPCR/FPSR accesses.
10494 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10496         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
10497         dead->data[category] != NULL.
10499 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
10501         [BZ #18647]
10502         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
10503         and |x| close to 1, use absolute value of x when computing log.
10504         * math/auto-libm-test-in: Add more tests of pow.
10505         * math/auto-libm-test-out: Regenerated.
10507 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10509         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
10510         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
10511         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
10513 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
10515         [BZ #18525]
10516         * locales/km_KH: Remove timezone definition.
10517         * locales/lo_LA: Likewise.
10518         * locales/my_MM: Likewise.
10519         * locales/nan_TW@latin: Likewise.
10520         * locales/th_TH: Likewise.
10521         * locales/uk_UA: Likewise.
10523 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10525         [BZ #18265]
10526         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
10527         (wcsncat): Likewise.
10528         (wcscmp): Likewise.
10529         (wcsncmp): Likewise.
10531 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10533         * test-skeleton.c (usage): New function.
10534         (main): Call usage when opt is '?'.
10536 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10538         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
10539         before first use.
10541 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10543         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
10544         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
10545         in there too.
10547 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
10549         * version.h (RELEASE): Set to "development".
10550         (VERSION): Set to "2.22.90"
10552         * version.h (RELEASE): Set to "stable".
10553         (VERSION): Set to "2.22"
10554         * include/features.h (__GLIBC_MINOR__): Set to 22.
10556 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
10558         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
10559         Restructure macro to avoid "value computed is not used" warning.
10560         (atomic_compare_and_exchange_val_acq): Likewise.
10562 2015-08-04  Andreas Schwab  <schwab@suse.de>
10564         [BZ #18635]
10565         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
10566         ret.
10567         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
10569 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
10571         * po/pl.po: Updated translation.
10572         * po/uk.po: Likewise.
10573         * po/fi.po: Likewise.
10574         * po/ko.po: Likewise.
10575         * po/ru.po: Likewise.
10576         * po/vi.po: Likewise.
10578 2015-07-31  Zack Weinberg  <zackw@panix.com>
10580         [BZ #18681]
10581         * regexp.h: Add unconditional #warning stating that this header
10582         will be removed soon.  Revise banner comment to match.
10583         (compile): Consistently use ERROR instead of RETURN to report
10584         errors (partial fix for bz#18681).
10585         * regexp.c: Don't include regexp.h. Remove some unnecessary
10586         declarations.
10588 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
10590         * po/libc.pot: Regenerated.
10592 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
10594         [BZ #18740]
10595         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
10596         float-vlen4-arch-ext-cflags): Removed.
10597         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
10598         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
10600 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10602         [BZ #14113]
10603         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
10604         aligned to __aligned__.
10605         (pthread_cond_t, pthread_rwlock_t): Likewise.
10607 2015-07-30  Torvald Riegel  <triegel@redhat.com>
10609         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
10611 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10613         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
10614         (struct sigaction): Change sa_flags from a long to an int, and add
10615         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
10617 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10619         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10620         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10621         sysdeps/generic/sysdep.h include.
10622         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10623         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
10624         sysdeps/hppa/sysdep.h.
10625         (ENTRY, PSEUDO): Undefine before defining.
10627 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10629         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10630         from scratch to use INTERNAL_SYSCALL.
10632 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
10634         [BZ #18078]
10635         * scripts/check-localplt.awk: Support alternate relocations.
10636         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10637         sections.
10638         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10639         malloc entries with + REL R_386_GLOB_DAT.
10640         * sysdeps/x86_64/localplt.data: New file.
10642 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
10644         [BZ #18731]
10645         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10646         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10647         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10649 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10651         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10653 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10655         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10656         directly in terms of __sync_fetch_and_add and delete (int) cast.
10658 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10660         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10661         the -D_ASM_IA64_CURRENT_H flag.
10663 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10665         [BZ #18641]
10666         * pwd/pwd.h (putpwent): Delete __nonnull markings.
10668 2015-07-27  Andreas Schwab  <schwab@suse.de>
10670         * conform/conformtest.pl (checknamespace): Filter out string
10671         literals while tokenizing.
10673 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10675         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10676         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10677         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10679 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10681         * nptl/tst-join7mod.c: Add #include <string.h>.
10683 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10685         * sysdeps/nios2/libm-test-ulps: Update.
10687 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10689         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10690         Fix order of arguments to the rt_sigprocmask syscall.
10691         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10692         Likewise.
10694 2015-07-24  Roland McGrath  <roland@hack.frob.com>
10696         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10698 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10700         [BZ #18457]
10701         * nptl/Makefile (tests): New test case tst-join7.
10702         (modules-names): New test case module tst-join7mod.
10703         * nptl/tst-join7.c: New file.
10704         * nptl/tst-join7mod.c: New file.
10705         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10706         all translation units in libc.so, libpthread.so and rtld.
10708 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10712 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10714         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10715         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10716         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10717         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10718         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10719         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10720         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10721         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10722         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10723         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10724         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10725         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10726         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10727         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10728         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10729         implementation.
10731 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10733         [BZ #17711]
10734         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10735         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10736         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10737         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10738         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10739         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10741 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10743         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10744         instead of just saying load lock in the comments.
10746 2015-07-23  Roland McGrath  <roland@hack.frob.com>
10748         * sysdeps/unix/Subdirs: Moved ...
10749         * sysdeps/posix/Subdirs: ... here.
10750         * login/pty.h (struct termios, struct winsize): Add forward decls.
10751         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10752         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10753         * sysdeps/arm/nacl/libc.abilist: Updated.
10754         * sysdeps/nacl/libutil.abilist: New file.
10756         * bits/signum.h: Update comments to mention 1003.1-2013 too.
10757         (SIGWINCH): New macro.
10759         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10760         * sysdeps/arm/nacl/libc.abilist: Add it.
10762 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10764         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10766 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10768         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10769         Swap __glibc_reserved0 and sa_flags order.
10771 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10773         [BZ #18657]
10774         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
10775         are pending TLS destructor calls.
10776         * include/link.h (struct link_map): Add concurrency note for
10777         L_TLS_DTOR_COUNT.
10778         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10779         Don't touch the link map flag.  Atomically increment
10780         l_tls_dtor_count.
10781         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
10782         Avoid taking the load lock and don't touch the link map flag.
10783         * stdlib/tst-tls-atexit-nodelete.c: New test case.
10784         * stdlib/Makefile (tests): Use it.
10785         * stdlib/tst-tls-atexit.c (do_test): dlopen
10786         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
10787         to allow tst-tls-atexit-nodelete test case to use it.
10789 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10791         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
10792         to bits/types.h.
10793         (msgqnum_t): New typedef.
10794         (msglen_t): Likewise.
10795         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
10796         and msg_qbytes type to msglen_t.
10798 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10800         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
10801         pad0 to __glibc_reserved0.
10802         (struct stat64): Likewise.
10804 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10806         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10807         Change sa_flags from a long to an int and add __glibc_reserved0 before
10808         it for padding.
10810 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10812         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
10813         anonymous by deleting "siginfo" name.
10815 2015-07-21  Roland McGrath  <roland@hack.frob.com>
10817         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
10818         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
10819         rather than __nacl_irt_filename.
10820         * sysdeps/nacl/xstat.c (__xstat): Likewise.
10822         * NEWS: New item for arm-nacl port.
10823         * sysdeps/arm/nacl/libc.abilist: New file.
10824         * sysdeps/nacl/ld.abilist: New file.
10825         * sysdeps/nacl/libBrokenLocale.abilist: New file.
10826         * sysdeps/nacl/libanl.abilist: New file.
10827         * sysdeps/nacl/libcrypt.abilist: New file.
10828         * sysdeps/nacl/libdl.abilist: New file.
10829         * sysdeps/nacl/libm.abilist: New file.
10830         * sysdeps/nacl/libpthread.abilist: New file.
10831         * sysdeps/nacl/libresolv.abilist: New file.
10832         * sysdeps/nacl/librt.abilist: New file.
10834 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
10836         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
10837         __startcontext to initialize the new context.
10838         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
10839         up CFI directive to forbid further backtracing.
10841 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
10843         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
10844         reference.
10845         * charmaps/ANSI_X3.4-1968: Likewise.
10846         * charmaps/BS_4730: Likewise.
10847         * charmaps/BS_VIEWDATA: Likewise.
10848         * charmaps/CP1250: Likewise.
10849         * charmaps/CP1251: Likewise.
10850         * charmaps/CP1252: Likewise.
10851         * charmaps/CP1253: Likewise.
10852         * charmaps/CP1254: Likewise.
10853         * charmaps/CP1255: Likewise.
10854         * charmaps/CP1256: Likewise.
10855         * charmaps/CSN_369103: Likewise.
10856         * charmaps/EBCDIC-DK-NO: Likewise.
10857         * charmaps/GB_1988-80: Likewise.
10858         * charmaps/GREEK-CCITT: Likewise.
10859         * charmaps/GREEK7: Likewise.
10860         * charmaps/INIS-8: Likewise.
10861         * charmaps/ISIRI-3342: Likewise.
10862         * charmaps/ISO_2033-1983: Likewise.
10863         * charmaps/ISO_5427-EXT: Likewise.
10864         * locales/POSIX: Likewise.
10865         * locales/ar_SA: Likewise.
10866         * locales/be_BY: Likewise.
10867         * locales/be_BY@latin: Likewise.
10868         * locales/ca_ES: Likewise.
10869         * locales/cs_CZ: Likewise.
10870         * locales/da_DK: Likewise.
10871         * locales/de_BE: Likewise.
10872         * locales/de_CH: Likewise.
10873         * locales/de_LU: Likewise.
10874         * locales/en_AU: Likewise.
10875         * locales/en_BW: Likewise.
10876         * locales/en_CA: Likewise.
10877         * locales/en_DK: Likewise.
10878         * locales/en_GB: Likewise.
10879         * locales/en_IE: Likewise.
10880         * locales/en_NZ: Likewise.
10881         * locales/en_ZA: Likewise.
10882         * locales/en_ZW: Likewise.
10883         * locales/es_AR: Likewise.
10884         * locales/es_BO: Likewise.
10885         * locales/es_CL: Likewise.
10886         * locales/es_CO: Likewise.
10887         * locales/es_DO: Likewise.
10888         * locales/es_EC: Likewise.
10889         * locales/es_ES: Likewise.
10890         * locales/es_HN: Likewise.
10891         * locales/es_MX: Likewise.
10892         * locales/es_PA: Likewise.
10893         * locales/es_PE: Likewise.
10894         * locales/es_PY: Likewise.
10895         * locales/es_SV: Likewise.
10896         * locales/es_US: Likewise.
10897         * locales/es_UY: Likewise.
10898         * locales/es_VE: Likewise.
10899         * locales/et_EE: Likewise.
10900         * locales/fa_IR: Likewise.
10901         * locales/fo_FO: Likewise.
10902         * locales/fr_CA: Likewise.
10903         * locales/fr_CH: Likewise.
10904         * locales/gv_GB: Likewise.
10905         * locales/he_IL: Likewise.
10906         * locales/hr_HR: Likewise.
10907         * locales/id_ID: Likewise.
10908         * locales/is_IS: Likewise.
10909         * locales/it_CH: Likewise.
10910         * locales/iw_IL: Likewise.
10911         * locales/kl_GL: Likewise.
10912         * locales/ko_KR: Likewise.
10913         * locales/kw_GB: Likewise.
10914         * locales/lg_UG: Likewise.
10915         * locales/lt_LT: Likewise.
10916         * locales/lv_LV: Likewise.
10917         * locales/mi_NZ: Likewise.
10918         * locales/nhn_MX: Likewise.
10919         * locales/nl_BE: Likewise.
10920         * locales/pl_PL: Likewise.
10921         * locales/sk_SK: Likewise.
10922         * locales/sl_SI: Likewise.
10923         * locales/sv_FI: Likewise.
10924         * locales/tl_PH: Likewise.
10925         * locales/tr_TR: Likewise.
10926         * locales/vi_VN: Likewise.
10928 2015-07-21  Khem Raj  <raj.khem@gmail.com>
10930         [BZ #17475]
10931         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
10932         of tu_IN and bh_IN.
10934 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
10936         [BZ #18694]
10937         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
10938         bits/wordsize.h.
10939         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
10941 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10943         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
10944         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
10945         (spawn_thread): New function.
10946         (load): Rename to reg_dtor_and_close.  Move dlopen to...
10947         (do_test): ... here.  Use IS_LOADED to test for its
10948         availability.
10950 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
10952         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10954 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
10956         [BZ #18696]
10957         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
10958         si_addr_bnd.
10959         (si_lower): New.
10960         (si_upper): Likewise.
10962 2015-07-16  David S. Miller  <davem@davemloft.net>
10964         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10966 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10968         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
10969         buffer.
10970         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
10971         fail output information.
10973 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
10976         and strstr-ppc64..
10977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10978         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
10979         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
10980         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
10981         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
10983 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10985         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10986         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10987         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10988         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10990 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10992         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10993         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
10994         rtld_hidden_proto.
10995         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
10997 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10999         * tst-nodelete-opened.c (do_test): Add comment to clarify how
11000         the test can fail.
11002         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
11004         [BZ #18676]
11005         * elf/tst-nodelete-opened.c: New test case.
11006         * elf/tst-nodelete-opened-lib.c: New test case module.
11007         * elf/Makefile (tests, modules-names): Use them.
11008         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
11009         early.
11011 2015-07-15  David S. Miller  <davem@davemloft.net>
11013         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
11014         futex-intenal.h
11015         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
11016         * sysdeps/sparc/sparc64/Makefile: Likewise.
11017         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11018         Remove space from macro define.
11019         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
11021 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
11023         [BZ #17475]
11024         * locale/iso-639.def: Update Bhili and Tulu language codes as
11025         per iso639-3.
11027 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
11029         * elf/tst-leaks1.c (main): Converted to ...
11030         (do_test): ... this.
11031         (TEST_FUNCTION): New macro.
11032         Include test-skeleton.c.
11033         * localedata/tst-langinfo.c (main): Converted to ...
11034         (do_test): ... this.
11035         (TEST_FUNCTION): New macro.
11036         Include test-skeleton.c.
11037         * math/test-fpucw.c (main): Converted to ...
11038         (do_test): ... this.
11039         (TEST_FUNCTION): New macro.
11040         Include test-skeleton.c.
11041         * math/test-tgmath.c (main): Converted to ...
11042         (do_test): ... this.
11043         (TEST_FUNCTION): New macro.
11044         Include test-skeleton.c.
11045         * math/test-tgmath2.c (main): Converted to ...
11046         (do_test): ... this.
11047         (TEST_FUNCTION): New macro.
11048         Include test-skeleton.c.
11049         * setjmp/tst-setjmp.c (main): Converted to ...
11050         (do_test): ... this.
11051         (TEST_FUNCTION): New macro.
11052         Include test-skeleton.c.
11053         * stdio-common/tst-sscanf.c (main): Converted to ...
11054         (do_test): ... this.
11055         (TEST_FUNCTION): New macro.
11056         Include test-skeleton.c.
11057         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
11058         (do_test): ... this.
11059         (TEST_FUNCTION): New macro.
11060         Include test-skeleton.c.
11062         * elf/tst-audit9.c (main): Converted to ...
11063         (do_test): ... this.
11064         (TEST_FUNCTION): New macro.
11065         Include test-skeleton.c.
11067 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
11069         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
11071 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11073         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
11074         New variable.
11076 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11078         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11080 2015-07-14  Roland McGrath  <roland@hack.frob.com>
11082         * sysdeps/generic/dl-fileid.h: New file.
11083         * sysdeps/posix/dl-fileid.h: New file.
11084         * sysdeps/nacl/dl-fileid.h: New file.
11085         * include/link.h: Include <dl-fileid.h>.
11086         (struct link_map): Replace l_dev and l_ino with l_file_id.
11087         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
11088         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
11089         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
11091 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11093         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
11095 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11097         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
11098         Add iff $CXX is set.
11099         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
11100         Likewise.
11101         (tst-nodelete-zmodiff): Likewise.
11102         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
11104 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11106         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
11108 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11110         * sysdeps/aarch64/fpu/math_private.h
11111         (define math_opt_barrier): Add AArch64 version.
11112         (math_force_eval): Likewise.
11114 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11116         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
11118 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11120         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
11121         %ld with %jd and cast to intmax_t.
11122         (do_test_length_zero): Likewise.
11124 2015-07-10  Roland McGrath  <roland@hack.frob.com>
11126         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
11128 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
11130         * sysdeps/tile/libm-test-ulps: Regenerated.
11132         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
11133         Comment out the whole function, not just its body.
11135 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11137         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
11138         locks.
11140         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
11142 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11144         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
11145         (sem_assume_only_signals_cause_futex_EINTR): Remove.
11147 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11149         * sysdeps/nptl/futex-internal.h: New file.
11150         * sysdeps/nacl/futex-internal.h: New file.
11151         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
11152         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
11153         error checking.
11154         (setxid_unmark_thread): Likewise.
11155         (__nptl_setxid): Likewise.
11156         (__wait_lookup_done): Likewise.
11157         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
11158         * nptl/nptl-init.c (sighandler_setxid): Likewise.
11159         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
11160         * nptl/pthread_once.c (clear_once_control): Likewise.
11161         (__pthread_once_slow): Likewise.
11162         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11163         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
11164         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
11165         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11166         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
11167         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
11168         Likewise.
11169         (__pthread_rwlock_rdlock): Likewise.
11170         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11171         Likewise.
11172         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11173         Likewise.
11174         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11175         Likewise.
11176         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
11177         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
11178         Likewise.
11179         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
11180         __ASSUME_PRIVATE_FUTEX check.
11181         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
11182         Check that shared futexes are supported.
11183         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
11184         wrappers with error checking.
11185         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
11186         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
11187         * nptl/pthread_barrierattr_setpshared.c
11188         (pthread_barrierattr_setpshared): Check that shared futexes are
11189         supported.
11190         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
11191         Likewise.
11192         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
11193         Likewise.
11194         * nptl/sem_init.c (futex_private_if_supported): Remove.
11195         (__new_sem_init): Adapt and check that shared futexes are supported.
11196         * nptl/sem_open.c (sem_open): Likewise.
11197         * nptl/sem_post.c (futex_wake): Remove.
11198         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
11199         (do_futex_wait): Use futex wrappers with error checking.
11200         * nptl/sem_wait.c: Include lowlevellock.h.
11201         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
11202         Use futex_supports_pshared.
11203         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
11204         Use futex wrappers with error checking.
11205         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
11206         Likewise.
11207         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
11208         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
11209         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
11210         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
11211         (futex_wake): Likewise.
11212         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
11213         (do_futex_wait): Use futex wrappers with error checking.
11214         (__new_sem_wait_slow): Update EINTR handling.
11215         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
11217 2015-07-09  Martin Sebor  <msebor@redhat.com>
11219         [BZ #18435]
11220         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11221         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
11222         * nptl/Makefile (test-xfail-tst-once5): Define.
11224 2015-07-09  Roland McGrath  <roland@hack.frob.com>
11226         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
11227         * elf/dl-minimal.c: For readability, reorder some definitions and
11228         introduce more page breaks.  Include <stdio.h>.
11229         (__libc_fatal): New function.
11231         * include/unistd.h: Add rtld_hidden_proto for _exit.
11232         * posix/_exit.c: Add rtld_hidden_def.
11233         * sysdeps/mach/hurd/_exit.c: Likewise.
11234         * sysdeps/nacl/_exit.c: Likewise.
11235         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
11236         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
11238 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
11240         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
11241         bndmov encoding with zero displacement.
11243 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11244             H.J. Lu  <hongjiu.lu@intel.com>
11246         [BZ #18134]
11247         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
11248         * sysdeps/i386/configure: Regenerated.
11249         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11250         (_dl_runtime_profile): Save and restore Intel MPX return bound
11251         registers when calling _dl_call_pltexit.  Add
11252         PRESERVE_BND_REGS_PREFIX before return.
11253         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
11254         (LRV_BND1_OFFSET): Likewise.
11255         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
11256         lrv_bnd1.
11257         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
11258         typo in bndmov encoding.
11259         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
11260         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
11261         branch instructions to preserve bounds.
11263 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11266         [GLIBC_2.22]: Add fmemopen.
11268 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11270         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
11271         returns an error, also try to use host port from __mach_host_self for
11272         the __vm_wire call.
11273         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
11275 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11277         [BZ #18400]
11278         [BZ #18648]
11279         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
11280         Fix pr_uid and pr_gid members.
11281         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
11282         definition to elf_greg_t.
11284 2015-07-08  Roland McGrath  <roland@hack.frob.com>
11286         [BZ #18383]
11287         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
11288         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
11289         * sysdeps/arm/configure: Regenerated.
11290         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
11291         (test-xfail-tst-tlsalign-static): Variable removed.
11293         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
11294         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
11295         rather than explicit 'ln -s'.
11297         * resolv/rpc/netdb.h: New file.
11298         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
11300 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11302         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
11303         length buffers.
11304         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11305         test-skeleton.c.
11307         [BZ #6544]
11308         [BZ #11216]
11309         [BZ #12836]
11310         [BZ #13151]
11311         [BZ #13152]
11312         [BZ #14292]
11313         * include/stdio.h (fmemopen): Remove hidden prototype.
11314         (__fmemopen): Add new hidden prototype.
11315         * libio/Makefile: Add oldfmemopen object.
11316         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
11317         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
11318         compliance.
11319         * libio/oldfmemopen.c: New file: old fmemopen implementation for
11320         symbol compatibility.
11321         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
11322         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
11323         fmemopen.
11324         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
11325         on append and read mode.
11326         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
11327         fmemopen.
11328         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
11329         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
11330         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
11331         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
11332         Likewise.
11333         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11334         [GLIBC_2.22]: Likewise.
11335         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
11336         Likewise.
11337         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
11338         Likewise.
11339         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11340         [GLIBC_2.22]: Likewise.
11341         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11342         [GLIBC_2.22]: Likewise.
11343         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11344         [GLIBC_2.22]: Likewise.
11345         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11346         [GLIBC_2.22]: Likewise.
11347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11348         [GLIBC_2.22]: Likewise.
11349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11350         [GLIBC_2.22]: Likewise.
11351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11352         [GLIBC_2.22]: Likewise.
11353         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
11354         Likewise.
11355         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
11356         Likewise.
11357         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
11358         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11359         [GLIBC_2.22]: Likewise.
11360         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11361         [GLIBC_2.22]: Likewise.
11362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11363         [GLIBC_2.22]: Likewise.
11364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11365         [GLIBC_2.22]: Likewise.
11366         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
11367         Likewise.
11368         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
11369         Likewise.
11370         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
11371         Likewise.
11372         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
11373         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
11375 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11377         [BZ #18643]
11378         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
11379         IPV6_PATHMTU, and IPV6_DONTFRAG.
11381 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
11383         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
11384         and _IO_UNBUFFERED.
11385         * libio/oldfileops.c: Likewise.
11386         * libio/wfileops.c: Likewise.
11388 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11390         * nscd/selinux.c: Delete selinux/flask.h include.
11392 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11394         [BZ #18641]
11395         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
11396         (putpwent): Likewise.
11397         (getpwnam): Likewise.
11398         (getpwent_r): Likewise.
11399         (getpwuid_r): Likewise.
11400         (getpwnam_r): Likewise.
11401         (fgetpwent_r): Likewise.
11403 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11405         [BZ #18557]
11406         * inet/rcmd.c (__validuser2_sa): Check user first to
11407         short-circuit host check.
11409 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
11410             Mikhail Ilin  <m.ilin@samsung.com>
11412         [BZ #17833]
11413         * elf/Makefile (tests): Add tst-nodelete.
11414         (modules-names): Add tst-nodelete-uniquemod.
11415         (tst-nodelete-uniquemod.so-no-z-defs): New.
11416         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
11417         (tst-nodelete-zmod.so-no-z-defs): Likewise.
11418         ($(objpfx)tst-nodelete): Likewise.
11419         ($(objpfx)tst-nodelete.out): Likewise.
11420         (LDFLAGS-tst-nodelete): Likewise.
11421         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
11422         * elf/dl-close.c (_dl_close_worker): Add a parameter to
11423         implement forced object deletion.
11424         (_dl_close): Pass false to _dl_close_worker.
11425         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
11426         * elf/tst-nodelete.cc: New file.
11427         * elf/tst-nodeletelib.cc: Likewise.
11428         * elf/tst-znodeletelib.cc: Likewise.
11429         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
11431 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11433         [BZ #18508]
11434         * stdlib/Makefile ($(objpfx)tst-makecontext3):
11435         Depend on $(libdl).
11436         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
11437         is not called infinitely times.
11438         (backtrace_helper): New function.
11439         (trace_arg): New struct.
11440         (st1): Enlarge stack size.
11441         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11442         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
11443         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11444         Likewise.
11446 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11448         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11450 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11452         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
11453         Include sys/types.h instead of bits/types.h.
11454         Remove inclusion of bits/wordsize.h.
11456 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11458         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
11459         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
11460         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
11461         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
11462         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
11463         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
11465 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11467         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
11468         link-defines.sym.
11469         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
11470         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
11471         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
11472         and LR_SIZE.
11473         * sysdeps/i386/link-defines.sym: New file.
11475 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11477         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
11478         (modules-names): Add tst-auditmod3a tst-auditmod3b.
11479         ($(objpfx)tst-audit3): New rule.
11480         ($(objpfx)tst-audit3.out): Likewise.
11481         * sysdeps/i386/tst-audit3.c: New file.
11482         * sysdeps/i386/tst-audit3.h: Likewise.
11483         * sysdeps/i386/tst-auditmod3a.c: Likewise.
11484         * sysdeps/i386/tst-auditmod3b.c: Likewise.
11486 2015-07-07  Torvald Riegel  <triegel@redhat.com>
11488         [BZ #18633]
11489         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
11490         pointer in C code.
11491         (__strcat_c): Likewise.
11492         (__strcat_g): Likewise.
11494 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
11496         [BZ #18592]
11497         * misc/sbrk.c: Set errno to ENOMEM on overflow.
11499 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11501         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
11502         New function.  (__ieee754_sqrtf): New function.
11503         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
11504         New function.
11505         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
11506         New function.
11508 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11510         * sysdeps/ieee754/support.c: Remove unused file.
11512 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11514         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
11515         registers instead of d ones so the layout is kernel abi compatible.
11516         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
11517         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
11518         Likewise.
11520 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11522         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11524 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11526         [BZ #18619]
11527         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
11528         and return argument in case of subnormal argument.
11530 2015-07-01  Martin Sebor  <msebor@redhat.com>
11532         [BZ #18435]
11533         * nptl/Makefile: Add tst-once5.cc.
11534         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11535         Remove macro redefinitions.
11536         * nptl/tst-once5.cc: New test.
11538 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11540         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11542         * sysdeps/arm/libm-test-ulps: Regenerated.
11544         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11545         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11547 2015-06-30  Torvald Riegel  <triegel@redhat.com>
11549         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
11550         lll_lock_wait_private and lll_futex_wake probes.
11552         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11553         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
11554         Likewise.
11555         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
11556         atomic_spin_nop.
11557         * sysdeps/x86_64/bits/atomic.h: Likewise.
11558         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
11559         to atomic_spin_nop and move ...
11560         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11561         ... here and ...
11562         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
11563         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
11564         atomic_spin_nop instead of BUSY_WAIT_NOP.
11565         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
11566         Likewise.
11567         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
11568         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11569         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
11570         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
11571         instead of atomic_delay.
11573 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
11575         [BZ #18613]
11576         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
11577         X_ADJ not X when adjusting exponent.
11578         (__ieee754_gamma_r): Do intermediate computations in
11579         round-to-nearest then adjust overflowing and underflowing results
11580         as needed.
11581         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
11582         of X_ADJ not X when adjusting exponent.
11583         (__ieee754_gammaf_r): Do intermediate computations in
11584         round-to-nearest then adjust overflowing and underflowing results
11585         as needed.
11586         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
11587         log of X_ADJ not X when adjusting exponent.
11588         (__ieee754_gammal_r): Do intermediate computations in
11589         round-to-nearest then adjust overflowing and underflowing results
11590         as needed.  Use 1.0L not 1.0f as numerator of division.
11591         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
11592         log of X_ADJ not X when adjusting exponent.
11593         (__ieee754_gammal_r): Do intermediate computations in
11594         round-to-nearest then adjust overflowing and underflowing results
11595         as needed.  Use 1.0L not 1.0f as numerator of division.
11596         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
11597         of X_ADJ not X when adjusting exponent.
11598         (__ieee754_gammal_r): Do intermediate computations in
11599         round-to-nearest then adjust overflowing and underflowing results
11600         as needed.  Use 1.0L not 1.0f as numerator of division.
11601         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
11602         to auto-libm-test-in.
11603         (tgamma_test): Use ALL_RM_TEST.
11604         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
11605         tests of tgamma with spurious-overflow.
11606         * math/auto-libm-test-out: Regenerated.
11607         * math/gen-libm-have-vector-test.sh: Do not check for START.
11608         * sysdeps/i386/fpu/libm-test-ulps: Update.
11609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11611         [BZ #18612]
11612         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
11613         arguments, just return 0.5 times the argument, with underflow
11614         forced as needed.
11615         * math/auto-libm-test-in: Add more tests of j1.
11616         * math/auto-libm-test-out: Regenerated.
11618         [BZ #16559]
11619         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11620         (__ieee754_j1): Force underflow exception for small results.
11621         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11622         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11623         (__ieee754_j1f): Force underflow exception for small results.
11624         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11625         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11626         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11627         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11628         (__ieee754_j1l): Force underflow exception for small results.
11629         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11630         * math/auto-libm-test-in: Add more tests of j1 and jn.
11631         * math/auto-libm-test-out: Regenerated.
11633         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11634         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11635         (PF_MPLS): Likewise.
11636         (AF_IB): Likewise.
11637         (AF_MPLS): Likewise.
11638         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11639         value and macro.
11640         (MS_RMT_MASK): Include MS_LAZYTIME.
11642 2015-06-26  Mel Gorman  <mgorman@suse.de>
11644         [BZ #18502]
11645         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11646         already minimal.
11648 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
11650         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11651         (DT_MIPS_NUM): Update.
11652         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11653         DT_MIPS_RLD_MAP_REL.
11655 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
11657         [BZ #16559]
11658         [BZ #18602]
11659         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11660         round-to-nearest internally then recompute results that
11661         underflowed to zero in the original rounding mode.
11662         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11663         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11664         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11665         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11666         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11667         * sysdeps/i386/fpu/libm-test-ulps: Update.
11668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11670 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11672         * NEWS: Fixed description of link with vector math library.
11674 2015-06-25  Andreas Schwab  <schwab@suse.de>
11676         [BZ #18549]
11677         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11678         * libio/test-fmemopen.c (do_test): Add test for it.
11680 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11682         [BZ #17841]
11683         * Makeconfig (no-pie-ldflag): New.
11684         (+link): Set to $(+link-pie) if default to PIE.
11685         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11686         * config.make.in (build-pie-default): New.
11687         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
11688         is default.  AC_SUBST.
11689         * configure: Regenerated.
11690         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11692 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11694         * nptl/descr.h (struct pthread): Change type of field setxid_futex
11695         to 'unsigned int'.
11697         * resolv/gai_misc.h (struct waitlist): Change type of field
11698         counterp to 'volatile unsigned int *'.
11699         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11700         FUTEXADDR and OLDVAL.
11701         * resolv/getaddrinfo_a.c (getaddrinfo_a):
11702         Give local variable TOTAL type 'volatile unsigned int'.
11703         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11704         * resolv/gai_suspend.c (gai_suspend):
11705         Give local variable CNTR type 'unsigned int'.
11707         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11708         counterp to 'volatile unsigned int *'.
11709         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11710         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11711         (aio_suspend): Give local variable CNTR type 'unsigned int'.
11712         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11713         Give local variable TOTAL type 'volatile unsigned int'.
11714         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11716 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11718         [BZ #18383]
11719         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11720         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
11721         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11722         comment for i386/x86-64.
11723         (test-xfail-tst-tlsalign-extern-static): Removed.
11725 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11727         * math/test-double.h: New file.
11728         * math/test-float.h: Likewise.
11729         * math/test-ldouble.h: Likewise.
11730         * math/test-math-inline.h: Likewise.
11731         * math/test-math-no-inline.h: Likewise.
11732         * math/test-math-scalar.h: Likewise.
11733         * math/test-math-vector.h: Likewise.
11734         * math/test-vec-loop.h: Remove file.  Contents moved into
11735         test-math-vector.h.
11736         * math/libm-test.inc (MATHCONST): Do not document macro.
11737         * math/test-double.c: Include test-double.h, test-math-no-inline.h
11738         and test-math-scalar.h.
11739         (FUNC): Remove macro.
11740         (FUNC_TEST): Likewise.
11741         (FLOAT): Likewise.
11742         (MATHCONST): Likewise.
11743         (PRINTF_EXPR): Likewise.
11744         (PRINTF_XEXPR): Likewise.
11745         (PRINTF_NEXPR): Likewise.
11746         (TEST_DOUBLE): Likewise.
11747         (TEST_MATHVEC): Likewise.
11748         (__NO_MATH_INLINES): Likewise.
11749         * math/test-float.c: Include test-float.h, test-math-no-inline.h
11750         and test-math-scalar.h.
11751         (FUNC): Remove macro.
11752         (FUNC_TEST): Likewise.
11753         (FLOAT): Likewise.
11754         (MATHCONST): Likewise.
11755         (PRINTF_EXPR): Likewise.
11756         (PRINTF_XEXPR): Likewise.
11757         (PRINTF_NEXPR): Likewise.
11758         (TEST_FLOAT): Likewise.
11759         (TEST_MATHVEC): Likewise.
11760         (__NO_MATH_INLINES): Likewise.
11761         * math/test-idouble.c: Include test-double.h, test-math-inline.h
11762         and test-math-scalar.h.
11763         (FUNC): Remove macro.
11764         (FUNC_TEST): Likewise.
11765         (FLOAT): Likewise.
11766         (MATHCONST): Likewise.
11767         (PRINTF_EXPR): Likewise.
11768         (PRINTF_XEXPR): Likewise.
11769         (PRINTF_NEXPR): Likewise.
11770         (TEST_DOUBLE): Likewise.
11771         (TEST_MATHVEC): Likewise.
11772         (TEST_INLINE): Likewise.
11773         (__NO_MATH_INLINES): Likewise.
11774         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
11775         test-math-scalar.h.
11776         (FUNC): Remove macro.
11777         (FUNC_TEST): Likewise.
11778         (FLOAT): Likewise.
11779         (MATHCONST): Likewise.
11780         (PRINTF_EXPR): Likewise.
11781         (PRINTF_XEXPR): Likewise.
11782         (PRINTF_NEXPR): Likewise.
11783         (TEST_FLOAT): Likewise.
11784         (TEST_MATHVEC): Likewise.
11785         (TEST_INLINE): Likewise.
11786         (__NO_MATH_INLINES): Likewise.
11787         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
11788         and test-math-scalar.h.
11789         (FUNC): Remove macro.
11790         (FUNC_TEST): Likewise.
11791         (FLOAT): Likewise.
11792         (MATHCONST): Likewise.
11793         (PRINTF_EXPR): Likewise.
11794         (PRINTF_XEXPR): Likewise.
11795         (PRINTF_NEXPR): Likewise.
11796         (TEST_LDOUBLE): Likewise.
11797         (TEST_MATHVEC): Likewise.
11798         (TEST_INLINE): Likewise.
11799         (__NO_MATH_INLINES): Likewise.
11800         * math/test-ldouble.c: Include test-ldouble.h,
11801         test-math-no-inline.h and test-math-scalar.h.
11802         (FUNC): Remove macro.
11803         (FUNC_TEST): Likewise.
11804         (FLOAT): Likewise.
11805         (MATHCONST): Likewise.
11806         (PRINTF_EXPR): Likewise.
11807         (PRINTF_XEXPR): Likewise.
11808         (PRINTF_NEXPR): Likewise.
11809         (TEST_LDOUBLE): Likewise.
11810         (TEST_MATHVEC): Likewise.
11811         (__NO_MATH_INLINES): Likewise.
11812         * math/test-double-vlen2.h: Include test-double.h,
11813         test-math-no-inline.h and test-math-vector.h.
11814         (FLOAT): Remove macro.
11815         (FUNC): Likewise.
11816         (MATHCONST): Likewise.
11817         (PRINTF_EXPR): Likewise.
11818         (PRINTF_XEXPR): Likewise.
11819         (PRINTF_NEXPR): Likewise.
11820         (TEST_DOUBLE): Likewise.
11821         (TEST_MATHVEC): Likewise.
11822         (__NO_MATH_INLINES): Likewise.
11823         (CNCT): Likewise.
11824         (CONCAT): Likewise.
11825         (WRAPPER_NAME): Likewise.
11826         (WRAPPER_DECL): Likewise.
11827         (WRAPPER_DECL_ff): Likewise.
11828         (WRAPPER_DECL_fFF): Likewise.
11829         (VECTOR_WRAPPER): Likewise.
11830         (VECTOR_WRAPPER_ff): Likewise.
11831         (VECTOR_WRAPPER_fFF): Likewise.
11832         (VEC_LEN): New macro.
11833         * math/test-double-vlen4.h: Include test-double.h,
11834         test-math-no-inline.h and test-math-vector.h.
11835         (FLOAT): Remove macro.
11836         (FUNC): Likewise.
11837         (MATHCONST): Likewise.
11838         (PRINTF_EXPR): Likewise.
11839         (PRINTF_XEXPR): Likewise.
11840         (PRINTF_NEXPR): Likewise.
11841         (TEST_DOUBLE): Likewise.
11842         (TEST_MATHVEC): Likewise.
11843         (__NO_MATH_INLINES): Likewise.
11844         (CNCT): Likewise.
11845         (CONCAT): Likewise.
11846         (WRAPPER_NAME): Likewise.
11847         (WRAPPER_DECL): Likewise.
11848         (WRAPPER_DECL_ff): Likewise.
11849         (WRAPPER_DECL_fFF): Likewise.
11850         (VECTOR_WRAPPER): Likewise.
11851         (VECTOR_WRAPPER_ff): Likewise.
11852         (VECTOR_WRAPPER_fFF): Likewise.
11853         (VEC_LEN): New macro.
11854         * math/test-double-vlen8.h: Include test-double.h,
11855         test-math-no-inline.h and test-math-vector.h.
11856         (FLOAT): Remove macro.
11857         (FUNC): Likewise.
11858         (MATHCONST): Likewise.
11859         (PRINTF_EXPR): Likewise.
11860         (PRINTF_XEXPR): Likewise.
11861         (PRINTF_NEXPR): Likewise.
11862         (TEST_DOUBLE): Likewise.
11863         (TEST_MATHVEC): Likewise.
11864         (__NO_MATH_INLINES): Likewise.
11865         (CNCT): Likewise.
11866         (CONCAT): Likewise.
11867         (WRAPPER_NAME): Likewise.
11868         (WRAPPER_DECL): Likewise.
11869         (WRAPPER_DECL_ff): Likewise.
11870         (WRAPPER_DECL_fFF): Likewise.
11871         (VECTOR_WRAPPER): Likewise.
11872         (VECTOR_WRAPPER_ff): Likewise.
11873         (VECTOR_WRAPPER_fFF): Likewise.
11874         (VEC_LEN): New macro.
11875         * math/test-float-vlen4.h: Include test-float.h,
11876         test-math-no-inline.h and test-math-vector.h.
11877         (FLOAT): Remove macro.
11878         (FUNC): Likewise.
11879         (MATHCONST): Likewise.
11880         (PRINTF_EXPR): Likewise.
11881         (PRINTF_XEXPR): Likewise.
11882         (PRINTF_NEXPR): Likewise.
11883         (TEST_FLOAT): Likewise.
11884         (TEST_MATHVEC): Likewise.
11885         (__NO_MATH_INLINES): Likewise.
11886         (CNCT): Likewise.
11887         (CONCAT): Likewise.
11888         (WRAPPER_NAME): Likewise.
11889         (WRAPPER_DECL): Likewise.
11890         (WRAPPER_DECL_ff): Likewise.
11891         (WRAPPER_DECL_fFF): Likewise.
11892         (VECTOR_WRAPPER): Likewise.
11893         (VECTOR_WRAPPER_ff): Likewise.
11894         (VECTOR_WRAPPER_fFF): Likewise.
11895         (VEC_LEN): New macro.
11896         * math/test-float-vlen8.h: Include test-float.h,
11897         test-math-no-inline.h and test-math-vector.h.
11898         (FLOAT): Remove macro.
11899         (FUNC): Likewise.
11900         (MATHCONST): Likewise.
11901         (PRINTF_EXPR): Likewise.
11902         (PRINTF_XEXPR): Likewise.
11903         (PRINTF_NEXPR): Likewise.
11904         (TEST_FLOAT): Likewise.
11905         (TEST_MATHVEC): Likewise.
11906         (__NO_MATH_INLINES): Likewise.
11907         (CNCT): Likewise.
11908         (CONCAT): Likewise.
11909         (WRAPPER_NAME): Likewise.
11910         (WRAPPER_DECL): Likewise.
11911         (WRAPPER_DECL_ff): Likewise.
11912         (WRAPPER_DECL_fFF): Likewise.
11913         (VECTOR_WRAPPER): Likewise.
11914         (VECTOR_WRAPPER_ff): Likewise.
11915         (VECTOR_WRAPPER_fFF): Likewise.
11916         (VEC_LEN): New macro.
11917         * math/test-float-vlen16.h: Include test-float.h,
11918         test-math-no-inline.h and test-math-vector.h.
11919         (FLOAT): Remove macro.
11920         (FUNC): Likewise.
11921         (MATHCONST): Likewise.
11922         (PRINTF_EXPR): Likewise.
11923         (PRINTF_XEXPR): Likewise.
11924         (PRINTF_NEXPR): Likewise.
11925         (TEST_FLOAT): Likewise.
11926         (TEST_MATHVEC): Likewise.
11927         (__NO_MATH_INLINES): Likewise.
11928         (CNCT): Likewise.
11929         (CONCAT): Likewise.
11930         (WRAPPER_NAME): Likewise.
11931         (WRAPPER_DECL): Likewise.
11932         (WRAPPER_DECL_ff): Likewise.
11933         (WRAPPER_DECL_fFF): Likewise.
11934         (VECTOR_WRAPPER): Likewise.
11935         (VECTOR_WRAPPER_ff): Likewise.
11936         (VECTOR_WRAPPER_fFF): Likewise.
11937         (VEC_LEN): New macro.
11938         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
11939         test-vec-loop.h.
11940         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11941         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11942         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11943         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11944         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11945         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11946         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11948 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11950         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
11951         (__getlogin_r): ... this.
11953 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11955         [BZ #18594]
11956         * math/s_ccosh.c (__ccosh): Compare with least normal value
11957         instead of comparing class with FP_SUBNORMAL.
11958         * math/s_ccoshf.c (__ccoshf): Likewise.
11959         * math/s_ccoshl.c (__ccoshl): Likewise.
11960         * math/s_cexp.c (__cexp): Likewise.
11961         * math/s_cexpf.c (__cexpf): Likewise.
11962         * math/s_cexpl.c (__cexpl): Likewise.
11963         * math/s_csin.c (__csin): Likewise.
11964         * math/s_csinf.c (__csinf): Likewise.
11965         * math/s_csinh.c (__csinh): Likewise.
11966         * math/s_csinhf.c (__csinhf): Likewise.
11967         * math/s_csinhl.c (__csinhl): Likewise.
11968         * math/s_csinl.c (__csinl): Likewise.
11969         * math/s_ctan.c (__ctan): Likewise.
11970         * math/s_ctanf.c (__ctanf): Likewise.
11971         * math/s_ctanh.c (__ctanh): Likewise.
11972         * math/s_ctanhf.c (__ctanhf): Likewise.
11973         * math/s_ctanhl.c (__ctanhl): Likewise.
11974         * math/s_ctanl.c (__ctanl): Likewise.
11975         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
11976         csin, csinh, ctan and ctanh.
11977         * math/auto-libm-test-out: Regenerated.
11978         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
11979         * sysdeps/i386/fpu/libm-test-ulps: Update.
11980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11982 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11984         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
11985         return value is wrong, print the expected value too.
11987 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11989         [BZ #18585]
11990         * elf/readlib.c (is_gdb_python_file): New.
11991         (process_file): Don't issue errors on filenames with -gdb.py
11992         suffix.
11994 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11996         * math/auto-libm-test-in: Add more tests of csin and csinh.
11997         * math/auto-libm-test-out: Regenerated.
11998         * math/libm-test.inc (csin_test_data): Remove tests moved to
11999         auto-libm-test-in.
12000         (csinh_test_data): Likewise.
12002         [BZ #18593]
12003         * math/s_csin.c (__csin): Negate before rather than after possibly
12004         overflowing multiplication.
12005         * math/s_csinf.c (__csinf): Likewise.
12006         * math/s_csinh.c (__csinh): Likewise.
12007         * math/s_csinhf.c (__csinhf): Likewise.
12008         * math/s_csinhl.c (__csinhl): Likewise.
12009         * math/s_csinl.c (__csinl): Likewise.
12010         * math/auto-libm-test-in: Add some tests of csin and csinh.
12011         * math/auto-libm-test-out: Regenerated.
12012         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
12013         (csinh_test_data): Likewise.
12014         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12016         [BZ #18586]
12017         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
12018         underflow exception for small results.
12020 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12022         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12023         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
12024         variable and included header.
12025         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
12026         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
12027         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
12028         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
12029         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
12030         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12031         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12032         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
12033         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
12034         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
12035         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
12036         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
12037         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
12038         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
12039         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
12040         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
12042 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12044         [BZ #16526]
12045         [BZ #16538]
12046         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
12047         (__sin): Force underflow exception for arguments with small
12048         absolute value.
12049         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
12050         (__kernel_sinf): Force underflow exception for arguments with
12051         small absolute value.
12052         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
12053         (__kernel_sincosl): Force underflow exception for arguments with
12054         small absolute value.
12055         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
12056         (__kernel_sinl): Force underflow exception for arguments with
12057         small absolute value.
12058         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
12059         (__kernel_sincosl): Force underflow exception for arguments with
12060         small absolute value.
12061         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
12062         (__kernel_sinl): Force underflow exception for arguments with
12063         small absolute value.
12064         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
12065         (__kernel_sinl): Force underflow exception for arguments with
12066         small absolute value.
12067         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
12068         (__kernel_sinf): Force underflow exception for arguments with
12069         small absolute value.
12070         * math/auto-libm-test-in: Add more tests of sin and sincos.
12071         * math/auto-libm-test-out: Regenerated.
12073         [BZ #18245]
12074         [BZ #18583]
12075         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
12076         (__kernel_standard_l): Use feholdexcept and fesetenv around
12077         conversion to double instead of special-casing overflow and
12078         underflow.
12079         * math/libm-test.inc (fmod_test_data): Add more tests.
12080         (remainder_test_data): Likewise.
12081         (sqrt_test_data): Likewise.
12083 2015-06-23  Torvald Riegel  <triegel@redhat.com>
12085         [BZ #17403]
12086         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
12087         atomic_read_barrier, atomic_write_barrier): Define.
12088         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
12089         atomic_read_barrier, atomic_write_barrier): Define.
12091 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12093         * math/Makefile [$(PERL) != no]
12094         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
12095         dependency on libm-test.stmp below the inclusion of Rules.
12097 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
12099         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12100         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
12101         and included header.
12102         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
12103         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
12104         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
12105         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
12106         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
12107         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
12108         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12109         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12110         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
12111         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
12112         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
12113         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
12114         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
12115         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
12116         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
12117         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
12118         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
12119         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
12120         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
12122 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12124         [BZ #18371]
12125         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
12126         intermediate but not final result might underflow.
12127         * math/s_csqrtf.c (__csqrtf): Likewise.
12128         * math/s_csqrtl.c (__csqrtl): Likewise.
12129         * math/auto-libm-test-in: Add more tests of csqrt.
12130         * math/auto-libm-test-out: Regenerated.
12131         * sysdeps/i386/fpu/libm-test-ulps: Update.
12133         [BZ #18219]
12134         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
12135         threshold on absolute value of exponent for which scaling is used.
12136         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12137         * math/auto-libm-test-in: Add more tests of exp2.
12138         * math/auto-libm-test-out: Regenerated.
12140 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
12142         [BZ #17977]
12143         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
12144         when initializing interface list, based on the bug analysis
12145         and the patch proposed by Eric Newton.
12146         * resolv/tst-res_hconf_reorder.c: New test.
12147         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
12148         tst-res_hconf_reorder.
12149         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
12150         and $(shared-thread-library).
12151         (tst-res_hconf_reorder-ENV): New variable.
12153         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
12154         in comment.
12156 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
12158         [BZ #16353]
12159         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
12160         (__expm1): Force underflow exception for arguments with small
12161         absolute value.
12162         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
12163         (__expm1f): Force underflow exception for arguments with small
12164         absolute value.
12165         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
12166         (__expm1): Force underflow exception for arguments with small
12167         absolute value.
12168         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
12169         (__expm1f): Force underflow exception for arguments with small
12170         absolute value.
12171         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12172         Check for small arguments before calling __expm1.
12173         * math/auto-libm-test-in: Do not mark underflow exceptions as
12174         possibly missing for bug 16353.
12175         * math/auto-libm-test-out: Regenerated.
12177 2015-06-22  Andreas Schwab  <schwab@suse.de>
12179         [BZ #18513]
12180         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
12181         PTR queries.
12183 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
12185         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
12187         * string/strcoll_l.c: Remove unused struct element idxnow.
12189 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
12191         [BZ #18569]
12192         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
12193         underflow and return argument in case of subnormal argument.
12194         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12195         Likewise.
12196         * math/auto-libm-test-in: Add more tests of expm1.
12197         * math/auto-libm-test-out: Regenerated.
12199         [BZ #16361]
12200         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12201         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12202         tiny results.
12203         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12204         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12205         tiny results.
12206         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
12207         mark underflow exceptions as possibly missing for bug 16361.
12208         * math/auto-libm-test-out: Regenerated.
12210 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
12212         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
12213         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
12214         Remove variable.
12215         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12216         (test-xfail-XOPEN2K8/utmpx.h/conform).
12218         * conform/conformtest.pl ($xerrors): New variable.
12219         (note_error): New function.
12220         (compiletest): New argument $xfail.  Use not_error.
12221         (runtest): Likewise.
12222         (top level): Handle xfail- lines.  Update calls to compiletest and
12223         runtest.  Handle xfail- and optional- in headers listed with
12224         allow-header.
12225         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
12226         (O_EXEC): Likewise.
12227         (O_SEARCH): Likewise.
12228         * conform/data/stropts.h-data (ioctl): Likewise.
12229         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
12230         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
12231         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
12232         (msghdr.msg_controllen): Likewise.
12233         (cmsghdr.cmsg_len): Likewise.
12234         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
12235         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
12236         variable.
12237         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12238         (test-xfail-XPG4/stropts.h/conform): Likewise.
12239         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12240         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12241         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12242         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12243         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12244         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12245         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12246         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12247         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12248         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12249         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12250         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12251         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12252         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12253         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12254         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12255         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12256         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12257         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12259 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12261         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
12262         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
12263         definitions for proper unfolding of __MATHDECL_VEC.
12265 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12267         * benchtests/bench-strcoll.c:
12268         Include string.h.
12269         (main): Remove unused variable res.
12271 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12273         * timezone/Makefile (%/UTC %/Universal):
12274         Generate test-result files for UTC and Universal.
12276 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12278         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12280 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
12282         [BZ #16350]
12283         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
12284         for arguments with small absolute value.
12285         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
12286         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
12287         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
12288         (__asinh): Force underflow exception for arguments with small
12289         absolute value.
12290         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
12291         (__asinhf): Force underflow exception for arguments with small
12292         absolute value.
12293         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
12294         (__asinhl): Force underflow exception for arguments with small
12295         absolute value.
12296         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
12297         (__asinhl): Force underflow exception for arguments with small
12298         absolute value.
12299         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
12300         (__asinhl): Force underflow exception for arguments with small
12301         absolute value.
12302         * math/auto-libm-test-in: Do not mark underflow exceptions as
12303         possibly missing for bug 16350.
12304         * math/auto-libm-test-out: Regenerated.
12306         * include/bits/ipc.h: Remove file.
12307         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
12308         variable.
12309         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12310         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12311         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12312         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12313         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12314         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12315         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12316         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12317         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12319         * math/auto-libm-test-in: Remove spurious underflow allowance for
12320         tests of cexp.
12321         * math/auto-libm-test-out: Regenerated.
12323         [BZ #18558]
12324         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
12325         unconditional definition.
12326         (MCAST_BLOCK_SOURCE): Likewise.
12327         (MCAST_UNBLOCK_SOURCE): Likewise.
12328         (MCAST_LEAVE_GROUP): Likewise.
12329         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12330         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12331         (MCAST_MSFILTER): Likewise.
12332         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
12333         Remove variable.
12334         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12335         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12336         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12337         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12338         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12340 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
12342         * NEWS: Mention addition of x86_64 vector sincosf.
12343         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
12344         * math/test-float-vlen4.h: Likewise.
12345         * math/test-float-vlen8.h: Likewise.
12346         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12347         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
12348         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12349         * sysdeps/x86_64/fpu/Versions: New versions added.
12350         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12351         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12352         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12353         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
12354         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12355         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
12356         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12357         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
12358         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12359         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
12360         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
12361         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
12362         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
12363         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
12364         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
12365         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
12366         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
12367         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12368         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12369         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12370         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12371         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12372         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12373         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12375         * NEWS: Mention addition of x86_64 vector sincos.
12376         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
12377         * math/math.h (__MATHDECL_VEC): New macro.
12378         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
12379         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
12380         declaration under condition.
12381         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
12382         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
12383         TEST_VEC_LOOP change.
12384         * math/test-double-vlen4.h: Likewise.
12385         * math/test-double-vlen8.h: Likewise.
12386         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
12387         * math/test-float-vlen4.h: Likewise.
12388         * math/test-float-vlen8.h: Likewise.
12389         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12390         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
12391         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12392         * sysdeps/x86_64/fpu/Versions: New versions added.
12393         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12394         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12395         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12396         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
12397         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
12398         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
12399         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
12400         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
12401         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
12402         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
12403         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
12404         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
12405         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
12406         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
12407         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
12408         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
12409         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
12410         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12411         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12412         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12413         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12414         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12415         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12416         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12418         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12419         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12420         redirections for powf.
12421         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12422         * sysdeps/x86_64/fpu/Versions: New versions added.
12423         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12424         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12425         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12426         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
12427         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
12428         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
12429         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
12430         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
12431         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
12432         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
12433         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
12434         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
12435         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
12436         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
12437         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
12438         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
12439         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
12440         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12441         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12442         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12443         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12444         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12445         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12446         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12447         * math/test-float-vlen16.h: Fixed 2 argument macro.
12448         * math/test-float-vlen4.h: Likewise.
12449         * math/test-float-vlen8.h: Likewise.
12450         * NEWS: Mention addition of x86_64 vector powf.
12452 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
12454         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12455         and redefine.
12456         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12457         and redefine.
12458         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
12459         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12460         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12462         [BZ #18553]
12463         * resource/getpriority.c (getpriority): Rename to __getpriority
12464         and define as weak alias of __getpriority.
12465         * resource/setpriority.c (setpriority): Rename to __setpriority
12466         and define as weak alias of __setpriority.
12467         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
12468         __getpriority and define as weak alias of __getpriority.
12469         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
12470         __setpriority and define as weak alias of __setpriority.
12471         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
12472         strong name.
12473         (setpriority): Use __setpriority as strong name.
12474         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
12475         __getpriority and define as weak alias of __getpriority.
12476         * include/sys/resource.h (__getpriority): Declare.  Use
12477         libc_hidden_proto.
12478         (__setpriority): Likewise.
12479         (getpriority): Don't use libc_hidden_proto.
12480         (setpriority): Likewise.
12481         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
12482         getpriority.  Call __setpriority instead of setpriority.
12483         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
12484         Remove variable.
12486         [BZ #18547]
12487         * misc/getttyent.c (getttynam): Rename to __getttynam and define
12488         as weak alias of __getttynam.  Use prototype function definition.
12489         Call __setttyent, __getttyent and __endttyent instead of
12490         setttyent, getttyent and endttyent.
12491         (getttyent): Rename to __getttyent and define as weak alias of
12492         __getttyent.  Call __setttyent instead of setttyent.  Call
12493         __fgets_unlocked instead of fgets_unlocked.
12494         (setttyent): Rename to __setttyent and define as weak alias of
12495         __setttyent.
12496         (endttyent): Rename to __endttyent and define as weak alias of
12497         __endttyent.
12498         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
12499         (__setttyent): Likewise.
12500         (__endttyent): Likewise.
12501         (getttyent): Don't use libc_hidden_proto.
12502         (setttyent): Likewise.
12503         (endttyent): Likewise.
12504         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
12505         __endttyent instead of setttyent, getttyent and endttyent.
12506         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
12507         Remove variable.
12509         [BZ #18546]
12510         * socket/recv.c (__recv): Use libc_hidden_def.
12511         * socket/socket.c (__socket): Likewise.
12512         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12513         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12514         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
12515         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
12516         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
12517         libc_hidden_def.
12518         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
12519         libc_hidden_weak.
12520         * include/sys/socket.h (__socket): Do not use attribute_hidden.
12521         Use libc_hidden_proto.
12522         (__recv): Likewise.
12523         * socket/Versions (libc): Export __recv and __socket at version
12524         GLIBC_PRIVATE.
12525         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
12526         instead of recv.
12527         (init_mq_netlink): Call __socket instead of socket.
12528         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
12529         Remove variable.
12531         [BZ #18545]
12532         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
12533         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
12534         hidden_weak.
12535         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
12536         define as alias of __mq_timedsend.  Use hidden_weak.
12537         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
12538         __mq_timedsend as strong name.
12539         (mq_timedreceive): Use __mq_timedreceive as strong name.
12540         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
12541         (__mq_timedreceive): Likewise.
12542         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
12543         __mq_timedreceive instead of mq_timedreceive.
12544         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
12545         instead of mq_timedsend.
12546         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
12547         Remove variable.
12549         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
12550         hidden_def and hidden_weak instead of libc_hidden_def and
12551         libc_hidden_weak.
12552         (top level): Refer to hidden_def in comment.
12553         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
12554         macro.  Use it instead of libc_hidden_def.
12555         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
12556         specify __GI_* name explicitly.
12557         (mq_timedreceive): Likewise.
12558         (mq_setattr): Likewise.
12560         [BZ #18544]
12561         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
12562         __pthread_barrier_init and define as weak alias of
12563         __pthread_barrier_init.
12564         * sysdeps/sparc/nptl/pthread_barrier_init.c
12565         (pthread_barrier_init): Likewise.
12566         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
12567         __pthread_barrier_wait and define as weak alias of
12568         __pthread_barrier_wait.
12569         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12570         (pthread_barrier_wait): Likewise.
12571         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12572         (pthread_barrier_wait): Likewise.
12573         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
12574         (pthread_barrier_wait): Likewise.
12575         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
12576         (pthread_barrier_wait): Likewise.
12577         * nptl/Versions (libpthread): Export __pthread_barrier_init and
12578         __pthread_barrier_wait at version GLIBC_PRIVATE.
12579         * include/pthread.h (__pthread_barrier_init): Declare.
12580         (__pthread_barrier_wait): Likewise.
12581         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
12582         Call __pthread_barrier_wait instead of pthread_barrier_wait.
12583         (helper_thread): Likewise.
12584         (init_mq_netlink): Call __pthread_barrier_init instead of
12585         pthread_barrier_init.
12587         [BZ #18542]
12588         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
12589         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
12590         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
12591         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
12592         vswscanf.
12593         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
12594         Remove variable.
12596         [BZ #18540]
12597         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
12598         strong alias of _IO_fflush.  Use libc_hidden_def.
12599         * libio/iofflush_u.c (fflush_unlocked): Rename to
12600         __fflush_unlocked and define as weak alias of __fflush_unlocked.
12601         Use libc_hidden_weak.
12602         * include/stdio.h (__fflush_unlocked): Declare.  Use
12603         libc_hidden_proto.
12604         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
12605         fflush_unlocked.
12606         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
12607         Remove variable.
12609         [BZ #18539]
12610         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
12611         define as weak alias of __addseverity.
12612         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
12613         Remove variable.
12614         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12615         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12616         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12618         [BZ #18536]
12619         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12620         (__tfind): Likewise.
12621         (__tdelete): Likewise.
12622         (__twalk): Likewise.
12623         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12624         __twalk to GLIBC_PRIVATE.
12625         * include/search.h (__tsearch): Use libc_hidden_proto.
12626         (__tfind): Likewise.
12627         (__tdelete): Likewise.
12628         (__twalk): Likewise.
12629         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12630         Call __tdelete instead of tdelete.
12631         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12632         tfind.  Call __tsearch instead of tsearch.
12633         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12634         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12635         Remove variable.
12636         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12638         [BZ #18534]
12639         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12640         (dprintf): Define as a weak alias of __dprintf, not a strong
12641         alias.
12642         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
12643         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12644         dprintf.
12645         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12646         Remove variable.
12647         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12648         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12650         [BZ #18533]
12651         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12652         not a strong alias.
12653         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12654         Remove variable.
12656         [BZ #18532]
12657         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12658         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
12659         (in6addr_loopback): Rename to __in6addr_loopback and define as
12660         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
12661         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
12662         libc_hidden_proto.
12663         (__in6addr_any): Likewise.
12664         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12665         in6addr_any.
12666         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12667         variable.
12668         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12670 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12672         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12673         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12674         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12675         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12676         redirections for pow.
12677         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12678         * sysdeps/x86_64/fpu/Versions: New versions added.
12679         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12680         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12681         build of SSE, AVX2 and AVX512 IFUNC versions.
12682         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12683         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12684         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12685         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12686         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12687         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12688         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12689         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12690         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12691         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12692         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12693         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12694         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12695         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12696         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12697         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12698         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12699         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12700         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12701         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12702         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12703         * NEWS: Mention addition of x86_64 vector pow.
12705         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12706         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12707         redirections for expf.
12708         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12709         * sysdeps/x86_64/fpu/Versions: New versions added.
12710         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12711         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12712         build of SSE, AVX2 and AVX512 IFUNC versions.
12713         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12714         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12715         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12716         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12717         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12718         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12719         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12720         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12721         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12722         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12723         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12724         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12725         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12726         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12727         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12728         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12729         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12730         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12731         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12732         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12733         * NEWS: Mention addition of x86_64 vector expf.
12735         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12736         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12737         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12738         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12739         redirections for exp.
12740         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12741         * sysdeps/x86_64/fpu/Versions: New versions added.
12742         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12743         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12744         build of SSE, AVX2 and AVX512 IFUNC versions.
12745         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12746         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12747         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12748         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12749         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12750         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12751         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12752         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12753         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12754         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12755         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12756         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12757         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12758         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12759         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12760         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12761         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12762         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12763         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12764         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12765         * NEWS: Mention addition of x86_64 vector exp.
12767         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12768         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12769         redirections for logf.
12770         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12771         * sysdeps/x86_64/fpu/Versions: New versions added.
12772         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12773         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12774         build of SSE, AVX2 and AVX512 IFUNC versions.
12775         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
12776         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
12777         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
12778         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
12779         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
12780         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
12781         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
12782         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
12783         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
12784         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
12785         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
12786         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
12787         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
12788         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12789         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12790         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12791         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12792         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12793         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12794         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12795         * NEWS: Mention addition of x86_64 vector logf.
12797         * bits/libm-simd-decl-stubs.h: Added stubs for log.
12798         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
12799         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12800         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12801         redirections for log.
12802         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12803         * sysdeps/x86_64/fpu/Versions: New versions added.
12804         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12805         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12806         build of SSE, AVX2 and AVX512 IFUNC versions.
12807         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
12808         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
12809         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
12810         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
12811         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
12812         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
12813         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
12814         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
12815         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
12816         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
12817         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
12818         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
12819         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
12820         test.
12821         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12822         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12823         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12824         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12825         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12826         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12827         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12828         * NEWS: Mention addition of x86_64 vector log.
12830 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12832         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
12833         cfi_adjust_cfa_offset argument.
12834         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
12835         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
12837         [BZ #18034]
12838         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
12839         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
12840         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
12841         ordering using ldar.
12842         (_dl_tlsdesc_dynamic): Likewise.
12843         (_dl_tlsdesc_return_lazy): Likewise.
12844         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
12845         relaxed atomics instead of volatile and synchronize with release store.
12846         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
12847         volatile.
12848         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12850 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
12852         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12853         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
12854         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12855         * sysdeps/x86_64/fpu/Versions: New versions added.
12856         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12857         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12858         build of SSE, AVX2 and AVX512 IFUNC versions.
12859         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
12860         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
12861         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
12862         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
12863         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
12864         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
12865         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
12866         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
12867         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
12868         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
12869         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
12870         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
12871         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
12872         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12873         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12874         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12875         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12876         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12877         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12878         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12879         * NEWS: Mention addition of x86_64 vector sinf.
12881 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
12883         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
12884         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
12885         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
12886         Remove variable.
12887         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12888         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12890 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12892         [BZ #18530]
12893         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
12894         strong alias of _IO_fputs.  Use libc_hidden_def.
12895         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
12896         and define as weak alias of __fputs_unlocked.  Use
12897         libc_hidden_weak.
12898         * include/stdio.h (__fputs_unlocked): Declare.  Use
12899         libc_hidden_proto.
12900         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
12901         fputs_unlocked.
12903         [BZ #18529]
12904         * resolv/netdb.h [__USE_POSIX]: Change condition to
12905         [__USE_XOPEN2K].
12906         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
12907         not expect.
12908         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
12909         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
12910         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
12911         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
12912         [XPG4 || UNIX98] (AI_ALL): Likewise.
12913         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
12914         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
12915         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
12916         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
12917         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
12918         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
12919         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
12920         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
12921         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
12922         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
12923         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
12924         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
12925         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
12926         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
12927         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
12928         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12929         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12930         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
12931         [XPG4 || UNIX98] (gai_strerror): Likewise.
12932         [XPG4 || UNIX98] (getaddrinfo): Likewise.
12933         [XPG4 || UNIX98] (getnameinfo): Likewise.
12935         [BZ #18528]
12936         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
12937         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
12938         __USE_XOPEN2K8].
12939         (getgrent): Likewise.
12940         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
12941         expect.
12942         [XPG3 || POSIX2008] (endgrent): Likewise.
12943         [XPG3] (setgrent): Likewise.
12944         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
12945         variable.
12946         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12948         [BZ #18527]
12949         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
12950         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
12951         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
12952         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
12953         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
12954         * include/unistd.h (__getlogin_r): Declare.  Use
12955         libc_hidden_proto.
12956         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
12957         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
12958         variable.
12959         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12960         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12961         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12963 2015-06-12  Martin Sebor  <msebor@redhat.com>
12965         [BZ #18512]
12966         * Makerules (check-install-supported): New target.
12967         (install): Add check-install-supported as a dependency.
12968         * manual/install.texi (Installing the C Library): Document
12969         that overriding prefix and exec_prefix is not supported.
12970         Mention DESTDIR.
12971         * INSTALL: Regenerate from the above.
12973 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12975         [BZ #18519]
12976         * posix/Versions (libc): Export __libc_pread at version
12977         GLIBC_PRIVATE.
12978         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
12979         instead of pread.
12980         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
12981         variable.
12983         [BZ #18522]
12984         * misc/efgcvt_r.c
12985         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
12986         (cvt_symbol): Use weak_alias instead of strong_alias.
12987         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
12988         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
12989         Remove variable.
12990         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12991         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12993         [BZ #18520]
12994         * inet/herrno.c (h_errno): Rename to __h_errno.
12995         (__libc_h_errno): Define as alias of __h_errno not h_errno.
12996         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
12997         to __h_errno instead of h_errno.
12998         * nptl/herrno.c (h_errno): Rename to __h_errno.
12999         (__h_errno_location): Refer to __h_errno not h_errno.
13000         * resolv/Versions (h_errno): Rename to __h_errno.
13001         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
13002         Remove variable.
13003         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13005 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
13007         * configure.ac: More strict check for AVX512 assembler support.
13008         * configure: Regenerated.
13010         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
13011         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
13012         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13013         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
13014         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13015         * sysdeps/x86_64/fpu/Versions: New versions added.
13016         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13017         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13018         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13019         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
13020         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
13021         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
13022         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
13023         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
13024         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
13025         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
13026         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
13027         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
13028         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
13029         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
13030         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
13031         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
13032         test.
13033         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13034         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13035         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13036         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13037         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13038         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13039         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13040         * NEWS: Mention addition of x86_64 vector sin.
13042 2015-06-11  Florian Weimer  <fweimer@redhat.com>
13044         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
13045         comment.
13047 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13049         [BZ #18479]
13050         * nptl/pt-interp.c: New file.
13051         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
13052         Add pt-interp.
13053         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
13054         $(common-objpfx)runtime-linker.h.
13056 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
13058         * Makeconfig (+interp): Remove unused variable.
13059         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
13060         only.  Depend on $(common-objpfx)runtime-linker.h instead of
13061         $(elf-objpfx)runtime-linker.h.
13062         ($(elf-objpfx)runtime-linker.h): Rename to
13063         $(common-objpfx)runtime-linker.h and move ...
13064         * Makerules [$(build-shared) = yes]: ... here.
13065         * elf/interp.c: Include <runtime-linker.h> instead of
13066         <elf/runtime-linker.h>.
13068 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13070         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
13071         (__gettimeofday_syscall): Remove vsyscall fallback.
13072         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
13073         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
13074         Add syscall fallback function.
13075         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
13076         if vDSO is not present.
13077         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
13078         fallback function.
13079         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
13080         present.
13081         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
13082         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13084 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
13086         [BZ #18497]
13087         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
13088         of wcscmp.
13089         (wcscmp): Define as weak alias of WCSCMP.
13090         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
13091         wcscoll.
13092         (USE_HIDDEN_DEF): Define.
13093         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
13094         __wcscoll.  Don't use libc_hidden_weak.
13095         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
13096         wcscmp.
13097         * sysdeps/i386/i686/multiarch/wcscmp-c.c
13098         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
13099         __GI_wcscmp.
13100         (weak_alias): Undefine and redefine.
13101         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
13102         __wcscmp and define as weak alias of __wcscmp.
13103         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
13104         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
13105         (__wcscoll): Likewise.
13106         (wcscmp): Don't use libc_hidden_proto.
13107         (wcscoll): Likewise.
13108         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
13109         wcscoll.
13110         * posix/regexec.c (check_node_accept_bytes): Likewise.
13111         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
13112         variable.
13113         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13114         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13116         [BZ #18507]
13117         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
13118         __fstatvfs and define as weak alias of __fstatvfs.  Use
13119         libc_hidden_weak.
13120         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
13121         and define as weak alias of __statvfs.  Use libc_hidden_weak.
13122         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
13123         Define as alias of __fstatvfs, not fstatvfs.
13124         (fstatvfs64): Likewise.
13125         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
13126         Define as alias of __statvfs, not statvfs.
13127         (statvfs64): Likewise.
13128         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
13129         Remove variable.
13131 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13134         (HAVE_GETCPU_VSYSCALL): Define.
13135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13136         (HAVE_GETCPU_VSYSCALL): Likewise.
13137         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
13138         * sysdeps/unix/sysv/linux/sched_getcpu.c
13139         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
13140         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
13141         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
13142         prototype.
13143         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13144         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
13145         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
13146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
13147         Define.
13148         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
13149         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13150         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
13151         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13153 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
13155         * sysdeps/x86_64/fpu/Makefile: New file.
13156         * sysdeps/x86_64/fpu/Versions: New file.
13157         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
13158         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
13159         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
13160         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
13161         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
13162         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
13163         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
13164         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
13165         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
13166         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
13167         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
13168         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
13169         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
13170         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13171         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13172         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
13173         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
13174         * sysdeps/x86_64/configure.ac: Options for libmvec build.
13175         * sysdeps/x86_64/configure: Regenerated.
13176         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
13177         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
13178         * manual/install.texi (Configuring and compiling): Document
13179         --disable-mathvec.
13180         * INSTALL: Regenerated.
13181         * NEWS: Mention addition of libmvec and x86_64 vector cos.
13183         * math/Makefile: Added rules for vector tests.
13184         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
13185         declaration under condition.
13186         * math/test-double-vlen2.h: New file.
13187         * math/test-double-vlen4.h: New file.
13188         * math/test-double-vlen8.h: New file.
13189         * math/test-vec-loop.h: Added initialization macro.
13190         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
13191         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
13192         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
13193         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
13194         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
13195         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
13196         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
13197         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
13198         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
13199         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
13200         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
13202         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13203         * sysdeps/x86_64/fpu/Versions: New versions added.
13204         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
13205         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
13206         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
13207         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
13208         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
13209         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
13210         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
13211         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
13212         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
13213         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
13214         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
13215         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
13216         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
13217         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13218         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13219         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13220         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
13221         * NEWS: Mention addition of x86_64 vector cosf.
13223         * math/Makefile: Added CFLAGS for new tests.
13224         * math/test-float-vlen16.h: New file.
13225         * math/test-float-vlen4.h: New file.
13226         * math/test-float-vlen8.h: New file.
13227         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
13228         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
13229         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13230         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
13231         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
13232         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
13233         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
13234         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
13235         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
13236         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
13237         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
13239 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
13241         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
13242         * locale/programs/ld-ctype.c: Likewise.
13244 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13246         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
13247         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
13248         bit_ZMM16_31_state): New macro.
13249         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13250         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
13252 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
13254         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
13256 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
13258         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
13260 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
13262         [BZ #18498]
13263         * libio/memstream.c (open_memstream): Rename to __open_memstream
13264         and define as weak alias of __open_memstream.
13265         * include/stdio.h (__open_memstream): Declare.  Use
13266         libc_hidden_proto.
13267         (open_memstream): Don't use libc_hidden_proto.
13268         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
13269         open_memstream.
13270         * posix/getopt.c (_getopt_internal_r): Likewise.
13271         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
13272         variable.
13273         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13274         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13275         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13277         [BZ #18496]
13278         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
13279         instead of wcrtomb.
13281         [BZ #18483]
13282         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
13283         [__USE_XOPEN2K8].  Remove redundant #endif.
13284         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
13285         Remove redundant #if.
13286         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
13287         Remove variable.
13288         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13289         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13291         [BZ #18495]
13292         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
13293         (__iswlower): Likewise.
13294         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
13295         (__iswlower): Likewise.
13296         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
13297         instead of towlower.
13298         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
13299         instead of iswlower.  Call __towupper instead of towupper.
13300         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
13301         instead of iswalnum.
13303 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13305         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
13306         errors to stderr.
13308 2015-06-05  Florian Weimer  <fweimer@redhat.com>
13310         [BZ #15661]
13311         [BZ #17322]
13312         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13313         Check for overflow properly.  Check for O_APPEND.  Ignore large
13314         file system block sizes.  Add comments about problems.
13315         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
13316         * manual/filesys.texi (Storage Allocation): New node.
13318 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13320         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
13321         cancellable syscalls.
13322         (SYS_ify): Add guard to no redefine it.
13323         (INLINE_SYSCALL): Likewise.
13324         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
13325         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
13326         SYSCALL_CANCEL instead.
13327         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
13328         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13329         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13330         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13331         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13332         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
13333         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
13334         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
13335         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13336         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13337         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
13338         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
13339         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
13340         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
13341         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
13342         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13343         Likewise.
13344         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13345         (__libc_pread64): Likewise.
13346         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
13347         (__libc_preadv): Likewise.
13348         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
13349         (__libc_readv64): Likewise.
13350         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13351         (__libc_pwrite): Likewise.
13352         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13353         (__libc_pwrite64): Likewise.
13354         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
13355         (__libc_pwritev): Likewise.
13356         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
13357         (__libc_pwritev64): Likewise.
13358         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
13359         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13360         (sync_file_range): Likewise.
13361         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
13362         Likewise.
13363         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
13364         Likewise.
13365         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13366         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13367         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13368         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13369         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13370         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13371         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13372         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
13373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13374         Likewise.
13375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13376         (__libc_read64): Likewise.
13377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
13378         Likewise.
13379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
13380         Likewise.
13381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
13382         Likewise.
13383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
13384         Likewise.
13385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13386         (__libc_pread64): Likewise.
13387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
13388         Likewise.
13389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13390         (__libc_pwrite64): Likewise.
13391         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
13392         (sync_file_range): Likewise.
13393         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
13394         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13395         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13396         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
13397         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
13398         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13399         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13400         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
13401         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
13402         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13403         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13404         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13405         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13406         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13407         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
13408         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13409         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13410         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13411         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13412         Likewise.
13413         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
13414         Likewise.
13415         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
13416         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
13417         Likewise.
13418         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
13419         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
13420         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
13421         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
13422         Likewise.
13423         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
13424         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
13425         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
13426         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
13427         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
13429 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
13431         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
13432         Include dl-vdso.
13433         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
13434         Use VDSO routines for gettimeofday, clock_gettime if
13435         available.
13436         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
13437         Declare VDSO symbols.
13438         * sysdeps/unix/sysv/linux/arm/sysdep.h:
13439         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
13440         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13441         * sysdeps/unix/sysv/linux/arm/Versions: Add
13442         __vdso_clock_gettime.
13444 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13446         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
13447         be an inline implementation regardless of library is built within.
13448         (open_not_cancel_2): Likewise.
13449         (__read_nocancel): Likewise.
13450         (__write_nocancel): Likewise.
13451         (openat_not_cancel): Likewise.
13452         (openat_not_cancel_3): Likewise.
13453         (openat64_not_cancel): Likewise.
13454         (openat64_not_cancel_3): Likewise.
13455         (__close_nocancel): Likewise.
13456         (pause_not_cancel): Likewise.
13457         (nanosleep_not_cancel): Likewise.
13458         (sigsuspend_not_cancel): Likewise.
13460 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13462         [BZ #14958]
13463         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
13464         wake-up.
13465         (__pthread_rwlock_rdlock_slow): Likewise.
13466         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13467         Likewise.
13468         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13469         Likewise.
13470         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
13471         * nptl/tst-rwlock16.c: New file.
13472         * nptl/Makefile (tests): Add new test.
13474 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13476         [BZ #18324]
13477         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
13478         missing wake-up of readers.
13479         * nptl/tst-rwlock15.c: New file.
13480         * nptl/Makefile (tests): Add new test.
13482 2015-06-03  Roland McGrath  <roland@hack.frob.com>
13484         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
13485         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
13486         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
13487         and __nacl_supply_interface_rtld.
13488         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
13489         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
13490         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
13491         Add __nacl_supply_interface_rtld.
13492         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
13494 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13496         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
13497         isfinite.
13498         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13499         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
13501 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13503         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
13504         __signbit* with standard C99 macros.
13505         * math/e_exp10l.c: Likewise.
13506         * math/e_exp2l.c: Likewise.
13507         * math/e_scalb.c: Likewise.
13508         * math/e_scalbf.c: Likewise.
13509         * math/e_scalbl.c: Likewise.
13510         * math/s_ldexp.c: Likewise.
13511         * math/s_ldexpf.c: Likewise.
13512         * math/s_ldexpl.c: Likewise.
13513         * math/w_atan2.c: Likewise.
13514         * math/w_atan2f.c: Likewise.
13515         * math/w_atan2l.c: Likewise.
13516         * math/w_cosh.c: Likewise.
13517         * math/w_coshf.c: Likewise.
13518         * math/w_coshl.c: Likewise.
13519         * math/w_exp10.c: Likewise.
13520         * math/w_exp10f.c: Likewise.
13521         * math/w_exp10l.c: Likewise.
13522         * math/w_exp2.c: Likewise.
13523         * math/w_exp2f.c: Likewise.
13524         * math/w_exp2l.c: Likewise.
13525         * math/w_fmod.c: Likewise.
13526         * math/w_fmodf.c: Likewise.
13527         * math/w_fmodl.c: Likewise.
13528         * math/w_hypot.c: Likewise.
13529         * math/w_hypotf.c: Likewise.
13530         * math/w_hypotl.c: Likewise.
13531         * math/w_jnl.c: Likewise.
13532         * math/w_lgamma.c: Likewise.
13533         * math/w_lgamma_r.c: Likewise.
13534         * math/w_lgammaf.c: Likewise.
13535         * math/w_lgammaf_r.c: Likewise.
13536         * math/w_lgammal.c: Likewise.
13537         * math/w_lgammal_r.c: Likewise.
13538         * math/w_pow.c: Likewise.
13539         * math/w_powf.c: Likewise.
13540         * math/w_powl.c: Likewise.
13541         * math/w_remainder.c: Likewise.
13542         * math/w_remainderf.c: Likewise.
13543         * math/w_remainderl.c: Likewise.
13544         * math/w_scalb.c: Likewise.
13545         * math/w_scalbf.c: Likewise.
13546         * math/w_scalbl.c: Likewise.
13547         * math/w_scalbln.c: Likewise.
13548         * math/w_scalblnf.c: Likewise.
13549         * math/w_scalblnl.c: Likewise.
13550         * math/w_sinh.c: Likewise.
13551         * math/w_sinhf.c: Likewise.
13552         * math/w_sinhl.c: Likewise.
13553         * math/w_tgamma.c: Likewise.
13554         * math/w_tgammaf.c: Likewise.
13555         * math/w_tgammal.c: Likewise.
13556         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13557         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
13558         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13559         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13560         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13561         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13562         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13563         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13564         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13565         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13566         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13567         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13568         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13569         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13570         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13571         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13572         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13573         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13574         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13575         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13576         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13577         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13578         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13579         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13580         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13581         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13582         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
13583         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13584         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13585         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13586         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
13587         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
13588         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
13589         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
13590         * stdio-common/printf_fp.c: Likewise.
13591         * stdio-common/printf_fphex.c: Likewise.
13592         * stdio-common/printf_size.c: Likewise.
13594 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
13596         [BZ #18470]
13597         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
13598         strnlen.
13599         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
13600         Remove variable.
13601         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13602         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13603         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13604         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13605         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13606         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13607         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13608         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13609         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13610         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13612         [BZ #18468]
13613         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
13614         weak alias of __wmemchr.  Use libc_hidden_weak.
13615         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
13616         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
13617         instead of wmemchr.
13619 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13621         [BZ #18383]
13622         * elf/tst-tlsalign-extern.c: New file.
13623         * elf/tst-tlsalign-extern-static.c: New file.
13624         * elf/tst-tlsalign-vars.c: New file.
13625         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13626         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13627         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13628         ($(objpfx)tst-tlsalign-extern-static): Likewise.
13629         (test-xfail-tst-tlsalign-extern-static): New variable.
13631 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
13633         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13634         Use variable name _sc_err instead of err.
13635         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13636         instead of ret.
13637         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13638         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13639         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13640         (INLINE_SYSCALL): Likewise.
13642         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13643         * include/string.h (__strnlen): Use libc_hidden_proto.
13644         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13645         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13646         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13647         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13648         (libc_hidden_def): Undefine and redefine.
13649         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13650         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13651         __GI_strnlen.
13652         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13653         libc_hidden_def.
13654         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13656         [BZ #18469]
13657         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13658         weak alias of __towlower.  Use libc_hidden_weak.
13659         (towupper): Rename to __towupper and define as weak alias of
13660         __towupper.  Use libc_hidden_weak.
13661         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
13662         (__towupper): Likewise.
13663         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13664         __towlower instead of towlower.
13666 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13668         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13669         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13671 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13673         * sysdeps/aarch64/libm-test-ulps: Update.
13675 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13677         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13678         Define.
13679         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13680         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13681         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13682         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13683         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13684         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13685         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13687 2015-06-01  Martin Sebor  <msebor@redhat.com>
13689         [BZ #18116]
13690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13691         (__setcontext): Use extended four-operand version of mtsf whenever
13692         possible.
13693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13694         (__novec_swapcontext): Likewise.
13696 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13698         * benchtests/scripts/compare_bench.py: New file.
13699         * benchtests/scripts/import_bench.py (mean): New function.
13700         (split_list): Likewise.
13701         (do_for_all_timings): Likewise.
13702         (compress_timings): Likewise.
13704         * benchtests/scripts/import_bench.py: New file.
13705         * benchtests/scripts/validate_benchout.py: Import import_bench
13706         instead of jsonschema.
13707         (validate_bench): Remove function.
13708         (main): Use import_bench.
13710 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
13712         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13713         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13715 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13719 2015-05-28  Roland McGrath  <roland@hack.frob.com>
13721         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13722         set THREAD_SELF->tid to a magic value and futex-wake it.
13723         Pass its address to the thread_exit system call.
13724         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13725         bit is clear.
13726         * sysdeps/nacl/lowlevellock.h: New file.
13727         * sysdeps/nacl/lll_timedwait_tid.c: New file.
13729         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13730         Add TIMEOUT to current time, don't subtract it.
13732 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
13734         [BZ #2981]
13735         [BZ #18422]
13736         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13737         ($(objpfx)tst-audit2.out): Also depend on
13738         $(objpfx)tst-auditmod9b.so.
13739         * elf/tst-audit2.c: Include <dlfcn.h>.
13740         (calloc_called): New.
13741         (calloc): Allow to be called more than once.
13742         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13744 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
13746         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13747         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13749 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
13751         * stdlib/monetary.h: Fix comment.
13753 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
13755         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13756         Avoid using variables in #defines that might cause shadowing.
13757         (INTERNAL_VSYSCALL_CALL): Likewise.
13759 2015-05-26  Roland McGrath  <roland@hack.frob.com>
13761         * sysdeps/nacl/lll_timedlock_wait.c: New file.
13763         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13764         * nptl/lll_timedlock_wait.c: ... to this new file.
13765         * nptl/Makefile (libpthread-routines): Add it.
13766         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13767         * nptl/lll_timedwait_tid.c: ... to this new file.
13768         * nptl/Makefile (libpthread-routines): Add it.
13769         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13770         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13771         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13772         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13773         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13774         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
13775         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
13776         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
13777         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
13778         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
13780 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13782         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
13783         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13784         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13785         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
13786         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13787         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13788         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13789         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13790         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13791         * sysdeps/unix/sysv/linux/tile/sysdep.h
13792         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13793         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
13794         using vDSO syscall macro.
13796 2015-05-26  Andriy Rysin  <arysin@gmail.com>
13798         [BZ #17293]
13799         * uk_UA: Fix sorting order for Ukrainian locale
13801 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
13803         * stdlib/monetary.h: Fix comment.
13805 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13807         [BZ #18234]
13808         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
13809         st_mtim and st_ctim members.
13810         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
13811         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
13812         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
13813         (struct stat64): Likewise.
13814         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
13815         (struct stat64): Likewise.
13816         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
13817         (struct stat64): Likewise.
13819 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13821         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
13822         Define and include sysdep-vdso.h.
13823         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
13824         Likewise.
13825         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
13826         Likewise.
13827         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
13828         Define with VDSO_SYMBOL and use PTR_MANGLE.
13829         (__vdso_clock_gettime): Likewise.
13830         (__vdso_clock_getres): Likewise.
13831         (_libc_vdso_platform_setup): Likewise.
13832         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13833         Likewise.
13834         (_libc_vdso_platform_setup): Likewise.
13835         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
13836         Likewise.
13837         (__vdso_clock_gettime): Likewise.
13838         (__vdso_clock_getres): Likewise.
13839         (__vdso_get_tbfreq): Likewise.
13840         (__vdso_getcpu): Likewise.
13841         (__vdso_time): Likewise.
13842         (__vdso_sigtramp_rt64): Likewise.
13843         (__vdso_signtramp32): Likewise.
13844         (__vdso_sigtramp_rt32): Likewise.
13845         (_libc_vdso_platform_setup): Likewise.
13846         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
13847         Likewise.
13848         (__vdso_clock_gettime): Likewise.
13849         (__vdso_clock_getres): Likewise.
13850         (_libc_vdso_platform_setup): Likewise.
13851         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
13852         Likewise.
13853         (__vdso_clock_gettime): Likewise.
13854         (_libc_vdso_platform_setup): Likewise.
13855         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13856         Likewise.
13857         (__vdso_getcpu): Likewise.
13858         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
13859         Use VDSO_SYMBOL macro to define.
13860         (__vdso_clock_gettime): Likewise.
13861         (__vdso_clock_getres): Likewise.
13862         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
13863         Likewise.
13864         (__vdso_clock_gettime): Likewise.
13865         (__vdso_clock_getres): Likewise.
13866         (__vdso_get_tbfreq): Likewise.
13867         (__vdso_getcpu): Likewise.
13868         (__vdso_time): Likewise.
13869         (__vdso_sigtramp_rt64): Likewise.
13870         (__vdso_signtramp32): Likewise.
13871         (__vdso_sigtramp_rt32): Likewise.
13872         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
13873         Likewise.
13874         (__vdso_clock_gettime): Likewise.
13875         (__vdso_clock_getres): Likewise.
13876         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
13877         Likewise.
13878         (__vdso_clock_gettime): Likewise.
13879         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13880         Likewise.
13881         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
13882         macro.
13883         (INTERNAL_VSYSCALL): Likewise.
13884         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
13885         Remove macro.
13886         (INTERNAL_VSYSCALL): Likewise.
13887         (INTERNAL_VSYSCALL_NCS): Likewise.
13888         (INTERNAL_VSYSCALL_CALL): New macro.
13889         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13890         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
13891         Likewise.
13892         (INTERNAL_VSYSCALL): Likewise.
13893         (INTERNAL_VSYSCALL_NCS): Likewise.
13894         (INTERNAL_VSYSCALL_CALL): New macro.
13895         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13897         (INLINE_VSYSCALL): Remove macro.
13898         (INTERNAL_VSYSCALL): Remove macro.
13899         (INTERNAL_VSYSCALL_NCS): Remove macro.
13900         (INTERNAL_VSYSCALL_CALL): New macro.
13901         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
13902         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
13903         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13904         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
13905         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13907         (INLINE_VSYSCALL): Remove macro.
13908         (INTERNAL_VSYSCALL): Likewise.
13909         (INTERNAL_VSYSCALL_NCS): Likewise.
13910         (INTERNAL_VSYSCALL_CALL): New macro.
13911         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
13912         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
13913         PTR_DEMANGLE on vDSO pointer.
13914         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13915         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
13916         macro.
13917         (INTERNAL_SYSCALL): Likewise.
13918         (INTERNAL_VSYSCALL_NCS): Remove macro.
13919         (INTERNAL_VSYSCALL_CALL): New macro.
13920         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
13921         Remove macro.
13922         (INTERNAL_VSYSCALL): Likewise.
13923         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
13924         sysdep-vdso.h instead of libc-vdso.h.
13925         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
13926         definition.
13927         (INLINE_VSYSCALL): Likewise.
13928         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
13929         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
13930         definition.
13931         (INLINE_VSYSCALL): Likewise.
13932         (INTERNAL_VSYSCALL): Likewise.
13933         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13934         * sysdeps/unix/sysv/linux/timespec_get.c
13935         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13936         (timespec_get): Use ANSI prototype.
13937         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
13938         and definition for Linux.
13940 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13942         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
13943         * include/libc-symbols.h: libmvec_hidden_* macro series added.
13945 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13947         [BZ #2981]
13948         [BZ #18410]
13949         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
13950         for missing DT_PLTRELSZ.
13952 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13954         Remove obsolete aliases that broke 'locale -a'
13955         [BZ #18412]
13956         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
13957         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
13958         breaking some applications that use 'locale -a' output.
13959         Change the encoding of this file from Latin-1 to ASCII to avoid
13960         other potential problems with people grepping this file.
13962 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13964         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
13965         -fasynchronous-unwind-tables.
13966         (CFLAGS-sendto.c): Likewise.
13967         (CFLAGS-sendmsg.c): Likewise.
13968         (CFLAGS-connect.c): Likewise.
13969         (CFLAGS-recvmsg.c): Likewise.
13970         (CFLAGS-recvfrom.c): Likewise.
13971         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
13972         (SOCKETCALL): New macro: non-cancellable socketcall.
13973         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
13974         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
13975         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
13976         * sysdeps/unix/sysv/linux/accept.c: New file.
13977         * sysdeps/unix/sysv/linux/bind.c: Likewise.
13978         * sysdeps/unix/sysv/linux/connect.c: Likewise.
13979         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
13980         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
13981         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
13982         * sysdeps/unix/sysv/linux/listen.c: Likewise.
13983         * sysdeps/unix/sysv/linux/recv.c: Likewise.
13984         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
13985         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13986         * sysdeps/unix/sysv/linux/send.c: Likewise.
13987         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13988         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
13989         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
13990         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
13991         * sysdeps/unix/sysv/linux/socket.c: Likewise.
13992         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
13993         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
13994         prototype.
13995         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
13996         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13997         instead of __internal_xxx function.
13998         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
13999         prototype.
14000         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
14001         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14002         instead of __internal_xxx function.
14003         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
14004         prototype.
14005         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
14006         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14007         instead of __internal_xxx function.
14008         * sysdeps/unix/sysv/linux/accept.S: Remove file.
14009         * sysdeps/unix/sysv/linux/bind.S: Likewise.
14010         * sysdeps/unix/sysv/linux/connect.S: Likewise.
14011         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
14012         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
14013         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
14014         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
14015         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
14016         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
14017         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
14018         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
14019         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14020         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
14021         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
14022         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
14023         * sysdeps/unix/sysv/linux/listen.S: Likewise.
14024         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
14025         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
14026         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
14027         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
14028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
14029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
14030         * sysdeps/unix/sysv/linux/recv.S: Likewise.
14031         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
14032         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
14033         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
14034         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14035         * sysdeps/unix/sysv/linux/send.S: Likewise.
14036         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
14037         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
14038         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
14039         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
14040         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
14041         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
14042         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
14043         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
14044         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
14045         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
14046         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
14047         socketcall is implemented in GLIBC.
14049 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14051         * soft-fp/fmadf4.c: Include <libc-internal.h>.
14052         (__fma): Ignore uninitialized warnings around packing.
14053         * soft-fp/fmasf4.c: Include <libc-internal.h>.
14054         (__fmaf): Ignore uninitialized warnings around packing.
14055         * soft-fp/fmatf4.c: Include <libc-internal.h>.
14056         (__fmal): Ignore uninitialized warnings around packing.
14058         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
14059         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14060         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
14061         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14063         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
14064         switch statement into default case.
14065         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
14067         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
14068         a conditional in forcing "inexact".
14069         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14070         Likewise.
14072 2015-05-22  Roland McGrath  <roland@hack.frob.com>
14074         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14075         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
14076         for each INTERNAL_SYSCALL use.
14078 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14080         [BZ #438]
14081         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
14082         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
14083         variable.
14085         [BZ #18444]
14086         * string/basename.c (basename): Rename to __basename and define as
14087         weak alias of __basename.  Use libc_hidden_weak.
14088         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
14089         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
14090         __basename instead of basename.
14091         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
14092         Remove variable.
14093         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14095 2015-05-18  Florian Weimer  <fweimer@redhat.com>
14097         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
14098         (_IO_JUMPS_FILE_plus): New.
14099         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
14100         _IO_CAST_FIELD_ACCESS.
14101         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
14102         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
14103         * libio/freopen.c (freopen): Likewise.
14104         * libio/freopen64.c (freopen64): Likewise.
14105         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
14106         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
14107         * libio/iofwide.c (_IO_fwide): Likewise.
14108         * libio/memstream.c (open_memstream): Likewise.
14109         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14110         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14111         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14113 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
14115         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
14116         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
14117         NADJ.
14118         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
14119         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
14120         NADJ.
14121         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
14122         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
14123         NADJ.
14125         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
14126         (p == 4) case.
14128         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
14129         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
14130         Remove variable.
14131         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14132         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14133         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14135 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14137         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
14138         Adjust jump table label generation macros.
14140 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14142         * stdio-common/vfprintf.c (vfprintf): Move local variables
14143         args_malloced, specs, specs_malloced, and the code after
14144         do_positional to the printf_positional function.
14145         (printf_positional): New function.
14147 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14149         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
14150         function.
14151         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
14152         STEP4_TABLE, process_arg): Move macro definitions
14153         out of the vfprintf function.  (Cosmetic change only.)
14155 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
14157         * benchtests/Makefile (stdio-common-bench): Define.
14158         (benchset): Add stdio-common-bench.
14159         * sprintf-inputs: New file.
14160         * sprintf-source.c: New file.
14162 2015-05-21  Andreas Schwab  <schwab@suse.de>
14164         [BZ #13028]
14165         [BZ #17053]
14166         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
14167         of struct __res_state.
14168         * resolv/res_send.c (__libc_res_nsend): Likewise.
14169         (get_nsaddr): New function.
14170         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
14171         statp directly.
14173 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
14175         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
14176         -D_POSIX_C_SOURCE=199506L.
14178         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
14180         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
14181         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
14182         Do not mention otherwise.
14183         [POSIX] (_XOPEN_VERSION): Do not expect.
14184         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
14185         [POSIX] (_POSIX2_C_BIND): Likewise.
14186         [POSIX] (_POSIX2_VERSION): Likewise.
14187         [POSIX] (_XOPEN_XPG2): Likewise.
14188         [POSIX] (_XOPEN_XPG3): Likewise.
14189         [POSIX] (_XOPEN_XPG4): Likewise.
14190         [POSIX] (_XOPEN_UNIX): Likewise.
14191         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
14192         [POSIX] (_POSIX_BARRIERS): Likewise.
14193         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
14194         [POSIX] (_POSIX_CPUTIME): Likewise.
14195         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
14196         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
14197         [POSIX] (_POSIX_SHELL): Likewise.
14198         [POSIX] (_POSIX_SPAWN): Likewise.
14199         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
14200         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
14201         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
14202         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
14203         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
14204         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
14205         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
14206         [POSIX] (_XBS5_LP64_OFF64): Likewise.
14207         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
14208         [POSIX] (_POSIX_TIMEOUTS): Likewise.
14209         [POSIX] (_POSIX2_PBS): Likewise.
14210         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
14211         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
14212         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
14213         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
14214         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
14215         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
14216         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
14217         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
14218         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
14219         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
14220         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
14221         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
14222         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
14223         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
14224         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
14225         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
14226         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
14227         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
14228         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
14229         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
14230         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
14231         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
14232         [POSIX] (_SC_2_C_BIND): Likewise.
14233         [POSIX] (_SC_2_C_VERSION): Likewise.
14234         [POSIX] (_SC_2_PBS): Likewise.
14235         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
14236         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
14237         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
14238         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
14239         [POSIX] (_SC_2_PBS_TRACK): Likewise.
14240         [POSIX] (_SC_ATEXIT_MAX): Likewise.
14241         [POSIX] (_SC_BARRIERS): Likewise.
14242         [POSIX] (_SC_BASE): Likewise.
14243         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
14244         [POSIX] (_SC_DEVICE_IO): Likewise.
14245         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
14246         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
14247         [POSIX] (_SC_FD_MGMT): Likewise.
14248         [POSIX] (_SC_FIFO): Likewise.
14249         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
14250         [POSIX] (_SC_FILE_LOCKING): Likewise.
14251         [POSIX] (_SC_FILE_SYSTEM): Likewise.
14252         [POSIX] (_SC_IOV_MAX): Likewise.
14253         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
14254         [POSIX] (_SC_NETWORKING): Likewise.
14255         [POSIX] (_SC_PAGE_SIZE): Likewise.
14256         [POSIX] (_SC_PASS_MAX): Likewise.
14257         [POSIX] (_SC_PIPE): Likewise.
14258         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
14259         [POSIX] (_SC_REGEXP): Likewise.
14260         [POSIX] (_SC_SHELL): Likewise.
14261         [POSIX] (_SC_SIGNALS): Likewise.
14262         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
14263         [POSIX] (_SC_SPIN_LOCKS): Likewise.
14264         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
14265         [POSIX] (_SC_USER_GROUPS): Likewise.
14266         [POSIX] (_SC_USER_GROUPS_R): Likewise.
14267         [POSIX] (_SC_STREAMS): Likewise.
14268         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
14269         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
14270         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
14271         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
14272         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
14273         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
14274         [POSIX] (_PC_FILESIZEBITS): Likewise.
14275         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
14276         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
14277         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
14278         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
14279         [POSIX] (uid_t): Likewise.
14280         [POSIX] (gid_t): Likewise.
14281         [POSIX] (off_t): Likewise.
14282         [POSIX] (pid_t): Likewise.
14283         [POSIX] (cuserid): Allow.
14284         (_SC_2_CHAR_TERM): Require constant.
14285         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
14286         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
14287         variable.
14289 2015-05-20  Roland McGrath  <roland@hack.frob.com>
14291         * sysdeps/nacl/pthread-pids.h: New file.
14292         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
14293         (create_thread): Use __nacl_get_tid to initialize PD->tid.
14295         * nptl/pthread-pids.h: New file.
14296         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
14297         * nptl/nptl-init.c: Include <pthread-pids.h>.
14298         (__pthread_initialize_minimal_internal):
14299         Call __pthread_initialize_pids instead of set_tid_address syscall.
14301         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
14302         * sysdeps/posix/usleep.c: ... here.
14304 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14306         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
14307         call_pselect6 object.
14308         [$(subdir) = io]: Remove call_sync_file_range object.
14309         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
14310         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
14311         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
14312         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
14314 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
14316         * math/s_cproj.c: Add include "math_private.h".
14317         * math/s_cprojf.c: Likewise.
14318         * math/s_cprojl.c: Likewise.
14320 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
14322         [BZ #18244]
14323         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
14324         high mantissa bit when testing whether P is a NaN.
14325         * math/libm-test.inc (remainder_test_data): Add more tests.
14326         (remquo_test_data): Likewise.
14328         [BZ #18049]
14329         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
14330         below -32, return the argument, with underflow if subnormal.
14331         * math/auto-libm-test-in: Add more tests of atanh.
14332         * math/auto-libm-test-out: Regenerated.
14334 2015-05-19  Roland McGrath  <roland@hack.frob.com>
14336         [BZ #18434]
14337         * nptl/tst-sem15.c: New file.
14338         * nptl/Makefile (tests): Add it.
14339         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
14340         s/<</>>/ to fix typo in EOVERFLOW check.
14341         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
14343 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14345         * manual/strings.texi (envz_remove): Fix typo in safety
14346         annotations.
14348 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
14349             Steve Ellcey  <sellcey@imgtec.com>
14351         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
14352         in order to avoid strict alias warnings.
14353         (iruserok_af): Ditto for ra.
14355 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
14357         [BZ #17581]
14358         * malloc/hooks.c
14359         (magicbyte): Convert to a function and avoid returning 0x01.
14360         (mem2mem_check): Avoid using a length byte equal to the magic byte.
14361         (mem2chunk_check): Fix unsigned comparisons to zero.
14362         Hoist defs of sz and magic.
14364 2015-05-19  Richard Henderson  <rth@redhat.com>
14366         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
14368         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14370 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14372         [BZ #16159]
14373         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
14374         * malloc/arena.c (arena_lock): Check if arena is corrupt.
14375         (reused_arena): Find a non-corrupt arena.
14376         (heap_trim): Pass arena to unlink.
14377         * malloc/hooks.c (malloc_check_get_size): Pass arena to
14378         malloc_printerr.
14379         (top_check): Likewise.
14380         (free_check): Likewise.
14381         (realloc_check): Likewise.
14382         * malloc/malloc.c (malloc_printerr): Add arena argument.
14383         (unlink): Likewise.
14384         (munmap_chunk): Adjust.
14385         (ARENA_CORRUPTION_BIT): New macro.
14386         (arena_is_corrupt): Likewise.
14387         (set_arena_corrupt): Likewise.
14388         (sysmalloc): Use mmap if there are no usable arenas.
14389         (_int_malloc): Likewise.
14390         (__libc_malloc): Don't fail if arena_get returns NULL.
14391         (_mid_memalign): Likewise.
14392         (__libc_calloc): Likewise.
14393         (__libc_realloc): Adjust for additional argument to
14394         malloc_printerr.
14395         (_int_free): Likewise.
14396         (malloc_consolidate): Likewise.
14397         (_int_realloc): Likewise.
14398         (_int_memalign): Don't touch corrupt arenas.
14399         * malloc/tst-malloc-backtrace.c: New test case.
14401         * Makefile (summarize-tests): Fix return value on success.
14403         * manual/string.texi (Envz Functions): Add envz_remove.
14405 2015-05-18  Roland McGrath  <roland@hack.frob.com>
14407         * sysdeps/posix/opendir.c: Include <stdbool.h>.
14408         (invalid_name): New function, broken out of ...
14409         (__opendirat): ... here.  Call it.
14410         (need_isdir_precheck): New function, broken out of ...
14411         (__opendirat): ... here.  Call it.
14412         Use __fxstatat64, not __xstatat64.
14413         (opendir_oflags): New function, broken out of ...
14414         (__opendirat): ... here.  Call it.
14415         (opendir_tail): New function, broken out of ...
14416         (__opendirat): ... here.  Call it.
14417         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
14418         opendir_tail, rather than punting to __opendirat.
14419         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
14421 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14423         * .gitignore: Ignore generated *.pyc.
14425 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
14427         * include/stdio.h: Define __need_wint_t.
14428         * test-skeleton.c: Avoid `for' loop initial declaration.
14429         * nptl/tst-initializers1.c: Use test-skeleton.c.
14431 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14433         [BZ #18418]
14434         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
14436 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14438         [BZ #16352]
14439         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
14440         (__ieee754_atanh): Force underflow exception for results with
14441         small absolute value.
14442         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
14443         (__ieee754_atanhf): Force underflow exception for results with
14444         small absolute value.
14445         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
14446         (__ieee754_atanh): Force underflow exception for results with
14447         small absolute value.
14448         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
14449         (__ieee754_atanhf): Force underflow exception for results with
14450         small absolute value.
14451         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
14452         (__ieee754_atanhl): Force underflow exception for results with
14453         small absolute value.
14454         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
14455         (__ieee754_atanhl): Force underflow exception for results with
14456         small absolute value.
14457         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
14458         (__ieee754_atanhl): Force underflow exception for results with
14459         small absolute value.
14460         * math/auto-libm-test-in: Do not allow missing underflow
14461         exceptions from atanh.
14462         * math/auto-libm-test-out: Regenerated.
14464         [BZ #18221]
14465         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
14466         2**-28 as threshold for returning x or +/- 1/x.
14467         * math/auto-libm-test-in: Add more tests of tan.
14468         * math/auto-libm-test-out: Regenerated.
14470         [BZ #18220]
14471         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14472         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
14473         * math/auto-libm-test-in: Add another test of lgamma.
14474         * math/auto-libm-test-out: Regenerated.
14476 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
14478         * stdio-common/printf_fp.c (___printf_fp): Use abs.
14479         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
14480         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
14481         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
14482         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
14483         (ADD2A): Use fabs.  (SUB2A): Use fabs.
14484         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
14485         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
14486         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
14487         (log1): Use fabs.  (my_log2): Use fabs.
14488         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
14489         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
14490         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
14491         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
14492         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
14493         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
14494         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
14495         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
14496         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
14497         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
14498         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
14500 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14502         [BZ #18217]
14503         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
14504         as threshold for returning 1 - x.
14505         * math/auto-libm-test-in: Add more tests of erfc.
14506         * math/auto-libm-test-out: Regenerated.
14508 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
14510         [BZ #18196]
14511         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
14512         threshold for large arguments.
14513         * math/auto-libm-test-in: Add another test of atan.
14514         * math/auto-libm-test-out: Regenerated.
14516         [BZ #16339]
14517         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
14518         (__log1p): Force underflow exception for results with small
14519         absolute value.
14520         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
14521         (__log1pf): Force underflow exception for results with small
14522         absolute value.
14523         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
14524         (__log1p): Force underflow exception for results with small
14525         absolute value.
14526         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
14527         (__log1pf): Force underflow exception for results with small
14528         absolute value.
14529         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
14530         (__log1pl): Force underflow exception for results with small
14531         absolute value.
14532         * math/auto-libm-test-in: Do not allow missing underflow
14533         exceptions from log1p.
14534         * math/auto-libm-test-out: Regenerated.
14536 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
14537             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14539         [BZ #16704]
14540         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
14542 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
14544         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
14545         (libmvec): New variable.
14546         * configure.ac: Added option for mathvec build.
14547         * configure: Regenerated.
14548         * mathvec/Depend: New file.
14549         * mathvec/Makefile: New file.
14550         * shlib-versions: Added libmvec.
14551         * math/Makefile: Added rule for libm.so installation.
14553         * bits/math-vector.h: New file.
14554         * bits/libm-simd-decl-stubs.h: New header.
14555         * math/Makefile (headers): Added new header
14556         libm-simd-decl-stubs.h.
14557         * math/math.h (__MATHCALL_VEC): New macro.
14559         * math/gen-libm-have-vector-test.sh: Script generates series of macros
14560         for conditions in testing functions.
14561         * math/Makefile: Added call of libm-have-vector-test.sh.
14562         * math/libm-test.inc (HAVE_VECTOR): New macros.
14564         * math/libm-test.inc: START refactored.
14565         * math/test-double.c (TEST_MATHVEC): Add define.
14566         * math/test-float.c: Likewise.
14567         * math/test-idouble.c: Likewise.
14568         * math/test-ifloat.c: Likewise.
14569         * math/test-ildoubl.c: Likewise.
14570         * math/test-ldouble.c: Likewise.
14571         * sysdeps/generic/math-tests-arch.h
14572         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
14573         architecture check.
14575         * math/test-double.c (FUNC_TEST): New macro.
14576         * math/test-float.c: Likewise.
14577         * math/test-idouble.c: Likewise.
14578         * math/test-ifloat.c: Likewise.
14579         * math/test-ildoubl.c: Likewise.
14580         * math/test-ldouble.c: Likewise.
14581         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
14583 2015-05-13  Roland McGrath  <roland@hack.frob.com>
14585         * sysdeps/nacl/fdopendir.c: New file.
14587         * dirent/scandir-tail.c: New file.
14588         * dirent/scandir64-tail.c: New file.
14589         * dirent/Makefile (routines): Add them.
14590         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
14591         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
14592         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
14593         [!SCANDIR] (SCANDIR_TAIL): New macro.
14594         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
14595         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
14596         (SCANDIRAT): Macro removed.
14597         (SCANDIR_TAIL): New macro.
14598         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
14599         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
14600         (SCANDIRAT): Just call __opendirat and __scandir_tail.
14601         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
14602         (READDIR): Macro removed.
14603         (SCANDIR_TAIL): New macro.
14604         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
14605         (SCANDIR_TAIL): New macro.
14607         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
14608         * dirent/scandir-cancel.c: ... to this new file.
14609         * dirent/Makefile (routines): Add it.
14610         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
14611         * sysdeps/unix/sysv/linux/i386/scandir64.c
14612         (SKIP_SCANDIR_CANCEL): Macro removed.
14613         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
14615         * dirent/tst-scandir.c: New file.
14616         * dirent/tst-scandir64.c: New file.
14617         * dirent/Makefile (tests): Add them.
14619 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14621         [BZ #18409]
14622         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14624 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14626         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14627         list.
14629 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
14631         * benchtests/bench-strcoll.c: New benchmark.
14632         * benchtests/Makefile: Generate locales and run benchmark.
14633         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14634         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14635         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14636         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14637         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14638         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14639         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14640         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14641         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14642         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14643         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14644         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14645         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14646         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14647         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14648         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14649         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14650         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14651         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14652         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14653         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14654         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14655         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14656         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14658 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
14660         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14661         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14663 2015-05-12  Roland McGrath  <roland@hack.frob.com>
14665         * posix/uname-values.h: New file.
14666         * posix/uname.c: Include that instead of <config-name.h>.
14667         * sysdeps/nacl/uname-values.h: New file.
14668         * sysdeps/arm/nacl/uname-values.h: New file.
14670 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
14672         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14673         splitting into fields.
14675 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
14677         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14678         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14679         * locale/localeinfo.h: Add enum collation_encoding_type.
14680         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14681         * programs/ld-collate.c (collate_output): Add encoding type info.
14682         * string/strcoll_l.c (STRDIFF): New function.
14683         * (STRCOLL): Use STRDIFF to skip over equal prefix.
14684         * wcsmbs/wcscoll_l.c: Define STRDIFF.
14686 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
14688         [BZ #18397]
14689         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14690         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
14691         <fpu_control.h> instead of <math/fpu_control.c>.
14692         * sysdeps/mips/mips32/fpu/Makefile: New file.
14694 2015-05-11  Andreas Schwab  <schwab@suse.de>
14696         [BZ #18007]
14697         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14698         nss_endgrent.
14699         (_nss_compat_endgrent): Call nss_endgrent.
14700         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14701         nss_endpwent.
14702         (_nss_compat_endpwent): Call nss_endpwent.
14703         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14704         needent, call nss_setspent only if non-zero.
14705         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14706         (internal_endspent): Don't call nss_endspent.
14707         (_nss_compat_endspent): Call nss_endspent.
14708         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14709         Remove.  All uses removed.
14710         (internal_setent): Remove parameter stayopen, add parameter
14711         stream.  Use it instead of global variable.
14712         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14713         (internal_endent, internal_getent): Add parameter stream.  Use it
14714         instead of global variable.
14715         (CONCAT(_nss_files_end,ENTNAME))
14716         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14717         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
14718         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
14719         uses removed.
14720         (internal_setent, internal_endent): Add parameter stream.  Use it
14721         instead of global variable.
14722         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14723         stream.
14724         (get_next_alias): Add parameter stream.
14725         (_nss_files_getaliasent_r): Pass global stream.
14726         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
14727         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14728         (_nss_files_gethostbyname4_r): Pass local stream to
14729         internal_setent, internal_getent and internal_endent.  Remove
14730         locking.
14732 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14734         * tst-strfmon1.c (tests): Update expected currency symbol.
14736 2015-05-08  Roland McGrath  <roland@hack.frob.com>
14738         * sysdeps/nacl/gethostname.c: New file.
14740 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
14742         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14743         and sinh.
14744         * math/auto-libm-test-out: Regenerated.
14745         * sysdeps/i386/fpu/libm-test-ulps: Update.
14746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14748 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
14750         [BZ #18125]
14751         * stdlib/tst-setcontext3.c: New file.
14752         * stdlib/tst-setcontext3.sh: New file.
14753         * stdlib/Makefile (tests): Add tst-setcontext3.
14754         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14755         to verify test program created output file.
14756         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14757         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14758         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14759         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14761 2015-05-06  Roland McGrath  <roland@hack.frob.com>
14763         [BZ #18383]
14764         * elf/tst-tlsalign.c: New file.
14765         * elf/tst-tlsalign-static.c: New file.
14766         * elf/tst-tlsalign-lib.c: New file.
14767         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14768         (tests-static): Add tst-tlsalign-static.
14769         (modules-names): Add tst-tlsalign-lib.
14770         (test-xfail-tst-tlsalign): New variable.
14771         (test-xfail-tst-tlsalign-static): New variable.
14773         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14774         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
14776 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
14778         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
14779         csqrt, erfc, sin and sincos.
14780         * math/auto-libm-test-out: Regenerated.
14781         * sysdeps/i386/fpu/libm-test-ulps: Update.
14782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14784 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14786         * sysdeps/aarch64/libm-test-ulps: Update.
14788 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
14790         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
14791         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
14792         * math/auto-libm-test-out: Regenerated.
14793         * sysdeps/i386/fpu/libm-test-ulps: Update.
14794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14796 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14798         [BZ #18265]
14799         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
14800         (wcsncpy): Likewise.
14802 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14804         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14805         Assume __ASSUME_FALLOCATE is always true.
14806         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14807         (__posix_fallocate64_l64): Likweise.
14808         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14809         (posix_fallocate): Likewise.
14810         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
14811         (__posix_fallocate64_l64): Likewise.
14812         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14813         [!__ASSUME_FALLOCATE]: Add comment.
14815 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14817         * sysdeps/unix/sysv/linux/i386/Makefile
14818         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
14819         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
14820         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
14821         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14822         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14823         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
14824         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
14826 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
14828         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
14829         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
14830         tgamma.
14831         * math/auto-libm-test-out: Regenerated.
14832         * sysdeps/i386/fpu/libm-test-ulps: Update.
14833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14835 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14837         * math/auto-libm-test-in: Add more tests of tgamma.
14838         * math/auto-libm-test-out: Regenerated.
14839         * sysdeps/i386/fpu/libm-test-ulps: Update.
14840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14842         * math/auto-libm-test-in: Add more tests of tanh.
14843         * math/auto-libm-test-out: Regenerated.
14844         * sysdeps/i386/fpu/libm-test-ulps: Update.
14845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14847         * math/auto-libm-test-in: Add more tests of tan.
14848         * math/auto-libm-test-out: Regenerated.
14849         * sysdeps/i386/fpu/libm-test-ulps: Update.
14850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14852         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
14853         * math/auto-libm-test-out: Regenerated.
14854         * sysdeps/i386/fpu/libm-test-ulps: Update.
14855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14857         * math/auto-libm-test-in: Add another test of pow.
14858         * math/auto-libm-test-out: Regenerated.
14859         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14861         * math/auto-libm-test-in: Add more tests of lgamma.
14862         * math/auto-libm-test-out: Regenerated.
14863         * sysdeps/i386/fpu/libm-test-ulps: Update.
14864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14866         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
14867         log1p.
14868         * math/auto-libm-test-out: Regenerated.
14869         * sysdeps/i386/fpu/libm-test-ulps: Update.
14870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14872 2015-05-01  Mark Wielaard  <mjw@redhat.com>
14874         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
14875         Elf64_Chdr structs and ELFCOMPRESS constants.
14877 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14879         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
14880         expm1.
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 erf and erfc.
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 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14892         * config.h.in (HAVE_AARCH64_BE): Add.
14894 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
14896         * math/auto-libm-test-in: Add more tests of csqrt.
14897         * math/auto-libm-test-out: Regenerated.
14898         * sysdeps/i386/fpu/libm-test-ulps: Update.
14899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14901         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14902         * math/auto-libm-test-out: Regenerated.
14903         * sysdeps/i386/fpu/libm-test-ulps: Update.
14904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14906         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
14908 2015-04-29  Roland McGrath  <roland@hack.frob.com>
14910         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
14911         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
14913         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
14914         (euidaccess, eaccess): Define as weak aliases.
14916         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
14917         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
14918         but __suseconds_t is often 'long int' so some sources assume that
14919         type is being used (e.g. they use %ld to print tv_usec).
14921 2015-04-29  Florian Weimer  <fweimer@redhat.com>
14923         [BZ #18007]
14924         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
14925         (CVE-2014-8121)
14926         * nss/tst-nss-getpwent.c: New file.
14927         * nss/Makefile (tests): Add new test.
14929 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
14931         [BZ #18346]
14932         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
14933         exponents less than 48 as cases where high part of mantissa needs
14934         examining to determine whether argument is integral.
14935         * math/libm-test.inc (round_test_data): Add more tests.
14937 2015-04-28  Mark Wielaard  <mjw@redhat.com>
14939         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
14941 2015-04-27  David S. Miller  <davem@davemloft.net>
14943         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
14944         __tls_get_addr.
14945         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14947 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
14949         [BZ#18333]
14950         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
14952 2015-04-27  Florian Weimer  <fweimer@redhat.com>
14954         [BZ#18333]
14955         * time/tzset.c (parse_tzname): Return error on memory allocation
14956         failure.
14957         * test-skeleton.c (struct temp_name_list): Change type of name
14958         member to non-const.
14959         (add_temp_file): Create a copy of the file name.
14960         (delete_temp_files): Deallocate memory.
14961         (create_temp_file): Add comment.
14963 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14965         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
14966         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
14968 2015-04-24  Roland McGrath  <roland@hack.frob.com>
14970         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
14971         * sysdeps/arm/configure: Regenerated.
14973 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14975         [BZ #17715]
14976         * time/tzfile.c (__tzfile_read): Check for large values of
14977         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
14978         * time/tzset.c (__tzstring_len): New function, based on the old
14979         __tzstring function.
14980         (__tzstring): Call __tzstring_len.
14981         (parse_tzname): New helper function extracted from
14982         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
14983         the input string.
14984         (parse_offset): New helper function extracted from
14985         __tzset_parse_tz.  Replace switch with fallthrough with
14986         initialization before sscanf.
14987         (parse_rule): Likewise.
14988         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
14989         new-style function definition.
14990         * timezone/Makefile (tests): Add tst-tzset.
14991         (tst-tzset.out): Dependencies on time zone files.
14992         (tst-tzset-ENV): Set TZDIR.
14993         (testdata/XT%): Copy crafted time zone files.
14994         * timezone/README: Mention crafted time zone files.
14995         * timezone/testdata/XT1, timezone/testdata/XT2,
14996         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
14997         files.
14998         * timezone/tst-tzset.c: New test.
15000 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15002         * Makeconfig (+gccwarn): Remove -Winline.
15004 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15006         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
15008 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15010         * NEWS: Mention sysconf() cache information support for s390.
15011         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
15013 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
15015         * math/k_casinh.c (__kernel_casinh): Use __copysign.
15016         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
15017         (__nearbyint): Likewise.
15018         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
15019         (copysignl): Likewise.
15021 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
15023         [BZ #18287]
15024         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
15025         based on padding.  (CVE-2015-1781)
15027 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15029         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
15030         libc-vdso.h.
15031         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
15032         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
15033         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
15034         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15035         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15036         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
15037         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
15038         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15039         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15040         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
15041         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15042         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15043         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15044         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
15045         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15046         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
15047         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
15048         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
15049         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
15050         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
15051         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
15052         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
15053         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
15055 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
15057         * stdlib/setenv.c (__add_to_environ):
15058         Dump core quickly if setenv (..., NULL, ...) is called.
15059         This time, do it the right way, and pacify GCC with a pragma.
15061 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15063         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
15064         IMAP->l_prev cannot be null, and #if out the code for the contrary
15065         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
15066         believe that NS (&_dl_ns[NSID]) could point outside the array.
15068         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
15069         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
15070         before using NSID as an index.
15072 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
15074         [BZ #17825]
15075         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
15076         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
15077         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15079 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15081         Add preliminary port to Google Native Client on ARM.
15082         * abi-tags (.*-.*-nacl.*): New entry.
15083         * sysdeps/arm/nacl: New directory.
15084         * sysdeps/nacl: New directory.
15086 2015-04-16  David S. Miller  <davem@davemloft.net>
15088         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
15089         lowlevellock-futex.h
15091 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
15093         * sysdeps/tile/configure.ac: New file.
15094         * sysdeps/tile/configure: Regenerated.
15096 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15098         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
15099         conditionals for weak_alias and libc_hidden_weak.
15100         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
15101         libc_hidden_weak and weak_alias.
15102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
15103         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
15104         and weak_alias for static one.
15106 2015-04-15  David S. Miller  <davem@davemloft.net>
15108         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15110 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15112         [BZ #18206]
15113         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
15114           Use signed comparision instead of substraction to avoid
15115           overflow bug.
15116         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
15117           Take the sign of ret.
15118         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
15119           Do not expect precise return values. Only the sign matters.
15120         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
15121         * wcsmbs/test-wcsncmp.c: New File.
15122         * string/test-strncmp.c: Add wcsncmp support.
15124 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15126         [BZ #6792]
15127         * math/w_log1p.c: New file.
15128         * math/w_log1pf.c: Likewise.
15129         * math/w_log1pl.c: Likewise.
15130         * math/Makefile (libm-calls): Add w_log1p.
15131         * math/s_log1pl.c (log1pl): Remove weak_alias.
15132         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
15133         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
15134         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
15135         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
15136         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
15137         [NO_LONG_DOUBLE] (log1pl): Likewise.
15138         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
15139         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
15140         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
15141         (log1p): Remove long_double_symbol.
15142         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
15143         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
15144         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
15145         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
15146         remove weak_alias for corresponding log1p function.
15147         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
15148         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15149         * sysdeps/ia64/fpu/w_log1p.c: New file.
15150         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
15151         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
15152         * math/libm-test.inc (log1p_test_data): Add errno expectations.
15154 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
15156         [BZ #18247]
15157         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
15158         decimal exponent by 1.
15159         * stdlib/tst-strtod-round-data: Add more tests.
15160         * stdlib/tst-strtod-round.c (tests): Regenerated.
15162 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
15164         * math/auto-libm-test-in: Add more tests of clog and clog10.
15165         * math/auto-libm-test-out: Regenerated.
15166         * sysdeps/i386/fpu/libm-test-ulps: Update.
15167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15169 2015-04-09  Roland McGrath  <roland@hack.frob.com>
15171         * Makeconfig (module-cppflags): Exclude all .v.i files.
15172         (skip-module-cppflags): Variable removed.
15174         * configure.ac (libc_config_ok): Initialize before reading
15175         preconfigure scripts, not after.
15176         * configure: Regenerated.
15178         * test-skeleton.c (TIMEOUT): Move #define to top level.
15179         (main): Grok environment variable TEST_DIRECT.  If set, print
15180         test expectation details into that file and then behave as if
15181         given --direct.
15183 2015-04-09  Florian Weimer  <fweimer@redhat.com>
15185         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
15186         warning on 32-bit.
15188 2015-04-08  David S. Miller  <davem@davemloft.net>
15190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15192 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15194         * math/auto-libm-test-in: Add more tests of atanh.
15195         * math/auto-libm-test-out: Regenerated.
15196         * sysdeps/i386/fpu/libm-test-ulps: Update.
15197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15199         * math/auto-libm-test-in: Add more tests of atan.
15200         * math/auto-libm-test-out: Regenerated.
15201         * sysdeps/i386/fpu/libm-test-ulps: Update.
15202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15204 2015-04-08  Florian Weimer  <fweimer@redhat.com>
15206         * elf/pldd.c (main): Rewrite to use struct
15207         scratch_buffer instead of extend_alloca.
15208         * elf/pldd-xx.c (find_maps): Likewise.
15209         * grp/initgroups.c: Include <scratch_buffer.h> instead of
15210         <alloca.h>.
15211         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
15212         scratch_buffer instead of extend_alloca.
15213         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
15214         grp/compat-initgroups.c.
15215         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
15216         Rewrite to use struct scratch_buffer instead of extend_alloca.
15217         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
15218         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15220 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15222         * math/auto-libm-test-in: Add more tests of cbrt.
15223         * math/auto-libm-test-out: Regenerated.
15224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15226         * math/auto-libm-test-in: Add more tests of cabs.
15227         * math/auto-libm-test-out: Regenerated.
15228         * sysdeps/i386/fpu/libm-test-ulps: Update.
15229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15231         [BZ #18210]
15232         [BZ #18211]
15233         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
15234         (__ieee754_atan2): Set FE_TONEAREST mode for internal
15235         computations.
15236         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
15237         clog10.
15238         * math/auto-libm-test-out: Regenerated.
15239         * sysdeps/i386/fpu/libm-test-ulps: Update.
15240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15242         [BZ #18197]
15243         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
15244         (atan): Set FE_TONEAREST mode for internal computations.
15245         * math/auto-libm-test-in: Add more tests of atan.
15246         * math/auto-libm-test-out: Regenerated.
15248 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
15250         [BZ #17930]
15251         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
15253 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15255         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
15257 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15259         * include/scratch_buffer.h: New file.
15260         * malloc/scratch_buffer_grow.c: Likewise.
15261         * malloc/scratch_buffer_grow_preserve.c: Likewise.
15262         * malloc/scratch_buffer_set_array_size.c: Likewise.
15263         * malloc/tst-scratch_buffer.c: Likewise.
15264         * malloc/Makefile (routines): Add scratch_buffer_grow.
15265         (tests): Add test case.
15266         * malloc/Versions (GLIBC_PRIVATE): Export
15267         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
15268         __libc_scratch_buffer_set_array_size.
15270 2015-04-06  Richard Henderson  <rth@redhat.com>
15272         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
15273         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15275         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
15276         unsigned int before printing.
15278 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15280         [BZ #17596]
15281         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
15282         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15284 2015-04-02  Florian Weimer  <fweimer@redhat.com>
15286         * include/libc-internal.h (libc_max_align_t): Define.
15288 2015-04-02  Andreas Schwab  <schwab@suse.de>
15290         [BZ #16850]
15291         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
15293 2015-04-02  Mel Gorman  <mgorman@suse.de>
15295         [BZ #17195]
15296         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
15297         as well as the main arena.
15299 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15301         [BZ #18185]
15302         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
15303         sharing L2 cache to 2 for Silvermont/Knights Landing.
15305 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15307         [BZ #17711]
15308         * config.make.in (have-protected-data): New.
15309         * configure.ac: Check linker support for protected data symbol.
15310         * configure: Regenerated.
15311         * elf/Makefile (modules-names): Add tst-protected1moda and
15312         tst-protected1modb if $(have-protected-data) is yes.
15313         (tests): Add tst-protected1a and tst-protected1b if
15314         $(have-protected-data) is yes.
15315         ($(objpfx)tst-protected1a): New.
15316         ($(objpfx)tst-protected1b): Likewise.
15317         (tst-protected1modb.so-no-z-defs): Likewise.
15318         * elf/tst-protected1a.c: New file.
15319         * elf/tst-protected1b.c: Likewise.
15320         * elf/tst-protected1mod.h: Likewise.
15321         * elf/tst-protected1moda.c: Likewise.
15322         * elf/tst-protected1modb.c: Likewise.
15324 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15326         [BZ #17711]
15327         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
15328         indicates it is called from do_lookup_x on relocation against
15329         protected data, skip the data definion in the executable from
15330         copy reloc.
15331         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
15332         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
15333         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
15334         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
15335         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
15336         otherwise to 0.
15337         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15338         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
15339         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
15340         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15341         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
15342         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
15344 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
15346         * sysdeps/nptl/pthread.h: Remove duplicate definition of
15347         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
15349 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
15351         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
15352         THREAD_SETMEM_NC.
15353         * sysdeps/x86_64/nptl/tls.h: Ditto.
15355 2015-03-27  Roland McGrath  <roland@hack.frob.com>
15357         * dlfcn/tststatic.c (main): Converted to ...
15358         (do_test): ... this.
15359         (TEST_FUNCTION): New macro.
15360         Include test-skeleton.c.
15362 2015-03-26  Alan Modra  <amodra@gmail.com>
15364         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
15365         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
15366         zero for undefined weak.
15367         (elf_machine_plt_conflict): Similarly.
15369 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15371         * math/auto-libm-test-in: Add more tests of acosh, asinh and
15372         atanh.
15373         * math/auto-libm-test-out: Regenerated.
15374         * sysdeps/i386/fpu/libm-test-ulps: Update.
15375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15377         * math/auto-libm-test-in: Add another test of asin.
15378         * math/auto-libm-test-out: Regenerated.
15379         * sysdeps/i386/fpu/libm-test-ulps: Update.
15380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15382         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
15383         Remove macro.
15384         (LLL_EBX_REG): Likewise.
15385         (LLL_ENTER_KERNEL): Likewise.
15387         * math/auto-libm-test-in: Add more tests of asin.
15388         * math/auto-libm-test-out: Regenerated.
15389         * sysdeps/i386/fpu/libm-test-ulps: Update.
15390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15392         [BZ #18138]
15393         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
15394         libc_do_syscall_args): New structure.
15395         (INTERNAL_SYSCALL_MAIN_0): New macro.
15396         (INTERNAL_SYSCALL_MAIN_1): Likewise.
15397         (INTERNAL_SYSCALL_MAIN_2): Likewise.
15398         (INTERNAL_SYSCALL_MAIN_3): Likewise.
15399         (INTERNAL_SYSCALL_MAIN_4): Likewise.
15400         (INTERNAL_SYSCALL_MAIN_5): Likewise.
15401         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
15402         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
15403         Replace conditional definitions by conditional definitions of ....
15404         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
15405         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
15406         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
15407         (libpthread-sysdep_routines): Add libc-do-syscall.
15408         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
15409         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
15410         to __NR_futex not 240.
15412 2015-03-25  Alan Modra  <amodra@gmail.com>
15414         * NEWS: Advertise TLS optimization.
15415         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
15416         (DT_PPC_NUM): Increment.
15417         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
15418         (CHECK_STATIC_TLS): Use here.
15419         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
15420         TLS descriptors.
15421         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15422         * sysdeps/powerpc/dl-tls.c: New file.
15423         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
15424         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
15425         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
15426         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
15427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
15428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15431 2015-03-25  Alan Modra  <amodra@gmail.com>
15433         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
15434         for overlapping .opd entries" to "support...".
15435         * sysdeps/powerpc/powerpc64/configure: Regenerate
15437 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15439         * math/auto-libm-test-in: Add more tests of acos.
15440         * math/auto-libm-test-out: Regenerated.
15441         * sysdeps/i386/fpu/libm-test-ulps: Update.
15442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15444         * math/auto-libm-test-in: Add more tests of expm1.
15445         * math/auto-libm-test-out: Regenerated.
15446         * sysdeps/i386/fpu/libm-test-ulps: Update.
15447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15449 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
15451         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15452         * math/auto-libm-test-out: Regenerated.
15453         * sysdeps/i386/fpu/libm-test-ulps: Update.
15454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15456         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15459         * math/auto-libm-test-in: Add more tests of log2.
15460         * math/auto-libm-test-out: Regenerated.
15461         * sysdeps/i386/fpu/libm-test-ulps: Update.
15462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15464 2015-03-23  Roland McGrath  <roland@hack.frob.com>
15466         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
15467         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
15468         _IO_IS_APPENDING bit in READ_WRITE instead.
15470 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15472         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15473         (__determine_cpumask_size): Replace extend_alloca with a
15474         variable-length array.  Do not treat res == 0 as an error.
15476 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15478         [BZ #18100]
15479         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
15480         and integer overflow.
15481         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
15482         (main): Add integer overflow tests.
15483         * manual/pattern.texi (Calling Wordexp): Document additional use
15484         for WRDE_SYNTAX.
15486 2015-03-23  Alan Modra  <amodra@gmail.com>
15488         * config.h.in: Remove HAVE_ASM_PPC_REL16.
15489         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
15490         and false branch of conditional.
15491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15492         Likewise.
15494 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
15496         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
15497         libc-modules.h
15498         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
15499         unused declaration of _hurd_intr_rpc_msg_in_trap.
15500         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
15501         defined instead of whether it is non-zero.
15502         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
15503         input constraint instead of both input and output constraint.  Use ecx
15504         clobber instead of %ecx.
15505         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
15506         mutex_unlock): Use a statement expression instead of an expression list.
15507         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
15508         type to vm_size_t instead of vm_address_t.
15509         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
15510         defined instead of whether it is non-zero.
15511         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
15512         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
15513         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
15514         comparisons with mapaddr.
15515         * nscd/nscd-client.h: Include <time.h>.
15516         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
15517         9th parameter to __vm_region instead of int.
15518         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
15519         * scripts/check-local-headers.sh (exclude): Add device/,
15520         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
15521         cthreads.h.
15523 2015-03-19  Roland McGrath  <roland@hack.frob.com>
15525         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
15526         to account for alignment padding.
15527         * sysdeps/arm/memmove.S: Likewise.
15529 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
15531         * sysdeps/unix/sysv/linux/generic/README: New file.
15533 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
15535         [BZ #18138]
15536         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
15537         (futex_abstimed_wait)
15538         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
15539         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
15540         of lll_futex_timed_wait.
15542 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
15544         [BZ #17542]
15545         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
15547 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
15549         [BZ #17090]
15550         [BZ #17620]
15551         [BZ #17621]
15552         [BZ #17628]
15553         * NEWS: Update.
15554         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
15555         entries with Static TLS too.  Skip entries past the end of the
15556         allocated DTV, from Alan Modra.
15557         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
15558         Static TLS DTV entry set up from...
15559         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
15560         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
15561         * nptl/allocatestack.c (init_one_static_tls): ... and here...
15562         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
15563         for Static TLS.
15564         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
15565         that the slot we find is associated with the given map before
15566         using its generation count.
15567         * nptl_db/db_info.c: Include ldsodefs.h.
15568         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
15569         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
15570         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
15571         (link_map::l_tls_offset): New struct field.
15572         (dtv_t::counter): Likewise.
15573         (rtld_global): New struct.
15574         (_rtld_global): New rtld variable.
15575         (dl_tls_dtv_slotinfo_list): New rtld global field.
15576         (dtv_slotinfo_list): New struct.
15577         (dtv_slotinfo): Likewise.
15578         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
15579         (td_lookup): Rename to...
15580         (td_mod_lookup): ... this.  Use new mod parameter instead of
15581         LIBPTHREAD_SO.
15582         * nptl_db/td_thr_tlsbase.c: Include link.h.
15583         (dtv_slotinfo_list, dtv_slotinfo): New functions.
15584         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
15585         addresses even if the DTV is out of date or missing them.
15586         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
15587         index zero-length arrays.
15588         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
15589         (td_lookup): Make it a macro implemented in terms of...
15590         (td_mod_lookup): ... this declaration.
15591         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
15592         (DB_MAIN_VARIABLE): Likewise.
15594 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15596         [BZ #18134]
15597         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15599 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
15601         * stdlib/setenv.c (__add_to_environ): Revert previous change.
15603 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15605         [BZ #18128]
15606         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
15607         (atomic_add, atomic_increment_and_test)
15608         (atomic_decrement_and_test): Fix 64-bit arithmetic.
15610 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
15612         * stdlib/setenv.c (__add_to_environ):
15613         Dump core quickly if setenv (..., NULL, ...) is called.
15615 2015-03-13  Roland McGrath  <roland@hack.frob.com>
15617         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
15618         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15619         all the necessary asm magic in one place.
15620         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15621         using those.
15623 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
15625         [BZ #14906]
15626         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15627         traced file mtime. Use consistent log message.
15628         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15629         (register_traced_file): Call install_watches. Always set mtime.
15630         (invalidate_cache): Iterate over all trace files. Call install_watches.
15631         (inotify_check_files): Don't inline. Handle watching parent
15632         directories and configuration file movement in and out.
15633         (handle_inotify_events): New function.
15634         (main_loop_poll): Call handle_inotify_events.
15635         (main_loop_epoll): Likewise.
15636         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15637         (struct traced_file): Use array of inotify fds. Add parent directory,
15638         and basename.
15639         (struct database_dyn): Remove unused file_mtime.
15640         (init_traced_file): New inline function.
15641         (define_traced_file): New macro.
15642         * nss/nss_db/db-init.c: Use define_traced_file.
15643         (_nss_db_init): Use init_traced_file.
15644         * nss/nss_files/files-init.c: Use define_traced_file.
15645         (_nss_files_init): Use init_traced_file.
15647 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
15649         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15650         [_LIBC]: Do not include <stdlib.h>.
15651         [!_LIBC] (abort): Remove declaration.
15652         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15653         _FP_STATIC_ASSERT instead of conditionally calling abort.
15654         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15655         (_FP_EXTEND_CNAN): Likewise.
15656         (FP_TRUNC): Likewise.
15657         (__FP_CLZ): Likewise.
15658         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15660 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
15662         * manual/string.texi (XPG basename): Fix prototype.
15664 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15666         [BZ #18080]
15667         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15668         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15669         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15670         (__setcontext): Likewise.
15671         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15672         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15673         Call rt_sigprocmask syscall one time to set new signal mask
15674         and retrieve the current signal mask instead of two calls.
15675         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15676         (__swapcontext): Likewise.
15677         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15678         * stdlib/tst-setcontext2.c: New file.
15680 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15682         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15684 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
15686         [BZ #18093]
15687         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15688         the wrong size.
15690 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15692         [BZ #18043]
15693         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15695 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15697         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15698         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15699         Remove define.
15700         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15701         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15702         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15703         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15704         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15705         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15706         define.
15707         * nptl_db/td_symbol_list.c (td_lookup): Remove
15708         HAVE_ASM_GLOBAL_DOT_NAME code.
15709         * sysdeps/powerpc/powerpc64/configure.ac: Remove
15710         HAVE_ASM_GLOBAL_DOT_NAME check.
15711         * sysdeps/powerpc/powerpc64/configure: Regenerate.
15712         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15713         (DOT_LABEL): Remove define.
15714         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15715         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15716         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15717         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15718         (__TLS_GET_ADDR): Likewise.
15719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15720         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15722 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
15724         [BZ #18111]
15725         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15726         (_FPU_SETCW): Initialize cw from fpsr before storing.
15727         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15728         (fesetexceptflag): Rewrite using fpu_control.h.
15729         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15731 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
15733         [BZ #18110]
15734         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15735         asms.
15736         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15738 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
15740         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15741         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15742         abort.
15743         (_FP_FMA): Likewise.
15744         (_FP_DIV): Likewise.
15746 2015-03-10  Roland McGrath  <roland@hack.frob.com>
15748         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15749         with 0 in that case.
15750         * Makefile (summarize-tests): New canned sequence, factored out of
15751         commands for targets tests and xtests.  Display summary lines that
15752         don't start with PASS: or XFAIL: rather than ones that do start with
15753         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
15754         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15755         do start with ERROR: or FAIL:.
15756         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15757         (except for [$(build-shared) = yes]).
15758         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15759         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15760         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15761         * nptl/Makefile: Revert 2015-03-04 changes.
15762         [$(CXX) empty] (tests-unsupported): New variable.
15763         * debug/Makefile: Likewise.
15765         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15766         gnulib file.  Replace __attribute with __attribute__ throughout.
15768 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
15770         * sysdeps/hppa/fpu/libm-test-ulps: Update.
15772 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15774         [BZ #18104]
15775         * math/auto-libm-test-in: Add another test of pow.
15776         * math/auto-libm-test-out: Regenerated.
15778 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15780         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
15781         $(config-cflags-nofma).
15783 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15785         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
15786         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
15787         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
15788         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
15789         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
15790         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
15791         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
15792         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
15793         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
15794         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
15795         Add comment on closing #endif.
15797 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15799         * posix/wordexp.c (CHAR_IN_SET): New macro.
15800         (parse_param): Use it.
15802 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15804         * sysdeps/powerpc/fpu/libm-test-ulps: update.
15806 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15808         [BZ #18043]
15809         * posix/wordexp.c (parse_param): Fix buffer overflow.
15810         * posix/wordexp-test.c (test_case): Add test case.
15812 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15814         [BZ #18042]
15815         * posix/wordexp.c (parse_backtick): Fix off-by-one.
15816         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
15818 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15820         [BZ #18043]
15821         * posix/wordexp-test.c (test_case): Add test for BZ #18043
15822         (do_bz18043): Delete.
15823         (at_page_end): New.
15824         (testit): Refactor to have words at the edge of unreadable page.
15826 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15828         [BZ #16734]
15829         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
15830         Cleanup read-only streams as well.
15831         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
15833 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15835         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
15836         <bits/libc-lockP.h>
15838 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
15840         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
15841         on [__KERNEL__].
15842         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
15843         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
15844         * soft-fp/op-common.h (_FP_DECL): Likewise.
15846 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15848         * elf/ifuncdep2.c (global): Replace
15849         __attribute__((visibility("protected"))) with
15850         asm (".protected global").
15851         * elf/ifuncmod1.c (global): Likewise.
15852         * elf/ifuncmod5.c (global): Likewise.
15854 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
15856         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
15857         <asm/sfp-machine.h> instead of <sfp-machine.h>.
15859 2015-03-06  Roland McGrath  <roland@hack.frob.com>
15861         * manual/install.texi (Configuring and compiling):
15862         Document test-wrapper-env-only.
15863         * INSTALL: Regenerated.
15865 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15867         [BZ #18043]
15868         * posix/wordexp.c (parse_param): Fix buffer overflow.
15869         * posix/wordexp-test.c (do_bz18043): Add test case.
15871 2015-03-06  Vincent Bernat  <vincent@bernat.im>
15873         * time/tst-strptime2.c (do_test): Ensure failing tests are
15874         reported correctly.
15875         * time/tst-strptime3.c (do_test): Likewise.
15877 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
15879         Fix aio_error thread-safety.
15880         * sysdeps/pthread/aio_error.c: New file
15881         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
15882         synchronization.
15884 2015-03-06  Florian Weimer  <fweimer@redhat.com>
15886         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
15887         (group_number, vfprintf): Use it.
15888         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
15889         (JUMP, REF): Use it.
15890         (WORK_BUFFER_SIZE): New enum constant.
15891         (process_arg, vfprintf): Use it.
15893 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
15895         * manual/errno.texi (Error Messages): Complete example function
15896         by adding missing #define.
15897         (program_invocation_name): Add statement indicating GNU
15898         extension and reference which header file declares the variable.
15899         (program_invocation_short_name): Likewise.
15901 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
15903         * manual/errno.texi (Error Messages): Delete strerror ISO C89
15904         compatibility note.
15906 2015-03-05  Roland McGrath  <roland@hack.frob.com>
15908         * Makeconfig (test-wrapper-env-only): New variable.
15909         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
15910         then use that with $(test-wrapper-env-only) rather than using
15911         $(test-wrapper-env) $(run-program-env) $($*-ENV).
15913 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15915         [BZ #18082]
15916         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
15917         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
15918         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
15919         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
15920         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
15921         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
15922         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
15923         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
15924         Likewise.
15925         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
15926         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
15927         Likewise.
15928         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
15929         Likewise.
15930         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
15931         Likewise.
15932         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
15933         Likewise.
15934         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
15935         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
15936         Likewise.
15937         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
15938         Likewise.
15939         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
15940         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
15942 2015-03-04  Roland McGrath  <roland@hack.frob.com>
15944         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
15945         (ETH_ALEN): New macro.
15946         (struct ether_addr): Use it for length of ether_addr_octet.
15948         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
15949         (setdb): Don't call __nss_configure_lookup for "rpc".
15950         (do_test): Don't call test_rpc.
15951         (output_rpcent, test_rpc): Functions moved ...
15952         * sunrpc/test-rpcent.c: ... to this new file.
15953         * sunrpc/Makefile (tests): Add it.
15955         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
15956         __xpg_sigpause.
15957         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
15958         * nptl/tst-signal6.c: Likewise.
15959         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
15960         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
15962         * configure.ac (libc_cv_cxx_link_ok): New check.
15963         Reset CXX to empty if it fails to link.
15964         * configure: Regenerated.
15965         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
15966         bug-atexit3-lib only if $(CXX) is nonempty.
15967         * nptl/Makefile (tests): Likewise for tst-cancel24.
15968         (tests, tests-static): Likewise for tst-cancel24-static.
15969         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
15970         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
15971         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
15972         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
15974 2015-03-04  Andreas Schwab  <schwab@suse.de>
15976         [BZ #17631]
15977         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
15978         for non-GCC compilers.
15979         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15980         Likewise.
15982 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15984         [BZ #17776]
15985         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
15986         integer before bitwise and assembly operations.
15987         (feclearexcept): Likewise.
15988         * math/test-fenvinline.c: New file.
15989         * math/Makefile: Add test-fenvinline test.
15991 2015-03-03  Alan Modra  <amodra@gmail.com>
15993         [BZ #16512]
15994         * scripts/localplt.awk: Strip off symbol version.
15995         * NEWS: Mention bug fix.
15997 2015-03-02  Roland McGrath  <roland@hack.frob.com>
15999         * sysdeps/pthread/timer_routines.c
16000         (timer_free_list, thread_free_list, thread_active_list): Make static.
16002 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
16004         [BZ #17779]
16005         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16006         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16007         Undefine.
16008         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16009         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16010         Likewise.
16011         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16012         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16013         Likewise.
16015 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
16017         [BZ #18036]
16018         * posix/fnmatch_loop.c (END): Detect invalid pattern.
16019         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
16021 2015-03-02  Andreas Schwab  <schwab@suse.de>
16023         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
16024         variable name.
16026 2015-03-02  Florian Weimer  <fweimer@redhat.com>
16028         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
16029         Return error status.
16031 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
16033         [BZ #15969]
16034         * locale/findlocale.c (_nl_find_locale): Introduce const
16035         version of loc_name and drop unsafe type casts.
16037 2015-02-27  Roland McGrath  <roland@hack.frob.com>
16039         * dlfcn/tststatic2.c (main): Converted to ...
16040         (do_test): ... this.
16041         (TEST_FUNCTION): New macro.
16042         Include test-skeleton.c.
16044 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
16046         [BZ #17711]
16047         * elf/Makefile (tests): Add vismain only if PIE is enabled.
16048         (tests-pie): Add vismain.
16049         (CFLAGS-vismain.c): New.
16050         * elf/vismain.c: Add comments for PIE requirement.
16052 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16054         [BZ #18046]
16055         [BZ #18047]
16056         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
16057         0x1p-56L as threshold for just returning the argument.
16058         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
16059         0x1p-32L as threshold for just returning the argument.
16060         * math/auto-libm-test-in: Add more tests of atanh.
16061         * math/auto-libm-test-out: Regenerated.
16062         * sysdeps/i386/fpu/libm-test-ulps: Update.
16063         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
16065 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16067         * string/bcopy.c (bcopy): Call memmove for performance.
16069 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16071         * string/bzero.c (__bzero): Call memset for performance.
16073 2015-02-27  John David Anglin  <dave.anglin@bell.net>
16075         [BZ #18068]
16076         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
16077         to 00100000.
16079 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16081         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
16083 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16085         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
16086         (__kernel_standard): Use CSTR macro when setting exc.name.
16087         * sysdeps/ieee754/Makefile [$(subdir) = math]
16088         (CFLAGS-k_standard.c): Remove variable.
16090         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
16091         setting p and q from "else if" to "else".
16092         (qzero): Likewise.
16093         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
16094         (qone): Likewise.
16095         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
16096         (qzerof): Likewise.
16097         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
16098         (qonef): Likewise.
16099         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
16100         (qzero): Likewise.
16101         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
16102         (qone): Likewise.
16104         [BZ #18038]
16105         [BZ #18039]
16106         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
16107         return pi/2 for arguments below 0x1p-113L.
16108         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
16109         return pi/2 for arguments below 0x1p-106L.
16110         * math/auto-libm-test-in: Add more tests of acos.
16111         * math/auto-libm-test-out: Regenerated.
16113         [BZ #16351]
16114         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
16115         (MO): New macro.
16116         (__ieee754_asin): Force underflow exception for results with small
16117         absolute value.
16118         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
16119         (MO): New macro.
16120         (__ieee754_asinf): Force underflow exception for results with
16121         small absolute value.
16122         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
16123         (__ieee754_asin): Force underflow exception for results with small
16124         absolute value.
16125         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
16126         (__ieee754_asinf): Force underflow exception for results with
16127         small absolute value.
16128         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
16129         (__ieee754_asinl): Force underflow exception for results with
16130         small absolute value.
16131         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
16132         (__ieee754_asinl): Force underflow exception for results with
16133         small absolute value.
16134         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
16135         (__ieee754_asinl): Force underflow exception for results with
16136         small absolute value.
16137         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16138         Include <math.h>.
16139         * math/auto-libm-test-in: Do not mark underflow exceptions as
16140         possibly missing for bug 16351.
16141         * math/auto-libm-test-out: Regenerated.
16143         [BZ #18030]
16144         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
16145         of power of 2 down when low part has opposite sign.
16146         * math/libm-test.inc (logb_test_data): Add more tests.
16148 2015-02-26  Andreas Schwab  <schwab@suse.de>
16150         [BZ #18032]
16151         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
16152         over collating symbol inside a bracket expression.  Minor cleanup.
16153         * posix/tst-fnmatch3.c (do_test): Add test case.
16155 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16157         [BZ #18029]
16158         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
16159         Adjust exponent of power of 2 down when low part has opposite
16160         sign.
16161         * math/libm-test.inc (ilogb_test_data): Add more tests.
16163 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
16165         [BZ #15969]
16166         * locale/findlocale.c (_nl_find_locale): Fix constness error in
16167         the previous change.
16169         [BZ #15969]
16170         * locale/findlocale.c (_nl_find_locale): Retry archive search
16171         after alias expansion.
16173 2015-02-25  Roland McGrath  <roland@hack.frob.com>
16175         * iconv/tst-iconv3.c (main): Converted to ...
16176         (do_test): ... this.
16177         (TEST_FUNCTION): New macro.
16178         Include test-skeleton.c.
16180         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
16181         (convert): Make function static.
16182         (test_unalign): Likewise.  Add const to argument pointee types.
16183         (main): Replace with static function do_test.
16184         Print "Succeeded." only if RET is zero.
16185         (TEST_FUNCTION): New macro.
16186         Include test-skeleton.c.
16188         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
16189         returns a null pointer.
16191 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16193         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
16194         to __memcpy_ppc only for static builds.
16196 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
16198         [BZ #18020]
16199         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
16200         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
16201         * math/auto-libm-test-in: Add more tests of asinh.
16202         * math/auto-libm-test-out: Regenerated.
16203         * sysdeps/i386/fpu/libm-test-ulps: Update.
16204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16206 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
16208         [BZ #15850]
16209         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
16210         and ip6_mtuinfo definitions here.
16211         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
16212         in this define too.  Update comment.
16214 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
16216         * elf/sprof.c (load_shobj): Tweak error message to match others.
16218 2015-02-24  Kevin Easton  <kevin@guarana.org>
16220         [BZ #16145] (partial fix)
16221         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
16222         to reduce lock contention.
16224 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
16226         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
16227         (struct timex): Update time comment.
16228         (ADJ_SETOFFSET): Define.
16230 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16232         [BZ #18019]
16233         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16234         2**56 not 2**28 as threshold for log (2x) formula.
16235         * math/auto-libm-test-in: Add more tests of acosh.
16236         * math/auto-libm-test-out: Regenerated.
16237         * sysdeps/i386/fpu/libm-test-ulps: Update.
16238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16240 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16242         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
16243         parenthesis around the buf assignment.
16244         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
16246 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16248         [BZ #16783]
16249         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
16250         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
16251         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
16252         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16253         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16254         * math/libm-test.inc (scalb_test_data): Add more tests.
16256 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16258         [BZ #17916]
16259         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
16260         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
16262 2015-02-24  Eric Rannaud  <e@nanocritical.com>
16264         [BZ #17523]
16265         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
16266         * io/bits/fcntl2.h (open): Use it.
16267         (openat): Likewise.
16268         * io/open.c (__libc_open): Likewise.
16269         * io/open64.c (__libc_open64): Likewise.
16270         * io/open64_2.c (__open64_2): Likewise.
16271         * io/open_2.c (__open_2): Likewise.
16272         * io/openat.c (__openat): Likewise.
16273         * io/openat64.c (__openat64): Likewise.
16274         * io/openat64_2.c (__openat64_2): Likewise.
16275         * io/openat_2.c (__openat_2): Likewise.
16276         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
16277         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16278         * sysdeps/posix/open64.c (__libc_open64): Likewise.
16279         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16280         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16281         (__open_nocancel): Likewise.
16282         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16283         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16284         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
16286 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16288         [BZ #14841]
16289         * resolv/gethnamaddr.c (getanswer): Skip logging if
16290         RES_USE_DNSSEC is set.
16291         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16293 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16295         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
16297 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
16299         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16300         201304L, for Unicode 7.
16302 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
16304         [BZ #17836]
16305         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
16306         shared library.  Add gmon-start.os otherwise.
16307         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
16308         $(objpfx)gmon-start.os if builing shared library.
16309         ($(objpfx)g$(static-start-installed-name)): Likewise.
16311 2015-02-23  Andreas Schwab  <schwab@suse.de>
16313         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
16315 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16317         [BZ #17269]
16318         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
16319         (enlarge_userbuf): Likewise.
16321 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
16323         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
16324         * math/atest-exp.c (TIMEOUT): Adjust to 200.
16325         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
16326         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
16328 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
16330         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
16331         expression inside statement expression.
16333 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16335         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
16336         <sysdeps/nptl/lowlevellock.h> and remove macros and
16337         functions that are now defined there.
16338         (SYS_futex): Remove.
16339         (lll_compare_and_swap): Remove.
16340         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
16342 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
16344         [BZ #17999]
16345         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
16346         instead of scandirat.
16347         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
16348         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
16349         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
16350         __scandirat.
16351         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
16352         (__scandirat): Declare.  Use libc_hidden_proto.
16353         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
16354         Remove variable.
16355         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16357 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16359         [BZ #15319]
16360         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
16361         (MO): New macro.
16362         (__ieee754_atan2): For results with small absolute value, force
16363         underflow exception and remove excess range and precision from
16364         return value.
16365         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
16366         (MO): New macro.
16367         (__ieee754_atan2f): For results with small absolute value, force
16368         underflow exception and remove excess range and precision from
16369         return value.
16370         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
16371         (MO): New macro.
16372         (__atan): For results with small absolute value, force underflow
16373         exception and remove excess range and precision from return value.
16374         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
16375         (MO): New macro.
16376         (__atanf): For results with small absolute value, force underflow
16377         exception and remove excess range and precision from return value.
16378         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
16379         <math.h>.
16380         (__ieee754_atan2): Force underflow exception for results with
16381         small absolute value.
16382         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
16383         <math_private.h>.
16384         (atan): Force underflow exception for results with small absolute
16385         value.
16386         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
16387         (__atanf): Force underflow exception for results with small
16388         absolute value.
16389         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
16390         <math.h>.
16391         (__atanl): Force underflow exception for results with small
16392         absolute value.
16393         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
16394         (__atanl): Force underflow exception for results with small
16395         absolute value.
16396         * sysdeps/x86/fpu/bits/mathinline.h
16397         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
16398         (__ieee754_atan2): Only define inline for long double.
16399         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16400         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
16401         * math/auto-libm-test-in: Do not mark underflow exceptions as
16402         possibly missing for bug 15319.  Add more tests of atan2.
16403         * math/auto-libm-test-out: Regenerated.
16404         * math/libm-test.inc (casin_test_data): Do not mark underflow
16405         exceptions as possibly missing for bug 15319.
16406         (casinh_test_data): Likewise.
16407         * sysdeps/i386/fpu/libm-test-ulps: Update.
16409 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
16411         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
16412         * sysdeps/mips/bits/endian.h: Fix comments.
16414 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16416         [BZ #17996]
16417         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
16418         (hdestroy_r): Likewise.
16419         (hsearch_r): Likewise.
16420         (__hcreate_r): Declare and use libc_hidden_proto.
16421         (__hdestroy_r): Likewise.
16422         (__hsearch_r): Likewise.
16423         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
16424         (hcreate): Call __hcreate_r instead of hcreate_r.
16425         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
16426         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
16427         as weak alias of __hcreate_r.
16428         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
16429         __hdestroy_r.
16430         (hsearch_r): Rename to __hsearch_r and define as weak alias of
16431         __hsearch_r.
16432         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
16433         Remove variable.
16434         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16435         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16436         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16437         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16439 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16441         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
16442         arena_lock into a single arena_get.
16444 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
16446         * dl-reloc.c: Inlucde libc-internal.h.
16447         (_dl_try_allocate_static_tls): Call ALIGN_UP.
16448         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
16449         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
16450         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
16451         (grow_heap): Likewise.
16452         * malloc/malloc.c: Include libc-internal.h.
16453         (do_check_malloc): Call powerof2.
16454         (sysmalloc): Use pagesize. Call ALIGN_UP.
16455         (systrim): Use pagesize.
16456         (mremap_chunk): Use pagesize. Call ALIGN_UP.
16457         (__libc_valloc): Use pagesize.
16458         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
16460 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16462         [BZ #17991]
16463         * include/sys/resource.h (__getrlimit64): Declare.  Use
16464         libc_hidden_proto.
16465         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
16466         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
16467         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
16468         getrlimit64.
16469         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
16470         __getrlimit64.
16471         [!getrlimit64] (getrlimit64): Define as weak alias of
16472         __getrlimit64.  Use libc_hidden_weak.
16473         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
16474         using __getrlimit64 not __new_getrlimit64.
16475         (__GI_getrlimit64): Likewise.
16476         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
16477         Likewise.
16478         (__GI_getrlimit64): Likewise.
16479         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
16480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
16481         (getrlimit): Add __getrlimit64 alias.
16482         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
16483         Likewise.
16484         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
16485         Remove variable.
16486         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16487         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16489 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
16491         * libio/fileops.c: Add missing sys/mman.h
16492         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
16494 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16496         * manual/math.texi (Errors in Math Functions): Clarify goals
16497         regarding inexact and underflow exceptions.
16499 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16501         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
16502         * sysdeps/mips/memset.S: Ditto.
16504 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16506         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
16508 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16510         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
16511         (__v1longjmp): Remove versioned symbol.
16512         (__v1siglongjmp): Remove alias and versioned symbol.
16513         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
16514         (__v2siglongjmp): Likewise.
16516 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16518         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
16520 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
16522         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
16524 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16526         [BZ #17987]
16527         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
16528         zero result does not depend on the sign resulting from
16529         subtraction.
16530         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16531         Likewise.
16532         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16533         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16534         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16535         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16536         * math/libm-test.inc (remquo_test_data): Add more tests.
16538 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
16540         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
16541         Problem reported by J William Piggott.
16543 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16545         [BZ #17978]
16546         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
16547         products 4 * y and 2 * y where those would overflow.
16548         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16549         Likewise.
16550         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16551         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16552         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16553         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16554         * math/libm-test.inc (remquo_test_data): Add more tests.
16556         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
16558         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
16559         [defined _COMPILING_NEWLIB].
16560         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
16561         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
16563         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
16564         [!defined __mips_isa_rev || __mips_isa_rev < 6].
16566 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16568         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
16569         acquired.
16571 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
16573         [BZ #17792]
16574         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
16575         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
16576         HOST_STACK_END_ADDR): Likewise.
16578 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
16580         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
16581         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
16582         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
16584 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16586         * sysdeps/generic/c++-types.data: New file.
16587         * sysdeps/generic/ld.abilist: New file.
16588         * sysdeps/generic/libBrokenLocale.abilist: New file.
16589         * sysdeps/generic/libanl.abilist: New file.
16590         * sysdeps/generic/libc.abilist: New file.
16591         * sysdeps/generic/libcrypt.abilist: New file.
16592         * sysdeps/generic/libdl.abilist: New file.
16593         * sysdeps/generic/libm.abilist: New file.
16594         * sysdeps/generic/libpthread.abilist: New file.
16595         * sysdeps/generic/libresolv.abilist: New file.
16596         * sysdeps/generic/librt.abilist: New file.
16598 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16600         [BZ #17569]
16601         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16602         Compute absolute value of x as modified by fmod, not original
16603         value of x.
16604         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
16605         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
16606         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
16607         RUN_TEST_ffI_f1_mod8.
16608         (remquo_test_data): Add more tests.
16610 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16612         * sysdeps/init_array/pt-crti.S: New file.
16614 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16616         [BZ #17967]
16617         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
16618         __builtin_fmaf instead of relying on contraction of a * b + c.
16620 2015-02-12  J William Piggott  <elseifthen@gmx.com>
16622         [BZ #17969]
16623         * manual/time.texi: correct the zoneinfo path in the TZ Variable
16624         node.
16626 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16628         [BZ #17964]
16629         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16630         __builtin_fma instead of relying on contraction of a * b + c.
16632 2015-02-12  Roland McGrath  <roland@hack.frob.com>
16634         * Makeconfig (ASFLAGS): Add -Werror=undef.
16635         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16636         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16637         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16639         * Makeconfig (after-link): New variable.
16640         (+link-pie, +link-pie-tests): Use it.
16641         (+link-static, +link-static-tests): Likewise.
16642         (+link, +link-tests): Likewise.
16643         * Makerules (build-module, build-module-asneeded): Likewise.
16644         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16645         Likewise.
16646         * elf/Makefile ($(objpfx)ld.so): Likewise.
16648 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
16650         [BZ #17965]
16651         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16652         both struct timeval and struct timespec.
16654 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16656         [BZ #16560]
16657         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16658         and redefine.
16659         (__ieee754_exp2l): Do not multiply small fractional parts by
16660         M_LN2l.
16661         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16662         small argument.
16663         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16664         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16665         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16666         * math/auto-libm-test-in: Add more tests of exp2.
16667         * math/auto-libm-test-out: Regenerated.
16669 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16671         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16672         unaligned path.
16674 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16676         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16677         little endian.
16679 2015-02-12  Andreas Schwab  <schwab@suse.de>
16681         [BZ #15790]
16682         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16683         Filter out elision flags from value returned in kind.
16684         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16685         * nptl/tst-pthread-mutexattr.c: New file.
16687 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16689         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16690         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16691         into gnu-gnu, and update comment to refer to abi-tags.
16693 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
16695         [BZ #15467]
16696         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16697         (__sincos): Set errno to EDOM for infinite argument.
16698         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16699         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16700         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16701         (__sincosl): Set errno to EDOM for infinite argument.
16702         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16703         (__sincosl): Set errno to EDOM for infinite argument.
16704         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16705         (__sincosl): Set errno to EDOM for infinite argument.
16706         * math/libm-test.inc (sincos_test_data): Test errno setting.
16708 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
16710         * string/strxfrm_l.c: Remove #define STRCMP.
16711         * string/strcoll_l.c: Remove #define STRLEN.
16712         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16713         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16715 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
16717         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16718         * sysdeps/mips/mips32/sfp-machine.h: ... here.
16719         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16720         * sysdeps/mips/mips64/Makefile: ... here.
16721         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16722         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16723         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16724         * sysdeps/mips/mips64/sfp-machine.h: ... here.
16725         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16726         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16727         * sysdeps/mips/mips64/n64/Implies: Likewise.
16729 2015-02-10  Roland McGrath  <roland@hack.frob.com>
16731         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16732         <sys/time.h>, <string.h>, and <errno.h>.
16733         (dest_offset, dest_address, value, zero): Remove unused variables.
16734         (ldouble): Remove typedef.
16735         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16736         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
16737         1).  Fix code style.
16738         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16739         (check): Function removed.
16740         (CHECK): New macro.
16741         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
16742         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16743         Don't call set_sigaction_FP and remove_sigaction_FP here.
16744         (ldouble_test): Just use 'long double' as macro argument, no need for
16745         the 'ldouble' typedef.
16746         (do_test): Set up SIGFPE handler at start, using plain signal rather
16747         than sigaction.  Fix code style.
16749 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
16751         [BZ #17949]
16752         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16753         jump label.
16755 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16757         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16758         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16760         * sysdeps/powerpc/configure.ac: Remove file.
16761         * sysdeps/powerpc/configure: Likewise.
16763         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16764         [sysdep_routines]: Remove wordcopy-power6 object.
16765         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16766         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16767         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16768         (__memmove_ppc32): Likewise.
16769         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16770         file.
16771         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16772         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16773         Remove preprocessor.
16775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16776         [sysdep_routines]: Remove wide chars objects.
16777         [wcsmbs]: New rule for wide char objects.
16779         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16780         Remove wordcopy-power6 obejct.
16781         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
16782         Use local call for wordcopy and memcpy symbols.
16783         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
16784         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
16785         implementation for loader.
16786         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
16788         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16789         Remove wordcopy-power7 object.
16790         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
16791         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
16792         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
16793         (_wordcopy_fwd_dest_aligned): Likewise.
16794         (_wordcopy_bwd_aligned): Likewise.
16795         (_wordcopy_bwd_dest_aligned): Likewise.
16797         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
16798         Rewrite to call __memmove_ppc instead of include default
16799         implementation.
16801         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16802         Remove wide chars objects.
16803         [wcsmbs]: New rule for wide char objects.
16805 2015-02-09  Andreas Schwab  <schwab@suse.de>
16807         [BZ #17912]
16808         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16809         in terms of __O_DIRECTORY.
16811 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16813         * time/getdate.c: Include <stdbool.h>.
16814         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
16815         call PTR_MANGLE.
16816         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
16817         PTR_DEMANGLE.
16819 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
16821         Add ersatz _Static_assert on older C hosts
16822         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
16823         pre-C11 C platform that is not known to support _Static_assert.
16825 2015-02-07  Richard Braun  <rbraun@sceen.net>
16827         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
16828         sigstate.
16829         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
16831 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16833         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
16834         priority against unexistent AIO_PRIO_DELTA_MAX.
16835         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
16836         instead of int.
16837         * misc/fchflags.c (fchflags): Likewise.
16838         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
16839         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
16840         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16841         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
16842         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
16843         Declare macros.
16844         [__USE_MISC] (chflags, fchflags): Declare functions.
16845         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
16846         EINVAL when nfds is greater than FD_SETSIZE.
16847         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
16848         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
16849         45.
16850         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
16851         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
16852         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
16853         MACH_RCV_TIMED_OUT.
16854         * hurd/hurd/signal.h (_hurd_self_sigstate,
16855         _hurd_critical_section_lock, _hurd_critical_section_unlock):
16856         Explicit casts from void *.
16857         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
16858         * abi-tags: Rename gnu-gnu os into gnu.
16860         [BZ #4719]
16861         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
16862         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
16863         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
16864         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
16865         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
16866         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
16868         [BZ #17944]
16869         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
16870         duplicates ADDR->sun_path with sockaddr LEN limitation.
16871         * sysdeps/mach/hurd/connect.c: Include <string.h>
16872         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
16873         * sysdeps/mach/hurd/sendmsg.c: Likewise.
16874         * sysdeps/mach/hurd/sendto.c: Likewise.
16875         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
16876         implementing it by hand.
16878 2015-02-06  Roland McGrath  <roland@hack.frob.com>
16880         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
16881         Use sfi_breg on ldr.
16882         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
16883         Likewise.
16885         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
16886         it's defined.
16887         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
16888         Test SIGSETXID only if it's defined.
16890         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
16892         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
16893         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
16895         * nptl/tst-align2.c: Moved ...
16896         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
16897         * nptl/Makefile (tests): Remove tst-align2.
16898         * sysdeps/unix/sysv/linux/Makefile
16899         [$(subdir) = nptl] (tests): Add tst-align-clone.
16900         * nptl/tst-getpid1.c: Moved ...
16901         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
16902         * nptl/tst-getpid2.c: Moved ...
16903         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
16904         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
16905         * sysdeps/unix/sysv/linux/Makefile
16906         [$(subdir) = nptl] (tests): ... here.
16907         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
16908         * sysdeps/unix/sysv/linux/Makefile
16909         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
16911         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
16912         Drop trailing \n from perror argument.  Use return rather than exit.
16914         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
16915         on [SA_SIGINFO].
16916         * nptl/tst-cancel21.c (do_test): Likewise.
16917         * debug/tst-backtrace6.c: Include <signal.h> first thing.
16918         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
16919         [!SA_SIGINFO]: Make it a stub test.
16921         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
16922         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
16924         * posix/tst-getlogin.c: Move to ...
16925         * login/tst-getlogin.c: ... here.
16926         * posix/Makefile (tests): Move tst-getlogin to ...
16927         * login/Makefile (tests): ... here.
16929         * libio/tst-atime.c (do_test): Move local variables SV and E
16930         inside [ST_NOATIME] conditional.
16932         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
16934         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
16936         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
16937         (wait_code): New function replaces macro.
16938         Call nanosleep rather than syscall.
16940         * nptl/pt-system.c: Rewritten.  Put everything under
16941         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16942         Use IFUNC to redirect when possible.
16944         * nptl/pt-longjmp.c: Rewritten.  Put everything under
16945         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16946         Use IFUNC to redirect when possible.
16948         * nptl/pt-fork.c: Rewritten.  Put everything under
16949         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16950         Use IFUNC to redirect when possible.
16951         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
16953         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
16954         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
16955         unconditionally nowadays.  This included the only reference to
16956         __vdso_clock_gettime that appears outside libc proper.
16957         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
16958         Remove version set (containing only __vdso_clock_gettime).
16959         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16960         Add attribute_hidden.
16961         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16962         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
16963         libc_hidden_data_def.
16964         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16965         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16967         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
16968         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
16969         setrpcent, and getrpcport to ...
16970         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
16971         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
16972         getrpcbynumber_r, and getrpcent_r to ...
16973         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
16974         * inet/getrpcbyname.c: Moved ...
16975         * sunrpc/getrpcbyname.c: ... here.
16976         * inet/getrpcbyname_r.c: Moved ...
16977         * sunrpc/getrpcbyname_r.c: ... here.
16978         * inet/getrpcbynumber.c: Moved ...
16979         * sunrpc/getrpcbynumber.c: ... here.
16980         * inet/getrpcbynumber_r.c: Moved ...
16981         * sunrpc/getrpcbynumber_r.c: ... here.
16982         * inet/getrpcent.c: Moved ...
16983         * sunrpc/getrpcent.c: ... here.
16984         * inet/getrpcent_r.c: Moved ...
16985         * sunrpc/getrpcent_r.c: ... here.
16986         * inet/Makefile (routines): Move those to ...
16987         * sunrpc/Makefile (routines): ... here.
16988         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
16989         the $(subdirs) list.
16990         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
16991         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
16992         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
16993         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
16995         * elf/Makefile (routines): Include $(all-dl-routines), not just
16996         $(dl-routines).
16997         (rtld-routines): Likewise.  Use = rather than :=.
16998         * sysdeps/aarch64/Makefile [$(subdir) = elf]
16999         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
17000         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
17001         * sysdeps/arm/Makefile: Likewise.
17002         * sysdeps/i386/Makefile: Likewise.
17003         * sysdeps/x86_64/Makefile: Likewise.
17004         * sysdeps/hppa/Makefile [$(subdir) = elf]
17005         (sysdep_routines, sysdep-rtld-routines): Don't add
17006         $(sysdep-dl-routines) to these.
17007         * sysdeps/ia64/Makefile: Likewise.
17008         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
17009         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
17010         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
17011         Don't add dl-static to these; sysdep-dl-routines alone is enough.
17012         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
17013         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
17014         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
17015         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
17016         * sysdeps/powerpc/Makefile [$(subdir) = elf]
17017         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
17018         these; sysdep-dl-routines alone is enough.
17020 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
17022         [BZ #17932]
17023         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
17024         where multiplication results in zero and third argument is finite
17025         and nonzero.
17026         * math/auto-libm-test-in: Add more tests of fma.
17027         * math/auto-libm-test-out: Regenerated.
17029         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
17030         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
17031         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
17032         (_FP_CMP_EQ): Likewise.
17033         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
17035         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
17036         extra argument CHECK_NAN.  Redefine as wrapper around
17037         _FP_EXTEND_CNAN.
17039 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
17041         * version.h (RELEASE): Set to "stable".
17042         (VERSION): Set to "2.21"
17043         * include/features.h (__GLIBC_MINOR__): Set to 21.
17045         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
17047 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17048             Paul Eggert  <eggert@cs.ucla.edu>
17050         [BZ #16618]
17051         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
17052         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
17053         size in bytes. Store needed elements in wpmax. Use needed size
17054         in bytes for extend_alloca.
17056 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
17058         * manual/install.texi: Latest tested versions are GCC 4.9.2,
17059         binutls 2.25, and texinfo 5.2.
17060         * INSTALL: Regenerate.
17061         * sysdeps/nios2/configure: Regenerate.
17062         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
17063         * manual/contrib.texi: Update.
17064         * po/be.po: Update.
17065         * po/bg.po: Update.
17066         * po/ca.po: Update.
17067         * po/cs.po: Update.
17068         * po/da.po: Update.
17069         * po/de.po: Update.
17070         * po/el.po: Update.
17071         * po/eo.po: Update.
17072         * po/es.po: Update.
17073         * po/fi.po: Update.
17074         * po/fr.po: Update.
17075         * po/gl.po: Update.
17076         * po/hr.po: Update.
17077         * po/hu.po: Update.
17078         * po/ia.po: Update.
17079         * po/id.po: Update.
17080         * po/it.po: Update.
17081         * po/ja.po: Update.
17082         * po/ko.po: Update.
17083         * po/lt.po: Update.
17084         * po/nb.po: Update.
17085         * po/nl.po: Update.
17086         * po/pl.po: Update.
17087         * po/pt_BR.po: Update.
17088         * po/ru.po: Update.
17089         * po/rw.po: Update.
17090         * po/sk.po: Update.
17091         * po/sl.po: Update.
17092         * po/sv.po: Update.
17093         * po/tr.po: Update.
17094         * po/uk.po: Update.
17095         * po/vi.po: Update.
17096         * po/zh_CN.po: Update.
17097         * po/zh_TW.po: Update.
17099         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
17100         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
17101         * sysdeps/hppa/dl-irel.h: Remove #warning.
17102         * sysdeps/hppa/entry.h: Provide prototype for
17103         __canonicalize_funcptr_for_compare and cast argument.
17104         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
17105         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
17106         * sysdeps/hppa/sotruss-lib.c: New file.
17107         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
17108         (atomic_compare_and_exchange_val_acq): Use __typeof__.
17109         (atomic_compare_and_exchange_bool_acq): Likewise.
17110         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
17111         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
17113         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
17114         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
17115         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
17117 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
17119         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
17120         called function in non-PIC case.
17122 2015-01-31  David S. Miller  <davem@davemloft.net>
17124         * sysdeps/sparc/sparc32/bits/atomic.h
17125         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
17126         unlock not after it.
17127         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
17128         volatile register usage warnings from the compiler.
17130         * sysdeps/sparc/nptl/sem_init.c: Delete.
17131         * sysdeps/sparc/nptl/sem_post.c: Delete.
17132         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
17133         * sysdeps/sparc/nptl/sem_wait.c: Delete.
17134         * sysdeps/sparc/sparc32/sem_init.c: New file.
17135         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
17136         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
17137         padding explicitly initialized.
17138         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
17139         padding for in-semaphore spinlock.
17140         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
17141         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
17142         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
17143         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
17144         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
17145         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
17146         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
17147         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
17148         version.
17149         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
17150         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
17152 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
17154         [BZ #17801]
17155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17156         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
17157         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
17158         New.
17159         (index_AVX_Fast_Unaligned_Load): Likewise.
17160         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
17161         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
17162         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
17163         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
17164         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
17165         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
17166         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
17167         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
17168         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
17170 2015-01-29  Andreas Schwab  <schwab@suse.de>
17172         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
17174 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
17176         [BZ #17892]
17177         * nscd/nscd_stat.c (send_stats): Initialize DATA.
17179 2015-01-28  Martin Sebor  <msebor@redhat.com>
17181         * math/README.libm-test: Clarify. Add "How to read the test output."
17183 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
17185         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
17186         Define to 0.
17188 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
17190         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
17191         (__HAVE_64B_ATOMICS): Define to 0.
17193 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17195         [BZ #17885]
17196         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
17197         value to set as new flag.
17199         [BZ #16576]
17200         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
17201         and use _ARCH_PPCSQ instead.
17202         (__ieee754_sqrt): Likewise.
17203         (__ieee754_sqrtf): Likewise.
17204         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
17205         _ARCH_PPCSQ is defined.
17206         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
17207         fsqrt instruction.
17208         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
17209         _ARCH_PPCSQ is defined.
17210         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
17211         fsqrts instruction.
17212         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
17214 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17216         * iconv/loop.c: Suppress array out of bound warning caused by GCC
17217         bug (GCC BZ #64739).
17219 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
17221         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
17222         Mark _retval as used.
17223         (lll_futex_wake_unlock): Likewise.
17224         (lll_futex_timed_wait_requeue_pi): Likewise.
17226         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17227         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
17228         register variables.
17230         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
17231         libm_hidden_def.
17233         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
17234         (__bswap_64): Mark as __always_inline.
17236 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
17238         [BZ #15378]
17239         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
17240         when none of the search directories exist.
17242 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17244         [BZ #17869]
17245         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
17246         power8 in .machine directive.
17248         [BZ #17868]
17249         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
17250         set dependency from opd value.
17252 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17255         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
17256         architecture.
17258 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17260         [BZ #17870]
17261         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
17262         with uint64_t.
17263         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
17264         (uint64_t) 1.
17265         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
17266         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
17267         Replace 1UL with (uint64_t) 1.
17268         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
17269         int with uint64_t.
17271 2015-01-23  Roland McGrath  <roland@hack.frob.com>
17273         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
17274         (if_freenameindex): Likewise.
17276         * resource/getrlimit64.c: Add missing libc_hidden_def.
17278 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
17280         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
17281         __label__.
17282         (_FP_FMA): Likewise.
17283         (_FP_TO_INT_ROUND): Likewise.
17284         (_FP_FROM_INT): Likewise.
17286 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17288         [BZ #16418]
17289         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17290         Make code racy and cancel safe.
17292 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
17294         * sysdeps/arm/unwind-resume.h: Fix copyright year.
17295         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
17296         attribution.
17298         * pwd/tst-getpw.c: Rewrite.
17300         [BZ #17702]
17301         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
17302         (modules-names): Add moddummy1 and moddummy2.
17303         ($(objpfx)tst-rec-dlopen): Define.
17304         * dlfcn/moddummy1.c: New file.
17305         * dlfcn/moddummy2.c: New file.
17306         * dlfcn/tst-rec-dlopen.c: New file.
17307         * elf/dl-cache.c (_dl_load_cache_lookup):
17308         Return char*. Copy result with alloca/strcpy/strdup.
17309         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
17310         returns char*. Free cached. If not saving realname
17311         free cached.
17312         * elf/dl-open.c (dl_open_worker): Do not assert that
17313         _r_debug->r_state is RT_CONSISTENT.
17314         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
17315         returns char*.
17317 2015-01-21  Torvald Riegel  <triegel@redhat.com>
17318             Carlos O'Donell  <carlos@redhat.com>
17320         [BZ #12674]
17321         * nptl/sem_waitcommon.c: New file.
17322         * nptl/sem_wait.c: Include sem_waitcommon.c.
17323         (__sem_wait_cleanup, do_futex_wait): Remove.
17324         (__new_sem_wait): Adapt.
17325         (__new_sem_trywait): New function.
17326         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
17327         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
17328         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
17329         (sem_timedwait): Adapt.
17330         * nptl/sem_post.c (__new_sem_post): Adapt.
17331         (futex_wake): New function.
17332         (__old_sem_post): Add release MO fence.
17333         * nptl/sem_open.c (sem_open): Adapt.
17334         * nptl/sem_init.c (__new_sem_init): Adapt.
17335         (futex_private_if_supported): New function.
17336         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
17337         (__old_sem_getvalue): Add using previous code.
17338         * sysdeps/nptl/internaltypes.h: Adapt.
17339         * nptl/tst-sem13.c (do_test): Adapt.
17340         * nptl/tst-sem11.c (main): Adapt.
17341         * nptl/sem_trywait.c: Remove.
17342         * nptl/DESIGN-sem.txt: Remove.
17343         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
17344         (gen-as-const-headers): Remove structsem.sym.
17345         * nptl/structsem.sym: Remove.
17346         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
17347         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
17348         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
17349         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
17350         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
17351         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
17352         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
17353         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
17354         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
17355         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
17356         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
17357         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
17358         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
17359         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
17360         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
17361         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
17362         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
17363         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
17364         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
17365         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
17366         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
17367         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
17369 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
17371         * INSTALL: Regenerated.
17373         * po/libc.pot: Regenerated.
17375 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
17376             Sandra Loosemore  <sandra@codesourcery.com>
17377             Andrew Jenner  <andrew@codesourcery.com>
17378             Joseph Myers  <joseph@codesourcery.com>
17379             Nathan Sidwell  <nathan@codesourcery.com>
17381         * NEWS: Mention new Nios II port.
17382         * sysdeps/nios2/Implies: New file.
17383         * sysdeps/nios2/Makefile: New file.
17384         * sysdeps/nios2/Subdirs: New file.
17385         * sysdeps/nios2/Versions: New file.
17386         * sysdeps/nios2/__longjmp.S: New file.
17387         * sysdeps/nios2/abort-instr.h: New file.
17388         * sysdeps/nios2/backtrace.c: New file.
17389         * sysdeps/nios2/bits/endian.h: New file.
17390         * sysdeps/nios2/bits/fenv.h: New file.
17391         * sysdeps/nios2/bits/link.h: New file.
17392         * sysdeps/nios2/bits/setjmp.h: New file.
17393         * sysdeps/nios2/bsd-_setjmp.S: New file.
17394         * sysdeps/nios2/bsd-setjmp.S: New file.
17395         * sysdeps/nios2/configure: New generated file.
17396         * sysdeps/nios2/configure.ac: New file.
17397         * sysdeps/nios2/crti.S: New file.
17398         * sysdeps/nios2/crtn.S: New file.
17399         * sysdeps/nios2/dl-init.c: New file.
17400         * sysdeps/nios2/dl-machine.h: New file.
17401         * sysdeps/nios2/dl-sysdep.h: New file.
17402         * sysdeps/nios2/dl-tls.h: New file.
17403         * sysdeps/nios2/dl-trampoline.S: New file.
17404         * sysdeps/nios2/gccframe.h: New file.
17405         * sysdeps/nios2/gmp-mparam.h: New file.
17406         * sysdeps/nios2/jmpbuf-offsets.h: New file.
17407         * sysdeps/nios2/jmpbuf-unwind.h: New file.
17408         * sysdeps/nios2/ldsodefs.h: New file.
17409         * sysdeps/nios2/libc-tls.c: New file.
17410         * sysdeps/nios2/libm-test-ulps: New file.
17411         * sysdeps/nios2/machine-gmon.h: New file.
17412         * sysdeps/nios2/math-tests.h: New file.
17413         * sysdeps/nios2/math_private.h: New file.
17414         * sysdeps/nios2/memusage.h: New file.
17415         * sysdeps/nios2/nptl/Makefile: New file.
17416         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
17417         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
17418         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
17419         * sysdeps/nios2/nptl/pthreaddef.h: New file.
17420         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
17421         * sysdeps/nios2/nptl/tls.h: New file.
17422         * sysdeps/nios2/preconfigure: New file.
17423         * sysdeps/nios2/s_fma.c: New file.
17424         * sysdeps/nios2/s_fmaf.c: New file.
17425         * sysdeps/nios2/setjmp.S: New file.
17426         * sysdeps/nios2/sfp-machine.h: New file.
17427         * sysdeps/nios2/sotruss-lib.c: New file.
17428         * sysdeps/nios2/stackguard-macros.h: New file.
17429         * sysdeps/nios2/stackinfo.h: New file.
17430         * sysdeps/nios2/start.S: New file.
17431         * sysdeps/nios2/sysdep.h: New file.
17432         * sysdeps/nios2/tls-macros.h: New file.
17433         * sysdeps/nios2/tst-audit.h: New file.
17434         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
17435         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
17436         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
17437         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
17438         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
17439         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
17440         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
17441         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
17442         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
17443         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
17444         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
17445         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
17446         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
17447         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
17448         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
17449         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
17450         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
17451         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
17452         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
17453         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
17454         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
17455         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
17456         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
17457         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
17458         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
17459         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
17460         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
17461         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
17462         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
17463         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
17464         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
17465         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
17466         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
17467         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
17468         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
17469         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
17470         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
17471         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
17472         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
17473         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
17474         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
17475         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
17476         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
17477         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
17479 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17481         [BZ #17844]
17482         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
17483         (getutent): Use weak_alias in non SHARED case
17484         and default_symbol_version in SHARED case.
17485         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
17486         (getutent_r, pututline): Likewise.
17487         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
17488         (getutid): Likewise.
17489         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
17490         (getutid_r): Likewise.
17491         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
17492         (getutline): Likewise.
17493         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
17494         (getutline_r): Likewise.
17495         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
17496         (updwtmp): Likewise.
17498 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17500         [BZ #17848]
17501         * sysdeps/s390/s390-32/memcmp.S
17502         (memcmp_g5): Rename to __memcmp_g5.
17503         * sysdeps/s390/s390-32/memcpy.S
17504         (memcpy_g5): Rename to __memcpy_g5.
17505         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17506         (memcpy_mvcle) Rename to __memcpy_mvcle.
17507         * sysdeps/s390/s390-32/memset.S
17508         (memset_g5): Rename to __memset_g5.
17509         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17510         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17511         and use prefixed functions.
17512         * sysdeps/s390/s390-32/multiarch/memcmp.S
17513         (memcmp_z196): Rename to __memcmp_z196.
17514         (memcmp_z10): Rename to __memcmp_z10.
17515         (memcmp): Set alias to __memcmp_g5.
17516         (bcmp): Set alias to __memcmp_g5.
17517         * sysdeps/s390/s390-32/multiarch/memcpy.S
17518         (memcpy_z196): Rename to __memcpy_z196.
17519         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17520         (memcpy_z10): Rename to __memcpy_z10.
17521         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17522         (memcpy): Set alias to __memcpy_g5.
17523         * sysdeps/s390/s390-32/multiarch/memset.S
17524         (memset_z196): Rename to __memset_z196.
17525         Jump to __memset_mvcle instead of memset_mvcle.
17526         (memset_z10): Rename to __memset_z10.
17527         Jump to __memset_mvcle instead of memset_mvcle.
17528         (memset_mvcle) Rename to __memset_mvcle.
17529         (memset): Set alias to __memset_g5.
17530         * sysdeps/s390/s390-64/memcmp.S
17531         (memcmp_z900): Rename to __memcmp_z900.
17532         * sysdeps/s390/s390-64/memcpy.S
17533         (memcpy_z900): Rename to __memcpy_z900.
17534         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17535         (memcpy_mvcle) Rename to __memcpy_mvcle.
17536         * sysdeps/s390/s390-64/memset.S
17537         (memset_z900): Rename to __memset_z900.
17538         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
17539         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17540         and use prefixed functions.
17541         * sysdeps/s390/s390-64/multiarch/memcmp.S
17542         (memcmp_z196): Rename to __memcmp_z196.
17543         (memcmp_z10): Rename to __memcmp_z10.
17544         (memcmp): Set alias to __memcmp_z900.
17545         (bcmp): Set alias to __memcmp_z900.
17546         * sysdeps/s390/s390-64/multiarch/memcpy.S
17547         (memcpy_z196): Rename to __memcpy_z196.
17548         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17549         (memcpy_z10): Rename to __memcpy_z10.
17550         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17551         (memcpy): Set alias to __memcpy_z900.
17552         * sysdeps/s390/s390-64/multiarch/memset.S
17553         (memset_z196): Rename to __memset_z196.
17554         Jump to __memset_mvcle instead of memset_mvcle.
17555         (memset_z10): Rename to __memset_z10.
17556         Jump to __memset_mvcle instead of memset_mvcle.
17557         (memset_mvcle) Rename to __memset_mvcle.
17558         (memset): Set alias to __memset_z900.
17560 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
17562         [BZ #17748]
17563         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
17564         __fesetenv instead of fesetenv.
17566 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17568         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
17569         macro.
17571 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17573         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
17574         regression on LE.
17576         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
17577         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
17578         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17579         strncmp-power8 object.
17580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17581         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
17582         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
17583         * NEWS: Update.
17585 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17586             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17588         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
17589         trailing byte check.
17591 2015-01-13  David S. Miller  <davem@davemloft.net>
17593         * include/signal.h (__sigreturn): Guard with __USE_MISC.
17595 2015-01-13  Roland McGrath  <roland@hack.frob.com>
17597         * login/logout.c (logout): Use memset rather than bzero.
17598         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
17599         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
17600         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
17601         (_gethtbyaddr): Likewise.
17602         * locale/programs/simple-hash.c (bcopy): Macro removed.
17604 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17606         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17607         Add strcmp-power8 object.
17608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17609         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
17610         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
17611         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
17612         __strcmp_power8 implementation.
17613         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
17614         * NEWS: Update.
17616         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17617         Add strncpy-power8 and stpncpy-power8 objects.
17618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17619         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17620         implementations.
17621         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17622         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17623         __stpncpy_power8 implementation.
17624         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17625         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17626         __strncpy_power8 implementation.
17627         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17628         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17629         * NEWS: Update.
17631         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17632         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17633         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17635         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17636         strncat-power8 object.
17637         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17638         __strcat_power8 implementation.
17639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17640         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17641         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17642         optimized strcat for power8.
17644         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17645         strcpy-power8 and stpcpy-power8 objects.
17646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17647         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17648         implementations.
17649         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17650         multiarch stpcpy implementation for POWER8.
17651         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17652         multiarch strcpy implementation for POWER8.
17653         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17654         __strcpy_power8 function.
17655         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17656         stpcpy for POWER8.
17657         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17658         strcpy for POWER8.
17659         * NEWS: Update.
17661 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
17663         [BZ #16009]
17664         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17665         weights and rules. Use do_xfrm_cached if data fits in cache,
17666         do_xfrm otherwise.  Moved former main loop to...
17667         * (do_xfrm_cached): New function.
17668         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17669         find_idx, find_position and stack_push.
17670         * (find_idx): New function.
17671         * (find_position): Likewise.
17672         * localedata/sort-test.sh: Added test run for do_xfrm.
17673         * localedata/xfrm-test.c (main): Added command line option
17674         -nocache to run the test with strings that are too large for
17675         the STRXFRM cache.
17677 2015-01-13  Torvald Riegel  <triegel@redhat.com>
17679         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17680         variable to lll_futex_wake call, not the value itself.
17682 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
17684         [BZ #17803]
17685         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17686         twom64.  Adjust value to 0x1p-64L.
17687         (__scalblnl): Only return standard underflowing result for K <=
17688         -64 not K <= -63; adjust exponent for underflowing result by 64
17689         not 63.
17690         * math/libm-test.inc (scalbn_test_data): Add more tests.
17691         (scalbln_test_data): Likewise.
17693         [BZ #17834]
17694         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17695         0x1p63L.
17696         (__scalblnl): Get new exponent of adjusted subnormal value from ES
17697         not HX.
17698         * math/libm-test.inc (scalbn_test_data): Add more tests.
17699         (scalbln_test_data): Likewise.
17701 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17702             Stefani Seibold  <stefani@seibold.net>
17704         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17705         (sysdep_routines): Add dl-vdso here, ...
17706         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17707         (sysdep_routines): ... not here.
17708         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17709         fallback when vDSO is not presented.
17710         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17711         Define with libc_hidden_proto/libc_hidden_data_def definitions.
17712         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17713         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17714         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17715         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17716         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17717         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17718         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17719         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17720         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
17721         fallback configurable symbol when vDSO is not available.
17722         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17723         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
17724         be able to redefine fallback symbol when vDSO is not available.
17725         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17726         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17728 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17730         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17731         (TLS_INIT_TP): Add tm_capable initialization.
17732         (TLS_DEFINE_INIT_TP): Likewise.
17733         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17734         TCB.
17735         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17736         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17737         calculation.
17738         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17739         transactoion is lock elision is built and TCB tm_capable is set.
17740         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17742         (INTERNAL_SYSCALL_NCS): Likewise.
17743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17744         (INTERNAL_SYSCALL_NCS): Likewise.
17745         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17747         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17748         for powerpc.
17749         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17750         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17751         and remove it for 32 bits case.
17752         [pthread_rwlock_t] (__rwelision): New field for lock elision.
17753         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17754         initialization.
17755         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17756         Disable lock elision with rdlocks if elision is not available.
17758         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17759         (sysdep_routines): Add lock elision objects.
17760         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17761         [pthread_mutex_t] (__spins): Rework to add lock elision field.
17762         [pthread_mutex_t] (__elision): Add field.
17763         [__PTHREAD_SPINS]: Adjust to init lock elision field.
17764         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17765         elision definitions for powerpc.
17766         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17767         implementation of lock elision for powerpc.
17768         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17769         implementation of timed lock elision for powerpc.
17770         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17771         implementation of trylock with lock elision for powerpc.
17772         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17773         implementaion of unlock for lock elision for powerpc.
17774         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
17775         automatic enable lock elision for mutexes.
17776         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
17777         transaction execution definitions for powerpc.
17778         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
17779         definitions.
17780         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
17781         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
17782         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
17783         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
17784         * NEWS: Update.
17786 2015-01-09  Roland McGrath  <roland@hack.frob.com>
17788         * sysdeps/posix/shm-directory.c: Use <> rather than ""
17789         for #include of <shm-directory.h>.
17791 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
17793         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
17794         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
17796 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
17798         [BZ #17791]
17799         * NEWS: Mention bug fix.
17800         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
17801         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17802         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
17804 2015-01-09  Torvald Riegel <triegel@redhat.com>
17806         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
17808 2015-01-09  Torvald Riegel <triegel@redhat.com>
17810         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
17812 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17814         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
17815         pointer and cast to uintptr_t.
17817 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17819         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
17820         removed.
17821         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
17823 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17825         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
17826         of 0.
17828 2015-01-08  Roland McGrath  <roland@hack.frob.com>
17830         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
17831         <nptl/pthreadP.h> instead.
17832         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17834         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
17835         already defined.
17836         [__SIGRTMIN] (init): Function removed.
17837         [__SIGRTMIN] (initialized): Variable removed.
17838         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
17839         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
17840         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
17841         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
17842         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
17843         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
17844         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
17845         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
17846         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
17847         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17848         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
17849         * sysdeps/nptl/allocrtsig.c: New file.
17850         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
17851         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
17852         * sysdeps/generic/testrtsig.h: File removed.
17854         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
17855         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
17857         * nptl/nptl-init.c (pthread_functions): Conditionalize
17858         .ptr__nptl_setxid initialization on [SIGSETXID].
17860         * sysdeps/nptl/sys/procfs.h: New file.
17861         * nptl_db/Makefile (headers): Add it.
17862         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
17864         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
17865         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
17866         * nptl/pthread_attr_setaffinity.c: Include it.
17867         * nptl/pthread_setattr_default_np.c: Likewise.
17868         * nptl/check-cpuset.h: New file.
17870 2015-01-08  Richard Henderson  <rth@redhat.com>
17872         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
17873         (CFLAGS-tst-execstack-prog.c): Likewise.
17874         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
17876 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
17877             Sandra Loosemore  <sandra@codesourcery.com>
17878             Andrew Jenner  <andrew@codesourcery.com>
17879             Joseph Myers  <joseph@codesourcery.com>
17880             Nathan Sidwell  <nathan@codesourcery.com>
17882         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
17883         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
17884         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
17885         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
17886         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
17887         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
17888         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
17889         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
17890         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
17891         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
17892         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
17893         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
17894         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
17895         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
17896         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
17897         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
17898         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
17900 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17902         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
17903         timespec struct member in syscall macro.
17904         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17905         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
17906         first timeval struct member in syscall macro.
17907         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
17909 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
17911         [BZ #17748]
17912         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
17913         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
17914         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
17915         __feupdateenv and define as weak alias of __feupdateenv.  Use
17916         libm_hidden_weak.
17917         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
17918         libm_hidden_def.
17919         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
17920         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
17921         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17922         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
17923         libm_hidden_def.
17924         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
17925         __feupdateenv and define as weak alias of __feupdateenv.  Use
17926         libm_hidden_weak.
17927         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
17928         libm_hidden_def.
17929         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
17930         __feupdateenv and define as weak alias of __feupdateenv.  Use
17931         libm_hidden_weak.
17932         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
17933         libm_hidden_def.
17934         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17935         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17936         (__feupdateenv): Likewise.
17937         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
17938         __feupdateenv and define as weak alias of __feupdateenv.  Use
17939         libm_hidden_weak.
17940         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17941         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
17942         libm_hidden_def.
17943         * sysdeps/tile/math_private.h (__feupdateenv): New inline
17944         function.
17945         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
17946         libm_hidden_def.
17947         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
17948         __feupdateenv instead of feupdateenv.
17949         (default_libc_feupdateenv_test): Likewise.
17950         (libc_feresetround_ctx): Likewise.
17952 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17954         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
17955         prototype.
17957 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
17959         * posix/regcomp.c (parse_bracket_exp): Initialize type to
17960         COLL_SYM in a couple of places to avoid uninitialized variable
17961         wanings on tilegx gcc 4.8.2.
17963 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17965         * sysdeps/aarch64/strcpy.S: New file.
17966         * sysdeps/aarch64/stpcpy.S: New file.
17967         * NEWS: Updated.
17969 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17971         * sysdeps/aarch64/strrchr.S: New file.
17972         * NEWS: Updated.
17974 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
17976         [BZ #17658]
17977         * stdlib/setenv.c: Fix memory leak when setting large,
17978         duplicate string.
17980 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
17982         [BZ #17273]
17983         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
17984         and tabs from buffer before parsing fstab entry.
17985         * misc/tst-mntent.c (main): Add test for mount entry with
17986         trailing spaces and tabs.
17988 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
17990         [BZ #17748]
17991         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
17992         * math/fesetround.c (fesetround): Rename to __fesetround and
17993         define as weak alias of __fesetround.  Use libm_hidden_weak.
17994         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
17995         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
17996         * sysdeps/arm/fesetround.c (fesetround): Likewise.
17997         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
17998         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
17999         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
18000         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
18001         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
18002         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
18003         __fesetround_inline.
18004         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
18005         __fesetround_inline instead of __fesetround.
18006         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
18007         __fesetround and define as weak alias of __fesetround.  Use
18008         libm_hidden_weak.  Call __fesetround_inline instead of
18009         __fesetround.
18010         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
18011         __fesetround and define as weak alias of __fesetround.  Use
18012         libm_hidden_weak.
18013         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
18014         Likewise.
18015         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
18016         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18017         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
18018         * sysdeps/tile/math_private.h (__fesetround): New inline function.
18019         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
18020         __fesetround and define as weak alias of __fesetround.  Use
18021         libm_hidden_weak.
18022         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
18023         __fesetround instead of fesetround.
18024         (default_libc_feholdexcept_setround): Likewise.
18025         (libc_feholdsetround_ctx): Likewise.
18026         (libc_feholdsetround_noex_ctx): Likewise.
18028         [BZ #17748]
18029         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
18030         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
18031         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18032         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18033         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18034         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
18035         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18036         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18037         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18038         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18039         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18040         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18041         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18042         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18043         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
18044         libm_hidden_def.
18045         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
18046         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
18047         Likewise.
18048         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18049         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18050         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18051         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18052         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
18053         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18054         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18055         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
18056         __fesetenv instead of fesetenv.
18057         (libc_feresetround_noex_ctx): Likewise.
18058         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18059         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18060         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
18061         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18062         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18063         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18064         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18065         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18066         (__feupdateenv): Likewise.
18067         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18068         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18069         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18070         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
18072 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18074         [BZ #17806]
18075         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
18076         addresses have been freed.
18078 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18080         * resolv/res_init.c (__res_vinit): Improve comments about nserv
18081         and nservall.
18083 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
18085         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
18086         Clean up check_pf allocation pattern. addresses
18088 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18090         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
18091         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
18092         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
18093         * nptl/pthread_exit.c (__pthread_exit): Likewise.
18094         * nptl/pthread_join.c (pthread_join): Likewise.
18095         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18096         * sysdeps/posix/waitid.c (__waitid): Likewise.
18097         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18098         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18099         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18100         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18101         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18102         Likewise.
18103         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18104         (__libc_pread64): Likewise.
18105         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18106         (__libc_pwrite): Likewise.
18107         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18108         (__libc_pwrite64): Likewsie.
18109         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18110         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18111         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18112         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18113         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18114         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18115         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18117         Likewise.
18118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18119         (__libc_pread64): Likewise.
18120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
18121         Likewise.
18122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18123         (__libc_pwrite64): Likewise.
18124         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18125         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18126         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
18127         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
18128         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18129         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18130         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
18131         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18132         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18133         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18134         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
18135         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18136         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18137         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
18138         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18139         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18140         Likewise.
18142 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18144         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
18145         (CFLAGS-test-double.c): Likewise.
18146         (CFLAGS-test-ldouble.c): Likewise.
18147         (CPPFLAGS-test-ifloat.c): Likewise.
18148         (CPPFLAGS-test-idouble.c): Likewise.
18149         (CPPFLAGS-test-ildoubl.c): Likewise.
18150         (CFLAGS-test-test-fenv.c): Remove variable.
18151         (CFLAGS-test-misc.c): Likewise.
18153 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
18155         [BZ #17797]
18156         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
18157         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
18158         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
18159         CLOCKS_PER_SEC == 1000000.
18160         * time/clocktest.c (main): Replace %ld with %jd and cast to
18161         intmax_t.
18163 2015-01-05  Roland McGrath  <roland@hack.frob.com>
18165         * sysdeps/generic/unwind-resume.h: New file.
18166         * sysdeps/gnu/unwind-resume.c: Include it.
18167         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
18168         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
18169         argument list.
18170         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
18171         global rather than static.
18172         (_Unwind_Resume): Update user.
18173         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
18174         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
18175         rather than static.  Add __attribute__ ((cold)).
18176         (_Unwind_Resume, __gcc_personality_v0): Update callers.
18177         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18178         * sysdeps/arm/arm-unwind-resume.S: New file.
18179         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
18180         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
18181         * sysdeps/arm/Makefile [$(subdir) = csu]
18182         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
18183         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18184         Add rt-arm-unwind-resume.
18185         [$(subdir) = nptl]
18186         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18187         Add pt-arm-unwind-resume.
18188         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
18189         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
18191 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18193         [BZ #17748]
18194         * include/fenv.h (__feholdexcept): Declare.  Use
18195         libm_hidden_proto.
18196         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
18197         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
18198         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18199         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
18200         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
18201         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
18202         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
18203         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18204         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
18205         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
18206         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18207         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
18208         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
18209         (feholdexcept): Likewise.
18210         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18211         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18212         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18213         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18214         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
18215         __feholdexcept instead of feholdexcept.
18216         (default_libc_feholdexcept_setround): Likewise.
18218 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18220         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
18221         to avoid using stl/str to align destination.
18223 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18225         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
18227 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18229         [BZ #17796]
18230         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
18231         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
18232         Define as weak alias not strong alias.
18234 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18236         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
18237         bltzal with addiupc.
18238         (RTLD_START): Ditto.
18240 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
18242         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
18243         for __vdso_* functions in declarations.
18244         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
18245         definitions.
18246         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
18247         INTERNAL_VSYSCALL): Use struct return types to check for error.
18249         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
18250         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
18251         function with cast from llround().
18252         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
18253         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18254         Define.
18256 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18258         [BZ #17793]
18259         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
18260         Define as weak alias not strong alias.
18262         [BZ #17635]
18263         * ctype/ctype-c99.c: New file.  isblank implementation moved from
18264         ...
18265         * ctype/ctype-extn.c: ... here.
18266         (__isblank_l): Move to ...
18267         * ctype/ctype-c99_l.c: ... here.  New file.
18268         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
18269         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
18270         Remove variable.
18271         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18272         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18273         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18274         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18275         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18277         [BZ #17777]
18278         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
18279         (posix_fadvise64): Define as weak alias not strong alias.
18280         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18281         (posix_fallocate64): Likewise.
18282         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
18283         Remove variable.
18284         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18285         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18286         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18287         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18288         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18290 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
18292         [BZ #16191]
18293         * NEWS: Mention bug fix.
18294         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
18295         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
18296         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
18297         (HOST_STACK_END_ADDR): Likewise.
18299 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18301         [BZ #17748]
18302         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
18303         * math/fegetround.c (fegetround): Rename to __fegetround and
18304         define as weak alias of __fegetround.  Use libm_hidden_weak.
18305         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
18306         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
18307         * sysdeps/arm/fegetround.c (fegetround): Likewise.
18308         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
18309         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18310         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
18311         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
18312         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
18313         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18314         Undefine after rather than before function definition; use
18315         parentheses around function name in definition.
18316         (__fegetround): Also undefine macro after function definition.
18317         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
18318         __fegetround and define as weak alias of __fegetround.  Use
18319         libm_hidden_weak.  Do not undefine as macro.
18320         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18321         Likewise.
18322         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
18323         __fegetround and define as weak alias of __fegetround.  Use
18324         libm_hidden_weak.
18325         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18326         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18327         * sysdeps/tile/math_private.h (__fegetround): New inline function.
18328         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
18329         __fegetround and define as weak alias of __fegetround.  Use
18330         libm_hidden_weak.
18331         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
18332         __fegetround instead of fegetround.
18334         [BZ #17782]
18335         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
18336         Condition macro definition on [__USE_MISC].
18338         [BZ #17781]
18339         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18340         (struct sigaction): Change type of sa_flags field to int.
18342         [BZ #17780]
18343         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
18344         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
18345         __glibc_reserved0.
18347         * nptl/version.c (banner): Use single year in copyright notice.
18349         * NEWS: Update copyright dates.
18350         * catgets/gencat.c (print_version): Likewise.
18351         * csu/version.c (banner): Likewise.
18352         * debug/catchsegv.sh: Likewise.
18353         * debug/pcprofiledump.c (print_version): Likewise.
18354         * debug/xtrace.sh (do_version): Likewise.
18355         * elf/ldconfig.c (print_version): Likewise.
18356         * elf/ldd.bash.in: Likewise.
18357         * elf/pldd.c (print_version): Likewise.
18358         * elf/sotruss.sh: Likewise.
18359         * elf/sprof.c (print_version): Likewise.
18360         * iconv/iconv_prog.c (print_version): Likewise.
18361         * iconv/iconvconfig.c (print_version): Likewise.
18362         * locale/programs/locale.c (print_version): Likewise.
18363         * locale/programs/localedef.c (print_version): Likewise.
18364         * login/programs/pt_chown.c (print_version): Likewise.
18365         * malloc/memusage.sh (do_version): Likewise.
18366         * malloc/memusagestat.c (print_version): Likewise.
18367         * malloc/mtrace.pl: Likewise.
18368         * manual/libc.texinfo: Likewise.
18369         * nptl/version.c (banner): Likewise.
18370         * nscd/nscd.c (print_version): Likewise.
18371         * nss/getent.c (print_version): Likewise.
18372         * nss/makedb.c (print_version): Likewise.
18373         * posix/getconf.c (main): Likewise.
18374         * scripts/test-installation.pl: Likewise.
18375         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18377 2015-01-02  Will Newton  <will.newton@linaro.org>
18379         * sysdeps/arm/armv7/configure: Removed.
18380         * sysdeps/arm/armv7/configure.ac: Likewise.
18382 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18384         * All files with FSF copyright notices: Update copyright dates
18385         using scripts/update-copyrights.
18386         * intl/plural.c: Regenerated.
18387         * locale/programs/charmap-kw.h: Likewise.
18388         * locale/programs/locfile-kw.h: Likewise.
18390 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18392         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
18394 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18396         [BZ #17748]
18397         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
18398         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18399         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18400         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18401         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18402         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
18403         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18404         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
18405         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18406         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18407         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18408         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18409         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18410         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18411         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
18412         libm_hidden_def.
18413         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
18414         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
18415         Likewise.
18416         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18417         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18418         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18419         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18420         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
18421         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18422         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18423         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
18424         __fegetenv instead of fegetenv.
18425         (libc_feholdsetround_noex_ctx): Likewise.
18427 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18429         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
18430         (Elf_MIPS_ABIFlags_v0): New structure.
18431         (EF_MIPS_FP64): Define.
18432         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
18433         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
18434         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
18435         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
18436         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
18437         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
18438         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
18439         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
18440         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
18441         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
18442         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
18443         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
18444         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
18445         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
18446         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
18447         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
18448         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
18449         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
18450         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
18451         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
18452         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
18453         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
18454         field.
18455         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
18456         EF_MIPS_FP64.
18457         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
18458         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
18459         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
18460         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
18461         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
18462         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
18463         * sysdeps/mips/tst-abi-interlink.c: Likewise.
18464         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
18465         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
18466         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
18467         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
18468         record the current FP ABI extension.
18469         (mips-mode-switch): Define to show if kernel headers support mode
18470         switching.
18471         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18472         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
18473         supported SYSV ABI version to 3.
18474         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
18475         feature.
18477 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18478             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18480         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
18481         path.
18482         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
18484 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18486         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
18487         __fegetround and redefine to call __fegetround.  Remove condition
18488         on [!__NO_MATH_INLINES].
18489         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
18490         function.
18491         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
18492         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18493         Remove macro.
18494         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
18495         instead of <fenv_libc.h>.
18496         (__llrintl): Call fegetround instead of __fegetround.
18497         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
18498         instead of <fenv_libc.h>.
18499         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18500         (__lrintl): Call fegetround instead of __fegetround.
18501         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
18502         instead of <fenv_libc.h>.
18503         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18504         (__rintl): Call fegetround instead of __fegetround.
18506 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18508         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
18509         arrays.
18511 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18513         [BZ #17775]
18514         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
18515         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
18516         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
18518 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18520         * sysdeps/i386/tls-macros.h: Include <features.h>.
18521         (TLS_LE): Use non-PIC version for GCC >= 5.0.
18522         (TLS_IE): Likewise.
18523         (TLS_LD): Likewise.
18524         (TLS_GD): Likewise.
18525         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
18526         define for GCC >= 5.0.
18528 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
18530         * math/test-fenv.c (test_single_exception, set_single_exc,
18531         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
18532         feexcp_mask_test, feenable_test, fe_single_test): Add
18533         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
18534         case where they are not used.
18535         * math/libm-test.inc: Likewise.
18536         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
18537         unused in the absence of FP rounding/exception support.
18538         * stdio-common/tst-printf-round.c: Likewise.
18539         * stdlib/tst-strtod-round.c: Likewise.
18540         * stdlib/tst-strtod-underflow.c: Likewise.
18542 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
18544         [BZ #17723]
18545         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
18546         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
18547         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18548         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18549         libm_hidden_weak.
18550         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
18551         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18552         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
18553         libm_hidden_def.
18554         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18555         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18556         libm_hidden_weak.
18557         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
18558         Likewise.
18559         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
18560         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18561         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18562         libm_hidden_weak.
18563         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18564         libm_hidden_def.
18565         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18566         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
18567         (__feraiseexcept): Likewise.
18568         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18569         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18570         libm_hidden_weak.
18571         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18572         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18573         libm_hidden_def.
18574         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
18575         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
18576         Use libm_hidden_def.
18577         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
18578         libm_hidden_def.
18579         (feraiseexcept): Define as weak not strong alias.  Use
18580         libm_hidden_weak.
18581         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
18582         New inline function.  Factored out of ...
18583         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
18584         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
18585         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
18586         feraiseexcept.
18587         * math/w_acos.c (__acos): Likewise.
18588         * math/w_asin.c (__asin): Likewise.
18589         * math/w_ilogb.c (__ilogb): Likewise.
18590         * math/w_j0.c (y0): Likewise.
18591         * math/w_j1.c (y1): Likewise.
18592         * math/w_jn.c (yn): Likewise.
18593         * math/w_log.c (__log): Likewise.
18594         * math/w_log10.c (__log10): Likewise.
18595         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
18596         * sysdeps/aarch64/fpu/math_private.h
18597         (libc_feupdateenv_test_aarch64): Likewise.
18598         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18599         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
18600         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
18601         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18602         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18603         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18604         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
18605         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18606         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18607         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18609 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18611         [BZ #17732]
18612         * io/test-utime.c (main): Replace %ld with %jd and cast to
18613         intmax_t.
18614         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
18615         * nptl/tst-mutex5.c: Include <stdint.h>.
18616         (do_test): Replace %ld with %jd and cast to intmax_t.
18617         * posix/tst-regex.c (run_test): Likewise.
18618         (run_test_backwards): Likewise.
18619         * rt/tst-clock.c: Include <stdint.h>.
18620         (clock_test): Replace %ld with %jd and cast to intmax_t.
18621         * rt/tst-cpuclock1.c: Include <stdint.h>.
18622         (do_test): Replace %lu with %ju and cast to uintmax_t.
18623         * rt/tst-cpuclock2.c: Include <stdint.h>.
18624         (do_test): Replace %lu with %ju and cast to uintmax_t.
18625         * rt/tst-mqueue1.c: Include <stdint.h>.
18626         (check_attrs): Replace %ld with %jd and cast to intmax_t.
18627         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18628         intmax_t.
18629         * rt/tst-mqueue4.c (do_test): Likewise.
18630         * rt/tst-timer4.c: Include <stdint.h>.
18631         (check_ts): Replace %ld with %jd and cast to intmax_t.
18632         (do_test): Likewise.
18633         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18634         and cast to intmax_t.
18635         * sysdeps/pthread/tst-timer.c (main): Likewise.
18636         * time/clocktest.c (main): Likewise.
18637         * time/tst-posixtz.c (do_test): Likewise.
18638         * timezone/tst-timezone.c (main): Likewise.
18640 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18641             H.J. Lu  <hongjiu.lu@intel.com>
18643         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18644         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18645         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18646         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18647         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18648         version if bit_Fast_Unaligned_Load is set.
18649         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18650         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18651         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18652         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18653         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18654         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18655         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18656         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18657         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18658         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18659         to 4.
18660         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18661         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18662         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18663         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18665 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
18667         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18668         instead of #if to avoid a Wundef warning.
18669         * stdlib/tst-limits.c (do_test): Likewise.
18671         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18672         parallel other exception macros.
18673         (fegetenv): Convert from macro to extern inline so that it applies
18674         retroactively to inline functions already seen by the compiler.
18675         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18677         * posix/Makefile (before-compile): Use $(objpfx) for
18678         posix-conf-vars-def.h.
18680 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18682         * posix/getconf.c (main): Use size_t for type of I.
18683         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18684         NSPEC.
18686         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18687         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18688         * posix/posix-envs.def: Likewise.
18689         * sysdeps/posix/sysconf.c: Likewise.
18690         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18691         (specs): Remove array.
18692         * scripts/gen-posix-conf-vars.awk: Support generation of specs
18693         array.
18695         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18696         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18697         (__sysconf): Use CONF_IS_* macros.
18699         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18700         ($(objpfx)posix-conf-vars-def.h): New target.
18701         * posix/posix-conf-vars.list: New file.
18702         * posix/posix-conf-vars.h: New file.
18703         * posix/confstr.c: Include posix-conf-vars.h.
18704         (confstr): Use CONF_IS_* macros.
18705         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
18706         CONF_IS_* macros.
18707         * scripts/gen-posix-conf-vars.awk: New file.
18709 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
18711         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18712         fegetround): Add no-op macros to avoid linknamespace issues.
18714         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18715         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18717         * sysdeps/unix/sysv/linux/tile/sysdep.h
18718         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18719         assembly-specific section to avoid a redefinition warning.
18721         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18722         long before casting to pointer to avoid a cast warning.
18724 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
18726         * sysdeps/tile/tilegx/Implies: New file.
18728 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
18730         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18732 2014-12-23  Florian Weimer  <fweimer@redhat.com>
18734         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18736 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18738         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18739         not define.
18740         * sysdeps/unix/sysv/linux/utimes.c: Do not include
18741         <kernel-features.h>.
18742         (__utimes) [__NR_utimes]: Make code unconditional.
18743         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18744         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18745         (__ASSUME_UTIMES): Do not undefine.
18746         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18747         (__ASSUME_UTIMES): Likewise.
18748         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18749         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18750         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18751         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18753 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18755         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18757 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
18759         [BZ #17747]
18760         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18761         alias to weak alias for j0l, y0l.
18762         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18763         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18765         [BZ #17746]
18766         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18767         conversion.
18769 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18771         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18772         to zero if not already defined.
18774 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18776         [BZ #17724]
18777         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
18778         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
18779         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
18780         (char *) casts added.
18781         * sysdeps/ieee754/k_standardf.c: New file.
18782         * sysdeps/ieee754/k_standardl.c: Likewise.
18783         * math/Makefile (libm-support): Remove k_standard.
18784         (libm-calls): Add k_standard.
18786 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18788         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18789         Optimize to avoid an unnecessary FPCR read.
18791 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18793         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18794         Optimize to reduce FPCR/FPSR accesses.
18796 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18798         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
18799         Call libc_fetestexcept_aarch64.
18801 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18803         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
18804         Call libc_fesetround_aarch64.
18806 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18808         [BZ #17733]
18809         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
18810         (__bind): Do not define as weak alias.
18811         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
18812         define.
18813         (__getsockname): Do not define as weak alias.
18815 2014-12-22  Will Newton  <will.newton@linaro.org>
18817         * manual/install.texi: Document that we require bison 2.7
18818         or above.
18819         * INSTALL: Regenerate.
18820         * configure.ac: Use AC_CHECK_PROG_VER instead of
18821         AC_PATH_PROG when checking for bison and check for
18822         version 2.7 or above.
18823         * configure: Regenerate.
18825 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
18827         [BZ #17745]
18828         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
18829         * sysdeps/tile/ffsll.c (ffsll): To here.
18831         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
18833 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18835         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
18836         if not defined.
18837         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
18838         definition.
18839         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18840         hidden ___tls_get_addr.
18841         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18842         hidden __tls_get_addr.
18843         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
18844         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
18845         Likewise.
18847 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
18849         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
18850         _dl_init call.
18852 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18854         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
18855         from "call _dl_init@PLT".
18856         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
18858 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
18860         * manual/search.texi: (Array Sort Function): Clarify stable sorting
18861         guarantees.
18863 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
18865         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
18867 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18869         [BZ #17744]
18870         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
18871         strnlen.
18873 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18875         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
18876         of multu on MIPSr6.
18877         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
18878         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
18879         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
18880         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
18881         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
18883 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18885         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
18886         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
18887         (PTR_SUBU): Use subu for mips32r6/mips64r6.
18888         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
18889         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
18890         mips32r6/mips64r6.
18891         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
18893 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
18895         * string/strncat.c (STRNCAT): Simplify implementation.
18897 2014-12-19  David S. Miller  <davem@davemloft.net>
18899         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
18900         access the quad as both a long double and as a series of 4 words.
18902         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
18903         link_map->l_info array access.
18905 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18907         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
18909         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
18910         * math/atest-exp2.c (TIMEOUT): Likewise.
18911         * math/atest-sincos.c (TIMEOUT): Likewise.
18913 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18915         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
18916         -Wno-error with -fno-builtin-lround.
18918 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18920         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
18921         Contains futex constants and functions moved over from ...
18922         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
18923         <lowlevellock-futex.h>.
18924         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18925         (lll_timedwait_tid): Add comments and parentheses around macro
18926         arguments.
18928 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18930         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
18931         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
18932         (__lll_private_flag): Remove.
18933         (lll_futex_wait): Likewise.
18934         (lll_futex_timed_wait): Likewise.
18935         (lll_futex_wake): Likewise.
18936         (lll_futex_requeue): Likewise.
18937         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18938         (__lll_timedwait_tid): Spell out argument names.
18939         (lll_timedwait_tid): Add comments and parentheses around macro
18940         arguments.
18941         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
18942         LLL_SHARED and LLL_PRIVATE usable from assembly code.
18944 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18946         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
18947         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18948         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18949         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
18950         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
18951         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
18952         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
18953         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
18954         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
18955         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
18956         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
18957         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
18958         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
18959         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
18960         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
18961         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
18962         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
18963         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
18964         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
18966 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18968         * sysdeps/x86_64/x32/Makefile: New file.
18970 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18972         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
18973         1L with (mp_limb_t) 1.
18975 2014-12-17  Roland McGrath  <roland@hack.frob.com>
18977         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
18978         * nptl/libc_pthread_init.c: ... here.
18979         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
18980         * nptl/register-atfork.c: ... here.
18982         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
18983         Use pthread_sigmask rather than INTERNAL_SYSCALL.
18984         Use assert_perror to check its return value.
18985         (__gai_create_helper_thread): Likewise.
18987         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
18989         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
18991 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
18993         [BZ #17725]
18994         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
18995         __profil_counter.
18996         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
18997         Likewise.
18998         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
18999         Likewise.
19000         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
19001         Likewise.
19002         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
19003         (profil_counter): Likewise.
19004         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
19005         (profil_counter): Likewise.
19006         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
19007         Likewise.
19008         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
19009         Likewise.
19010         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
19011         (profil_counter): Likewise.
19012         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
19013         Likewise.
19014         [!__profil_counter] (profil_counter): Define as weak alias of
19015         __profil_counter.
19016         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
19017         (profil_counter): Rename to __profil_counter.
19018         [!__profil_counter] (profil_counter): Define as weak alias of
19019         __profil_counter.
19020         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
19021         (profil_counter): Rename to __profil_counter.
19022         [!__profil_counter] (profil_counter): Define as weak alias of
19023         __profil_counter.
19024         * sysdeps/posix/profil.c: Update comment referring to
19025         profil_counter.
19026         (__profil): Use __profil_counter instead of profil_counter.
19027         * sysdeps/posix/sprofil.c (profil_counter): Rename to
19028         __profil_counter.  Use __profil_counter_ushort and
19029         __profil_counter_uint in definitions.
19030         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
19031         instead of profil_counter_uint and profil_counter_ushort.
19033         [BZ #17722]
19034         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
19035         define as weak alias of __inet_makeaddr.
19036         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
19037         as weak alias of __inet_addr.
19038         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
19039         as weak alias of __inet_pton.  Use libc_hidden_weak.
19040         * include/arpa/inet.h (__inet_pton): Declare.  Use
19041         libc_hidden_proto.
19042         (inet_makeaddr): Don't use libc_hidden_proto.
19043         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
19044         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
19045         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
19046         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
19047         Remove variable.
19048         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19049         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19051 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
19053         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
19055 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19057         * stdio-common/bug-vfprintf-nargs.c (do_test):
19058         Cast value to intptr_t to avoid format warning
19059         for usage with PRIdPTR printing macro.
19061 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19063         * libio/tst-widetext.c (do_test):
19064         Use format type %td instead of %Zd for ptrdiff_t
19065         in order to avoid format warning.
19067 2014-12-17  Andreas Schwab  <schwab@suse.de>
19069         * nscd/mem.c (gc): Add size_t cast to match printf format.
19071 2014-12-16  Roland McGrath  <roland@hack.frob.com>
19073         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
19074         (init): Apply PTR_MANGLE to pointers before storing them.
19075         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
19076         before using them.
19078 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
19080         [BZ #17719]
19081         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
19082         define as weak alias of __memrchr.
19083         (__memrchr): Do not define as strong alias of memrchr.
19084         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
19085         Remove variable.
19086         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19087         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19088         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19090         [BZ #17717]
19091         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
19092         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
19093         (if_indextoname): Rename to __if_indextoname and define as weak
19094         alias of __if_indextoname.  Use libc_hidden_weak.
19095         (if_freenameindex): Rename to __if_freenameindex and define as
19096         weak alias of __if_freenameindex.
19097         (if_nameindex): Rename to __if_nameindex and define as weak alias
19098         of __if_nameindex.
19099         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
19100         __if_nametoindex and define as weak alias of __if_nametoindex.
19101         Use libc_hidden_weak.
19102         (if_freenameindex): Rename to __if_freenameindex and define as
19103         weak alias of __if_freenameindex.
19104         (if_nameindex): Rename to __if_nameindex and define as weak alias
19105         of __if_nameindex.
19106         (if_indextoname): Rename to __if_indextoname and define as weak
19107         alias of __if_indextoname.  Use libc_hidden_weak.
19108         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
19109         __if_nametoindex and define as weak alias of __if_nametoindex.
19110         Use libc_hidden_weak.
19111         (if_freenameindex): Rename to __if_freenameindex and define as
19112         weak alias of __if_freenameindex.  Use libc_hidden_weak.
19113         (if_nameindex_netlink): Use __if_freenameindex instead of
19114         if_freenameindex.
19115         (if_nameindex): Rename to __if_nameindex and define as weak alias
19116         of __if_nameindex.  Use libc_hidden_weak.
19117         (if_indextoname): Rename to __if_indextoname and define as weak
19118         alias of __if_indextoname.  Use libc_hidden_weak.
19119         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
19120         libc_hidden_proto.
19121         [!_ISOMAC] (__if_freenameindex): Likewise.
19122         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
19123         if_nametoindex.
19124         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
19125         variable.
19126         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19127         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19128         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19129         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19130         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19131         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19132         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19134         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
19135         Remove variable.
19136         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19137         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19139 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19141         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
19142         subscript above bounds'
19144         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
19145         bounds.
19147 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
19149         * libio/tst-fopenloc.c: Use test-skeleton.c.
19151         * stdlib/tst-bsearch.c: Use test-skeleton.c.
19152         (entry): Rename to ITEM.
19153         (do_test, comp): Adjust.
19155         * stdio-common/tst-fseek.c: Use test-skeleton.c.
19157 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19159         * string/tester.c: Include <libc-internal.h>.
19160         (test_memset): Ignore -Wmemset-transposed-args.
19162 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19164         * misc/tst-mntent2.c (do_test): Fix warning.
19166 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19168         * elf/tst-unique4lib.cc(a): Mark as used.
19170 2014-12-16  Florian Weimer  <fweimer@redhat.com>
19172         [BZ #17630]
19173         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
19174         names.
19176 2014-12-16  Allan McRae  <allan@archlinux.org>
19178         * stdio-common/Makefile (tests): Re-add bug26.
19180 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
19182         [BZ #17657]
19183         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
19184         static array.
19186 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
19188         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
19189         (__lll_lock_wait): Likewise.
19190         (__lll_timedlock_wait): Likewise.
19191         (__lll_timedwait_tid): Likewise.
19192         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
19193         (__lll_robust_timedlock_wait): Likewise.
19194         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
19195         (lll_cond_trylock): Likewise.
19196         (__lll_lock): Likewise.
19197         (__lll_robust_lock): Likewise.
19198         (__lll_cond_lock): Likewise.
19199         (lll_robust_cond_lock): Likewise.
19200         (__lll_timedlock): Likewise.
19201         (__lll_robust_timedlock): Likewise.
19202         (__lll_unlock): Likewise.
19203         (__lll_robust_unlock): Likewise.
19204         (lll_wait_tid): Likewise.
19205         (lll_timedwait_tid): Likewise.
19207 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19209         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
19211 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19213         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
19215 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19217         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
19218         * stdio-common/tst-sprintf.c: Likewise.
19220 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19222         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
19224 2014-12-15  Jeff Law  <law@redhat.com>
19226         [BZ #16617]
19227         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
19228         on the heap.  (CVE-2012-3406)
19229         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
19230         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
19231         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
19233 2014-12-15  Will Newton  <will.newton@linaro.org>
19235         * manual/install.texi: Bump required version of texinfo
19236         to 4.7 from 4.5.
19237         * INSTALL: Regenerated.
19238         * configure.ac: Check for makeinfo version 4.7 and above.
19239         * configure: Regenerated.
19241 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19243         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
19244         PREFIX, string constant to insert between directory and name.
19245         * sysdeps/posix/shm_open.c: Update caller.
19246         * sysdeps/posix/shm_unlink.c: Likewise.
19247         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
19248         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
19249         (SEM_SHM_PREFIX): New macro.
19250         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
19251         [$(have-thread-library) = no].
19252         * nptl/Makefile (libpthread-routines): Add shm-directory.
19253         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
19254         * sysdeps/nptl/shm-directory.h: New file.
19255         * sysdeps/posix/shm-directory.c
19256         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
19257         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19258         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
19259         INTERNAL_SYSCALL.
19260         (__where_is_shmfs): Function removed.
19261         (mountpoint, defaultmount, defaultdir, __namedsem_once):
19262         Variables removed.
19263         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
19264         Use SHM_GET_NAME.
19265         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
19267         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
19268         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
19269         unconditional for use inside libpthread.
19270         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
19272 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19274         * nptl/pthread_getaffinity.c: New file.
19275         * nptl/pthread_setaffinity.c: New file.
19276         * nptl/pthread_getname.c: New file.
19277         * nptl/pthread_setname.c: New file.
19279         * nptl/pthread_create.c (START_THREAD_DEFN)
19280         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
19282 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19283             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19285         * resolv/res_send.c (send_vc): Disable warning resplen may
19286         be used uninitialized.
19288 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19290         * nptl/tst-mutex6.c
19291         (ATTR_NULL): New define checks ATTR against NULL.
19292         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
19293         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
19295 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
19297         [BZ #17581]
19298         * malloc/hooks.c
19299         (mem2mem_check): Revert my previous change.
19300         (malloc_check_get_size): Revert my previous change.
19301         (mem2chunk_check): Revert my previous change.
19303 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19305         * sysdeps/posix/shm-directory.c: New file.
19306         * sysdeps/posix/shm-directory.h: New file.
19307         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
19308         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
19309         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
19310         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
19311         Transmute EPERM to EACCES.
19312         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
19313         from ...
19314         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
19315         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
19317 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19319         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
19320         pointer and cast to uintptr_t.
19321         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
19322         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
19323         Add cast to avoid warning.
19324         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
19326 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19328         * nptl/semaphore.h: Move to ...
19329         * sysdeps/pthread/semaphore.h: ... here.
19330         * Makefile (installed-headers): Change nptl/semaphore.h to
19331         sysdeps/pthread/semaphore.h.
19333 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19335         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
19336         generated error format strings.
19338         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
19339         -Wformat-extra-args warnings for scanf formats.
19340         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
19341         test of zero-length format (duh).
19342         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
19343         corner-case scanf format test.
19344         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
19345         generated fprintf format string.
19346         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
19347         corner-case sprintf format tests.
19348         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
19349         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
19350         -Wformat-extra-args warnings throughout.
19351         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
19352         (CFLAGS-scanf4.c): Likewise.
19353         (CFLAGS-scanf7.c): Likewise.
19354         (CFLAGS-tst-sprintf.c): Likewise.
19355         (CFLAGS-tst-printf.c): Likewise.
19356         (CFLAGS-tst-printfsz.c): Likewise.
19358 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19360         * include/cpio.h: New file.
19361         * include/fmtmsg.h: Likewise.
19363         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
19364         corresponding format argument to size_t.
19365         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
19366         arguments.
19367         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
19368         corresponding format argument to size_t.
19369         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
19370         arguments.
19371         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
19372         corresponding format argument to size_t.
19373         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
19374         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
19375         (CFLAGS-tst-mbswcs2.c): Likewise.
19376         (CFLAGS-tst-mbswcs3.c): Likewise.
19377         (CFLAGS-tst-mbswcs4.c): Likewise.
19378         (CFLAGS-tst-mbswcs5.c): Likewise.
19379         (CFLAGS-tst-trans.c): Likewise.
19381 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19383         * posix/regexbug1.c (main): Use "%s" format with regerror results,
19384         rather than assuming they won't contain any '%'s.
19386 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
19388         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
19389         inhibit_loop_to_libcall to avoid recursive calls.
19390         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
19391         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
19393 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19395         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
19396         prototype.
19398 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19400         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
19401         integer value instead of boolean.
19403 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19405         * malloc/malloc.c: Fix powerof2 check.
19407 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19409         * locale/programs/locfile.h (maybe_swap_uint32):
19410         Remove inline and add unused attribute.
19412 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19414         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19415         Truncating assembler expression to a .long expression.
19417 2014-12-11  Andreas Schwab  <schwab@suse.de>
19419         * elf/rtld.c (struct map_args): Constify str member.
19420         (do_preload): Constify fname argument.
19422 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19424         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
19425         constants definition.
19427 2014-12-11  Andreas Schwab  <schwab@suse.de>
19429         [BZ #16657]
19430         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
19431         FORCE_ELISION instead of DO_ELISION.
19432         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
19433         Remove.
19434         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
19435         Likewise.
19437         * iconvdata/gconv-modules: Remove duplicate entry.
19439 2014-12-11  Will Newton  <will.newton@linaro.org>
19441         Merge gettext 0.19.3 into intl/.
19443         This involves a number of cosmetic changes to comments
19444         and ANSI function definitions and prototypes throughout
19445         all the files. The gettext copyright header is used but
19446         with the date ranges taken from the glibc copy.
19448         * NEWS: Add gettext merge to 2.21.
19449         * intl/bindtextdom.c: Switch to gettext copyright.
19450         Use ANSI definitions and prototypes.
19451         Use gl_* locking primitives rather than __libc_* ones.
19452         Use __builtin_expect rather than __glibc_likely/unlikely.
19453         * intl/dcgettext.c: Switch to gettext copyright.
19454         Use ANSI definitions and prototypes.
19455         * intl/dcigettext.c: Switch to gettext copyright.
19456         Use ANSI definitions and prototypes.
19457         (INTDIV0_RAISES_SIGFPE): New define.
19458         Use gl_* locking primitives rather than __libc_* ones.
19459         Include eval-plural.h instead of plural-eval.c.
19460         Use __builtin_expect rather than __glibc_likely/unlikely.
19461         * intl/dcngettext.c: Switch to gettext copyright.
19462         Use ANSI definitions and prototypes.
19463         * intl/dgettext.c: Likewise.
19464         * intl/dngettext.c: Likewise.
19465         * intl/plural-eval.c: Renamed to...
19466         * intl/eval-plural.h: ...this.
19467         * intl/explodename.c: Switch to gettext copyright.
19468         Use ANSI definitions and prototypes.
19469         (_nl_explode_name): Use strchr instead of __rawmemchr.
19470         * intl/finddomain.c: Switch to gettext copyright.
19471         Use ANSI definitions and prototypes.
19472         Use gl_* locking primitives rather than __libc_* ones.
19473         (_nl_find_domain): Use malloc rather than alloca for
19474         allocation of temporary locale name.
19475         * intl/gettext.c: Switch to gettext copyright.
19476         Use ANSI definitions and prototypes.
19477         * intl/gettextP.h: Switch to gettext copyright.
19478         Use ANSI definitions and prototypes.
19479         Use gl_* locking primitives rather than __libc_* ones.
19480         * intl/gmo.h: Switch to gettext copyright.
19481         (struct sysdep_string): Move struct segment_pair outside of
19482         struct definition.
19483         * intl/hash-string.c: Use ANSI definitions and prototypes.
19484         * intl/hash-string.h: Switch to gettext copyright.
19485         Use ANSI definitions and prototypes.
19486         * intl/l10nflist.c: Switch to gettext copyright.
19487         Use ANSI definitions and prototypes.
19488         (_nl_normalize_codeset): Avoid integer overflow.
19489         * intl/loadinfo.h: Switch to gettext copyright.
19490         Use ANSI definitions and prototypes.
19491         (LIBINTL_DLL_EXPORTED): New define.
19492         (PATH_SEPARATOR): New define.
19493         * intl/loadmsgcat.c: Switch to gettext copyright.
19494         * intl/localealias.c: Switch to gettext copyright.
19495         Use ANSI definitions and prototypes.
19496         (_nl_expand_alias): Use PATH_SEPARATOR.
19497         * intl/ngettext.c: Switch to gettext copyright.
19498         Use ANSI definitions and prototypes.
19499         * intl/plural-exp.c: Likewise.
19500         * intl/plural-exp.h: Switch to gettext copyright.
19501         Use ANSI definitions and prototypes.
19502         (struct expression): Move definition of enum operator outside
19503         of struct definition.
19504         * intl/plural.c: Regenerate.
19505         * intl/plural.y: Switch to gettext copyright.
19506         Use ANSI definitions and prototypes.
19507         Port to bison 3.0.
19508         * intl/textdomain.c: Switch to gettext copyright.
19509         Use ANSI definitions and prototypes.
19510         Use gl_* locking primitives rather than __libc_* ones.
19512 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
19514         * debug/warning-nop.c: Add used atrribute.
19516 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19518         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
19520         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
19521         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
19522         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
19524 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19525             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19527         [BZ #17634]
19528         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
19529         Undefine after defining function.  Define as weak alias of
19530         __wcschr.  Use libc_hidden_weak.
19531         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
19532         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
19533         (libc_hidden_def): Also define __GI___wcschr alias.
19534         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
19535         __wcschr and define as weak alias of __wcschr.
19536         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
19537         __wcschr.
19538         [!WCSCHR] (DEFAULT_WCSCHR): Define.
19539         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
19540         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
19541         libc_hidden_weak.  Do not use libc_hidden_def.
19542         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
19543         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
19544         __GI___wcschr alias.
19545         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
19546         [IS_IN (libc)] (wcschr): Define as macro expanding to
19547         __redirect_wcschr.
19548         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
19549         [IS_IN (libc)] (__wcschr_power6): Likewise.
19550         [IS_IN (libc)] (__wcschr_power7): Likewise.
19551         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
19552         instead of wcschr.
19553         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
19554         __libc_wcschr.
19555         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
19556         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
19557         __wcschr and define as weak alias of __wcschr.  Use
19558         libc_hidden_builtin_def.
19559         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
19560         as weak alias of __wcschr.  Use libc_hidden_weak.
19561         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
19562         wcschr.
19563         * time/era.c (_nl_init_era_entries): Likewise.
19564         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
19565         variable.
19566         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19567         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19569 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19571         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
19572         format for long int variable.
19574 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
19576         [BZ #10672]
19577         * manual/search.texi: (Array Sort Function): Remove claim how to make
19578         qsort stable.
19580 2014-12-10  Andreas Schwab  <schwab@suse.de>
19582         [BZ #12847]
19583         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
19584         user-controlled locks.
19586 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
19588         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
19589         register.
19591 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19593         * configure.ac (--disable-werror): New configure option.
19594         (enable_werror): New AC_SUBST.
19595         * configure: Regenerated.
19596         * config.make.in (enable-werror): New variable.
19597         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
19598         -Wno-error=undef.
19599         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
19600         * manual/install.texi (Configuring and compiling): Document
19601         --disable-werror.
19602         * INSTALL: Regenerated.
19603         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
19604         (CFLAGS-tst-chk2.c): Likewise.
19605         (CFLAGS-tst-chk3.c): Likewise.
19606         (CFLAGS-tst-chk4.cc): Likewise.
19607         (CFLAGS-tst-chk5.cc): Likewise.
19608         (CFLAGS-tst-chk6.cc): Likewise.
19609         (CFLAGS-tst-lfschk1.c): Likewise.
19610         (CFLAGS-tst-lfschk2.c): Likewise.
19611         (CFLAGS-tst-lfschk3.c): Likewise.
19612         (CFLAGS-tst-lfschk4.cc): Likewise.
19613         (CFLAGS-tst-lfschk5.cc): Likewise.
19614         (CFLAGS-tst-lfschk6.cc): Likewise.
19616         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
19617         (main): Disable -Wdeprecated-declarations around calls to
19618         register_printf_function.
19620         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19621         (do_test): Disable -Wdiv-by-zero around some calls to
19622         fwrite_unlocked and fread_unlocked.
19624         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19625         (DIAG_POP_NEEDS_COMMENT): Likewise.
19626         (_DIAG_STR1): Likewise.
19627         (_DIAG_STR): Likewise.
19628         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19629         * stdio-common/bug21.c: Include <libc-internal.h>.
19630         (do_test): Disable -Wformat around call to sscanf.
19631         * stdio-common/scanf14.c: Include <libc-internal.h>.
19632         (main): Disable -Wformat around some calls to scanf functions.
19634 2014-12-09  Torvald Riegel  <triegel@redhat.com>
19636         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19638 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19640         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19641         stack variable alignment.
19643 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
19645         [BZ #17682]
19646         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19647         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19648         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19649         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19650         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19651         __getrlimit instead of getrlimit.
19652         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19653         __gettimeofday instead of gettimeofday.
19654         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19655         Likewise.
19656         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19657         Likewise.
19658         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19659         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19660         Remove variable.
19661         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19662         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19664 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19666         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19667         for wide-character tests.
19669 2014-12-04  Roland McGrath  <roland@hack.frob.com>
19671         * io/openat64.c: #include <libc-internal.h>
19672         (__openat64): Prototypify.  Use ignore_value on MODE.
19673         * io/openat.c: Likewise.
19674         * misc/reboot.c: #include <libc-internal.h>
19675         (reboot): Prototypify.  Use ignore_value on HOWTO.
19676         * misc/ptrace.c: #include <libc-internal.h>
19677         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
19679 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
19681         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19682         XPG4, UNIX98 and XOPEN2K.
19683         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19684         Remove variable.
19685         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19687 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19689         * libio/fileops.c: Use ISO C style for function definitions.
19690         * libio/iofopen.c: Likewise.
19691         * libio/wfileops.c: Likewise.
19693         [BZ #17653]
19694         * libio/fileops.c (_IO_new_file_underflow): Unset cached
19695         offset on EOF.
19696         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19697         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19698         (fgets_func): Function pointer to fgets and fgetws.
19699         (do_ftell_test): Add test to verify ftell value after read
19700         EOF.
19701         (do_test): Set fgets_func.
19703         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19704         O_TRUNC flag for w and w+ modes.
19705         (do_rewind_test): Likewise.
19706         (do_ftell_test): Likewise.
19707         (do_write_test): Likewise.
19709         [BZ #17647]
19710         * libio/fileops.c (do_ftell): Seek only when there are
19711         unflushed writes.
19712         * libio/wfileops.c (do_ftell_wide): Likewise.
19713         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19714         test case.
19715         (do_one_test): Call it.
19717 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
19719         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19720         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19721         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19722         Remove variable.
19723         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19724         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19725         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19727 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19729         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19730         Remove variable.
19731         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19733         [BZ #17668]
19734         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19735         as weak alias of __getifaddrs.  Use libc_hidden_weak.
19736         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19737         __freeifaddrs.  Use libc_hidden_weak.
19738         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19739         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
19740         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19741         __freeifaddrs.  Use libc_hidden_weak.
19742         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19743         __getifaddrs and define as weak alias of __getifaddrs.  Use
19744         libc_hidden_weak.
19745         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19746         __freeifaddrs.  Use libc_hidden_weak.
19747         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19748         Remove variable.
19749         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19750         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19752 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19754         [BZ #17601]
19755         * sysdeps/mips/start.S (__start): Use indirect jump to call
19756         __libc_start_main.
19758 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19760         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19762         * nptl/tst-mutex1.c: Include <stdbool.h>.
19763         [!ATTR] (ATTR_NULL): New macro.
19764         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19765         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19766         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19768         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19769         to char *.
19771         [BZ #17665]
19772         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19773         Change conditional to [__USE_MISC].
19775         [BZ #17664]
19776         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
19777         fgets_unlocked.
19778         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
19779         __fgets_unlocked.
19780         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
19781         fgets_unlocked.
19782         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
19783         Remove variable.
19784         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19785         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19786         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19787         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19788         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19789         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19790         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19791         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19792         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19794         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
19796 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19798         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19799         Remove strpbrk objects.
19800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19801         (__libc_ifunc_impl_list): Remove strpbrk implementation.
19802         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
19803         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
19804         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
19805         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
19807         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19808         Remove strcspn objects.
19809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19810         (__libc_ifunc_impl_list): Remove strcspn implementation.
19811         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
19812         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
19813         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
19814         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
19816         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19817         Remove strspn objetcs.
19818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19819         (__libc_ifunc_impl_list): Remove strspn implementation.
19820         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
19821         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19822         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
19823         * sysdeps/powerpc/powerpc64/strspn.S: New file.
19825 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
19827         [BZ #17581]
19828         * malloc/hooks.c
19829         (mem2mem_check): Add a terminator to the chain of checking blocks.
19830         (malloc_check_get_size): Use it here.
19831         (mem2chunk_check): Ditto.
19833 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19835         * sysdeps/powerpc/powerpc64/strtok.S: New file.
19836         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
19838 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
19840         * bits/ioctl-types.h: Indent preprocessor directives correctly.
19842         * nptl/nptl-init.c: Include libc-internal.h.
19843         (__pthread_initialize_minimal_internal): Use ROUND_UP.
19845         * elf/ldconfig.c (search_dir): Expand comment.
19847 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
19849         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
19850         variable.
19851         (linknamespace-symlist-stdlibs-tests): Likewise.
19852         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
19853         instead of $(objpfx)symlist-stdlibs.
19854         (linknamespace-libs-isoc): New variable.
19855         (linknamespace-libs): Use $(linknamespace-libs-isoc).
19856         (linknamespace-libs-ISO): New variable.
19857         (linknamespace-libs-ISO99): Likewise.
19858         (linknamespace-libs-ISO11): Likewise.
19859         (linknamespace-libs-XPG3): Likewise.
19860         (linknamespace-libs-XPG4): Likewise.
19861         (linknamespace-libs-POSIX): Likewise.
19862         (linknamespace-libs-UNIX98): Likewise.
19863         (linknamespace-libs-XOPEN2K): Likewise.
19864         (linknamespace-libs-POSIX2008): Likewise.
19865         (linknamespace-libs-XOPEN2K8): Likewise.
19866         ($(objpfx)symlist-stdlibs): Replace by
19867         $(linknamespace-symlist-stdlibs-tests).  Use
19868         $(linknamespace-libs-$*) as set of libraries.
19869         ($(linknamespace-header-tests)): Update dependencies.  Use
19870         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
19871         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
19872         * conform/linknamespace.pl: Remove comment about considering
19873         definitions of symbols from irrelevant libraries.
19875 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
19877         [BZ #13862]
19878         * elf/dl-tls.c: Include <atomic.h>.
19879         (oom): Remove #ifdef SHARED/#endif.
19880         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
19881         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
19882         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
19883         big enough.
19884         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
19885         * nptl/Makefile (tests): Add tst-stack4.
19886         (modules-names): Add tst-stack4mod.
19887         ($(objpfx)tst-stack4): New.
19888         (tst-stack4mod.sos): Likewise.
19889         ($(objpfx)tst-stack4.out): Likewise.
19890         ($(tst-stack4mod.sos)): Likewise.
19891         (clean): Likewise.
19892         * nptl/tst-stack4.c: New file.
19893         * nptl/tst-stack4mod.c: Likewise.
19895 2014-11-27  J. Brown  <jb999@gmx.de>
19897         * sysdeps/x86/bits/string.h: Add recent CPUs.
19899 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19901         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
19902         sigblock.
19904         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
19905         feof.
19907         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
19908         variable.
19910 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19912         * nscd/connections.c: Include libc-internal.h because of macro
19913         usage ignore_value.
19915 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19917         * string/bits/string3.h (__warn_memset_zero_len): Don't
19918         declare for gcc newer than 5.0.
19919         (memset): Don't test for zero-length __LEN for gcc newer than
19920         5.0.
19922 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19924         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
19925         size_t for %zu format.
19927         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
19928         difference, not %ju.
19930 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19932         * include/libc-internal.h (ignore_value): New macro.
19933         * nscd/connections.c (restart): Wrap calls to setuid and setgid
19934         with ignore_value.
19936         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
19937         definition.
19939         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
19940         pthread_cleanup_push to void *.
19942         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
19943         Undefine.
19945         [BZ #16619]
19946         [BZ #16740]
19947         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
19948         instead of 1L << 52.
19950         * libio/bug-rewind.c (do_test): Check fwscanf return values.
19951         * libio/bug-rewind2.c (do_test): Likewise.
19953         * debug/test-stpcpy_chk-ifunc.c: Remove file.
19954         * debug/test-strcpy_chk-ifunc.c: Likewise.
19955         * wcsmbs/test-wcschr-ifunc.c: Likewise.
19956         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19957         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19958         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19959         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19960         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19961         * Rules [$(multi-arch) = no] (tests): Do not filter out
19962         $(tests-ifunc).
19963         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
19964         * debug/Makefile (tests-ifunc): Remove variable.
19965         (tests): Do not add $(tests-ifunc).
19966         * wcsmbs/Makefile (tests-ifunc): Remove variable.
19967         (tests): Do not add $(tests-ifunc).
19968         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
19969         [TEST_IFUNC]: Remove conditionals.
19970         * string/test-string.h (TEST_IFUNC): Remove macro.
19971         [TEST_IFUNC]: Remove conditionals.
19973         * string/test-strchr.c [!WIDE] (L): New macro.
19974         [WIDE] (L): Likewise.
19975         (check1): Use CHAR instead of char.  Use L on string and character
19976         constants.
19978 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
19980         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
19981         tests.
19982         * sysdeps/powerpc/bits/atomic.h
19983         (__arch_atomic_exchange_and_add_32_acq): Add definition.
19984         (__arch_atomic_exchange_and_add_32_rel): Likewise.
19985         (atomic_exchange_and_add_acq): Likewise.
19986         (atomic_exchange_and_add_rel): Likewise.
19987         * sysdeps/powerpc/powerpc32/bits/atomic.h
19988         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19989         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19990         * sysdeps/powerpc/powerpc64/bits/atomic.h
19991         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19992         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19994 2014-11-26  Torvald Riegel  <triegel@redhat.com>
19996         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
19997         Change synchronization of __sched_fifo_min_prio and
19998         __sched_fifo_max_prio.
19999         * nptl/pthread_mutexattr_getprioceiling.c
20000         (pthread_mutexattr_getprioceiling): Likewise.
20001         * nptl/pthread_mutexattr_setprioceiling.c
20002         (pthread_mutexattr_setprioceiling): Likewise.
20003         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20004         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
20005         Likewise.
20007 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20009         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
20010         void.
20012 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20014         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
20015         third argument const.
20017 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
20019         fnmatch: work around GCC compiler warning bug with uninit var
20020         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
20021         This works around a bug with x86-64 GCC 4.9.2 and earlier
20022         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
20023         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
20024         used uninitialized in this function [-Wmaybe-uninitialized]".
20026 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20028         * posix/bug-regex31.c (main): Return RES not 0.
20030 2014-11-25  Anton Blanchard <anton@samba.org>
20032         * sysdeps/powerpc/bits/atomic.h
20033         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
20035 2014-11-24  Sterling Augustine  <saugustine@google.com>
20037         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
20039 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
20041         [BZ #17608]
20042         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
20044 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
20046         [BZ #17633]
20047         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
20048         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
20049         variable.
20050         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20051         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20053 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20055         * string/strncpy.c (strncpy): Improve performance by using memset.
20057 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20059         * string/strcpy.c (strcpy):
20060         Improve performance by using strlen and memcpy.
20062 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
20064         * string/strcoll_l.c (get_next_seq): __always_inline.
20065         * string/strcoll_l.c (do_compare): __always_inline.
20067 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20069         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
20070         defined.
20071         * include/mqueue.h: Likewise.
20072         * include/stdlib.h: Likewise.
20074         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
20075         (get_null_defines): Adjust.
20076         * sunrpc/Makefile: Adjust comment.
20077         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
20078         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
20079         (CFLAGS-interp.c): Likewise.
20080         (CFLAGS-ldconfig.c): Likewise.
20081         (CPPFLAGS-.os): Likewise.
20082         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20083         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20084         * extra-modules.mk (extra-modules.mk): Likewise.
20085         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
20086         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
20087         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
20088         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
20089         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
20090         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
20091         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
20092         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
20093         * iconvdata/Makefile (CPPFLAGS): Likewise.
20094         (cpp-srcs-left): Add libof for all iconvdata routines.
20095         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
20096         * include/assert.h: Likewise.
20097         * include/ctype.h: Likewise.
20098         * include/errno.h: Likewise.
20099         * include/libc-symbols.h: Likewise.
20100         * include/math.h: Likewise.
20101         * include/netdb.h: Likewise.
20102         * include/resolv.h: Likewise.
20103         * include/stdio.h: Likewise.
20104         * include/stdlib.h: Likewise.
20105         * include/string.h: Likewise.
20106         * include/sys/stat.h: Likewise.
20107         * include/wctype.h: Likewise.
20108         * intl/l10nflist.c: Likewise.
20109         * libidn/idn-stub.c: Likewise.
20110         * libio/libioP.h: Likewise.
20111         * nptl/libc_multiple_threads.c: Likewise.
20112         * nptl/pthreadP.h: Likewise.
20113         * posix/regex_internal.h: Likewise.
20114         * resolv/res_hconf.c: Likewise.
20115         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
20116         * sysdeps/arm/memmove.S: Likewise.
20117         * sysdeps/arm/sysdep.h: Likewise.
20118         * sysdeps/generic/_itoa.h: Likewise.
20119         * sysdeps/generic/symbol-hacks.h: Likewise.
20120         * sysdeps/gnu/errlist.awk: Likewise.
20121         * sysdeps/gnu/errlist.c: Likewise.
20122         * sysdeps/i386/i586/memcpy.S: Likewise.
20123         * sysdeps/i386/i586/memset.S: Likewise.
20124         * sysdeps/i386/i686/memcpy.S: Likewise.
20125         * sysdeps/i386/i686/memmove.S: Likewise.
20126         * sysdeps/i386/i686/mempcpy.S: Likewise.
20127         * sysdeps/i386/i686/memset.S: Likewise.
20128         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20129         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20130         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
20131         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
20132         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20133         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20134         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
20135         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20136         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20137         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20138         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20139         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20140         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20141         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20142         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20143         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20144         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
20145         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
20146         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
20147         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20148         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20149         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20150         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20151         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20152         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20153         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20154         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
20155         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20156         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
20157         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20158         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20159         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20160         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20161         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20162         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20163         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20164         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20165         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20166         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20167         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20168         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20169         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20170         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20171         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20172         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20173         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20174         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
20175         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
20176         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20177         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20178         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20179         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
20180         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
20181         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20182         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20183         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
20184         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20185         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
20186         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
20187         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20188         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20189         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20190         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
20191         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20192         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20193         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
20194         * sysdeps/posix/closedir.c: Likewise.
20195         * sysdeps/posix/opendir.c: Likewise.
20196         * sysdeps/posix/readdir.c: Likewise.
20197         * sysdeps/posix/rewinddir.c: Likewise.
20198         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
20199         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
20200         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20201         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20202         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20203         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
20204         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
20205         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
20206         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
20207         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
20208         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
20209         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
20210         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
20211         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
20212         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
20213         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
20214         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
20215         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
20216         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
20217         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
20218         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
20219         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
20220         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
20221         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
20222         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
20223         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
20224         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
20225         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
20226         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
20227         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
20228         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
20229         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
20230         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
20231         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
20232         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
20233         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
20234         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20235         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20236         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
20237         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
20238         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
20239         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
20240         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
20241         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20242         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20243         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
20244         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
20245         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
20246         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
20247         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
20248         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
20249         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
20250         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20251         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
20252         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
20253         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
20254         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
20255         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
20256         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
20257         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
20258         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20259         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
20260         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20261         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
20262         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
20263         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20264         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
20265         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
20266         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
20267         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
20268         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20269         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
20270         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
20271         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
20272         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
20273         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
20274         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
20275         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
20276         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20277         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
20278         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
20279         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20280         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
20281         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
20282         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20283         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
20284         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
20285         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20286         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20287         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20288         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
20289         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
20290         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
20291         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20292         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20293         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
20294         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20295         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20296         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
20297         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
20298         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20299         * sysdeps/unix/alpha/sysdep.S: Likewise.
20300         * sysdeps/unix/alpha/sysdep.h: Likewise.
20301         * sysdeps/unix/make-syscalls.sh: Likewise.
20302         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20303         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20304         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20305         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
20306         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20307         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20308         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
20309         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20310         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20311         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
20312         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20313         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20314         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20315         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20316         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20317         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20318         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20319         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20320         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20321         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20322         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20323         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20324         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20325         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20326         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20327         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20328         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20331         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
20332         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20333         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20334         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20335         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20336         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20337         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20338         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20339         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20340         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20341         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20342         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20343         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20344         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20345         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20346         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20347         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20348         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20349         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20350         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20351         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20352         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20353         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20354         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20355         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20356         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
20357         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20358         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20359         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20360         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
20361         * sysdeps/x86_64/memcpy.S: Likewise.
20362         * sysdeps/x86_64/memmove.c: Likewise.
20363         * sysdeps/x86_64/memset.S: Likewise.
20364         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
20365         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20366         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20367         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
20368         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20369         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20370         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20371         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20372         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20373         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20374         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20375         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20376         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
20377         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20378         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20379         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
20380         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20381         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20382         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20383         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20384         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
20385         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20386         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20387         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20388         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20389         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20390         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20391         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
20392         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20393         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20394         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
20395         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20396         * sysdeps/x86_64/strcmp.S: Likewise.
20398         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
20400         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
20401         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
20402         * elf/rtld-Rules: Likewise.
20403         * elf/setup-vdso.h: Likewise.
20404         * include/assert.h: Likewise.
20405         * include/bits/stdlib-float.h: Likewise.
20406         * include/errno.h: Likewise.
20407         * include/sys/stat.h: Likewise.
20408         * include/unistd.h: Likewise.
20409         * sysdeps/aarch64/setjmp.S: Likewise.
20410         * sysdeps/alpha/setjmp.S: Likewise.
20411         * sysdeps/arm/__longjmp.S: Likewise.
20412         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
20413         * sysdeps/arm/setjmp.S: Likewise.
20414         * sysdeps/arm/sysdep.h: Likewise.
20415         * sysdeps/generic/_itoa.h: Likewise.
20416         * sysdeps/generic/dl-sysdep.h: Likewise.
20417         * sysdeps/generic/ldsodefs.h: Likewise.
20418         * sysdeps/i386/dl-tls.h: Likewise.
20419         * sysdeps/i386/setjmp.S: Likewise.
20420         * sysdeps/m68k/setjmp.c: Likewise.
20421         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
20422         * sysdeps/mach/hurd/opendir.c: Likewise.
20423         * sysdeps/posix/getcwd.c: Likewise.
20424         * sysdeps/posix/opendir.c: Likewise.
20425         * sysdeps/posix/profil.c: Likewise.
20426         * sysdeps/powerpc/dl-procinfo.h: Likewise.
20427         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20428         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20429         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20430         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20431         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
20432         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20433         * sysdeps/s390/dl-tls.h: Likewise.
20434         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20435         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20436         * sysdeps/sh/sh3/setjmp.S: Likewise.
20437         * sysdeps/sh/sh4/setjmp.S: Likewise.
20438         * sysdeps/unix/alpha/sysdep.h: Likewise.
20439         * sysdeps/unix/arm/sysdep.S: Likewise.
20440         * sysdeps/unix/i386/sysdep.S: Likewise.
20441         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20442         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20443         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20444         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20445         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20446         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20447         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20448         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20449         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20450         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20451         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20452         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20453         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20456         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20457         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20458         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20459         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20460         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20461         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20462         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20463         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20464         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20465         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20466         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20467         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20468         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20469         * sysdeps/x86_64/setjmp.S: Likewise.
20471         * include/math.h: Use IS_IN instead of IS_IN_libm.
20472         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
20473         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20474         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20475         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
20476         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20477         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20478         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20479         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20480         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20481         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20482         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
20483         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
20484         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
20485         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
20486         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
20487         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
20488         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
20489         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
20490         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
20491         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
20492         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
20493         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
20494         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
20495         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
20496         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
20497         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
20498         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
20499         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
20500         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
20501         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
20502         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
20503         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20504         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20506         Likewise.
20507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
20508         Likewise.
20509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
20510         Likewise.
20511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
20512         Likewise.
20513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
20514         Likewise.
20515         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20516         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
20517         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20518         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20519         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20520         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
20522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
20523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
20524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
20525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
20526         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
20527         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
20528         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20529         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20530         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20531         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20532         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20533         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20534         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20535         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
20536         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
20537         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
20538         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
20539         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
20540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20541         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
20543         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
20544         * nptl/pthreadP.h: Likewise.
20545         * nptl_db/structs.def: Likewise.
20546         * sysdeps/arm/sysdep.h: Likewise.
20547         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20548         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20549         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
20550         * sysdeps/unix/alpha/sysdep.h: Likewise.
20551         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20552         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20553         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20554         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20555         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20556         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20557         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20558         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20559         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20560         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20561         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20562         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20563         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20564         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20567         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20568         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20569         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20570         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20571         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20572         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20573         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20574         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20575         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
20576         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20578         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
20579         * nptl/pthreadP.h: Likewise.
20580         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20581         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20582         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20583         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20584         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20585         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20586         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20587         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20588         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20589         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20590         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20591         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20593         Likewise.
20594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20595         Likewise.
20596         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20597         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20598         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20599         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20600         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20601         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20602         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20603         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20605         * dlfcn/dladdr.c: Use IS_IN.
20606         * dlfcn/dladdr1.c: Likewise.
20607         * dlfcn/dlclose.c: Likewise.
20608         * dlfcn/dlerror.c: Likewise.
20609         * dlfcn/dlinfo.c: Likewise.
20610         * dlfcn/dlmopen.c: Likewise.
20611         * dlfcn/dlopen.c: Likewise.
20612         * dlfcn/dlsym.c: Likewise.
20613         * dlfcn/dlvsym.c: Likewise.
20615         * include/ifaddrs.h: Use IS_IN.
20616         * inet/check_pf.c: Likewise.
20617         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20618         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20620         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20621         IS_IN_ldconfig.
20622         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20623         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20625         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20626         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20627         IS_IN (libc).
20629         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20631         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20632         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20633         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20634         * include/libc-symbols.h (IS_IN_LIB): New macro.
20635         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20636         * include/netdb.h: Likewise.
20637         * include/stap-probe.h: Remove all uses of IN_LIB.
20639         * Makeconfig (module-cppflags-real): Define MODULE_NAME
20640         instead of IN_MODULE.
20641         * include/libc-symbols.h (IN_MODULE): Define using
20642         MODULE_NAME.
20643         (PASTE_NAME, PASTE_NAME1): New macros.
20644         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20645         of IN_LIB.
20646         (STAP_PROBE_ASM): Likewise.
20648 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20650         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20651         __mach_init in dlopened libc.
20653 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
20655         * sysdeps/arm/preconfigure.ac: Delete EABI check.
20656         * sysdeps/arm/preconfigure: Regenerate.
20658 2014-11-21  Roland McGrath  <roland@hack.frob.com>
20660         * nptl/pthread_create.c (__pthread_create_2_1): Set
20661         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20662         when copying values from IATTR into PD.
20664 2014-11-21  Will Newton  <will.newton@linaro.org>
20665             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
20667         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20668         Refactor inline-asm.  Also add comment.
20670         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20671         ElfW macro instead of hardcoded Elf64 types.
20672         (la_aarch64_gnu_pltenter): Likewise.
20673         * sysdeps/aarch64/dl-machine.h
20674         (elf_machine_runtime_setup): Use ElfW(Addr).
20676         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20677         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20678         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20679         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20680         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20681         (R_AARCH64_TLS_DTPMOD64): Rename to ..
20682         (R_AARCH64_TLS_DTPMOD): This.
20683         (R_AARCH64_TLS_DTPREL64): Rename to ...
20684         (R_AARCH64_TLS_DTPREL): This.
20685         (R_AARCH64_TLS_TPREL64): Rename to ...
20686         (R_AARCH64_TLS_TPREL): This.
20687         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20688         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20689         R_AARCH64_TLS_TPREL64.
20690         (elf_machine_rela): Likewise.
20692 2014-11-21  Torvald Riegel  <triegel@redhat.com>
20694         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20695         by setting it to 0.  64b atomics are not supported currently.
20697 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20699         [BZ #16469]
20700         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20701         search domain names.
20703 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20705         [BZ #16469]
20706         * NEWS: Update.
20707         * resolv/res_query.c (__libc_res_nquerydomain): Retain
20708         trailing dot.
20709         * posix/tst-getaddrinfo5.c: New.
20710         * posix/Makefile (tests): Add it.
20712 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20714         [BZ #14498]
20715         * NEWS: Fixed.
20716         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20717         after parsing line but before break_if_match.
20718         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20719         if there is a protocol mismatch.
20721 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20723         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20724         because the potential race is on the user-supplied stream.
20726 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20728         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20729         string literal if not passed a buffer.
20730         * manual/job.texi (ctermid): Update reasoning, note deviation
20731         from posix, suggest mtasurace when not passed a buffer, for
20732         future non-preliminary safety notes.
20734 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20736         * manual/users.texi (cuserid): Fix MT-Safety note for the case
20737         of not passing it a buffer.
20738         Reported by Peng Haitao.
20740 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20742         * manual/Makefile ($(objpfx)stamp-summary): Require
20743         check-safety.sh to pass.
20744         * manual/check-safety.sh: Wish for verification that every
20745         @deftypefn and @deftypefun is followed by a @safety remark.
20747 2014-11-20  Roland McGrath  <roland@hack.frob.com>
20749         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20751         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20752         PTHREAD_CANCEL_ASYNCHRONOUS.
20753         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20754         send SIGCANCEL.
20756         * nptl/default-sched.h: New file.
20757         * sysdeps/unix/sysv/linux/default-sched.h: New file.
20758         * nptl/pthread_create.c: Include it.
20759         (__pthread_create_2_1): Use collect_default_sched instead of making
20760         Linux syscalls here directly.
20762 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20764         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20765         __pthread_once): Use C11 atomics.
20767 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20769         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20771 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20773         * include/atomic.h (__atomic_link_error, __atomic_check_size,
20774         atomic_thread_fence_acquire, atomic_thread_fence_release,
20775         atomic_thread_fence_seq_cst, atomic_load_relaxed,
20776         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
20777         atomic_compare_exchange_weak_relaxed,
20778         atomic_compare_exchange_weak_acquire,
20779         atomic_compare_exchange_weak_release,
20780         atomic_exchange_acquire, atomic_exchange_release,
20781         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
20782         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
20783         atomic_fetch_and_acquire,
20784         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
20786 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20788         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
20789         USE_ATOMIC_COMPILER_BUILTINS): Define.
20790         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
20791         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20792         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
20793         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20794         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
20795         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20796         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
20797         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20798         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
20799         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20800         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
20801         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20802         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
20803         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20804         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20805         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20806         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20807         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20808         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20809         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20810         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
20811         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20812         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20813         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20814         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
20815         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20816         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20817         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20818         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
20819         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20820         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
20821         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20822         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
20823         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20824         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20825         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20826         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
20827         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20828         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
20829         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20831 2014-11-19  Roland McGrath  <roland@hack.frob.com>
20833         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
20834         the sched_priority value here.  It was already checked when the user
20835         called pthread_attr_setschedparam.
20837         * nptl/tst-bad-schedattr.c: New file.
20838         * nptl/Makefile (tests): Add it.
20840 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
20841             Florian Weimer  <fweimer@redhat.com>
20842             Joseph Myers  <joseph@codesourcery.com>
20843             Adam Conrad  <adconrad@0c3.net>
20844             Andreas Schwab  <schwab@suse.de>
20845             Brooks  <bmoses@google.com>
20847         [BZ #17625]
20848         * wordexp-test.c (__dso_handle): Add prototype.
20849         (__register_atfork): Likewise.
20850         (__app_register_atfork): New function.
20851         (registered_forks): New global.
20852         (register_fork): New function.
20853         (test_case): Add 3 new tests for WRDE_CMDSUB.
20854         (main): Call __app_register_atfork.
20855         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
20856         fork count is non-zero fail the test.
20857         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
20858         is set.
20859         (parse_dollars): Remove check for WRDE_NOCMD.
20860         (parse_dquote): Likewise.
20862 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20864         * Makeconfig (built-modules): List non-library modules to be
20865         built.
20866         (module-cppflags): Include libc-modules.h for
20867         everything except shlib-versions.v.i.
20868         (CPPFLAGS): Use it.
20869         (before-compile): Add libc-modules.h.
20870         ($(common-objpfx)libc-modules.h,
20871         $(common-objpfx)libc-modules.stmp): New targets.
20872         (common-generated): Add libc-modules.h and libc-modules.stmp.
20873         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
20874         * include/libc-symbols.h: Don't include libc-modules.h.
20875         * include/libc-modules.h: Remove file.
20876         * scripts/gen-libc-modules.awk: New script to generate
20877         libc-modules.h.
20878         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
20879         Depend on libc-modules.stmp.
20881         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
20883         * Makeconfig (in-module): Get value of libof set for the
20884         translation unit.
20885         (CPPFLAGS): Use $(in-module).
20886         * Makerules: Don't suffix routine names for nonlib.
20887         * include/libc-modules.h: New file.
20888         * include/libc-symbols.h: Include libc-modules.h
20889         (IS_IN): New macro to replace IS_IN_* macros.
20890         * elf/Makefile: Set libof-* for each routine.
20891         * elf/rtld-Rules: Likewise.
20892         * extra-modules.mk: Likewise.
20893         * iconv/Makefile: Likewise.
20894         * iconvdata/Makefile: Likewise.
20895         * locale/Makefile: Likewise.
20896         * malloc/Makefile: Likewise.
20897         * nss/Makefile: Likewise.
20898         * sysdeps/gnu/Makefile: Likewise.
20899         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
20900         * sysdeps/unix/sysv/linux/Makefile: Likewise.
20901         * sysdeps/s390/s390-64/Makefile: Likewise.
20902         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
20903         CPPFLAGS for nscd instead of nonlib.
20905 2014-11-18  Roland McGrath  <roland@hack.frob.com>
20907         * nptl/createthread.c: New file.
20909         * nptl/createthread.c: Moved ...
20910         * sysdeps/unix/sysv/linux/createthread.c: ... here.
20912         * nptl/createthread.c: Add proper top-line comment.
20913         (do_clone): Folded into ...
20914         (create_thread): ... here.  Take new arguments STOPPED_START and
20915         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
20916         increment __nptl_threads, do event-reporting logic, do
20917         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
20918         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
20919         resource cleanup if sched_setaffinity or sched_setscheduler fails,
20920         just send SIGCANCEL.
20921         * nptl/pthread_create.c: Forward-declare create_thread before
20922         including createthread.c.
20923         (start_thread): Use new macro START_THREAD_DEFN to replace defining
20924         declaration, and new macro START_THREAD_SELF to replace argument.
20925         Remove return statement.
20926         (report_thread_creation): New function.
20927         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
20928         synchronization logic, and __nptl_nthreads increment here, around
20929         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
20930         PD->parent_cancelhandling here, before create_thread.  When
20931         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
20932         __deallocate_stack, and ENOMEM translation here.
20934 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
20936         [BZ #17616]
20937         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
20938         (mptwo): Rename to __mptwo.
20939         (__inv): Use __mptwo instead of mptwo.
20940         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
20941         (mptwo): Rename to __mptwo.
20942         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
20943         of mpone and __mptwo instead of mptwo.
20944         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
20945         instead of mpone.
20946         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20947         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
20948         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
20949         of mpone and __mptwo instead of mptwo.
20950         (__mpranred): Use __mpone instead of mpone.
20951         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
20952         variable.
20953         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20954         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20955         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20956         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20957         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20958         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20959         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20960         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20961         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20962         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20963         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20964         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20965         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20966         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20967         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20968         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20969         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20970         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20971         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20973 2014-11-18  Tom de Vries  <tom@codesoucery.com>
20975         * manual/signal.texi (Primitives Interrupted by Signals): In section,
20976         replace BSD Handler xref with BSD Signal Handling.
20978 2014-11-17  Richard Henderson  <rth@redhat.com>
20980         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
20981         (_FP_PACK_RAW_2): Remove.
20982         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
20983         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
20984         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
20985         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
20986         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
20987         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
20988         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
20989         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
20990         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
20991         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
20992         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
20993         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
20994         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
20995         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
20996         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
20997         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
20999 2014-11-14  Roland McGrath  <roland@hack.frob.com>
21001         * signal/signal.h [__USE_MISC]
21002         (struct sigvec): Remove type.
21003         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
21004         (sigvec): Remove declaration.
21005         * sysdeps/posix/sigvec.c: Moved ...
21006         * signal/sigvec.c: ... here, replacing old file.
21007         (struct sigvec): New type, copied from old signal.h definition.
21008         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
21009         (__sigvec): Convert definition to prototype.
21010         (sigvec): Replace weak_alias with compat_symbol.
21011         * signal/Versions (libc: GLIBC_2.21): New version set.
21012         * include/signal.h: Remove __sigvec declaration.
21013         * sysdeps/unix/bsd/sigvec.c: Remove file.
21014         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
21015         * manual/signal.texi (BSD Handler): Remove subsection.
21016         Move siginterrupt up to ...
21017         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
21018         (Blocking in BSD): Fold subsection into its parent.
21019         * NEWS: Mention sigvec removal.
21021 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21023         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
21024         (DLA_FMS): Make definition conditional only on [__FMA4__].
21025         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
21026         definition.
21028         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
21029         Make definition conditional only on [PROF].
21030         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
21031         definition.
21032         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
21033         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
21035         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
21036         !__GNUC__].
21037         * include/signal.h (__sigpause): Move declaration above call to
21038         libc_hidden_proto.
21039         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
21040         variable.
21041         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21042         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21044 2014-11-14  David S. Miller  <davem@davemloft.net>
21046         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
21047         Define before including <string/memcpy.c> and <string/mempcpy.c>.
21049 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21051         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
21052         * configure: Regenerated.
21053         * manual/install.texi (Tools for Compilation): Document a
21054         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
21055         compiler verified to work.
21056         * INSTALL: Regenerated.
21058         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
21059         redeclare with asm name.
21060         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
21061         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
21062         including <string.h>.
21063         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21064         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
21065         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21066         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
21067         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21068         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21069         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21071 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
21073         * stdlib/strtol.c (__strtol): Use prototype definition.
21075         [BZ #17594]
21076         * stdlib/strtol.c (SYM__): New macro.
21077         (SYM__1): Likewise.
21078         (__strtol): Likewise.
21079         (strtol): Rename to __strtol and define as weak alias of
21080         __strtol.  Use libc_hidden_weak.
21082 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21084         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
21085         Use numbered labels in inline assembly.
21087 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21089         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
21090         Add setjmp LIBC_PROBE.
21091         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
21092         Likewise.
21093         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
21094         Add longjmp, longjmp_target LIBC_PROBE.
21095         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
21096         Likewise.
21098 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21100         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21101         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
21102         to get rid of unused variable warning.
21104 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21106         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
21107         Check for unwind_backtrace ==  NULL only in SHARED case.
21108         (__backchain_backtrace): Compile only in SHARED case.
21109         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
21110         Likewise.
21111         (__backchain_backtrace): Declare as static.
21113 2014-11-12  Roland McGrath  <roland@hack.frob.com>
21115         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
21116         (__libc_multiple_threads_ptr): Variable moved ...
21117         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
21119 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
21121         * conform/GlibcConform.pm: New file.
21122         * conform/conformtest.pl: Use GlibcConform module.
21123         * conform/linknamespace.pl: New file.
21124         * conform/list-header-symbols.pl: Likewise.
21125         * conform/Makefile (linknamespace-symlists-base): New variable.
21126         (linknamespace-symlists-tests): Likewise.
21127         (linknamespace-header-base): Likewise.
21128         (linknamespace-header-tests): Likewise.
21129         (tests-special): Add new tests.
21130         ($(linknamespace-symlists-tests)): New rule.
21131         (linknamespace-libs): New variable.
21132         ($(objpfx)symlist-stdlibs): New rule.
21133         ($(linknamespace-header-tests)): Likewise.
21134         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
21135         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
21136         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
21137         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
21138         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
21139         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
21140         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
21141         (test-xfail-ISO/math.h/linknamespace): Likewise.
21142         (test-xfail-ISO/signal.h/linknamespace): Likewise.
21143         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
21144         (test-xfail-ISO/time.h/linknamespace): Likewise.
21145         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21146         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
21147         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21148         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21149         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21150         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21151         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21152         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21153         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21154         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21155         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21156         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21157         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21158         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
21159         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
21160         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21161         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
21162         (test-xfail-XPG3/search.h/linknamespace): Likewise.
21163         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
21164         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21165         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
21166         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21167         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21168         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
21169         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21170         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21171         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
21172         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
21173         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21174         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
21175         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21176         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21177         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21178         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21179         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
21180         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
21181         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
21182         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
21183         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21184         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
21185         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21186         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
21187         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21188         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21189         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21190         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
21191         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
21192         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21193         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21194         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
21195         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21196         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21197         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
21198         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21199         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21200         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21201         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21202         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21203         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21204         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21205         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21206         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21207         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
21208         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21209         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21210         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21211         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
21212         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21213         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21214         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
21215         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21216         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21217         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21218         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21219         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21220         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21221         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
21222         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
21223         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21224         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
21225         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21226         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
21227         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21228         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21229         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21230         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
21231         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21232         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21233         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21234         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
21235         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
21236         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
21237         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21238         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21239         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21240         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21241         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
21242         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
21243         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21244         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21245         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21246         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21247         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21248         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21249         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21250         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21251         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21252         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21253         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
21254         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21255         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21256         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
21257         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21258         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21259         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21260         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21261         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21262         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21263         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21264         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21265         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21266         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21267         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21268         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21269         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21270         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21271         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
21272         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21273         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21274         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21275         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21276         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21277         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
21278         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21279         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21280         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21281         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21282         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21283         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21284         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21285         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21286         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21287         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21288         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21289         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21290         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21291         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
21292         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21293         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21294         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21296         [BZ #17589]
21297         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
21298         of fgets_unlocked.
21300         [BZ #17585]
21301         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
21302         (memmem): Rename to __memmem and define as weak alias of
21303         __memmem.  Use libc_hidden_weak.
21304         (__memmem): Use libc_hidden_def.
21305         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
21306         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
21307         memmem.
21309         [BZ #17582]
21310         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
21311         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
21312         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
21313         and define as weak alias of __fgets_unlocked.  Use
21314         libc_hidden_weak.
21315         (__fgets_unlocked): Use libc_hidden_def.
21316         * include/stdio.h (__fgets_unlocked): Declare.  Use
21317         libc_hidden_proto.
21318         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
21319         __fgets_unlocked instead of fgets_unlocked.
21320         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
21321         (GET_NPROCS_CONF_PARSER): Likewise.
21322         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
21323         (GET_NPROCS_CONF_PARSER): Likewise.
21325         [BZ #17574]
21326         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
21327         weak alias of __wmemset.  Use libc_hidden_weak.
21328         (__wmemset): Use libc_hidden_def.
21329         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
21330         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
21331         of wmemset.
21333         [BZ #17573]
21334         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
21335         with asm name __mempcpy.
21336         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
21338         [BZ #17572]
21339         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
21340         and define as weak alias of __rawmemchr.
21341         (__rawmemchr): Do not define as strong alias of rawmemchr.
21343         [BZ #17571]
21344         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
21345         alias of __qsort_r.
21346         (qsort): Call __qsort_r instead of qsort_r.
21347         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
21348         (__qsort_r): Declare.  Call libc_hidden_proto.
21349         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
21350         instead of qsort_r.
21351         * nscd/gai.c (__qsort_r): Define to qsort_r.
21352         * posix/tst-rfc3484.c (__qsort_r): Likewise.
21353         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
21354         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
21356         [BZ #17570]
21357         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
21358         define as weak alias of __malloc_info.
21360         [BZ #17584]
21361         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
21362         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21363         (__rewinddir): Use libc_hidden_def.
21364         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
21365         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21366         (__rewinddir): Use libc_hidden_def.
21367         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
21368         weak alias of __rewinddir.  Don't use libc_hidden_def.
21369         (__rewinddir): Use libc_hidden_def.
21370         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
21371         (__rewinddir): Use libc_hidden_proto.
21372         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
21373         rewinddir.
21374         (__getcwd): Use __rewinddir instead of rewinddir.
21376         [BZ #17583]
21377         * libio/fileno.c (fileno): Rename to __fileno and define as weak
21378         alias of __fileno.  Use libc_hidden_weak.
21379         (__fileno): Use libc_hidden_def.
21380         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
21381         * libio/ftello.c (ftello): Rename to __ftello and define as weak
21382         alias of __ftello.
21383         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
21384         __ftello.
21385         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
21386         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
21387         libc_hidden_def.
21388         (fread_unlocked): Don't use libc_hidden_ver.
21389         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
21390         and define as weak alias of __fread_unlocked.  Don't use
21391         libc_hidden_def.
21392         (__fread_unlocked): Use libc_hidden_def.
21393         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
21394         (ftello): Don't use libc_hidden_proto.
21395         (__ftello): Declare.  Use libc_hidden_proto.
21396         (fread_unlocked): Don't use libc_hidden_proto.
21397         (__fread_unlocked): Declare.  Use libc_hidden_proto.
21398         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
21399         and __ftello instead of fileno, fread_unlocked and ftello.
21401 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21403         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
21404         GOT12.
21405         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21406         Likewise.
21407         (_dl_start_user): Likewise.
21408         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
21410 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
21411             Siddhesh Poyarekar  <siddhesh@redhat.com>
21413         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
21414         Move argv and envp down instead of moving argc up.
21415         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
21417 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
21419         [BZ #17506]
21420         * test-skeleton.c (main): Return successful if one of
21421         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
21422         * string/tst-strcoll-overflow.c: Define expected status.
21424 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
21426         [BZ #17475]
21427         * locale/iso-639.def: Define Bhili and Tulu language codes.
21429 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
21431         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
21433 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
21435         [BZ #17555]
21436         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
21438 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21440         * configure.ac: Updated check of minimal required version to
21441         2.22.
21442         * manual/install.texi (Tools for Compilation): Updated version
21443         number.
21444         * configure: Regenerated.
21445         * INSTALL: Likewise.
21447 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
21449         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
21450         __tls_get_addr.
21452 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
21454         * include/sys/wait.h (__libc_waitpid): Remove declaration.
21455         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
21456         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21457         libc_hidden_weak.
21458         (waitpid): Define as alias of __waitpid.
21459         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
21460         __waitpid.
21461         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21462         libc_hidden_weak.
21463         (waitpid): Define as alias of __waitpid.
21464         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
21465         __libc_waitpid alias.
21466         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
21467         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
21468         Likewise.
21469         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
21470         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
21471         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
21472         alias.
21473         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
21474         __waitpid.
21475         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21476         libc_hidden_weak.
21477         (waitpid): Define as alias of __waitpid.
21479 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
21481         * manual/llio.texi: Add comment that write safety has been
21482         fixed in Linux.
21484         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
21485         (localplt-build-dso): Add elf/ld.so.
21486         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
21487         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
21488         and free for ld.so.
21489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
21490         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
21491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
21492         Likewise.
21493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21494         Likewise.
21495         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
21496         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
21497         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
21498         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
21499         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21500         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
21501         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
21502         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
21503         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21504         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
21505         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21507 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
21509         [BZ #14132]
21510         * include/libc-symbols.h (INTUSE): Remove macro.
21511         (INTDEF): Likewise.
21512         (INTVARDEF): Likewise.
21513         (_INTVARDEF): Likewise.
21514         (INTDEF2): Likewise.
21515         (INTVARDEF2): Likewise.
21516         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
21517         rtld_hidden_def instead of INTVARDEF.
21518         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
21519         (_dl_starting_up_internal): Remove declaration.
21520         (_dl_starting_up): Use rtld_hidden_proto.
21521         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
21522         declaration.
21523         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
21524         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
21525         _dl_starting_up.
21526         * elf/dl-writev.h (_dl_writev): Likewise.
21527         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
21528         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
21529         _dl_starting_up_internal.
21531 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21533         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21534         test-skeleton.c.
21536 2014-11-05  Will Newton  <will.newton@linaro.org>
21538         * benchtests/Makefile: (bench-malloc): Add malloc thread
21539         scalability benchmark.
21540         * benchtests/bench-malloc-threads.c: New file.
21542 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
21544         * sysdeps/aarch64/strchrnul.S: New file.
21546 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21548         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
21549         definition.
21550         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21551         Likwise.
21552         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21553         Likewise.
21554         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21555         Likewise.
21556         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21557         Likewise.
21558         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21559         Likewise.
21561 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
21563         * catgets/test-gencat.c: Use test-skeleton.c.
21564         * catgets/tst-catgets.c: Likewise.
21565         * csu/tst-empty.c: Likewise.
21566         * elf/tst-audit2.c: Likewise.
21567         * elf/tst-global1.c: Likewise.
21568         * elf/tst-pathopt.c: Likewise.
21569         * elf/tst-piemod1.c: Likewise.
21570         * elf/tst-tls10.c: Likewise.
21571         * elf/tst-tls11.c: Likewise.
21572         * elf/tst-tls12.c: Likewise.
21573         * gnulib/tst-gcc.c: Likewise.
21574         * iconvdata/tst-e2big.c: Likewise.
21575         * iconvdata/tst-loading.c: Likewise.
21576         * iconv/tst-iconv1.c: Likewise.
21577         * iconv/tst-iconv2.c: Likewise.
21578         * inet/test-inet6_opt.c: Likewise.
21579         * inet/tst-gethnm.c: Likewise.
21580         * inet/tst-network.c: Likewise.
21581         * inet/tst-ntoa.c: Likewise.
21582         * intl/tst-codeset.c: Likewise.
21583         * intl/tst-gettext2.c: Likewise.
21584         * intl/tst-gettext3.c: Likewise.
21585         * intl/tst-ngettext.c: Likewise.
21586         * intl/tst-translit.c: Likewise.
21587         * io/test-stat.c: Likewise.
21588         * libio/test-fmemopen.c: Likewise.
21589         * libio/tst-freopen.c: Likewise.
21590         * libio/tst-sscanf.c: Likewise.
21591         * libio/tst-ungetwc1.c: Likewise.
21592         * libio/tst-ungetwc2.c: Likewise.
21593         * libio/tst-widetext.c: Likewise.
21594         * localedata/tst-ctype.c: Likewise.
21595         * localedata/tst-digits.c: Likewise.
21596         * localedata/tst-leaks.c: Likewise.
21597         * localedata/tst-mbswcs1.c: Likewise.
21598         * localedata/tst-mbswcs2.c: Likewise.
21599         * localedata/tst-mbswcs3.c: Likewise.
21600         * localedata/tst-mbswcs4.c: Likewise.
21601         * localedata/tst-mbswcs5.c: Likewise.
21602         * localedata/tst-setlocale.c: Likewise.
21603         * localedata/tst-trans.c: Likewise.
21604         * localedata/tst-wctype.c: Likewise.
21605         * localedata/tst-xlocale1.c: Likewise.
21606         * login/tst-grantpt.c: Likewise.
21607         * malloc/tst-calloc.c: Likewise.
21608         * malloc/tst-malloc.c: Likewise.
21609         * malloc/tst-mallocstate.c: Likewise.
21610         * malloc/tst-mcheck.c: Likewise.
21611         * malloc/tst-mtrace.c: Likewise.
21612         * malloc/tst-obstack.c: Likewise.
21613         * math/atest-exp2.c: Likewise.
21614         * math/atest-exp.c: Likewise.
21615         * math/atest-sincos.c: Likewise.
21616         * math/test-matherr.c: Likewise.
21617         * math/test-misc.c: Likewise.
21618         * math/test-powl.c: Likewise.
21619         * math/tst-definitions.c: Likewise.
21620         * misc/tst-dirname.c: Likewise.
21621         * misc/tst-efgcvt.c: Likewise.
21622         * misc/tst-fdset.c: Likewise.
21623         * misc/tst-hsearch.c: Likewise.
21624         * misc/tst-mntent2.c: Likewise.
21625         * nptl/tst-sem7.c: Likewise.
21626         * nptl/tst-sem8.c: Likewise.
21627         * nptl/tst-sem9.c: Likewise.
21628         * nss/test-netdb.c: Likewise.
21629         * posix/tst-fnmatch.c: Likewise.
21630         * posix/tst-getlogin.c: Likewise.
21631         * posix/tst-gnuglob.c: Likewise.
21632         * posix/tst-mmap.c: Likewise.
21633         * pwd/tst-getpw.c: Likewise.
21634         * resolv/tst-inet_ntop.c: Likewise.
21635         * rt/tst-timer.c: Likewise.
21636         * stdio-common/test-fseek.c: Likewise.
21637         * stdio-common/test-popen.c: Likewise.
21638         * stdio-common/test-vfprintf.c: Likewise.
21639         * stdio-common/tst-cookie.c: Likewise.
21640         * stdio-common/tst-fileno.c: Likewise.
21641         * stdio-common/tst-gets.c: Likewise.
21642         * stdio-common/tst-obprintf.c: Likewise.
21643         * stdio-common/tst-perror.c: Likewise.
21644         * stdio-common/tst-sprintf2.c: Likewise.
21645         * stdio-common/tst-sprintf3.c: Likewise.
21646         * stdio-common/tst-sprintf.c: Likewise.
21647         * stdio-common/tst-swprintf.c: Likewise.
21648         * stdio-common/tst-tmpnam.c: Likewise.
21649         * stdio-common/tst-unbputc.c: Likewise.
21650         * stdio-common/tst-wc-printf.c: Likewise.
21651         * stdlib/tst-environ.c: Likewise.
21652         * stdlib/tst-fmtmsg.c: Likewise.
21653         * stdlib/tst-limits.c: Likewise.
21654         * stdlib/tst-rand48-2.c: Likewise.
21655         * stdlib/tst-rand48.c: Likewise.
21656         * stdlib/tst-random2.c: Likewise.
21657         * stdlib/tst-random.c: Likewise.
21658         * stdlib/tst-strtol.c: Likewise.
21659         * stdlib/tst-strtoll.c: Likewise.
21660         * stdlib/tst-tls-atexit.c: Likewise.
21661         * stdlib/tst-xpg-basename.c: Likewise.
21662         * string/test-ffs.c: Likewise.
21663         * string/tst-bswap.c: Likewise.
21664         * string/tst-inlcall.c: Likewise.
21665         * string/tst-strtok.c: Likewise.
21666         * string/tst-strxfrm.c: Likewise.
21667         * sysdeps/x86_64/tst-audit10.c: Likewise.
21668         * sysdeps/x86_64/tst-audit3.c: Likewise.
21669         * sysdeps/x86_64/tst-audit4.c: Likewise.
21670         * sysdeps/x86_64/tst-audit5.c: Likewise.
21671         * time/tst-ftime_l.c: Likewise.
21672         * time/tst-getdate.c: Likewise.
21673         * time/tst-mktime3.c: Likewise.
21674         * time/tst-mktime.c: Likewise.
21675         * time/tst-posixtz.c: Likewise.
21676         * time/tst-strptime2.c: Likewise.
21677         * time/tst-strptime3.c: Likewise.
21678         * wcsmbs/tst-btowc.c: Likewise.
21679         * wcsmbs/tst-mbrtowc.c: Likewise.
21680         * wcsmbs/tst-mbsrtowcs.c: Likewise.
21681         * wcsmbs/tst-wchar-h.c: Likewise.
21682         * wcsmbs/tst-wcpncpy.c: Likewise.
21683         * wcsmbs/tst-wcrtomb.c: Likewise.
21684         * wcsmbs/tst-wcsnlen.c: Likewise.
21685         * wcsmbs/tst-wcstof.c: Likewise.
21687 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
21689         [BZ #14132]
21690         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21691         INTDEF.
21692         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21693         declaration.
21694         (_dl_mcount): Use rtld_hidden_proto.
21695         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21696         _dl_mcount.
21697         * elf/rtld.c (_rtld_global_ro): Likewise.
21699         [BZ #14132]
21700         * elf/dl-init.c (_dl_init): Don't use INTDEF.
21701         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21702         of _dl_init_internal.
21703         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21704         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21705         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21706         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21707         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21708         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21709         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21710         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21711         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21712         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21713         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21714         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21715         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21716         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21717         * sysdeps/tile/dl-start.S (_start): Likewise.
21718         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21719         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21721         [BZ #14132]
21722         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21723         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21724         (rtld_progname): Make macro definition unconditional.
21725         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21726         INTDEF.
21727         (dlmopen_doit): Do not use INTUSE with _dl_argv.
21728         (dl_main): Likewise.
21729         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21730         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21731         instead of _dl_argv_internal.
21732         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21733         __GI__dl_argv instead of INTUSE(_dl_argv).
21734         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21735         __GI__dl_argv instead of _dl_argv_internal.
21737         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21738         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21739         macro.
21740         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21741         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21742         New macro.
21743         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21744         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21745         macro.
21746         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21747         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21749 2014-11-04  Andreas Schwab  <schwab@suse.de>
21751         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21753 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21755         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21756         mtvsrd instruction in binary form.
21758 2014-11-03  Andreas Schwab  <schwab@suse.de>
21760         [BZ #17522]
21761         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21762         for less than MB_LEN_MAX use a local buffer of that size.
21763         * libio/tst-fputws.c: New file.
21764         * libio/Makefile (tests): Add tst-fputws.
21766 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
21768         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21769         the size of the fpu_fr.fpu_dregs[] array.
21771 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
21773         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21774         (__nanosleep): Do not define as alias.
21775         (nanosleep): Define as alias of __nanosleep.
21776         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
21777         __libc_nanosleep name.
21779 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21781         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
21782         install.texi in comment.
21784 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21786         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
21787         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
21788         ... add here and use lwsync or sync ...
21789         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
21790         ... and add here using lwsync.
21792 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21794         * elf/dl-machine-reject-phdr.h: New file.
21795         * elf/dl-load.c: #include that.
21796         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
21797         if that returned true.
21799 2014-10-31  Roland McGrath  <roland@hack.frob.com>
21801         [BZ #17496]
21802         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
21803         gen-as-const-headers chunk.  Add a big scare comment after the last
21804         safe place to touch before-compile.
21806 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21808         * manual/install.texi (Tools for Compilation): Update autoconf
21809         version requirements.
21810         * INSTALL: Regenerated.
21812         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
21813         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
21814         (__libc_pselect): Likewise.
21816         [BZ #14138]
21817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
21818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21822 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21824         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
21825         correct barrier instruction.
21826         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
21827         Likewise.
21828         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
21829         Likewise.
21831 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21833         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
21834         after defining inlines.  Instead, just use parens to defeat macro
21835         expansion of __isctype in its declaration.
21837 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21839         * include/sys/uio.h (__libc_readv): Remove declaration.
21840         (__libc_writev): Likewise.
21841         * misc/readv.c (__libc_readv): Rename to __readv.
21842         (__readv): Do not define as alias.
21843         (readv): Define as alias of __readv.
21844         * misc/writev.c (__libc_writev): Rename to __writev.
21845         (__writev): Do not define as alias.
21846         (writev): Define as alias of __writev.
21847         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
21848         (__readv): Do not define as alias.
21849         (readv): Define unconditionally as alias of __readv.
21850         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
21851         (__writev): Do not define as alias.
21852         (writev): Define unconditionally as alias of __writev.
21853         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
21854         name.
21855         (writev): Do not define __libc_writev name.
21857 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21859         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
21860         (convert_charseq): New function, broken out of ...
21861         (use_from_charmap): ... here.  Call it.
21862         (use_to_charmap): Use convert_charseq and free instead of duplicating
21863         its code with a variable-length stack struct.
21865 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21867         * include/fcntl.h (__libc_creat): Remove declaration.
21868         * io/creat.c (__libc_creat): Rename to creat.
21869         (creat): Do not define as alias.
21870         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
21871         of creat instead of __libc_creat.
21872         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
21873         to creat.
21874         (creat): Do not define as alias.
21875         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
21876         __libc_creat.
21877         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
21878         __libc_creat name.
21879         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
21880         Likewise.
21882 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
21884         * manual/llio.texi: Add comments discussing why write() may be
21885         considered MT-unsafe on Linux.
21887 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
21889         * dl-load.c (local_strdup): Remove.
21890         (expand_dynamic_string_token): Use __strdup.
21891         (decompose_rpath): Likewise.
21892         (_dl_map_object): Likewise.
21894 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
21896         [BZ #14132]
21897         * sysdeps/generic/unwind-dw2-fde.c
21898         (__register_frame_info_bases_internal): Do not declare.
21899         (__register_frame_info_table_bases_internal): Likewise.
21900         (__deregister_frame_info_bases_internal): Likewise.
21901         (__register_frame_info_bases): Declare and use hidden_proto before
21902         definition.  Use hidden_def instead of INTDEF.
21903         (__register_frame_info_table_bases): Likewise.
21904         (__deregister_frame_info_bases): Likewise.
21905         (__register_frame_info): Do not use INTUSE.
21906         (__register_frame): Likewise.
21907         (__register_frame_info_table): Likewise.
21908         (__register_frame_table): Likewise.
21909         (__deregister_frame_info): Likewise.
21910         (__deregister_frame): Likewise.
21912 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
21914         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21915         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
21916         not undefine.
21917         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
21918         Likewise.
21919         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
21920         Likewise.
21922 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
21924         [BZ #14138]
21925         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
21926         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
21927         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
21928         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
21929         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
21930         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
21931         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
21932         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
21933         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
21934         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
21935         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
21936         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
21937         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
21938         syscall.
21939         (setfsuid): Likewise.
21940         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
21941         (setfsuid): Likewise.
21942         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
21943         (setfsuid): Likewise.
21944         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
21945         Likewise.
21946         (setfsuid): Likewise.
21947         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
21948         (setfsuid): Likewise.
21949         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
21950         Likewise.
21951         (setfsuid): Likewise.
21953 2014-10-27  Andreas Schwab  <schwab@suse.de>
21955         [BZ #17501]
21956         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
21957         check for Slow_SSE4_2 feature bit.
21958         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
21959         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21960         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
21961         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
21963 2014-10-24  Roland McGrath  <roland@hack.frob.com>
21965         * configure.ac: Validate compiler version with a empirical test of
21966         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
21967         $CC -v output.
21968         * configure: Regenerated.
21970         * inet/htons.c (htons): Prototypify.
21971         * inet/htonl.c (htonl): Likewise.
21973 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21975         * string/strncat.c (strncat): Improve performance by using strlen.
21977 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21979         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
21981 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21983         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
21984         Call libc_fetestexcept_aarch64.
21986 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21988         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
21989         Call libc_feholdexcept_aarch64.
21991 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21993         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
21994         Call get_rounding_mode.
21996 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21998         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21999         Simplify logic.
22001 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22003         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
22004         Simplify logic.
22006 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
22008         [BZ #14138]
22009         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
22010         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
22011         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
22012         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
22013         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
22014         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
22015         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
22016         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22017         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
22018         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
22019         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22020         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
22021         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
22022         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
22023         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
22024         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
22025         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
22026         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
22027         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
22028         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
22029         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
22030         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
22031         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
22032         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
22033         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
22034         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
22035         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
22036         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
22037         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
22038         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
22039         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
22040         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
22041         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
22042         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
22043         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
22044         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
22045         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
22046         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
22047         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
22048         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
22049         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
22050         syscall.
22051         (geteuid): Likewise.
22052         (getgid): Likewise.
22053         (getuid): Likewise.
22054         (getresgid): Likewise.
22055         (getresuid): Likewise.
22056         (getgroups): Likewise.
22057         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
22058         (geteuid): Likewise.
22059         (getgid): Likewise.
22060         (getuid): Likewise.
22061         (getresgid): Likewise.
22062         (getresuid): Likewise.
22063         (getgroups): Likewise.
22064         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
22065         (geteuid): Likewise.
22066         (getgid): Likewise.
22067         (getuid): Likewise.
22068         (getresgid): Likewise.
22069         (getresuid): Likewise.
22070         (getgroups): Likewise.
22071         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
22072         Likewise.
22073         (geteuid): Likewise.
22074         (getgid): Likewise.
22075         (getuid): Likewise.
22076         (getresgid): Likewise.
22077         (getresuid): Likewise.
22078         (getgroups): Likewise.
22079         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
22080         (geteuid): Likewise.
22081         (getgid): Likewise.
22082         (getuid): Likewise.
22083         (getresgid): Likewise.
22084         (getresuid): Likewise.
22085         (getgroups): Likewise.
22086         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
22087         Likewise.
22088         (geteuid): Likewise.
22089         (getgid): Likewise.
22090         (getuid): Likewise.
22091         (getgroups): Likewise.
22093         [BZ #14138]
22094         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
22095         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
22096         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
22097         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22098         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
22099         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
22100         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
22101         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
22102         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
22103         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
22104         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
22105         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
22106         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
22107         __chown.
22108         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
22109         (lchown): Likewise.
22110         (fchown): Likewise.
22111         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
22112         Likewise.
22113         (lchown): Likewise.
22114         (fchown): Likewise.
22115         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
22116         (lchown): Likewise.
22117         (fchown): Likewise.
22118         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
22119         Likewise.
22120         (lchown): Likewise.
22121         (fchown): Likewise.
22123 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22125         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
22126         Simplify logic.
22128 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22130         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22131         Cleanup logic.
22133 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22135         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22136         Remove unused include.
22138 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22140         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
22141         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
22142         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
22143         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
22145 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
22146             Helge Deller <deller@gmx.de>
22148         [BZ #17508]
22149         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
22150         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
22151         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
22153 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
22155         [BZ #14132]
22156         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
22157         Remove macro definition.
22158         (__ashrdi3_v_glibc20): Likewise.
22159         (__lshrdi3_v_glibc20): Likewise.
22160         (__cmpdi2_v_glibc20): Likewise.
22161         (__ucmpdi2_v_glibc20): Likewise.
22162         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
22163         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22164         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22165         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22166         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22167         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
22169 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22171         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
22172         old GNU extension [0] syntax.
22173         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
22174         alloca rather than an array member with variable length.
22175         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
22176         * nscd/nscd.c (invalidate_db): New function, broken out of ...
22177         (parse_opt): ... here.  Likewise use alloca there.
22178         Validate the -i argument before checking for rootness.
22179         (send_shutdown): New function, broken out of ...
22180         (parse_opt): ... here.
22182 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22184         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
22185         macro to get at the _rt_local_ro field.
22186         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
22187         ([PIC] case) or _dl_hwcap ([!PIC] case).
22188         * sysdeps/arm/setjmp.S: Likewise.
22190         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
22191         * sysdeps/arm/configure.ac: New check to define it.
22192         * sysdeps/arm/configure: Regenerated.
22193         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
22194         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
22195         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
22196         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
22197         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
22198         Use move/movt pair instead of a load.
22199         (LDST_GLOBAL): Macro removed.
22200         (LDR_GLOBAL): New macro replaces it.
22201         (LDR_HIDDEN): New macro.
22202         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
22203         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
22205         * setjmp/tst-setjmp-static.c: New file.
22206         * setjmp/Makefile (tests): Add it.
22207         (tests-static): New variable.
22209 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
22211         [BZ #17485]
22212         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
22214 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
22216         [BZ #14132]
22217         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
22219 2014-10-21  Roland McGrath  <roland@hack.frob.com>
22221         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
22223 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22225         * io/fts.c (dirent_not_directory): New function.
22226         (fts_build): Call it.
22228 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22230         * nptl/version.c (__nptl_main): Use normal __write rather than
22231         INTERNAL_SYSCALL.
22232         (banner): Update copyright years.
22234         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
22235         gettimeofday.
22236         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22237         * nptl/pthread_cond_timedwait.c: Likewise.
22238         * nptl/pthread_mutex_timedlock.c: Likewise.
22239         * nptl/sem_timedwait.c: Likewise.
22241         * sysdeps/nptl/bits/libc-lock.h
22242         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22243         (__libc_lock_init_recursive): Return void, not 0.
22244         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
22245         (__libc_rwlock_init): Likewise.
22246         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
22248 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22250         [BZ #15215]
22251         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
22252         (__pthread_once_slow): ... here.
22253         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
22254         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
22256 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22258         [BZ #15215]
22259         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
22260         __PTHREAD_ONCE_FORK_GEN_INCR): New.
22261         * sysdeps/nptl/fork.c (__libc_fork): Use them.
22262         * nptl/pthread_once.c (__pthread_once): Likewise.
22263         Update comments.
22265 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
22267         [BZ #14138]
22268         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
22269         name.
22270         (writev): Use __libc_writev as strong name.
22271         * sysdeps/unix/sysv/linux/readv.c: Remove file.
22272         * sysdeps/unix/sysv/linux/writev.c: Likewise.
22274 2014-10-17  Roland McGrath  <roland@hack.frob.com>
22276         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
22278         * sysdeps/i386/nptl/tls.h
22279         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
22280         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
22281         New macros.
22282         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
22283         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
22284         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
22285         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
22286         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
22287         Call CHECK_THREAD_SYSINFO instead of doing an assert.
22289         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22290         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
22291         on [__NR_futex].
22292         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
22293         broken out of ...
22294         (__pthread_mutex_init): ... here.  Call it.
22295         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
22296         Conditionalize PI cases on [__NR_futex].
22297         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
22298         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
22299         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22301         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
22302         conditional on [SIGSETXID].
22303         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
22304         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
22305         is defined.  Likewise for SIGSETXID.
22306         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
22307         Conditionalize definitions on [SIGSETXID].
22308         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
22309         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
22310         unblocking on [SIGCANCEL].
22312         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
22313         [__NR_set_robust_list].
22315 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22317         * string/strcoll_l.c (get_next_seq): Fix up formatting.
22318         (do_compare): Likewise.
22320 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
22322         [BZ #15884]
22323         * string/strcoll_l.c: Don't include stdio.h.
22324         (coll_seq): Remove members idxarr and rulearr.
22325         (get_next_seq_cached): Remove function.
22326         (get_next_seq): Likewise.
22327         (get_next_seq_nocache): Rename to get_next_seq.
22328         (do_compare): Remove function.
22329         (do_compare_nocache): Rename to do_compare.
22330         (STRCOLL): Remove weight and rules cache.
22332 2014-10-16  Roland McGrath  <roland@hack.frob.com>
22334         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
22335         * sysdeps/arm/sfp-machine.h: ... to here.
22336         * sysdeps/arm/Implies: Remove arm/soft-fp.
22338 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
22340         * conform/data/sys/utsname.h-data (*_t): Allow.
22341         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
22342         [POSIX] (WEXITED): Do not expect constant.
22343         [POSIX] (WSTOPPED): Likewise.
22344         [POSIX] (WNOHANG): Likewise.
22345         [POSIX] (WNOWAIT): Likewise.
22346         [POSIX] (siginfo_t): Do not expect type or elements.
22347         [POSIX] (pid_t): Do not expect type.
22348         [POSIX] (signal.h): Do not allow header.
22349         [POSIX] (sys/resource.h): Likewise.
22350         [POSIX] (si_*): Do not allow pattern.
22351         [POSIX] (W*): Likewise.
22352         [POSIX] (P_*): Likewise.
22353         [POSIX] (BUS_*): Likewise.
22354         [POSIX] (CLD_*): Likewise.
22355         [POSIX] (FPE_*): Likewise.
22356         [POSIX] (ILL_*): Likewise.
22357         [POSIX] (POLL_*): Likewise.
22358         [POSIX] (SEGV_*): Likewise.
22359         [POSIX] (SI_*): Likewise.
22360         [POSIX] (TRAP_*): Likewise.
22361         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
22362         variable.
22364 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22366         [BZ #12926]
22367         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
22368         infinite loop when __recvmsg returns 0.
22370 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
22372         * CANCEL-FCT-WAIVE: Remove file.
22373         * CANCEL-FILE-WAIVE: Likewise.
22375         [BZ #14132]
22376         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
22377         instead of INTVARDEF.
22378         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22379         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
22380         rtld_hidden_data_def instead of INTVARDEF.
22381         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22382         * elf/dl-deps.c (expand_dst): Likewise.
22383         * elf/dl-load.c (_dl_dst_count): Likewise.
22384         (_dl_dst_substitute): Likewise.
22385         (decompose_rpath): Likewise.
22386         (_dl_init_paths): Likewise.
22387         (open_path): Likewise.
22388         (_dl_map_object): Likewise.
22389         * elf/rtld.c (dl_main): Likewise.
22390         (process_dl_audit): Likewise.
22391         (process_envvars): Likewise.
22392         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
22393         Remove declaration.
22394         (__libc_enable_secure): Use rtld_hidden_proto.
22396 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22398         * elf/dl-load.c
22399         (add_path): New function broken out of _dl_rtld_di_serinfo.
22400         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
22402 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22404         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
22405         parentheses around macro arguments.
22406         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
22407         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
22408         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
22409         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
22410         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
22411         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22412         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22413         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
22414         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
22415         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
22416         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
22417         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
22418         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
22419         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
22420         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
22421         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
22422         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
22423         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
22424         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
22425         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
22426         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
22427         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
22428         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
22429         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22430         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22431         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
22432         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
22433         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
22434         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
22435         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
22436         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
22437         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
22438         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
22439         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
22440         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
22441         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
22442         Likewise.
22443         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
22444         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22445         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22446         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
22447         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
22448         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
22449         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
22450         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
22451         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
22452         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
22453         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
22454         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
22455         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
22456         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
22457         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
22458         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22459         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22460         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
22461         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
22462         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
22463         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
22464         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
22465         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
22466         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
22467         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
22468         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
22469         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
22470         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
22471         (_FP_FRAC_SRS_1): Likewise.
22472         (_FP_FRAC_CLZ_1): Likewise.
22473         (_FP_MUL_MEAT_1_imm): Likewise.
22474         (_FP_MUL_MEAT_1_wide): Likewise.
22475         (_FP_MUL_MEAT_1_hard): Likewise.
22476         (_FP_SQRT_MEAT_1): Likewise.
22477         (_FP_FRAC_ASSEMBLE_1): Likewise.
22478         (_FP_FRAC_DISASSEMBLE_1): Likewise.
22479         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
22480         (__FP_CLZ_2): Likewise.
22481         (_FP_MUL_MEAT_2_wide): Likewise.
22482         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22483         (_FP_MUL_MEAT_2_gmp): Likewise.
22484         (_FP_MUL_MEAT_2_120_240_double): Likewise.
22485         (_FP_SQRT_MEAT_2): Likewise.
22486         (_FP_FRAC_ASSEMBLE_2): Likewise.
22487         (_FP_FRAC_DISASSEMBLE_2): Likewise.
22488         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
22489         (_FP_FRAC_CLZ_4): Likewise.
22490         (_FP_MUL_MEAT_4_wide): Likewise.
22491         (_FP_MUL_MEAT_4_gmp): Likewise.
22492         (_FP_SQRT_MEAT_4): Likewise.
22493         (_FP_FRAC_ASSEMBLE_4): Likewise.
22494         (_FP_FRAC_DISASSEMBLE_4): Likewise.
22495         * soft-fp/op-common.h (_FP_CMP): Likewise.
22496         (_FP_CMP_EQ): Likewise.
22497         (_FP_CMP_UNORD): Likewise.
22498         (_FP_TO_INT): Likewise.
22499         (_FP_FROM_INT): Likewise.
22500         [!__FP_CLZ] (__FP_CLZ): Likewise.
22501         (_FP_DIV_HELP_imm): Likewise.
22502         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
22503         Likewise.
22504         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
22505         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
22506         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
22507         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
22508         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
22509         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22510         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22511         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
22512         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
22513         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
22514         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
22515         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
22516         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
22517         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
22518         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
22519         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
22520         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
22521         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
22522         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
22523         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
22524         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
22525         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
22526         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
22527         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22528         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22529         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
22530         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
22531         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
22532         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
22533         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
22534         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
22535         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
22536         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
22537         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
22538         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
22539         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
22540         (FP_UNPACK_RAW_SP): Likewise.
22541         (FP_PACK_RAW_S): Likewise.
22542         (FP_PACK_RAW_SP): Likewise.
22543         (FP_UNPACK_S): Likewise.
22544         (FP_UNPACK_SP): Likewise.
22545         (FP_UNPACK_SEMIRAW_S): Likewise.
22546         (FP_UNPACK_SEMIRAW_SP): Likewise.
22547         (FP_PACK_S): Likewise.
22548         (FP_PACK_SP): Likewise.
22549         (FP_PACK_SEMIRAW_S): Likewise.
22550         (FP_PACK_SEMIRAW_SP): Likewise.
22551         (_FP_SQRT_MEAT_S): Likewise.
22552         (FP_CMP_S): Likewise.
22553         (FP_CMP_EQ_S): Likewise.
22554         (FP_CMP_UNORD_S): Likewise.
22555         (FP_TO_INT_S): Likewise.
22556         (FP_FROM_INT_S): Likewise.
22558         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
22560         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
22561         (FP_EX_INVALID_IMZ): Likewise.
22562         (FP_EX_INVALID_IMZ_FMA): Likewise.
22563         (FP_EX_INVALID_ISI): Likewise.
22564         (FP_EX_INVALID_ZDZ): Likewise.
22565         (FP_EX_INVALID_IDI): Likewise.
22566         (FP_EX_INVALID_SQRT): Likewise.
22567         (FP_EX_INVALID_CVI): Likewise.
22568         (FP_EX_INVALID_VC): Likewise.
22569         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
22570         "invalid" exceptions.
22571         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
22572         (_FP_ADD_INTERNAL): Likewise.
22573         (_FP_MUL): Likewise.
22574         (_FP_FMA): Likewise.
22575         (_FP_DIV): Likewise.
22576         (_FP_CMP_CHECK_NAN): Likewise.
22577         (_FP_SQRT): Likewise.
22578         (_FP_TO_INT): Likewise.
22579         (FP_EXTEND): Likewise.
22581 2014-10-09  Allan McRae  <allan@archlinux.org>
22583         * po/fr.po: Update French translation from translation project.
22585 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22587         [BZ #14132]
22588         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
22589         of INTDEF.
22590         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
22591         (__cxa_atexit): Use libc_hidden_proto.
22592         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
22594         [BZ #14132]
22595         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
22596         declaration.
22597         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
22598         [!_ISOMAC] (__iswspace_l_internal): Likewise.
22599         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
22600         [!_ISOMAC] (__iswctype_internal): Likewise.
22601         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
22602         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
22603         alias.
22604         (fcntl): Remove __fcntl_internal alias.
22605         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22606         __connect_internal alias.
22607         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
22608         Likewise.
22610         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
22611         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
22612         FP_DENORM_ZERO.
22613         (_FP_CHECK_FLUSH_ZERO): New macro.
22614         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
22615         (_FP_CMP): Likewise.
22616         (_FP_CMP_EQ): Likewise.
22617         (_FP_TO_INT): Do not set inexact for subnormal arguments if
22618         FP_DENORM_ZERO.
22619         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22620         (FP_TRUNC): Likewise.
22622         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22623         treated as invalid conversion, not as normal exponent.
22625         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22626         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
22627         (_FP_CMP_EQ): Likewise.
22628         (_FP_CMP_UNORD): Likewise.
22629         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22630         (FP_CMP_EQ_D): Likewise.
22631         (FP_CMP_UNORD_D): Likewise.
22632         * soft-fp/extended.h (FP_CMP_E): Likewise.
22633         (FP_CMP_EQ_E): Likewise.
22634         (FP_CMP_UNORD_E): Likewise.
22635         * soft-fp/quad.h (FP_CMP_Q): Likewise.
22636         (FP_CMP_EQ_Q): Likewise.
22637         (FP_CMP_UNORD_Q): Likewise.
22638         * soft-fp/single.h (FP_CMP_S): Likewise.
22639         (FP_CMP_EQ_S): Likewise.
22640         (FP_CMP_UNORD_S): Likewise.
22641         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22642         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22643         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22644         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22645         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22646         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22647         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22648         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22649         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22650         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22651         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22652         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22653         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22654         to FP_CMP_Q.
22655         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22656         FP_CMP_Q.
22657         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22658         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22659         FP_CMP_EQ_Q.
22660         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22661         FP_CMP_Q.
22662         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22663         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22664         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22665         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22666         FP_CMP_EQ_Q.
22667         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22668         FP_CMP_Q.
22669         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22670         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22671         FP_CMP_EQ_Q.
22672         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22673         FP_CMP_Q.
22674         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22675         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22676         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22677         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22678         FP_CMP_EQ_Q.
22680         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22681         a subnormal result, set the underflow exception if trapping on
22682         underflow is enabled.
22683         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22684         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22685         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22686         redefine to 0.
22687         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22688         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22689         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22690         * soft-fp/extendxftf2.c (__extendxftf2): Use
22691         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22693         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22694         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22695         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22696         FP_HANDLE_EXCEPTIONS.
22697         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22698         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22699         FP_HANDLE_EXCEPTIONS.
22700         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22701         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22702         FP_HANDLE_EXCEPTIONS.
22703         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22704         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22705         FP_HANDLE_EXCEPTIONS.
22707 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
22709         [BZ #14132]
22710         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22711         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22712         use INTUSE.
22713         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22714         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22715         Remove alias.
22716         (__adjtimex): Define using libc_hidden_ver.
22717         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22718         Remove declaration.
22719         (ntp_gettime): Call __adjtimex directly.
22720         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22721         Remove declaration.
22722         (ntp_gettimex): Call __adjtimex directly.
22723         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22724         __adjtimex_internal alias.
22726 2014-10-08  Roland McGrath  <roland@hack.frob.com>
22728         [BZ #17460]
22729         * nscd/nscd.c (more_help): Rewrite list of tables collection
22730         using xstrdup and asprintf.
22732         * nscd/nscd_conf.c: Remove local xstrdup declaration.
22734 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22735             Roland McGrath  <roland@hack.frob.com>
22737         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22738         (do_lookup_unique): ... local function 'enter' here; update callers.
22740 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
22742         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22743         compat_symbol calls on [SHARED].
22744         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22745         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22746         Remove.
22747         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22748         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22749         (oldsetrlimit): Remove.
22750         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22752         (lchown): New syscall entry.
22753         (oldsetrlimit): Remove.
22754         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22755         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22756         (oldsetrlimit): Remove.
22757         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22759         [BZ #14138]
22760         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22761         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22762         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22763         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22764         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22765         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22766         (fchown): Likewise.
22767         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22768         (fchown): Likewise.
22769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22770         Likewise.
22772 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22774         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
22775         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
22776         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
22777         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22778         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
22779         Likewise.
22780         (__old_sem_post): Likewise.
22782 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
22784         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
22785         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
22786         HAVE_CLOCK_GETTIME_VSYSCALL macros.
22787         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
22788         Use INLINE_VSYSCALL macro.
22789         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
22790         __vdso_clock_gettime.
22791         * sysdeps/unix/sysv/linux/tile/init-first.c
22792         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22793         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
22794         __vdso_clock_gettime.
22796         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
22797         to set up frame more cleanly.
22799         * sysdeps/tile/memcmp.c: New file.
22801         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22803         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
22804         * sysdeps/tile/tilegx/strcasestr.c: New file.
22805         * sysdeps/tile/tilegx/strnlen.c: New file.
22806         * sysdeps/tile/tilegx/strstr.c: New file.
22808         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
22810 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
22812         * nptl/tst-setuid3.c: Write errors to stdout.
22814 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22816         * elf/dl-deps.c
22817         (preload): New functions broken out of _dl_map_object_deps.
22818         (_dl_map_object_deps):  Remove a nested function. Update call sites.
22820 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
22822         [BZ #14138]
22823         * sysdeps/unix/sysv/linux/execve.c: Remove file.
22824         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
22826 2014-10-01  Steve Ellcey  <sellcey@mips.com>
22828         * sysdeps/mips/strcmp.S: New.
22830 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
22832         [BZ #14138]
22833         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
22834         (linkat): Likewise.
22835         (mkdirat): Likewise.
22836         (readlinkat): Likewise.
22837         (renameat): Likewise.
22838         (symlinkat): Likewise.
22839         (unlinkat): Likewise.
22840         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
22841         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
22842         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
22843         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
22844         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
22845         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
22846         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
22848 2014-09-30  Will Newton  <will.newton@linaro.org>
22850         * math/math.h: Define long double math functions if
22851         _LIBC_TEST is defined.
22852         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
22854         * localedata/Makefile: Move assignment to tests-special
22855         into an ifdef testing run-built-tests.
22856         * timezone/Makefile: Likewise.
22858 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
22860         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
22861         with $(BASH) not $(SHELL).
22863 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
22864             Matthew LeGendre  <legendre1@llnl.gov>
22866         [BZ #17411]
22867         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
22868         l_reloc_result.
22870 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22872         * stdio-common/printf_fp.c
22873         (hack_digit): New function, broken out of ...
22874         (__printf_fp): ... local function here.  Update call sites.
22875         hack_digit now takes an additional parameter that is a pointer
22876         to a struct of the referenced locals.  Those locals moved inside
22877         the struct and references updated.
22879 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
22881         * aclocal.m4: Require autoconf 2.69.
22882         * configure: Regenerated.
22883         * sysdeps/aarch64/configure: Likewise.
22884         * sysdeps/alpha/configure: Likewise.
22885         * sysdeps/arm/armv7/configure: Likewise.
22886         * sysdeps/arm/configure: Likewise.
22887         * sysdeps/ia64/configure: Likewise.
22888         * sysdeps/mach/configure: Likewise.
22889         * sysdeps/mips/configure: Likewise.
22890         * sysdeps/s390/configure: Likewise.
22891         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
22892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
22894         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
22895         file.
22896         * sysdeps/ia64/configure.ac: Likewise.
22898 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
22900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
22901         specify symbol version for ld.so.  Do not include entry for
22902         libpthread.
22903         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22904         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22905         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22907         [BZ #14171]
22908         * Makeconfig [$(build-shared) = yes]
22909         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
22910         makefiles.
22911         [$(build-shared) = yes && $(soversions.mk-done) = t]
22912         ($(common-objpfx)gnu/lib-names.h): Remove rule.
22913         [$(build-shared) = yes && $(soversions.mk-done) = t]
22914         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
22915         to Makerules.
22916         [$(build-shared) = yes && $(soversions.mk-done) = t]
22917         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
22918         here.
22919         [$(build-shared) = yes && $(soversions.mk-done) = t]
22920         (common-generated): Don't append gnu/lib-names.h and
22921         gnu/lib-names.stmp here.
22922         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
22923         (lib-names-h-abi): New variable.
22924         [$(build-shared) = yes && $(soversions.mk-done) = t]
22925         (lib-names-stmp-abi): Likewise.
22926         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22927         abi-variants] (before-compile): Append
22928         $(common-objpfx)$(lib-names-h-abi).
22929         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22930         abi-variants] (common-generated): Append gnu/lib-names.h.
22931         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22932         abi-variants] (install-others-nosubdir): Depend on
22933         $(inst_includedir)/$(lib-names-h-abi).
22934         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22935         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
22936         [$(build-shared) = yes && $(soversions.mk-done) = t]
22937         ($(common-objpfx)$(lib-names-h-abi)): New rule.
22938         [$(build-shared) = yes && $(soversions.mk-done) = t]
22939         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
22940         [$(build-shared) = yes && $(soversions.mk-done) = t]
22941         (common-generated): Append $(lib-names-h-abi) and
22942         $(lib-names-stmp-abi).
22943         * scripts/lib-names.awk: Do not handle multi being set.
22944         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
22945         Remove variable.
22946         (abi-lp64_be-ld-soname): Likewise.
22947         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
22948         Likewise.
22949         (abi-hard-ld-soname): Likewise.
22950         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
22951         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
22952         Remove variable.
22953         (abi-o32_hard-ld-soname): Likewise.
22954         (abi-o32_soft_2008-ld-soname): Likewise.
22955         (abi-o32_hard_2008-ld-soname): Likewise.
22956         (abi-n32_soft-ld-soname): Likewise.
22957         (abi-n32_hard-ld-soname): Likewise.
22958         (abi-n32_soft_2008-ld-soname): Likewise.
22959         (abi-n32_hard_2008-ld-soname): Likewise.
22960         (abi-n64_soft-ld-soname): Likewise.
22961         (abi-n64_hard-ld-soname): Likewise.
22962         (abi-n64_soft_2008-ld-soname): Likewise.
22963         (abi-n64_hard_2008-ld-soname): Likewise.
22964         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
22965         Likewise.
22966         (abi-64-v2-ld-soname): Likewise.
22967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
22968         ld.so entries.
22969         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
22970         variable.
22971         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
22972         entry.
22973         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
22974         variable.
22975         (abi-64-ld-soname): Likewise.
22976         (abi-x32-ld-soname): Likewise.
22977         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
22978         entry.
22979         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22981 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
22983         [BZ #14138]
22984         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
22985         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
22986         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
22987         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
22988         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
22989         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
22990         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
22991         syscall entry for GLIBC_2.2 symbol version.
22992         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
22993         Likewise.
22994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22995         (setrlimit): Likewise.
22996         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
22997         Likewise.
22999 2014-09-23  Will Newton  <will.newton@linaro.org>
23001         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
23002         _LINUX_ARM_SYSDEP_H include guard too.
23003         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
23004         define.
23006 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23008         * sysdeps/unix/sysv/linux/eventfd.c:
23009         Make first argument unsigned.
23010         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
23011         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
23013 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
23015         * socket/recvmmsg.c (recvmmsg): Drop const argument.
23016         * socket/sys/socket.h: Likewise.
23017         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
23019 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23021         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
23023 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
23025         * time/tst-ftime.c: New test.
23026         * time/Makefile (tests): Add tst-ftime.
23028 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
23030         * soft-fp/extended.h: Fix comment formatting.
23031         * soft-fp/op-1.h: Likewise.
23032         * soft-fp/op-2.h: Likewise.
23033         * soft-fp/op-4.h: Likewise.
23034         * soft-fp/op-8.h: Likewise.
23035         * soft-fp/op-common.h: Likewise.
23036         * soft-fp/soft-fp.h: Likewise.
23038         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
23040 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
23042         [BZ #6652]
23043         * Makeconfig (soversions-default-setname): Remove variable.
23044         ($(common-objpfx)soversions.i): Don't pass default_setname to
23045         soversions.awk.
23046         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
23047         oldest_abi to abi-versions.awk.
23048         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
23049         * config.make.in (oldest-abi): Remove variable.
23050         * configure.ac (--enable-oldest-abi): Remove configure option.
23051         * configure: Regenerated.
23052         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
23053         text.
23054         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
23055         * scripts/soversions.awk: Do not handle default_setname variable.
23056         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
23057         variable.
23058         * sysdeps/mach/hurd/configure: Regenerated.
23059         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
23060         variable.
23061         * sysdeps/unix/sysv/linux/configure: Regenerated.
23063 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23065         * elf/Makefile (CFLAGS-interp.c): Remove.
23066         ($(elf-objpfx)runtime-linker.h): Generate header with linker
23067         path string.
23068         * elf/interp.c: Include generated runtime-linker.h
23070         * Makerules (lib%.so): Don't include $(+interp) in
23071         prerequisites.
23072         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
23073         * dlfcn/eval.c: Remove file.
23075         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
23076         macros.
23078         [BZ #17266]
23079         * misc/sys/cdefs.h: Define __extern_always_inline for clang
23080         4.2 and newer.
23082         [BZ #17370]
23083         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
23085 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23086             Jakub Jelinek  <jakub@redhat.com>
23088         [BZ #17266]
23089         * libio/stdio.h: Check definition of __fortify_function
23090         instead of __extern_always_inline to include bits/stdio2.h.
23091         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
23092         check if __extern_always_inline is defined.
23093         [__USE_MISC || __USE_XOPEN]: Likewise.
23094         [__USE_ISOC99] Likewise.
23095         * misc/sys/cdefs.h (__fortify_function): Define only if
23096         __extern_always_inline is defined.
23097         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
23098         __extern_always_inline and __extern_inline only for g++-4.3
23099         and newer or a compatible gcc.
23101 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
23103         [BZ #17371]
23104         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23105         last change to handle zero prefix length.
23107 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23109         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
23110         _SC_REGEX_VERSION.
23112         * posix/getconf.c (vars): Add _POSIX_IPV6 and
23113         _POSIX_RAW_SOCKETS.
23115 2014-09-13  Allan McRae  <allan@archlinux.org>
23117         * po/ru.po: Update Russian translation from translation project.
23119 2014-09-12  Roland McGrath  <roland@hack.frob.com>
23121         * locale/programs/locale.c (show_locale_vars): Inline local function
23122         into its sole call site.  Clean up some style nits.
23123         (print_item): New function, broken out of ...
23124         (show_info): ... local function here.  Clean up style nits.
23126         * locale/programs/ld-ctype.c (set_one_default): New function, broken
23127         out of ...
23128         (set_class_defaults): ... local function set_default here.
23129         Define set_default as a macro locally to pass constant parameters.
23130         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
23131         rather than a shared local.
23133         * stdlib/rpmatch.c (try): New function, broken out of ...
23134         (rpmatch): ... local function here.  Also, prototypify definition.
23136 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
23138         * scripts/soversions.awk: Do not handle configuration names.
23139         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
23140         vendor and os variables to soversions.awk.
23141         * configure.ac: Do not modify gnu-* host_os.
23142         * configure: Regenerated
23143         * shlib-versions: Remove first column with configuration names.
23144         * nptl/shlib-versions: Likewise.
23145         * nptl_db/shlib-versions: Likewise.
23146         * sysdeps/hppa/shlib-versions: Likewise.
23147         * sysdeps/m68k/shlib-versions: Likewise.
23148         * sysdeps/mach/hurd/shlib-versions: Likewise.
23149         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
23150         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
23151         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
23152         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
23153         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
23154         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
23155         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
23156         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
23157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23158         Likewise.
23159         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23160         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23161         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23162         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23163         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23164         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
23165         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23166         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23169         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
23170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23171         Regenerated.
23172         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
23173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23174         Condition symbol version definitions on [HAVE_ELFV2_ABI].
23176         * shlib-versions: Remove OS-specific entries.  Moved to files in
23177         sysdeps.
23178         * sysdeps/mach/hurd/shlib-versions: New file.
23179         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23181         * nptl/shlib-versions: Remove architecture-specific entries.
23182         Moved to files in sysdeps.
23183         * shlib-versions: Likewise.
23184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
23185         file.
23186         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23187         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23188         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23189         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23191         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
23192         (UDP_NO_CHECK6_RX): Likewise.
23194 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23196         * sysdeps/posix/sysconf.c (__sysconf): Spell
23197         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
23199 2014-08-12  Florian Weimer  <fweimer@redhat.com>
23201         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
23202         loading.
23203         * iconv/Versions (__gconv_transliterate): Export for use from
23204         gconv modules.
23205         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
23206         (struct __gconv_trans_data, __gconv_trans_fct,
23207         __gconv_trans_context_fct, __gconv_trans_query_fct,
23208         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
23209         definitions.
23210         (struct __gconv_step_data): Remove __trans member.
23211         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
23212         longer hidden.  Remove unused trans_data argument.
23213         * iconv/gconv_int.h (struct trans_struct): Remove definition.
23214         (__gconv_translit_find): Remove declaration.
23215         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
23216         prototype.
23217         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
23218         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
23219         trans_data argument.  Add hidden definition.
23220         (__gconv_translit_find): Remove.
23221         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
23222         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
23223         * iconv/skeleton.c: Remove transliteration initialization.
23224         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
23225         __gconv_step_data initialization.
23226         * libio/iofwide.c (__libio_translit_): Remove.
23227         (_IO_fwide): Adjust struct __gconv_step_data initialization.
23228         * wcsmbs/btowc.c (__btowc): Likewise.
23229         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23230         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23231         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23232         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23233         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
23234         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23235         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23236         * wcsmbs/wctob.c (wctob): Likewise.
23238 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23240         [BZ #16194]
23241         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
23242         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
23243         register usage.
23244         * sysdeps/x86/Makefile: Adjust.
23246 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23247             Roland McGrath  <roland@hack.frob.com>
23249         * locale/weight.h: Add include guard.
23250         (findidx): Make static rather than auto; take new parameters
23251         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
23252         * locale/weightwc.h: Likewise.
23253         * posix/fnmatch_loop.c
23254         (FCT): Change type of EXTRA from int32_t to wint_t.
23255         Don't include either header inside the function.
23256         Call FINDIDX rather than findidx, and pass new arguments.
23257         #undef FINDIDX at the end of the file.
23258         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
23259         FINDIDX before including fnmatch_loop.c for the non-wide version.
23260         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
23261         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
23262         for the wide version.
23263         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
23264         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
23265         Pass new arguments to findidx.
23266         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
23267         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
23268         Don't #include it inside the function.  Pass new arguments to findidx.
23269         * posix/regex_internal.h
23270         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
23271         (re_string_elem_size_at): Don't #include it inside the function.
23272         Pass new arguments to findidx.
23273         * string/strcoll_l.c: #include WEIGHT_H at top level.
23274         (get_next_seq): Don't #include it inside the function.
23275         Pass new arguments to findidx.
23276         (get_next_seq_nocache): Likewise.
23277         * string/strxfrm_l.c: #include WEIGHT_H at top level.
23278         (STRXFRM): Don't #include it inside the function.
23279         Pass new arguments to findidx.
23281 2014-09-11  Florian Weimer  <fweimer@redhat.com>
23283         [BZ #17344]
23284         * malloc/malloc.c (unlink): Turn asserts into a call to
23285         malloc_printerr.
23287 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
23289         [BZ #17370]
23290         * libio/wfileops (do_ftell_wide): Free OUT.
23292 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
23294         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
23296 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23298         [BZ #17363]
23299         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
23300         group if the current group is empty.
23302 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23304         * benchtests/bench-memset.c (test_main): Add more test from size
23305         from 32 to 512 bytes.
23306         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23307         Add POWER8 memset object.
23308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23309         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
23310         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
23311         implementation.
23312         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
23313         Likewise.
23314         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
23315         multiarch POWER8 memset optimization.
23316         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
23317         POWER8 memset optimization.
23319         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23320         Remove bzero multiarch objects.
23321         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
23322         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
23323         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
23324         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
23325         Remove define.
23326         [__bzero]: Redefine to specific name.
23327         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23328         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23329         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
23330         define.
23331         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23332         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23334 2014-09-10  Florian Weimer  <fweimer@redhat.com>
23336         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
23337         warnings into errors.
23339         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
23340         __cxa_thread_atexit_impl prototype.
23342 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23344         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
23345         Fix capitalization of error message.
23347 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23349         * sysdeps/mips/preconfigure: Modify ABI tests.
23351 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
23353         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
23355 2014-09-07  Roland McGrath  <roland@hack.frob.com>
23356             Carlos O'Donell  <carlos@systemhalted.org>
23358         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
23359         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
23360         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
23361         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
23362         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
23363         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
23364         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
23365         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
23366         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
23367         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
23368         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
23369         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
23370         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
23371         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
23372         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
23373         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
23374         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
23375         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
23376         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
23377         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
23378         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
23379         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
23380         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
23381         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
23382         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
23383         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
23384         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
23385         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
23386         Deconditionalize the code that was previously under [RESET_PID].
23387         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
23388         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
23389         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
23390         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
23391         include sysdep.h.
23393 2014-09-08  Allan McRae  <allan@archlinux.org>
23395         * version.h (RELEASE): Set to "development".
23396         (VERSION): Set to "2.20.90"
23398 2014-09-07  Allan McRae  <allan@archlinux.org
23400         * version.h (RELEASE): Set to "stable".
23401         (VERSION): Set to "2.20"
23402         * include/features.h (__GLIBC_MINOR__): Set to 20.
23404         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
23405         Liebler.
23407         * po/ko.po: Update Korean translation from translation project.
23409 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
23411         [BZ #17354]
23412         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
23413         macro for handling signed relocations.
23415 2014-09-03  Florian Weimer  <fweimer@redhat.com>
23417         [BZ #17325]
23418         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
23419         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
23420         assert.
23421         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
23422         * iconvdata/ibm935.c (BODY): Likewise.
23423         * iconvdata/ibm937.c (BODY): Likewise.
23424         * iconvdata/ibm939.c (BODY): Likewise.
23425         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
23426         assert.
23427         * iconvdata/Makefile (iconv-test.out): Pass module list to test
23428         script.
23429         * iconvdata/run-iconv-test.sh: New test loop for checking for
23430         decoder crashers.
23432 2014-09-02  Khem Raj  <raj.khem@gmail.com>
23434         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
23435         libm_hidden_ver.
23437 2014-09-01  Allan McRae  <allan@archlinux.org>
23439         * po/eo.po: Update Esperanto translation from translation project.
23441         * po/ca.po: Update Catalan translation from translation project.
23443 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23445         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
23446         __proc_dostop call.
23448 2014-08-27  Mark Wielaard  <mjw@redhat.com>
23450         [BZ #17319]
23451         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
23452         to call set_thread_area instead of hand written asm.
23453         (__NR_set_thread_area): Removed define.
23454         (TLS_FLAG_WRITABLE): Likewise.
23455         (__ASSUME_SET_THREAD_AREA): Remove check.
23456         (TLS_EBX_ARG): Remove define.
23457         (TLS_LOAD_EBX): Likewise.
23459 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23461         Simplify atomicity of socket creation in bind.
23463         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
23464         looking up the name after linking the file.
23466 2014-08-27  Allan McRae  <allan@archlinux.org>
23468         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23470 2014-08-26  Florian Weimer  <fweimer@redhat.com>
23472         [BZ #17187]
23473         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
23474         trans_compare, open_translit, __gconv_translit_find):
23475         Remove module loading code.
23477 2014-08-26  Allan McRae  <allan@archlinux.org>
23479         * po/vi.po: Update Vietnamese translation from translation project.
23481         * po/uk.po: Update Ukrainian translation from translation project.
23483         * po/fr.po: Update French translation from translation project.
23485         * po/ru.po: Update Russian translation from translation project.
23487         * po/pl.po: Update Polish translation from translation project.
23489         * po/cs.po: Update Czech translation from translation project.
23491         * po/de.po: Update German translation from translation project.
23493         * po/bg.po: Update Bulgarian translation from translation project.
23495         * po/sv.po: Update Sweedish translation from translation project.
23497         * po/nl.po: Update Dutch translation from translation project.
23499         * po/es.po: Update Spanish translation from translation project.
23501 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23503         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
23505         * catgets/Makefile (CPPFLAGS-gencat): Remove.
23506         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
23507         (CPPFLAGS-iconvconfig): Likewise.
23508         * timezone/Makefile (CPPFLAGS-zic): Likewise.
23510         * include/libc-symbols.h: Remove unnecessary check for
23511         NOT_IN_libc.
23512         * nptl/pthreadP.h: Likewise.
23513         * sysdeps/aarch64/setjmp.S: Likewise.
23514         * sysdeps/alpha/setjmp.S: Likewise.
23515         * sysdeps/arm/sysdep.h: Likewise.
23516         * sysdeps/i386/setjmp.S: Likewise.
23517         * sysdeps/m68k/setjmp.c: Likewise.
23518         * sysdeps/posix/getcwd.c: Likewise.
23519         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23520         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23521         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23522         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23523         * sysdeps/sh/sh3/setjmp.S: Likewise.
23524         * sysdeps/sh/sh4/setjmp.S: Likewise.
23525         * sysdeps/unix/alpha/sysdep.h: Likewise.
23526         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23527         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23528         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23529         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23532         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23533         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23534         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23535         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23536         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23537         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23538         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23539         * sysdeps/x86_64/setjmp.S: Likewise.
23541 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
23543         [BZ #17263]
23544         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
23545         <stdint.h>.
23546         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
23547         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
23549 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23551         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
23553         [BZ #17262]
23554         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
23555         and __x86_64__ when disabling x87 inline functions.
23557 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23559         [BZ #17259]
23560         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
23561         asm statement with __cpuid_count.
23563 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
23565         * configure.ac: Change __ehdr_start code to dereference the struct.
23566         Run readelf on the output to look for relocations.
23567         * configure: Regenerated.
23569 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
23571         [BZ #17261]
23572         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
23573         value to 0.
23574         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
23576 2014-08-12  Roland McGrath  <roland@hack.frob.com>
23578         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
23580 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
23582         [BZ #16892]
23583         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
23584         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
23586 2014-08-12  Sean Anderson  <seanga2@gmail.com>
23588         * malloc/malloc.c: Fix typo in comment.
23590 2014-08-09  Allan McRae  <allan@archlinux.org>
23592         * Regenerate libc.po.
23594 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
23596         * intl/tst-gettext2.sh: Check every lang file for creation.
23598 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23600         * sysdeps/aarch64/fpu/math_private.h
23601         (libc_feholdsetround_noex_aarch64_ctx): New function.
23603 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23605         * sysdeps/arm/armv6/strcpy.S (strcpy):
23606         Fix performance issue in misaligned cases.
23608 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23610         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
23611         Move definition from termios.h.
23612         (struct termio): Likewise.
23613         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23614         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23615         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23616         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23617         Likewise.
23618         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23619         Move definition to ioctl-types.h
23620         (struct termio): Likewise.
23621         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23622         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23623         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23624         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23625         Likewise.
23627 2014-08-05  Richard Henderson  <rth@redhat.com>
23629         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23630         exceptions.
23631         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23632         Add fraiseexcpt.
23633         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23634         Use __feraiseexcept.
23635         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23636         Protect libm symbols with IS_IN_libm.
23638         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23640 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
23642         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23644 2014-08-04  Will Newton  <will.newton@linaro.org>
23646         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23647         file.
23649 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
23651         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23652         variants for each function.
23654 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23656         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23657         appended ...
23658         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23659         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23660         appended ...
23661         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23662         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23663         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23664         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23665         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23666         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23667         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23668         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23669         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23670         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23671         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23672         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23673         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23674         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23675         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23676         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23677         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23678         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23679         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23680         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23681         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23682         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23683         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23684         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23685         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23686         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23687         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23688         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23689         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23690         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23691         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23692         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23693         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23694         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23695         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23696         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23697         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23698         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23699         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23700         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23701         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23702         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23703         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23704         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23705         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23706         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23707         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23708         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23709         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23710         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23711         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23712         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23713         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23714         Update #include.
23715         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23716         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23718 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23720         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23721         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23722         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23723         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23724         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23725         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23727 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23729         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23730         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23731         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23732         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23734 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23736         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23737         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23738         (__libc_vfork): Define function under this name.
23739         (__vfork): Define as an alias.
23740         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23741         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23743 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23745         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23746         that was previously under [RESET_PID].
23747         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23749 2014-08-04  Andreas Schwab  <schwab@suse.de>
23751         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23753 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
23755         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23756         (main): Likewise.
23758 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23760         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23762 2014-08-01  Richard Henderon  <rth@redhat.com>
23764         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23765         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23766         typo in exact zero test.
23767         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23768         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23769         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23771 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23773         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
23774         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23775         * sysdeps/arm/sysdep.h: ... here.
23776         [!__ASSEMBLER__]: Include <stdint.h>.
23778 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23780         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
23781         (HAVE_WCTYPE_H): Likewise.
23782         (HAVE_ISWCTYPE): Likewise.
23783         (ENABLE_NLS): Likewise.
23784         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
23785         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
23787         * posix/regex_internal.c: Check if DEBUG is defined and is
23788         set.
23790         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
23791         (HAVE_MBSRTOWCS): Likewise.
23792         * posix/fnmatch.c: Include string.h unconditionally.
23794 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23796         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
23797         reversal.
23799 2014-07-31  Roland McGrath  <roland@hack.frob.com>
23801         * sysdeps/generic/safe-fatal.h: New file.
23802         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
23803         * nptl/forward.c: Include it.
23804         (__pthread_unwind): Use __safe_fatal as default action, rather
23805         than a bogus use of INTERNAL_SYSCALL that could never work.
23807         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
23808         * configure.ac (libc_cv_builtin_trap): New test.
23809         * configure: Regenerated.
23810         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
23811         (ABORT_INSTRUCTION): Define using __builtin_trap.
23813         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
23814         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
23815         * sysdeps/nptl/nptl-signals.h: New file.
23816         * nptl/pthreadP.h: Include <nptl-signals.h>.
23818 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23820         * sysdeps/s390/s390-64/utf16-utf32-z9.c
23821         (ONE_DIRECTION): Define.
23822         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23823         (ONE_DIRECTION): Define.
23824         * sysdeps/s390/s390-64/utf8-utf32-z9.c
23825         (ONE_DIRECTION): Define.
23827 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23829         * sysdeps/s390/Makefile: Delete file.
23830         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
23831         * sysdeps/s390/__longjmp.c: Delete file.
23832         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23833         Remove fields __flags and __reserved.
23834         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
23835         and add versioning.
23836         * sysdeps/s390/rtld-__longjmp.c: Delete file.
23837         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
23838         * sysdeps/s390/rtld-setjmp.S: Likewise.
23839         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
23840         * sysdeps/s390/s390-32/__longjmp.c: ... here.
23841         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
23842         * sysdeps/s390/s390-32/setjmp.S: ... here.
23843         Add versioning.
23844         (__sigsetjmp): Remove setting __flags field.
23845         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
23846         * sysdeps/s390/s390-64/__longjmp.c: ... here.
23847         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
23848         * sysdeps/s390/s390-64/setjmp.S: ... here.
23849         Add versioning.
23850         (__sigsetjmp): Remove setting __flags field.
23851         * sysdeps/s390/setjmp.S: Delete file.
23852         * sysdeps/s390/sigjmp.c: Likewise.
23853         * sysdeps/s390/v1-longjmp.c: Likewise.
23854         * sysdeps/s390/v1-setjmp.h: Likewise.
23855         * sysdeps/s390/v1-sigjmp.c: Likewise.
23856         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
23857         Remove v1-longjmp_chk.
23858         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
23859         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
23860         Include debug/longjmp_chk.c and add versioning.
23861         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
23862         Include nptl/pt-longjmp.c and add versioning.
23863         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
23864         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
23865         Include __longjmp.c.
23866         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23867         Move to ...
23868         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
23869         (__getcontext): Remove setting __flags field.
23870         Add versioning.
23871         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23872         Don't restore upper high grps.
23873         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
23874         Likewise.
23875         (__swapcontext): Remove setting uc_flags field.
23876         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
23877         Delete file.
23878         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23879         Include __longjmp.c.
23880         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23881         Move to ...
23882         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
23883         (__getcontext): Remove setting __flags field.
23884         Add versioning.
23885         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
23886         (__swapcontext): Remove setting uc_flags field.
23887         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
23888         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
23889         Remove fields uc_high_gprs and __reserved.
23890         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
23891         New file with reverted content.
23892         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
23893         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
23894         Regenerated.
23895         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
23896         Regenerated.
23898 2014-07-31  Andreas Schwab  <schwab@suse.de>
23900         * config.h.in (HAVE_IFUNC): Define to 0.
23901         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
23902         definedness.
23904 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
23906         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23907         memmove-avx-unaligned, memcpy-avx-unaligned and
23908         mempcpy-avx-unaligned.
23909         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23910         Add tests for AVX memcpy functions.
23911         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
23912         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
23913         memcpy_chk.
23914         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
23915         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
23916         memmove_chk.
23917         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
23918         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
23919         mempcpy_chk.
23920         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
23921         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
23922         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
23924 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23926         [BZ #17213]
23927         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
23928         powerpc64le.
23930 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
23932         [BZ #16839]
23933         * manual/llio.texi: Add section about open file description locks.
23934         * manual/examples/ofdlocks.c: Example of open file description
23935         lock usage.
23936         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
23937         F_OFD_SETLK, and F_OFD_SETLKW.
23939 2014-07-23  Allan McRae  <allan@archlinux.org>
23941         * po/es.po: Update Spanish translation from translation project.
23943 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
23945         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
23947 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
23949         [BZ #17078]
23950         * sysdeps/arm/dl-machine.h (elf_machine_rela)
23951         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
23952         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
23954 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
23956         [BZ #17088]
23957         * math/fesetenv.c (__fesetenv)
23958         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
23959         * math/feupdateenv.c (__feupdateenv)
23960         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
23962         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
23963         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23964         (__ASSUME_SOCKETCALL): Do not define.
23966         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
23967         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
23968         (__ASSUME_SOCKETCALL): Do not define.
23969         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
23970         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23971         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23972         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23973         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23974         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
23975         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23976         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23978         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
23979         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
23980         (__ASSUME_SOCKETCALL): Do not define.
23981         (__ASSUME_IPC64): Define unconditionally.
23982         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23983         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23984         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23985         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23986         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
23987         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23988         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
23989         Likewise.
23991         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
23992         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
23993         (__ASSUME_SOCKETCALL): Do not define.
23994         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
23995         (__ASSUME_FUTEX_LOCK_PI): Likewise.
23996         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23997         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23998         (__ASSUME_REQUEUE_PI): Define unconditionally.
23999         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
24000         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
24001         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24002         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
24003         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24004         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24006         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
24007         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
24008         (__ASSUME_SOCKETCALL): Do not define.
24009         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
24010         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24011         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24012         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
24013         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24014         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24016         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
24017         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
24018         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24019         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
24020         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24021         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
24022         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24023         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
24024         (__ASSUME_GETCPU_SYSCALL): Likewise.
24026         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
24027         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
24028         cases for individual architectures.
24029         * sysdeps/gnu/configure: Regenerated.
24030         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
24031         LIBC_SLIBDIR_RTLDDIR.
24032         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
24033         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
24034         LIBC_SLIBDIR_RTLDDIR.
24035         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
24036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
24037         LIBC_SLIBDIR_RTLDDIR.
24038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24039         Regenerated.
24040         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
24041         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
24042         file.
24043         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
24044         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
24045         file.
24046         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
24047         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
24048         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
24049         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
24051         * sysdeps/aarch64/shlib-versions: Move to ...
24052         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
24053         * sysdeps/alpha/shlib-versions: Move to ...
24054         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
24055         * sysdeps/arm/shlib-versions: Move to ...
24056         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
24057         * sysdeps/hppa/shlib-versions: Move all contents except for
24058         libgcc_s entry to ...
24059         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
24060         entry from ...
24061         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
24062         * sysdeps/ia64/shlib-versions: Move to ...
24063         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
24064         entry from ...
24065         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
24066         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
24067         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
24068         * sysdeps/microblaze/shlib-versions: Move to ...
24069         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
24070         * sysdeps/mips/shlib-versions: Move to ...
24071         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
24072         entry from ...
24073         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
24074         * sysdeps/tile/shlib-versions: Move to ...
24075         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
24076         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
24077         from ...
24078         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
24079         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
24080         entry from ...
24081         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
24083 2014-07-17  Will Newton  <will.newton@linaro.org>
24085         * sysdeps/arm/bits/atomic.h
24086         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
24087         (__arch_compare_and_exchange_bool_16_int): Likewise.
24088         (__arch_compare_and_exchange_bool_64_int): Likewise.
24090         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
24091         into an #else block.
24093 2014-07-16  Roland McGrath  <roland@hack.frob.com>
24095         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
24096         just Linux configurations.  Test empirically that the compiler sets
24097         __ARM_EABI__, rather than using the tuple to decide.
24098         * sysdeps/arm/preconfigure: Regenerated.
24099         * sysdeps/unix/sysv/linux/arm/configure: File removed.
24100         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
24101         contents appended ...
24102         * sysdeps/arm/configure.ac: ... here.
24103         * sysdeps/arm/configure: Regenerated.
24105 2014-07-15  Roland McGrath  <roland@hack.frob.com>
24107         * nptl/pthread_kill.c: New file.
24108         * nptl/pthread_sigmask.c: New file.
24109         * nptl/pthread_sigqueue.c: New file.
24111         * sysdeps/nptl/lowlevellock.h: New file.
24112         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
24113         * sysdeps/nptl/lowlevellock-futex.h: New file.
24115         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
24116         Remove dead declarations.
24118 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
24120         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
24121         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
24122         config-cflags-avx2.
24123         * sysdeps/x86_64/configure.ac: Likewise.
24124         * sysdeps/i386/configure: Regenerated.
24125         * sysdeps/x86_64/configure: Likewise.
24126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24127         memset-avx2 only if config-cflags-avx2 is yes.
24128         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24129         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
24130         defined.
24131         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
24132         only if HAVE_AVX2_SUPPORT is defined.
24133         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24135 2014-07-14  Alan Modra  <amodra@gmail.com>
24137         [BZ #17153]
24138         * elf/elf.h (DT_PPC64_NUM): Correct value.
24139         * NEWS: Add to fixed bug list.
24141 2014-07-13  Jim Meyering  <meyering@fb.com>
24143         [BZ 17150]
24144         regex: don't deref NULL upon heap allocation failure
24145         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
24146         failure in one more place.
24147         To trigger the segfault, configure grep -with-included-regex,
24148         build it, and run these commands:
24149         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
24151 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
24153         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24155 2014-07-11  Richard Henderson  <rth@redhat.com>
24157         * sysdeps/aarch64/libm-test-ulps: Update.
24159 2014-07-10  Florian Weimer  <fweimer@redhat.com>
24161         [BZ #17135]
24162         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
24163         * nptl/allocatestack.c (__nptl_setxid_error): New function.
24164         (__nptl_setxid): Initialize error member.  Call
24165         __nptl_setxid_error.
24166         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
24167         * nptl/descr.h (struct xid_command): Add error member.
24168         * nptl/tst-setuid3.c: New file.
24169         * nptl/Makefile (tests): Add it.
24171 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24173         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
24174         New define.
24175         (__lll_trylock): Use __lll_base_trylock.
24176         (__lll_cond_trylock): Likewise.
24178 2014-07-10  Roland McGrath  <roland@hack.frob.com>
24180         * nptl/pthread_create.c (start_thread): Use atomic_or and
24181         lll_futex_wake directly rather than lll_robust_dead.
24182         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24183         (lll_robust_dead): Macro removed.
24184         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
24185         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24186         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24187         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24188         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24189         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24190         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24191         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24192         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24193         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24194         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24195         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24196         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24197         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24198         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24200         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24201         Use atomic_compare_and_exchange_val_acq directly rather than
24202         lll_robust_trylock.
24203         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24204         (__lll_robust_trylock, lll_robust_trylock): Removed.
24205         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24206         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24207         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24208         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24209         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24210         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24211         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24212         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24213         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24214         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24215         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24216         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24217         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24218         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24220 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24222         * manual/locale.texi (Locale Names): New section documenting
24223         locale name syntax.  Adjust menu and node chaining accordingly.
24224         (Choosing Locale): Reference Locale Names, Locale Categories.
24225         Mention setting LC_ALL=C.  Reflect that name syntax is now
24226         documented.
24227         (Locale Categories): New section title.  Reference Locale Names.
24228         LC_ALL is an environment variable, but not a category.
24229         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
24230         description, now in Locale Name.  Reference that section.  Locale
24231         name syntax is now documented.
24233 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24235         [BZ #17137]
24236         * locale/findlocale.c (name_present, valid_locale_name): New
24237         functions.
24238         (_nl_find_locale): Use the loc_name variable to store name
24239         candidates.  Call name_present and valid_locale_name to check and
24240         validate locale names.  Return an error if the locale is invalid.
24242 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24244         * locale/setlocale.c (setlocale): Use strdup for allocating
24245         composite name copy.
24247 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24249         Sync up with gnulib.
24250         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
24251         [!_LIBC && ENABLE_NLS]: Include gettext.h.
24252         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
24253         and _GL_ARG_NONNULL.
24254         [USE_UNLOCKED_IO]: Include unlocked-io.h.
24255         [!_LIBC]: Include code for Windows and Cygwin.
24256         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
24257         Include prototype for int strerror_r.
24258         [!_LIBC] (is_open): New function.
24259         (flush_stdout): New function.
24260         (print_errno_message): Use it.
24261         (error): Likewise.
24262         (error_at_line): Likewise.
24263         (error_tail) Add function attribute macros.  Use
24264         __builtin_expect.
24266         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
24268         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
24270         * io/ftw.c: Include sys/param.h unconditionally.
24272         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
24274         [BZ #17125]
24275         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
24276         libc_freeres_ptr.
24277         (freecache): New function to free CACHE on exit.
24279         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
24280         initialization.
24282 2014-07-09  David S. Miller  <davem@davemloft.net>
24284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24286         * sysdeps/sparc/nptl/internaltypes.h: Delete.
24287         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
24288         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
24289         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
24290         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
24291         * sysdeps/sparc/nptl/sem_init.c: Likewise.
24292         * sysdeps/sparc/nptl/sem_post.c: Likewise.
24293         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
24294         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
24295         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
24296         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
24297         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
24298         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
24300 2014-07-09  Andreas Schwab  <schwab@suse.de>
24302         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
24303         output.
24304         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
24305         (do_test): Likewise.
24307         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24309 2014-07-09  Will Newton  <will.newton@linaro.org>
24311         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
24312         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
24313         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
24314         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
24315         * sysdeps/hppa/start.S (_start): Likewise.
24317 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24319         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
24321         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
24322         defined.
24324 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24326         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
24327         after checking that it is non-NULL.
24329         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
24331 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24333         * sysdeps/powerpc/memmove.c: Remove file.
24334         * sysdeps/powerpc/powerpc32/power4/memcopy.h
24335         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
24336         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24337         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
24338         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
24339         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
24340         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
24341         string memmove instead of removed powerpc one.
24343         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24344         [weak_alias]: Fix compiler warning due trailing data.
24345         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
24346         [weak_alias]: Likewise.
24347         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
24348         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
24350         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24351         (__libc_ifunc_impl_list): Add memmove functions.
24353 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24355         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
24356         Remove code.
24357         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
24358         Likewise.
24359         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
24360         Likewise.
24361         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
24362         Likewise.
24363         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
24364         Likewise.
24365         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
24366         Likewise.
24367         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
24368         Likewise.
24369         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
24370         Likewise.
24371         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
24372         Likewise.
24373         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
24374         Likewise.
24375         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
24376         Likewise.
24377         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
24378         Likewise.
24379         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
24380         Likewise.
24381         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
24382         Likewise.
24383         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
24384         Likewise.
24385         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
24386         Likewise.
24387         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
24388         Likewise.
24390 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24392         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
24393         to avoid alignment traps in non-cacheable memory.
24394         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24396         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
24397         multiarch objects.
24398         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
24399         file: multiarch power7 memmove.
24400         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
24401         multiarch default memmove.
24402         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
24403         multiarch memove for powerpc32/power4.
24405         * string/bcopy.c: Use full path to include memmove.c.
24406         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
24407         multiarch objects.
24408         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
24409         bcopy for powerpc64.
24410         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
24411         bcopy for powerpc64.
24412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
24413         and memmove implementations.
24414         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
24415         optimized multiarch memmove for POWER7/powerpc64.
24416         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
24417         default multiarch memmove for powerpc64.
24418         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
24419         multiarch for powerpc64.
24420         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
24421         for POWER7/powerpc64.
24422         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
24423         memmove for POWER7/powerpc64.
24425         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
24426         glibc default one.
24428         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
24429         __ELF_NATIVE_CLASS equal to 64.
24431 2014-07-07  Roland McGrath  <roland@hack.frob.com>
24433         * sysdeps/nptl/lowlevellock.h: File removed.
24435         * NEWS: NPTL is no longer an add-on!
24436         * nptl/internaltypes.h: Moved ...
24437         * sysdeps/nptl/internaltypes.h: ... here.
24438         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
24439         * sysdeps/nptl/fork.c: Likewise.
24440         * sysdeps/nptl/gai_misc.h: Likewise.
24441         * sysdeps/nptl/librt-cancellation.c: Likewise.
24442         * sysdeps/nptl/jmp-unwind.c: Likewise.
24443         * sysdeps/nptl/setxid.h: Likewise.
24444         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
24445         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
24446         * sysdeps/unix/sysv/linux/arm/Implies: New file.
24447         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
24448         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
24449         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
24450         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
24451         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
24452         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
24453         * sysdeps/unix/sysv/linux/mips/Implies: New file.
24454         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
24455         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
24456         * sysdeps/unix/sysv/linux/sh/Implies: New file.
24457         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
24458         * sysdeps/unix/sysv/linux/tile/Implies: New file.
24459         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
24460         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
24461         * nptl/Makeconfig: Moved ...
24462         * sysdeps/nptl/Makeconfig: ... here.
24463         * nptl/configure: File removed.
24464         * nptl/ANNOUNCE: File removed.
24465         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
24466         * sysdeps/unix/sysv/linux/configure: Regenerated.
24468         * nptl/Makefile (routines): Add libc_pthread_init,
24469         libc_multiple_threads, register-atfork and unregister-atfork.
24470         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
24471         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
24472         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
24473         pthread-pi-defines.sym, structsem.sym.
24474         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
24475         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
24476         [$(subdir) = nptl] (tests): Add tst-setgetname.
24477         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
24478         * sysdeps/unix/sysv/linux/sigaction.c: Just include
24479         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
24480         [!LIBC_SIGACTION]: Remove aliases.
24481         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24482         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24483         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24484         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
24485         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24486         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
24487         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24488         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24489         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24490         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
24491         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
24492         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
24493         __libc_allocate_rtsig_private.
24494         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
24495         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
24496         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24497         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24498         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
24499         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
24500         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
24501         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
24502         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
24503         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
24504         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
24505         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
24506         * nptl/internaltypes.h: ... here.
24507         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
24508         * sysdeps/nptl/jmp-unwind.c: ... here.
24509         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
24510         * nptl/libc-lowlevellock.c: ... here.
24511         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
24512         * nptl/libc_multiple_threads.c: ... here.
24513         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
24514         * nptl/libc_pthread_init.c: ... here.
24515         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
24516         * nptl/lowlevelbarrier.sym: ... here.
24517         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
24518         * nptl/lowlevelcond.sym: ... here.
24519         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
24520         * nptl/lowlevellock.c: ... here.
24521         * nptl/lowlevellock.h: Moved ...
24522         * sysdeps/nptl/lowlevellock.h: ... here.
24523         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
24524         * nptl/lowlevelrobustlock.c: ... here.
24525         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
24526         * nptl/lowlevelrobustlock.sym: ... here.
24527         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
24528         * nptl/lowlevelrwlock.sym: ... here.
24529         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
24530         * nptl/pt-fork.c: ... here.
24531         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
24532         * nptl/pthread-pi-defines.sym: ... here.
24533         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
24534         * nptl/pthread_attr_getaffinity.c: ... here.
24535         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
24536         * nptl/pthread_attr_setaffinity.c: ... here.
24537         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
24538         * nptl/pthread_mutex_cond_lock.c: ... here.
24539         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24540         Update #include.
24541         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
24542         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
24543         * nptl/pthread_once.c: ... here, replacing old file.
24544         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
24545         * nptl/pthread_yield.c: ... here.
24546         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
24547         * nptl/register-atfork.c: ... here.
24548         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
24549         * nptl/sem_post.c: ... here.
24550         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
24551         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
24552         * nptl/sem_timedwait.c: ... here.
24553         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
24554         * nptl/sem_trywait.c: ... here.
24555         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
24556         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
24557         * nptl/sem_wait.c: ... here.
24558         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
24559         * nptl/structsem.sym: ... here.
24560         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
24561         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
24562         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
24563         * nptl/unregister-atfork.c: ... here.
24564         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
24565         * nptl/unwindbuf.sym: ... here.
24566         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
24567         * sysdeps/nptl/fork.c: ... here.
24568         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
24569         * sysdeps/nptl/fork.h: ... here.
24570         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
24571         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
24572         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
24573         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
24574         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
24575         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
24576         * sysdeps/unix/sysv/linux/getpid.c: ... here.
24577         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
24578         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
24579         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
24580         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
24581         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
24582         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
24583         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
24584         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
24585         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
24586         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
24587         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
24588         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
24589         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
24590         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
24591         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
24592         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
24593         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
24594         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
24595         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
24596         * sysdeps/unix/sysv/linux/raise.c: ... here.
24597         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
24598         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
24599         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
24600         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
24601         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
24602         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
24603         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
24604         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
24605         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
24606         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
24607         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
24608         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
24609         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
24610         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
24611         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
24613 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24615         * sysdeps/generic/memcopy.h: Add comment for
24616         MEMCPY_OK_FOR_FWD_MEMMOVE.
24618 2014-07-04  Will Newton  <will.newton@linaro.org>
24620         * string/memchr.c: Merge from gnulib.
24621         [_LIBC]: Remove conditionals.
24622         (__ptr_t): Remove define.
24623         (LONG_MAX_32_BITS): Likewise.
24624         (LONG_MAX): Likewise.
24625         (MEMCHR): Use ANSI prototype and optimize algorithm.
24627         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24629 2014-07-03  Roland McGrath  <roland@hack.frob.com>
24631         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24632         (lll_futex_timed_wait_bitset): Fix syscall argument count.
24634         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24635         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24636         in a bare environment with no <stdlib.h> installed.
24637         * sysdeps/nptl/configure: Regenerated.
24639         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24641         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24642         AC_EGREP_CPP for kernel header checks, so they only succeed if
24643         including <linux/version.h> actually works right.
24644         * sysdeps/unix/sysv/linux/configure: Regenerated.
24646         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24647         value so it's not diagnosed as unused.
24649         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24650         thing) with "ifeq ($(subdir),rt)".
24652 2014-07-03  Richard Henderson  <rth@redhat.com>
24654         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24655         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24656         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24658         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24659         (math_force_eval): New.
24661         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24662         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24664         * sysdeps/alpha/fpu/s_round.c: Remove file.
24665         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24667         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24668         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24669         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24670         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24671         (_dl_start, print_statistics): Likewise.
24672         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24673         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24675         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24676         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24677         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24678         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24679         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24680         (HP_SMALL_TIMING_AVAIL): Define.
24681         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24682         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24683         (HP_SMALL_TIMING_AVAIL): Define.
24684         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24685         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24687         * sysdeps/aarch64/hp-timing.h: New file.
24689         * sysdeps/generic/hp-timing.h: Remove dead comment.
24690         * sysdeps/generic/hp-timing-common.h: New file.
24691         * sysdeps/alpha/hp-timing.h: Include it.
24692         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24693         * sysdeps/i386/i686/hp-timing.h: Likewise.
24694         * sysdeps/ia64/hp-timing.h: Likewise.
24695         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24696         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24697         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24698         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24699         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24700         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24701         (hp_timing_t): New.
24703         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24704         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24705         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24706         * elf/rtld.c (_dl_start_final): Likewise.
24707         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24708         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24709         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24710         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24711         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24712         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24713         (HP_TIMING_DIFF_INIT): Remove.
24714         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24715         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24716         (HP_TIMING_DIFF_INIT): Remove.
24717         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24718         * sysdeps/i386/i686/hp-timing.c: Remove file.
24719         * sysdeps/x86_64/hp-timing.c: Remove file.
24720         * sysdeps/ia64/hp-timing.c: Remove file.
24721         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24722         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24723         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24724         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24726         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24727         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24728         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24729         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24730         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24731         (HP_TIMING_ACCUM): Remove.
24732         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24733         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24734         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24736         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24737         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24738         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24739         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24740         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24741         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24742         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24743         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24745         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24747 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
24749         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24751 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24753         Sync up with gettext.
24754         * intl/loadmsgcat.c: Define O_BINARY if not defined.
24755         [_MSC_VER]: Include malloc.h
24756         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24757         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24758         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
24759         TEMP_FAILURE_RETRY.  Cast return of alloca.
24760         [!_LIBC] Call gl_rwlock_init.
24761         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24763 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24765         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24766         before checking its value.
24768 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24770         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24772         * debug/memcpy_chk.c: Don't include pagecopy.h.
24773         * debug/mempcpy_chk.c: Likewise.
24774         * string/memcpy.c: Likewise.
24775         * string/memmove.c: Likewise.
24776         * sysdeps/powerpc/memmove.c: Likewise.
24777         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
24778         definition of PAGE_COPY_FWD_MAYBE here...
24779         * sysdeps/generic/pagecopy.h: ... from here.
24780         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
24782 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24783             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24785         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
24786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
24787         optimizations.
24788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24789         (__libc_ifunc_impl_list): Likewise.
24790         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24791         multiarch strcat for PPC64.
24792         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24793         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
24795 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24797         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
24799 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24801         * intl/loadmsgcat.c: Remove declaration of
24802         get_sysdep_segment_value.
24803         (get_sysdep_segment_value): Use ISO C style.
24804         (_nl_load_domain): Use ISO C style.  Get rid of redundant
24805         semicolon.  Fix typo and formatting in comment.
24806         (_nl_unload_domain): Use ISO C style.
24808         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
24810 2014-07-02  Will Newton  <will.newton@linaro.org>
24812         * malloc/obstack.c: Merge from gnulib master.
24813         [HAVE_CONFIG_H]: Remove conditional code.
24814         [!_LIBC]: Include config.h.
24815         [!ELIDE_CODE]: Don't include inttypes.h, include
24816         stdint.h unconditionally.
24817         (print_and_abort): Mark as _Noreturn.
24818         (_obstack_allocated_p): Mark as __attribute_pure__.
24819         (obstack_free): Rename to __obstack_free.
24820         [!__attribute__]: Remove conditional code.
24821         * malloc/obstack.h: Merge from gnulib master.
24822         [__cplusplus]: Move conditional down.
24823         [!__attribute_pure__]: Define __attribute_pure__ here
24824         if it is not already defined.
24825         (_obstack_memory_used): Mark as __attribute_pure__.
24826         [!__obstack_free]: Define as obstack_free.
24827         [__GNUC__]: Remove check for ancient NeXT gcc.
24829 2014-07-02  Will Newton  <will.newton@linaro.org>
24830             Paul Eggert  <eggert@cs.ucla.edu>
24832         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
24834 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24836         * resolv/gethnamaddr.c: Add comment warning that the file is
24837         not maintained.
24839 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
24841         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
24842         entries.
24844         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
24845         entry for aio_cancel and aio_cancel64.
24846         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
24847         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
24848         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
24849         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
24850         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
24851         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24852         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
24853         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
24854         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
24855         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
24856         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
24857         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
24858         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
24860 2014-07-01  Roland McGrath  <roland@hack.frob.com>
24862         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
24863         * nptl/pthread_mutex_lock.c: Likewise.
24864         * nptl/pthread_mutex_timedlock.c: Likewise.
24865         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
24867 2014-07-01  Richard henderson  <rth@redhat.com>
24869         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
24870         (__isnan, __isnanl): Remove.
24871         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
24873         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24875 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24877         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24879 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24881         * resolv/nss_dns/dns-host.c (getanswer_r)
24882         [MULTI_PTRS_ARE_ALIASES]: Remove code.
24884 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
24886         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24887         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
24888         undefine.
24889         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
24890         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
24892 2014-07-01  Roland McGrath <roland@hack.frob.com>
24894         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
24895         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
24897         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
24898         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
24900         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
24901         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
24902         ... here.
24903         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
24904         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
24906         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
24907         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
24908         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
24909         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
24911         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
24912         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
24913         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
24914         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
24915         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
24916         Moved ...
24917         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
24918         ... here.
24919         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
24920         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
24921         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
24922         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
24923         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
24924         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
24925         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
24926         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
24927         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
24928         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
24929         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
24930         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
24931         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
24932         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
24933         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
24934         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
24935         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
24936         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
24937         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
24938         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
24939         ... here.
24940         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
24941         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
24942         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
24943         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
24944         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
24945         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
24946         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
24947         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
24949 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
24951         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
24952         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
24953         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
24954         Add sysdep.
24956 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24960 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24962         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24963         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24965         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24967         * sysdeps/arm/libm-test-ulps: Regenerated.
24969 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24970             Roland McGrath <roland@hack.frob.com>
24972         * test-skeleton.c (signal_handler): Kill the whole process group
24973         before killing the child individually.
24974         (main): Report any failure on `setpgid'.
24976 2014-06-30  Roland McGrath  <roland@hack.frob.com>
24978         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
24979         from _TLS_H to _ARM_NPTL_TLS_H.
24980         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
24981         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
24983 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24985         [BZ #16539]
24986         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
24987         (__expm1l): Return argument unchanged when small but not
24988         subnormal.
24990         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
24991         include macro name.
24992         (_FP_UNPACK_RAW_1_P): Likewise.
24993         (_FP_PACK_RAW_1): Likewise.
24994         (_FP_PACK_RAW_1_P): Likewise.
24995         (_FP_MUL_MEAT_1_wide): Likewise.
24996         (_FP_MUL_MEAT_DW_1_hard): Likewise.
24997         (_FP_MUL_MEAT_1_hard): Likewise.
24998         (_FP_DIV_MEAT_1_imm): Likewise.
24999         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
25000         (_FP_DIV_MEAT_1_udiv): Likewise.
25001         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
25002         (_FP_UNPACK_RAW_2): Likewise.
25003         (_FP_UNPACK_RAW_2_P): Likewise.
25004         (_FP_PACK_RAW_2): Likewise.
25005         (_FP_PACK_RAW_2_P): Likewise.
25006         (_FP_MUL_MEAT_DW_2_wide): Likewise.
25007         (_FP_MUL_MEAT_2_wide): Likewise.
25008         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
25009         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25010         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
25011         (_FP_MUL_MEAT_2_gmp): Likewise.
25012         (_FP_DIV_MEAT_2_udiv): Likewise.
25013         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
25014         (_FP_FRAC_SRL_4): Likewise.
25015         (_FP_FRAC_SRST_4): Likewise.
25016         (_FP_FRAC_SRS_4): Likewise.
25017         (_FP_UNPACK_RAW_4): Likewise.
25018         (_FP_UNPACK_RAW_4_P): Likewise.
25019         (_FP_PACK_RAW_4): Likewise.
25020         (_FP_PACK_RAW_4_P): Likewise.
25021         (_FP_MUL_MEAT_DW_4_wide): Likewise.
25022         (_FP_MUL_MEAT_4_wide): Likewise.
25023         (_FP_MUL_MEAT_4_gmp): Likewise.
25024         (umul_ppppmnnn): Likewise.
25025         (_FP_DIV_MEAT_4_udiv): Likewise.
25026         (__FP_FRAC_ADD_4): Likewise.
25027         (__FP_FRAC_SUB_3): Likewise.
25028         (__FP_FRAC_SUB_4): Likewise.
25029         (__FP_FRAC_DEC_3): Likewise.
25030         (__FP_FRAC_DEC_4): Likewise.
25031         (__FP_FRAC_ADDI_4): Likewise.
25032         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
25033         (_FP_FRAC_SRL_8): Likewise.
25034         (_FP_FRAC_SRS_8): Likewise.
25036         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
25037         include macro name.
25038         (FP_UNPACK_RAW_EP): Likewise.
25039         (FP_PACK_RAW_E): Likewise.
25040         (FP_PACK_RAW_EP): Likewise.
25041         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
25042         (_FP_ISSIGNAN): Likewise.
25043         (_FP_ADD_INTERNAL): Likewise.
25044         (_FP_FMA): Likewise.
25045         (_FP_CMP): Likewise.
25046         (_FP_SQRT): Likewise.
25047         (_FP_TO_INT): Likewise.
25048         (_FP_FROM_INT): Likewise.
25049         (FP_EXTEND): Likewise.
25050         (_FP_DIV_MEAT_N_loop): Likewise.
25052 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25054         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
25055         throughout.
25057 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
25059         [BZ #17097]
25060         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
25061         result with correct sign in case of exponents that produce
25062         overflow except for X very close to 1.
25064 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
25066         mktime: merge #if/#ifdef usage from glibc
25067         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
25068         as that works with both Glibc's and Gnulib's style.
25069         See thread starting at Siddhesh Poyarekar's bug report at:
25070         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
25072 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25074         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
25075         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
25076         * sysdeps/tile/tilegx/memmove.c: Remove file.
25078 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25080         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
25081         abi-name definition.
25082         * scripts/soversions.awk: Do not handle or generate ABI lines.
25083         * shlib-versions: Remove ABI entries.
25084         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
25085         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
25087 2014-06-27  Roland McGrath  <roland@hack.frob.com>
25089         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
25090         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
25091         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
25092         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
25093         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
25094         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
25095         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
25096         Moved ...
25097         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
25098         ... here.
25099         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
25100         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
25101         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
25102         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
25103         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
25104         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
25105         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
25106         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
25107         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
25108         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
25109         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
25110         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
25111         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
25112         Moved ...
25113         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
25114         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
25115         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
25116         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
25117         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
25118         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
25119         Moved ...
25120         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
25121         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
25122         Moved ...
25123         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
25124         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
25125         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
25126         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
25127         Moved ...
25128         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
25129         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
25130         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
25131         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
25132         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
25133         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
25134         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
25135         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
25136         Moved ...
25137         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
25138         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
25139         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
25140         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
25141         Moved ...
25142         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
25143         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
25144         Moved ...
25145         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
25146         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
25147         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
25148         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
25149         Moved ...
25150         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
25151         ... here.
25152         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
25153         Identical file removed.
25154         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
25155         Moved ...
25156         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
25157         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
25158         Identical file removed.
25159         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
25160         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
25161         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
25162         Moved ...
25163         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
25164         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
25165         Identical file removed.
25166         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
25167         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
25168         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
25169         Identical file removed.
25170         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
25171         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
25172         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
25173         Identical file removed.
25174         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
25175         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
25176         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
25177         Identical file removed.
25178         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
25179         Moved ...
25180         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
25181         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
25182         Identical file removed.
25183         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
25184         Moved ...
25185         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
25186         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
25187         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
25188         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
25189         Identical file removed.
25190         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
25191         Moved ...
25192         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
25193         ... here.
25194         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
25195         Identical file removed.
25196         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
25197         Moved ...
25198         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
25199         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
25200         Identical file removed.
25201         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
25202         Moved ...
25203         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
25204         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
25205         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
25206         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
25207         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
25208         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
25209         Moved ...
25210         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
25211         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
25212         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
25214         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
25215         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
25216         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
25217         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
25218         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
25220 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
25222         [BZ #17092]
25223         * nscd/nscd.c (monitor_child): Return exit status of child
25224         instead of return value from wait syscall.
25226 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25228         * configure.ac (libc_commonpagesize): Remove variable.
25229         (libc_relro_required): Likewise.
25230         (libc_cv_z_relro): Remove configure test.
25231         * configure: Regenerated.
25232         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
25233         variable.
25234         (libc_relro_required): Likewise.
25235         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
25236         (libc_relro_required): Likewise.
25237         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
25238         (libc_relro_required): Likewise.
25239         * sysdeps/arm/preconfigure: Regenerated.
25240         * sysdeps/ia64/preconfigure: Remove file.
25241         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
25242         variable.
25243         (libc_relro_required): Likewise.
25245         [BZ #16561]
25246         [BZ #16562]
25247         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
25248         (__ieee754_yn): Set FE_TONEAREST mode internally and then
25249         recompute overflowing results in original rounding mode.
25250         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
25251         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
25252         recompute overflowing results in original rounding mode.
25253         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
25254         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25255         recompute overflowing results in original rounding mode.
25256         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
25257         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25258         recompute overflowing results in original rounding mode.
25259         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
25260         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25261         recompute overflowing results in original rounding mode.
25262         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
25263         (libc_feholdsetround_ctx): New macro.
25264         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
25265         * sysdeps/i386/fpu/libm-test-ulps: Update.
25266         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
25268 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25270         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
25271         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
25272         corresponding .cpsetup call.
25274 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25276         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
25277         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
25278         * sysdeps/arm/Makefile [$(subdir) = csu]
25279         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
25280         (static-only-routines): Add aeabi_read_tp here.
25281         (shared-only-routines): Add libc-aeabi_read_tp here.
25282         (CFLAGS-libc-start.c): Add -fexceptions here.
25283         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
25284         (sysdep_routines, static-only-routines, shared-only-routines):
25285         Don't add to these here.
25286         (CFLAGS-libc-start.c): Likewise.
25288         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
25289         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25290         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
25291         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25292         * sysdeps/arm/Makefile [$(subdir) = rt]
25293         (librt-sysdep_routines, librt-shared-only-routines):
25294         Append rt-aeabi_unwind_cpp_pr1 here.
25295         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
25296         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
25297         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
25298         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25299         Append nptl-aeabi_unwind_cpp_pr1 here.
25300         (tests): Filter out tst-cleanupx4 here.
25301         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
25302         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
25303         Don't do those here.
25305 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25307         * scripts/list-sources.sh: Do not handle ports specially.
25309 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25311         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
25312         * sysdeps/arm/feupdateenv.c: Likewise.
25314         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
25316 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25318         * manual/texinfo.tex: Update to version 2014-05-05.10 with
25319         trailing whitespace removed.
25320         * scripts/config.guess: Update to version 2014-03-23.
25321         * scripts/config.sub: Update to version 2014-05-01
25322         * scripts/install-sh: Update to version 2013-12-25.23.
25323         * scripts/move-if-change: Update from gnulib.
25325 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25327         * debug/memmove_chk.c: Remove pagecopy.h include.
25329 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
25331         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
25332         identical to gnulib mktime.
25334 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25336         * configure.ac: Do not test for machine being rs6000.  Do not test
25337         for powerpc*-*soft.
25338         * configure: Regenerated.
25340         [BZ #11505]
25341         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
25342         test.
25343         * configure: Regenerated.
25344         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
25345         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
25346         Remove configure test.
25347         * sysdeps/arm/configure: Regenerated.
25348         * sysdeps/nptl/configure.ac: Do not check
25349         libc_cv_asm_cfi_directives.
25350         * sysdeps/nptl/configure: Regenerated.
25351         * sysdeps/x86_64/nptl/configure.ac: Remove file.
25352         * sysdeps/x86_64/nptl/configure: Remove generated file.
25353         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
25354         unconditional.
25355         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
25357 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25359         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
25360         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
25361         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
25362         it is defined.
25364         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
25365         instead of whether it is defined.
25366         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
25367         * sysdeps/hppa/dl-machine.h: Likewise.
25368         * sysdeps/ia64/dl-machine.h: Likewise.
25369         * sysdeps/m68k/dl-machine.h: Likewise.
25370         * sysdeps/microblaze/dl-machine.h: Likewise.
25371         * sysdeps/mips/dl-machine.: Likewise.
25372         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25373         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25374         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25375         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25376         * sysdeps/sh/dl-machine.h: Likewise.
25377         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25378         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25379         * sysdeps/tile/dl-machine.h: Likewise.
25380         * sysdeps/x86_64/dl-machine.h: Likewise.
25382         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
25383         code.
25384         (verify_persistent_db): Likewise.
25386 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
25389         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
25390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
25391         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
25392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25393         Moved ...
25394         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
25395         ... here.
25396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
25397         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
25398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
25399         Identical file removed.
25400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
25401         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
25402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
25403         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
25404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
25405         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
25406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
25407         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
25408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
25409         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
25410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25411         Moved ...
25412         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
25413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
25414         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
25415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
25416         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
25417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25418         Moved ...
25419         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
25420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
25421         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
25422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
25423         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
25424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25425         Identical file removed.
25426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
25427         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
25428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
25429         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
25430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25431         Moved ...
25432         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
25433         ... here.
25434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
25435         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
25436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
25437         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
25438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
25439         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
25440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
25441         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
25442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
25443         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
25444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25445         Moved ...
25446         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
25447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
25448         Moved ...
25449         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
25450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
25451         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
25452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25453         Moved ...
25454         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
25455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
25456         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
25458         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
25459         folded into ...
25460         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
25461         * sysdeps/unix/sysv/linux/s390/Versions
25462         (libpthread: GLIBC_2.19): New version set.
25463         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
25464         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
25465         (librt: GLIBC_2.3.3): New version set.
25466         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
25467         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
25468         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
25469         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
25470         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
25471         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
25472         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
25473         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
25474         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
25475         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
25476         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
25477         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
25478         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
25479         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
25480         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
25481         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
25482         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
25483         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
25484         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
25485         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
25486         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
25487         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
25488         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
25489         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
25490         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
25491         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
25492         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
25493         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
25494         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
25495         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
25496         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
25497         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
25498         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
25499         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
25500         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
25501         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
25502         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
25503         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
25504         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
25505         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
25506         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
25507         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
25508         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
25509         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
25510         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
25512         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
25513         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
25514         (__libc_vfork): Define the function under this name.
25515         [!NOT_IN_libc] (__vfork): Make this an alias.
25516         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25517         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
25518         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
25519         (__libc_vfork): Define the function under this name.
25520         [!NOT_IN_libc] (__vfork): Make this an alias.
25521         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25522         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
25523         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
25524         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
25525         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
25526         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25528         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
25529         code that was previously under [RESET_PID].
25530         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
25531         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
25532         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
25534         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
25535         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
25536         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
25537         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
25538         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
25539         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
25540         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
25541         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
25542         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
25543         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
25544         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
25545         Moved ...
25546         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
25547         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
25548         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
25549         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
25550         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
25551         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
25552         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
25553         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
25554         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
25555         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
25556         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
25557         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
25558         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
25559         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
25560         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
25561         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
25562         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
25563         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
25564         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
25565         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
25566         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
25567         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
25568         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
25569         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
25570         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
25571         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
25572         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
25573         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
25574         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
25576 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25578         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
25579         that was previously under [RESET_PID].
25580         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
25582 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25584         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
25585         not undefine and redefine.
25586         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
25587         [O_CLOEXEC]: Make code unconditional.
25588         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
25589         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
25590         <kernel-features.h>.
25591         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
25592         conditional variable definition.
25593         (shm_open) [O_CLOEXEC]: Make code unconditional.
25594         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
25595         code.
25597         * configure.ac (USE_REGPARMS): Don't define here.
25598         * configure: Regenerated.
25599         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
25600         * sysdeps/i386/configure: Regenerated.
25602         * nptl/createthread.c: Don't include kernel-features.h.
25603         * nptl/pthread_cancel.c: Likewise.
25604         * nptl/pthread_condattr_setclock.c: Likewise.
25605         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
25606         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
25607         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
25608         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
25609         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
25610         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
25611         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25612         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
25613         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25614         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
25615         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
25616         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
25617         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
25618         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25619         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25620         * nscd/gai.c: Likewise.
25621         * nss/nss_db/db-open.c: Likewise.
25622         * sysdeps/generic/ldsodefs.h: Likewise.
25623         * sysdeps/sh/nptl/tls.h: Likewise.
25624         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25625         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25626         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25627         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25628         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25629         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25630         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25631         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25632         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25633         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25634         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25635         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25636         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25637         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25638         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25639         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25640         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25641         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25642         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25643         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25644         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25645         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25646         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25647         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25648         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25649         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25650         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25651         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25652         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25653         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25654         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25655         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25656         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25657         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25658         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25659         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25660         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25661         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25662         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25663         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25664         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25665         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25666         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25667         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25668         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25669         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25670         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25671         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25672         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25673         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25674         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25675         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25676         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25677         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25678         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25679         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25680         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25681         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25704         * sysdeps/unix/sysv/linux/pread.c: Likewise.
25705         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25706         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25707         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25708         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25709         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25710         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25711         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25712         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25713         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25714         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25715         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25716         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25717         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25718         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25719         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25720         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25721         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25722         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25723         * sysdeps/unix/sysv/linux/system.c: Likewise.
25724         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25725         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25726         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25727         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25728         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25729         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25730         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25732         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25733         * configure: Regenerated.
25734         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25736         * configure.ac (base_machine): Do not set specially for particular
25737         machines here.
25738         * configure: Regenerated.
25739         * sysdeps/powerpc/preconfigure: Move machine and base_machine
25740         settings from configure.ac.
25741         * sysdeps/i386/preconfigure: New file.
25742         * sysdeps/s390/preconfigure: Likewise.
25743         * sysdeps/sh/preconfigure: Likewise.
25744         * sysdeps/sparc/preconfigure: Likewise.
25746 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25748         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25749         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25750         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25751         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25752         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25753         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25754         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25755         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25756         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25757         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25758         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25759         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25760         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25761         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25762         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25763         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25764         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25765         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25766         * sysdeps/sparc/sparc64/Makefile: ... appended here.
25768         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25769         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25770         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25771         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25772         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25773         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
25774         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
25775         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
25776         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
25777         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
25778         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
25779         * sysdeps/sparc/sparc32/sem_post.c: ... here.
25780         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
25781         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
25782         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
25783         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
25784         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
25785         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
25786         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
25787         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
25788         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
25789         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
25790         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
25791         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
25792         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
25793         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
25794         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
25795         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
25796         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
25797         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
25798         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
25799         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
25800         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
25801         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
25802         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
25803         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
25804         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
25805         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
25807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
25808         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
25809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
25810         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
25811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25812         Moved ...
25813         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
25814         ... here.
25815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
25816         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
25817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
25818         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
25819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
25820         Moved ...
25821         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
25822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
25823         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
25824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
25825         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
25826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
25827         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
25828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25829         Moved ...
25830         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
25831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25832         Moved ...
25833         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
25834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
25835         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
25836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25837         Moved ...
25838         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
25839         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
25840         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
25841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
25842         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
25843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
25844         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
25845         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
25846         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
25847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25848         Moved ...
25849         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
25850         ... here.
25851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
25852         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
25853         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
25854         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
25855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
25856         Moved ...
25857         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
25858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
25859         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
25860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
25861         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
25862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
25863         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
25864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25865         Moved ...
25866         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
25867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25868         Moved ...
25869         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
25870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
25871         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
25872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25873         Moved ...
25874         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
25875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
25876         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
25877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
25878         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
25880 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25882         * timezone/checktab.awk: Update from tzcode 2014e.
25883         * timezone/private.h: Likewise.
25884         * timezone/tzfile.h: Likewise.
25885         * timezone/zdump.c: Likewise.
25886         * timezone/zic.c: Likewise.
25888         * sysdeps/unix/sysv/linux/kernel-features.h
25889         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
25890         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
25891         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
25892         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25893         Remove conditional code.
25895 2014-06-25  Will Newton  <will.newton@linaro.org>
25897         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
25898         (_dl_arm_cap_flags): Add HWCAP2 values.
25899         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
25900         (_DL_HWCAP_COUNT): Increase to 37.
25901         (_DL_HWCAP_LAST): New define.
25902         (_DL_HWCAP2_LAST): New define.
25903         (_dl_procinfo): Add support for printing
25904         AT_HWCAP2 entries.
25905         (_dl_string_hwcap): Use _dl_hwcap_string.
25907 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25911 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25913         * README: Do not mention ports directory.
25915         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
25916         Remove macro.
25917         * sysdeps/unix/sysv/linux/futimes.c: Do not include
25918         <kernel-features.h>.
25919         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
25920         conditional variable definition.
25921         (__futimes): Update comment.
25922         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
25923         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
25925         [BZ #16560]
25926         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
25927         arguments close to 0.
25928         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
25929         Likewise.
25930         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
25931         Likewise.
25932         * math/auto-libm-test-in: Add more tests of exp10.
25933         * math/auto-libm-test-out: Regenerated.
25934         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25936         * sysdeps/unix/sysv/linux/kernel-features.h
25937         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
25938         * sysdeps/unix/sysv/linux/readv.c: Do not include
25939         <kernel-features.h>.
25940         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25941         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25942         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25943         unconditional.
25944         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25945         conditional code.
25946         * sysdeps/unix/sysv/linux/writev.c: Do not include
25947         <kernel-features.h>.
25948         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25949         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25950         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25951         unconditional.
25952         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25953         conditional code.
25955 2014-06-25  Will Newton  <will.newton@linaro.org>
25957         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25958         comment changes throughout the file.  Remove checks
25959         for HAVE_*_H definitions that are not required.
25960         (__gen_tempname): Call abort if an unknown kind value is
25961         passed.
25963 2014-06-25  Andreas Schwab  <schwab@suse.de>
25965         [BZ #17086]
25966         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
25967         scalbln, scalblnf, scalblnl in libc.
25969 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25971         [BZ #17086]
25972         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
25973         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25974         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25976 2014-06-24  Roland McGrath  <roland@hack.frob.com>
25978         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
25979         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
25980         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
25981         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
25982         Update #include.
25983         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
25984         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
25985         Update #include.
25986         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
25987         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
25988         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
25989         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
25990         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
25991         * sysdeps/x86/bits/pthreadtypes.h: ... here.
25992         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
25993         * sysdeps/x86/bits/semaphore.h: ... here.
25994         * sysdeps/x86/nptl/elide.h: Moved ...
25995         * sysdeps/x86/elide.h: ... here.
25996         * sysdeps/x86_64/nptl/Implies: File removed.
25997         * sysdeps/i386/nptl/Implies: File removed.
25999 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
26001         [BZ #16539]
26002         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
26003         return the argument for normal arguments with exponent below -64.
26004         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26005         Likewise.
26006         * math/auto-libm-test-in: Add another test of expm1.
26007         * math/auto-libm-test-out: Regenerated.
26009         [BZ #16287]
26010         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
26011         calling __erfcl for arguments at least 16.
26012         * math/auto-libm-test-in: Add more tests of erf.
26013         * math/auto-libm-test-out: Regenerated.
26015         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
26016         individual architectures.
26017         * sysdeps/unix/sysv/linux/configure: Regenerated.
26018         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
26019         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
26020         * sysdeps/unix/sysv/linux/powerpc/configure.ac
26021         (ldd_rewrite_script): Define variable.
26022         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
26024         file.
26025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
26026         generated file.
26027         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
26028         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
26029         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
26030         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
26031         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
26032         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
26033         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
26034         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
26036 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26038         [BZ #17084]
26039         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
26040         Rename member __data.d to __data.__elision_data.
26042 2014-06-24  Wilco  <wdijkstr@arm.com>
26044         * NEWS: Add 16918 to fixed bug list.
26046 2014-06-24  Wilco  <wdijkstr@arm.com>
26048         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
26050 2014-06-24  Wilco  <wdijkstr@arm.com>
26052         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
26053         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
26054         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
26055         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
26056         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
26057         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
26058         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
26059         Use _FPU_MASK_RM.
26061 2014-06-24  Wilco  <wdijkstr@arm.com>
26063         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
26065 2014-06-24  Wilco  <wdijkstr@arm.com>
26067         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
26068         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
26069         * sysdeps/arm/fesetround.c (fesetround): Remove space.
26070         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
26072 2014-06-24  Wilco  <wdijkstr@arm.com>
26074         [BZ #16918]
26075         * sysdeps/arm/feupdateenv.c (feupdateenv):
26076         Rewrite to reduce FPSCR accesses and fix return value.
26078 2014-06-24  Wilco  <wdijkstr@arm.com>
26080         * sysdeps/arm/fclrexcpt.c (feclearexcept):
26081         Optimize to avoid unnecessary FPSCR writes.
26082         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
26083         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
26084         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
26085         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
26087 2014-06-24  Wilco  <wdijkstr@arm.com>
26089         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
26090         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
26091         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
26092         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
26093         Call libc_fetestexcept_vfp.
26094         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
26095         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
26096         __SOFTFP__ ifdef so that they can be built for softfp.
26098 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26100         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
26101         argument type signed char.
26103         * Makerules (check-abi): Dump diff of symlist if the test
26104         fails.
26106 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26108         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
26109         using abort.
26111         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26112         Remove unused variable ST.
26114 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26116         [BZ #16354]
26117         [BZ #17061]
26118         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
26119         small arguments before calling __expm1.
26120         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
26121         small arguments before calling __expm1f.
26122         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
26123         small arguments before calling __expm1l.
26124         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26125         Likewise.
26126         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
26127         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
26128         spurious underflow for some cosh tests.
26129         * math/auto-libm-test-out: Regenerated.
26130         * sysdeps/i386/fpu/libm-test-ulps: Update.
26132         [BZ #17050]
26133         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
26134         (__ieee754_y1): Set errno if return value overflows.
26135         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
26136         (__ieee754_y1f): Set errno if return value overflows.
26137         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
26138         (__ieee754_y1l): Set errno if return value overflows.
26139         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
26140         (__ieee754_y1l): Set errno if return value overflows.
26141         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
26142         * math/auto-libm-test-out: Regenerated.
26144         * math/gen-auto-libm-tests.c: Document use of
26145         ignore-zero-inf-sign.
26146         (input_flag_type): Add value flag_ignore_zero_inf_sign.
26147         (input_flags): Add ignore-zero-inf-sign.
26148         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
26149         * math/gen-libm-test.pl (generate_testfile): Handle
26150         ignore-zero-inf-sign.
26151         * math/auto-libm-test-in: Mark some cpow tests with
26152         ignore-zero-inf-sign and some with xfail-rounding.
26153         * math/auto-libm-test-out: Regenerated.
26154         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
26155         * sysdeps/i386/fpu/libm-test-ulps: Update.
26156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26158         [BZ #16315]
26159         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
26160         overflowing or underflowing operations take place with sign of
26161         result.
26162         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26163         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26164         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
26165         (__ieee754_pow): Recompute overflowing and underflowing results in
26166         original rounding mode.
26167         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
26168         (__powl_helper): Allow negative argument X and scale negated value
26169         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
26170         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
26171         overflowing or underflowing operations take place with sign of
26172         result.
26173         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
26174         Include <math.h>.
26175         * math/auto-libm-test-in: Add more tests of pow.
26176         * math/auto-libm-test-out: Regenerated.
26177         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
26178         (pow_tonearest_test_data): Remove.
26179         (pow_test_tonearest): Likewise.
26180         (pow_towardzero_test_data): Likewise.
26181         (pow_test_towardzero): Likewise.
26182         (pow_downward_test_data): Likewise.
26183         (pow_test_downward): Likewise.
26184         (pow_upward_test_data): Likewise.
26185         (pow_test_upward): Likewise.
26186         (main): Don't call removed functions.
26187         * sysdeps/i386/fpu/libm-test-ulps: Update.
26188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26190 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
26193         Moved ...
26194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
26195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26196         Moved ...
26197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
26198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26199         Moved ...
26200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
26201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26202         Moved ...
26203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
26204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26205         File removed.
26206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26207         File removed.
26208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
26209         File removed.
26210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
26211         File removed.
26212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
26213         File removed.
26214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
26215         File removed.
26216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
26217         File removed.
26218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26219         File removed.
26220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
26221         File removed.
26222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26223         File removed.
26224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
26225         File removed.
26226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
26227         File removed.
26228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
26229         Moved ...
26230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
26231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
26232         Moved ...
26233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
26234         ... here.
26235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
26236         Moved ...
26237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
26238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
26239         Moved ...
26240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
26241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
26242         Moved ...
26243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
26244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
26245         Moved ...
26246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
26247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
26248         Moved ...
26249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
26250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
26251         Moved ...
26252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
26253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
26254         Moved ...
26255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
26256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
26257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
26258         ... here.
26259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
26260         Moved ...
26261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
26262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26263         Moved ...
26264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26265         ... here.
26266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
26267         Moved ...
26268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26269         ... here.
26270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26271         Moved ...
26272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26273         ... here.
26274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26275         Moved ...
26276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
26277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26278         Moved ...
26279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
26280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
26281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
26282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26283         Moved ...
26284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
26285         ... here.
26286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26287         Moved ...
26288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
26289         ... here.
26290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26291         Moved ...
26292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
26293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26294         Moved ...
26295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
26296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26297         Moved ...
26298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
26299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26300         Moved ...
26301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
26302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26303         Moved ...
26304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
26305         ... here.
26306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26307         Moved ...
26308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
26309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26310         Moved ...
26311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
26312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26313         Moved ...
26314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
26315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26316         Moved ...
26317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
26318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
26319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
26320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26321         Moved ...
26322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
26323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26324         Moved ...
26325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
26326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26327         Moved ...
26328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
26329         ... here.
26330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26331         Moved ...
26332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
26333         ... here.
26334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26335         Moved ...
26336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
26337         ... here.
26338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26339         Moved ...
26340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
26341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26342         Moved ...
26343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
26344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26345         Moved ...
26346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
26347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26348         Moved ...
26349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
26350         ... here.
26351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26352         Moved ...
26353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
26354         ... here.
26355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26356         Moved ...
26357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
26358         ... here.
26359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26360         Moved ...
26361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
26362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26363         Moved ...
26364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
26366 2014-06-23  Will Newton  <will.newton@linaro.org>
26367             Wilco  <wdijkstr@arm.com>
26369         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
26370         implementation.  Include get-rounding-mode.h.
26371         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
26372         [!libc_feholdsetround_noex_ctx]: Define
26373         libc_feholdsetround_noex_ctx.
26374         [!libc_feholdsetround_noexf_ctx]: Define
26375         libc_feholdsetround_noexf_ctx.
26376         [!libc_feholdsetround_noexl_ctx]: Define
26377         libc_feholdsetround_noexl_ctx.
26378         (libc_feholdsetround_ctx): New function.
26379         (libc_feresetround_ctx): New function.
26380         (libc_feholdsetround_noex_ctx): New function.
26381         (libc_feresetround_noex_ctx): New function.
26383 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26385         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
26386         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
26387         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
26388         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
26389         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
26390         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
26392         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
26393         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
26394         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
26395         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
26396         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
26397         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
26398         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
26399         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
26400         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
26401         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
26402         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
26403         Moved ...
26404         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
26405         ... here.
26406         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
26407         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
26408         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
26409         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
26410         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
26411         Moved ...
26412         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
26413         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
26414         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
26415         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
26416         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
26417         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
26418         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
26419         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
26420         Moved ...
26421         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
26422         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
26423         Moved ...
26424         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
26425         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
26426         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
26427         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
26428         Moved ...
26429         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
26430         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
26431         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
26432         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
26433         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
26434         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
26435         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
26436         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
26437         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
26438         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
26439         Moved ...
26440         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
26441         ... here.
26442         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
26443         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
26444         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
26445         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
26446         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
26447         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
26448         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
26449         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
26450         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
26451         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
26452         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
26453         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
26454         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
26455         Moved ...
26456         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
26457         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
26458         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
26459         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
26460         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
26461         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
26462         Moved ...
26463         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
26464         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
26465         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
26466         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
26467         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
26469         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
26470         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
26471         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
26472         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
26473         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
26474         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
26475         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
26476         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
26477         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
26478         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
26479         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
26480         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
26481         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
26482         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
26483         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
26484         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
26485         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
26486         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
26487         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
26488         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
26489         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
26490         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
26491         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
26492         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
26493         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
26494         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
26495         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
26496         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
26498 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26500         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26501         (FALLOC_FL_COLLAPSE_RANGE): New macro.
26502         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
26503         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
26504         (IPV6_PMTUDISC_INTERFACE): Likewise.
26505         (IPV6_PMTUDISC_OMIT): Likewise.
26507 2014-06-23  Andreas Schwab  <schwab@suse.de>
26509         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
26510         Remove unused errout label.
26512 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26514         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
26515         macro: hardware supports Vector Crypto instructions.
26517 2014-06-23  Will Newton  <will.newton@linaro.org>
26519         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
26520         rather than __builtin_expect.
26522         * elf/dl-lookup.c (undefined_msg): Remove variable.
26523         (_dl_lookup_symbol_x): Replace undefined_msg with string
26524         literal.
26526         * elf/dl-lookup.c (do_lookup_unique): New function.
26527         (do_lookup_x): Move STB_GNU_UNIQUE handling code
26528         to a separate function.
26530 2014-06-23  Andreas Schwab  <schwab@suse.de>
26532         [BZ #17079]
26533         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
26534         before reading the next line.
26536 2014-06-23  Will Newton  <will.newton@linaro.org>
26538         * test-skeleton.c (signal_handler): Use printf and %m
26539         rather than perror.  Use printf rather than fprintf to
26540         stderr.  Use puts rather than fputs to stderr.
26541         (main): Likewise.
26543 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
26545         * nscd/nscd.c (thread_info_t): Remove typedef.
26546         (thread_info): Remove variable.
26548 2014-06-21  Allan McRae  <allan@archlinux.org>
26550         * NEWS: Mention CVE-2014-4043.
26552 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26554         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
26555         * nptl/smp.h: ... here.
26557         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
26559         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
26560         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
26561         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
26562         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
26564         * nptl/allocatestack.c: Include <stack-aliasing.h>.
26565         * nptl/stack-aliasing.h: New file.
26566         * sysdeps/i386/i686/stack-aliasing.h: New file.
26567         * sysdeps/i386/i686/nptl/Makefile: File removed.
26568         * sysdeps/x86_64/stack-aliasing.h: New file.
26569         * sysdeps/x86_64/nptl/Makefile
26570         (CFLAGS-pthread_create.c): Variable removed.
26572         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
26573         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
26574         old file.
26575         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
26576         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
26577         old file.
26579 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
26581         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26582         (__ASSUME_SIGFRAME_V2): Remove macro.
26583         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
26584         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
26585         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
26586         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
26587         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
26588         Declare as function.  Remove conditional macro definitions.
26589         (__default_rt_sa_restorer): Likewise.
26590         (__default_sa_restorer_v1): Remove declaration.
26591         (__default_sa_restorer_v2): Likewise.
26592         (__default_rt_sa_restorer_v1): Likewise.
26593         (__default_rt_sa_restorer_v2): Likewise.
26594         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
26595         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
26596         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
26598 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26600         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
26601         (libpthread-routines): Add sysdep.
26602         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
26603         * sysdeps/unix/sysv/linux/sparc/Versions
26604         (libpthread: GLIBC_2.3.3): New version set.
26605         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
26606         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
26607         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
26608         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
26609         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
26610         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
26611         Moved ...
26612         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
26613         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
26614         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
26615         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
26616         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
26617         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
26618         * sysdeps/sparc/nptl/sem_init.c: ... here.
26619         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26620         * sysdeps/sparc/nptl/sem_post.c: ... here.
26621         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26622         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26623         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26624         * sysdeps/sparc/nptl/sem_wait.c: ... here.
26625         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26626         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26627         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26628         (libpthread-routines): Add cpu_relax.
26629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26630         File removed.
26631         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26632         (librt: GLIBC_2.3.3): New version set.
26633         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26634         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26635         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26636         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26638         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26639         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26641         Moved ...
26642         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26644         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26646         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26648         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26650         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26652         Moved ...
26653         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26654         Update #include.
26655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26656         Moved ...
26657         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26658         Update #include.
26659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26660         Moved ...
26661         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26662         Update #include.
26663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26664         Moved ...
26665         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26666         Update #include.
26667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26668         Moved ...
26669         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26670         Update #include.
26671         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26672         Moved ...
26673         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26674         Update #include.
26675         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26676         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26677         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26678         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26679         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26680         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26681         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26682         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26684         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26686         Moved ...
26687         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26689         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26690         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26691         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26693 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26695         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26696         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26697         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26698         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26699         * nscd/nscd.c: Likewise.
26700         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26701         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26702         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26703         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26705         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26706         <kernel-features.h>.
26707         (init_mq_netlink): Remove conditional have_sock_cloexec
26708         definitions.  Remove code conditional on have_sock_cloexec < 0.
26709         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26710         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26711         * sysdeps/unix/sysv/linux/opensock.c: Do not include
26712         <kernel-features.h>.
26713         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26714         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26716 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26718         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26719         Add tests for memset_chk and memset.
26721         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26722         with AVX2_Usable.
26724 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26726         [BZ #16046]
26727         * elf/tst-dl-iter-static.c: New file.
26728         * elf/Makefile (tests-static): Add tst-dl-iter-static.
26730         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26731         error.
26733 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26735         * sysdeps/unix/sysv/linux/kernel-features.h
26736         (__ASSUME_F_GETOWN_EX): Remove macro.
26737         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26738         <kernel-features.h>.
26739         (miss_F_GETOWN_EX): Remove variable or macro.
26740         (do_fcntl): Do not check miss_F_GETOWN_EX.
26741         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26743         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26744         Remove macro.
26745         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26746         [!__ASSUME_AT_RANDOM]: Remove conditional code.
26747         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26749         * sysdeps/unix/sysv/linux/kernel-features.h
26750         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26751         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26752         [ADJ_OFFSET_SS_READ]: Make code unconditional.
26753         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26755 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26757         [BZ #17075]
26758         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26759         Fix calculation of the symbol's value.
26760         * sysdeps/arm/tst-armtlsdescloc.c: New file.
26761         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26762         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26763         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26764         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26765         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26766         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26767         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26768         (modules-names): Add `tst-armtlsdescmod',
26769         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26770         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26771         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26772         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26773         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
26774         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26775         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
26776         ($(objpfx)tst-armtlsdescloc): New dependency.
26777         ($(objpfx)tst-armtlsdescextnow): Likewise.
26778         ($(objpfx)tst-armtlsdescextlazy): Likewise.
26779         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
26780         TLS scheme support.
26781         * sysdeps/arm/configure: Regenerate.
26783 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26785         * include/fcntl.h (__atfct_seterrno): Remove prototype.
26786         (__atfct_seterrno_2): Likewise.
26787         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
26788         <kernel-features.h>.
26789         (__ASSUME_ATFCTS): Do not undefine and redefine.
26790         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
26791         (__have_atfcts): Remove conditional definition.
26792         (__fxstatat([__NR_fstatat64]: Make code unconditional.
26793         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
26794         unreachable if [__ASSUME_ATFCTS].
26795         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
26796         not undefine and redefine.
26797         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
26798         <kernel-features.h>.
26799         (faccessat) [__NR_faccessat]: Make code unconditional.
26800         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
26801         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
26802         <kernel-features.h>.
26803         (fchmodat) [__NR_fchmodat]: Make code unconditional.
26804         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26805         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
26806         <kernel-features.h>.
26807         (fchownat) [__NR_fchownat]: Make code unconditional.
26808         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
26809         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
26810         <kernel-features.h>.
26811         (futimesat) [__NR_futimesat]: Make code unconditional.
26812         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
26813         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26814         <kernel-features.h>.
26815         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26816         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26817         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26818         <kernel-features.h>.
26819         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
26820         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26821         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
26822         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26823         <kernel-features.h>.
26824         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
26825         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26826         * sysdeps/unix/sysv/linux/linkat.c: Do not include
26827         <kernel-features.h>.
26828         (linkat) [__NR_linkat]: Make code unconditional.
26829         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26830         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
26831         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
26832         <kernel-features.h>.
26833         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
26834         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26835         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
26836         <kernel-features.h>.
26837         (mkdirat) [__NR_mkdirat]: Make code unconditional.
26838         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
26839         * sysdeps/unix/sysv/linux/openat.c: Do not include
26840         <kernel-features.h>.
26841         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
26842         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
26843         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
26844         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
26845         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
26846         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
26847         <kernel-features.h>.
26848         (readlinkat) [__NR_readlinkat]: Make code unconditional.
26849         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
26850         result of INLINE_SYSCALL directly, not via int variable.
26851         * sysdeps/unix/sysv/linux/renameat.c: Do not include
26852         <kernel-features.h>.
26853         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
26854         (renameat) [__NR_renameat]: Make code unconditional.
26855         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
26856         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
26857         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
26858         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
26859         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
26860         (__ASSUME_ATFCTS): Do not undefine and redefine.
26861         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
26862         <kernel-features.h>.
26863         (symlinkat) [__NR_symlinkat]: Make code unconditional.
26864         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26865         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
26866         <kernel-features.h>.
26867         (unlinkat) [__NR_unlinkat]: Make code unconditional.
26868         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26869         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
26870         (__ASSUME_ATFCTS): Do not undefine and redefine.
26871         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26872         <kernel-features.h>.
26873         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26874         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26875         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26876         <kernel-features.h>.
26877         (__xmknodat) [__NR_mknodat]: Make code unconditional.
26878         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26880 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26882         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
26884 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
26886         [BZ #17069]
26887         * posix/regcomp.c (parse_reg_exp): Deallocate partially
26888         constructed tree before returning error.
26889         * posix/bug-regexp36.c: Expand test case.
26891 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26893         [BZ #6803]
26894         * math/libm-test.inc (scalbln_test_date):
26895         Add errno expectations.
26896         * math/w_scalblnf.c: New File.
26897         Add wrapper which checks for setting errno to ERANGE.
26898         Add weak_alias for corresponding scalbln function.
26899         * math/w_scalbln.c: Likewise.
26900         * math/w_scalblnl.c: Likewise.
26901         * math/Makefile (libm-calls): Add w_scalbln.
26902         * sysdeps/ieee754/flt-32/s_scalblnf.c:
26903         Remove weak_alias for corresponding scalbln function.
26904         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26905         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26906         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26907         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26908         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26909         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26910         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
26911         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26912         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
26913         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
26914         Remove long_double_symbol for scalblnl function in libm, libc.
26915         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
26916         Add wrapper which checks for setting errno to ERANGE.
26917         Add long_double_symbol for scalblnl function in libm, libc.
26918         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
26919         Remove long_double_symbol for scalblnl in libm.
26920         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
26921         Add wrapper which checks for setting errno to ERANGE.
26922         Add long_double_symbol for scalblnl function in libm.
26923         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
26924         Do not use wrapper because of own implementation.
26926 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
26928         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
26929         3 bytes for __pad1 for x32.
26930         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
26932 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
26933             H.J. Lu  <hongjiu.lu@intel.com>
26935         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
26936         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
26937         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26938         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26939         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26941 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
26943         [BZ #17069]
26944         * posix/regcomp.c (parse_expression): Deallocate partially
26945         constructed tree before returning error.
26946         * posix/Makefile.c (tests): Add bug-regex36.
26947         (generated): Add bug-regex36.mtrace.
26948         (tests-special): Add $(objpfx)bug-regex36-mem.out
26949         (bug-regex36-ENV): New variable.
26950         ($(objpfx)bug-regex36-mem.out): New rule.
26951         * posix/bug-regex36.c: New file.
26953 2014-06-19  Will Newton  <will.newton@linaro.org>
26955         * malloc/malloc.c (systrim): If extra is zero then return
26956         early.
26958 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26960         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
26962 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
26964         * sysdeps/aarch64/strchr.S: New file.
26966 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26968         [BZ #17022]
26969         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
26970         from arguments -2 or below.
26971         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26972         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
26974 2014-06-18  Andreas Schwab  <schwab@suse.de>
26976         [BZ #17062]
26977         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
26978         of a bracket expr not to run off the end of the string.
26979         * posix/Makefile (tests): Add tst-fnmatch3.
26980         * posix/tst-fnmatch3.c: New file.
26982 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26984         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
26985         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26986         [$(cross-compiling) = no]: Likewise.
26987         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26988         [$(cross-compiling) = no]: Likewise.
26990 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26992         [BZ #17031]
26993         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
26994         double, adjusted for any remainder from the high double.
26995         * math/libm-test.inc (nearbyint): Add tests.
26996         (rint): Likewise.
26998 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27000         * nptl/sysdeps/powerpc/Makefile: Moved ...
27001         * sysdeps/powerpc/nptl/Makefile: ... here.
27002         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
27003         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
27004         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
27005         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
27006         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
27007         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
27008         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
27009         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
27010         * nptl/sysdeps/powerpc/tls.h: Moved ...
27011         * sysdeps/powerpc/nptl/tls.h: ... here.
27013 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
27015         [BZ #16681]
27016         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
27017         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
27018         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
27019         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
27020         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
27021         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
27022         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
27023         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
27024         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
27026 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
27028         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27030 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
27032         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
27033         defined operator.
27035         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
27036         $TIMEOUTFACTOR.
27038 2014-06-16  Florian Weimer  <fweimer@redhat.com>
27040         [BZ #17058]
27041         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
27042         non-executed part of the test.
27044 2014-06-16  Andreas Schwab  <schwab@suse.de>
27046         * string/bits/string2.h (strdup, strndup): Update feature guard.
27048 2014-06-14  David S. Miller  <davem@davemloft.net>
27050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27052 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
27054         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
27055         that was previously under [RESET_PID].
27056         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
27058         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
27059         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
27060         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
27061         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27062         (__libc_vfork): New strong alias.
27063         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
27065 2014-06-14 Andi Kleen  <ak@linux.intel.com>
27067         * sysdeps/generic/elide.h: New file.
27069 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27071         * Makefile (installed-headers): Adjust path of pthread.h header.
27073 2014-06-13  Roland McGrath  <roland@hack.frob.com>
27075         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
27076         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
27077         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
27078         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
27080         * nptl/sysdeps/s390/Makefile: Moved ...
27081         * sysdeps/s390/nptl/Makefile: ... here.
27082         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
27083         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
27084         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
27085         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
27086         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
27087         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
27088         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
27089         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
27090         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
27091         * sysdeps/s390/nptl/pthreaddef.h: ... here.
27092         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
27093         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
27094         * nptl/sysdeps/s390/tls.h: Moved ...
27095         * sysdeps/s390/nptl/tls.h: ... here.
27097         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
27098         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
27100 2014-06-13  David S. Miller  <davem@davemloft.net>
27102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
27103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
27104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
27105         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
27106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
27107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
27108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
27109         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
27110         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
27111         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
27112         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
27113         Remove RESET_PID cpp guards.
27114         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
27115         Remove RESET_PID cpp guards.
27116         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
27118 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
27120         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
27121         __sp to uintptr_t.
27123 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27125         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
27126         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
27127         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
27128         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
27129         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
27130         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
27131         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
27132         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
27133         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
27134         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
27135         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
27136         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
27137         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
27138         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
27139         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
27140         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
27141         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
27142         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
27143         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
27144         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
27146         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
27147         (pthread_rwlock_rdlock): Add elision.
27148         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
27149         (pthread_rwlock_wrlock): Add elision.
27150         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
27151         (pthread_rwlock_trywrlock): Add elision.
27152         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
27153         (pthread_rwlock_tryrdlock): Add elision.
27154         * nptl/pthread_rwlock_unlock.c: Include elide.h.
27155         (pthread_rwlock_tryrdlock): Add elision unlock.
27156         * nptl/sysdeps/pthread/pthread.h:
27157         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
27158         (PTHREAD_RWLOCK_INITIALIZER,
27159         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
27160         Handle new elision field.
27161         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
27162         * sysdeps/arm/nptl/bits/pthreadtypes.h
27163         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27164         * sysdeps/sh/nptl/bits/pthreadtypes.h
27165         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27166         * sysdeps/tile/nptl/bits/pthreadtypes.h
27167         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27168         * sysdeps/a/nptl/bits/pthreadtypes.h
27169         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27170         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27171         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27172         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27173         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27174         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
27175         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27176         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27177         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27178         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27179         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27180         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27181         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27182         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27183         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27184         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
27185         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27186         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
27187         (elision_init): Set try_xbegin to zero when no RTM.
27188         * sysdeps/x86/nptl/bits/pthreadtypes.h
27189         (pthread_rwlock_t): Change __pad1 to __rwelision.
27190         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27192 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27194         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
27195         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
27196         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
27197         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
27199 2014-06-13  Meador Inge  <meadori@codesourcery.com>
27201         [BZ #16996]
27202         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
27203         that the cached result has been set before returning it.
27205 2014-06-12  Roland McGrath  <roland@hack.frob.com>
27207         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
27208         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
27209         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
27210         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
27211         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
27212         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
27214         * nptl/sysdeps/sparc/Makefile: Moved ...
27215         * sysdeps/sparc/nptl/Makefile: ... here.
27216         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
27217         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
27218         * nptl/sysdeps/sparc/tls.h: Moved ...
27219         * sysdeps/sparc/nptl/tls.h: ... here.
27220         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
27221         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
27222         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
27223         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
27224         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
27225         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
27226         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
27227         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
27228         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
27229         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
27230         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
27231         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
27232         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
27233         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
27234         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
27235         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
27236         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
27237         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
27238         Update #include.
27239         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
27240         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
27241         Update #include.
27242         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
27243         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
27244         Update #include.
27245         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
27246         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
27247         Update #include.
27249         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27251         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
27252         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
27254         * sysdeps/pthread/posix-timer.h: Include <list.h>.
27255         (struct list_links): Type removed.
27256         (struct thread_node, struct timer_node): Replace struct list_links
27257         with struct list_head.
27258         (list_unlink_ip): Likewise.
27259         * sysdeps/pthread/timer_routines.c
27260         (timer_free_list, thread_free_list, thread_active_list): Likewise.
27261         (list_append, list_insbefore): Likewise.
27262         (list_init): Function removed.
27263         (thread_init, init_module): Use INIT_LIST_HEAD instead.
27264         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
27265         * sysdeps/pthread/Makefile: ... here, new file.
27267         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
27268         * sysdeps/nptl/Implies: ... here.
27269         * sysdeps/unix/sysv/linux/Implies: Add nptl.
27270         * nptl/sysdeps/pthread/list.h: Moved ...
27271         * include/list.h: ... here.
27272         * nptl/sysdeps/pthread/createthread.c: Moved ...
27273         * nptl/createthread.c: ... here.
27274         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
27275         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
27276         * nptl/pt-longjmp.c: ... here.
27277         * nptl/sysdeps/pthread/Makefile: Moved ...
27278         * sysdeps/nptl/Makefile: ... here.
27279         * nptl/sysdeps/pthread/Subdirs: Moved ...
27280         * sysdeps/nptl/Subdirs: ... here.
27281         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
27282         * sysdeps/nptl/aio_misc.h: ... here.
27283         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
27284         * sysdeps/nptl/bits/libc-lock.h: ... here.
27285         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
27286         * sysdeps/nptl/bits/libc-lockP.h: ... here.
27287         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
27288         * sysdeps/nptl/bits/stdio-lock.h: ... here.
27289         * nptl/sysdeps/pthread/configure: Moved ...
27290         * sysdeps/nptl/configure: ... here.
27291         * nptl/sysdeps/pthread/configure.ac: Moved ...
27292         * sysdeps/nptl/configure.ac: ... here.
27293         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
27294         * sysdeps/nptl/gai_misc.h: ... here.
27295         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
27296         * sysdeps/nptl/librt-cancellation.c: ... here.
27297         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
27298         * sysdeps/nptl/malloc-machine.h: ... here.
27299         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
27300         * sysdeps/nptl/pthread-functions.h: ... here.
27301         * nptl/sysdeps/pthread/pthread.h: Moved ...
27302         * sysdeps/nptl/pthread.h: ... here.
27303         * nptl/sysdeps/pthread/setxid.h: Moved ...
27304         * sysdeps/nptl/setxid.h: ... here.
27305         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
27306         * sysdeps/nptl/sigfillset.c: ... here.
27307         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
27308         * sysdeps/nptl/tcb-offsets.h: ... here.
27309         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
27310         * sysdeps/nptl/tst-mqueue8x.c: ... here.
27311         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
27312         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
27313         * nptl/sysdeps/pthread/allocalim.h: Moved ...
27314         * sysdeps/pthread/allocalim.h: ... here.
27315         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
27316         * sysdeps/pthread/bits/sigthread.h: ... here.
27317         * nptl/sysdeps/pthread/flockfile.c: Moved ...
27318         * sysdeps/pthread/flockfile.c: ... here.
27319         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
27320         * sysdeps/pthread/ftrylockfile.c: ... here.
27321         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
27322         * sysdeps/pthread/funlockfile.c: ... here.
27323         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
27324         * sysdeps/pthread/posix-timer.h: ... here.
27325         * nptl/sysdeps/pthread/timer_create.c: Moved ...
27326         * sysdeps/pthread/timer_create.c: ... here.
27327         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
27328         * sysdeps/pthread/timer_delete.c: ... here.
27329         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
27330         * sysdeps/pthread/timer_getoverr.c: ... here.
27331         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
27332         * sysdeps/pthread/timer_gettime.c: ... here.
27333         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
27334         * sysdeps/pthread/timer_routines.c: ... here.
27335         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
27336         * sysdeps/pthread/timer_settime.c: ... here.
27337         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
27338         * sysdeps/pthread/tst-timer.c: ... here.
27339         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
27340         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
27342         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
27343         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
27345         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
27346         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
27347         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
27348         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
27349         Update #include target.
27350         * nptl/sysdeps/i386/i686/Makefile: Moved ...
27351         * sysdeps/i386/i686/nptl/Makefile: ... here.
27352         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
27353         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
27354         Update #include target.
27355         * nptl/sysdeps/i386/i686/tls.h: Moved ...
27356         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
27357         * nptl/sysdeps/i386/Makefile: Moved ...
27358         * sysdeps/i386/nptl/Makefile: ... here.
27359         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
27360         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
27361         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
27362         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
27363         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
27364         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
27365         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
27366         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
27367         * sysdeps/i386/nptl/pthreaddef.h: ... here.
27368         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
27369         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
27370         * nptl/sysdeps/i386/tls.h: Moved ...
27371         * sysdeps/i386/nptl/tls.h: ... here.
27373         * sysdeps/sh/Makefile [$(subdir) = csu]
27374         (gen-as-const-headers): Add tcb-offsets.sym.
27375         * nptl/sysdeps/sh/Makefile: File removed.
27376         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
27377         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
27378         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
27379         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
27380         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
27381         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
27382         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
27383         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
27384         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
27385         * sysdeps/sh/nptl/pthreaddef.h: ... here.
27386         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
27387         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
27388         * nptl/sysdeps/sh/tls.h: Moved ...
27389         * sysdeps/sh/nptl/tls.h: ... here.
27390         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
27391         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
27392         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
27393         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
27394         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
27395         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
27396         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
27397         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
27398         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
27399         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
27400         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
27401         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
27402         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
27403         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
27404         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
27405         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
27406         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
27407         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
27408         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
27409         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
27410         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
27411         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
27412         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
27413         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
27414         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
27415         Moved ...
27416         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
27417         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
27418         Moved ...
27419         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
27420         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
27421         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
27422         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
27423         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
27424         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
27425         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
27426         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
27427         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
27428         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
27429         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
27430         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
27431         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
27432         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
27433         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
27434         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
27435         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
27436         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
27437         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
27439 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27441         * posix/spawn_faction_addopen.c: Include string.h.
27443 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27445         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
27446         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
27447         * nptl/sysdeps/x86_64/Makefile: Moved ...
27448         * sysdeps/x86_64/nptl/Makefile: ... here.
27449         * nptl/sysdeps/x86_64/configure: Moved ...
27450         * sysdeps/x86_64/nptl/configure: ... here.
27451         * nptl/sysdeps/x86_64/configure.ac: Moved ...
27452         * sysdeps/x86_64/nptl/configure.ac: ... here.
27453         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
27454         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
27455         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
27456         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
27457         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
27458         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
27459         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
27460         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
27461         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
27462         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
27463         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
27464         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
27465         * nptl/sysdeps/x86_64/tls.h: Moved ...
27466         * sysdeps/x86_64/nptl/tls.h: ... here.
27467         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
27468         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
27469         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
27470         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
27472         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
27474 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27478 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
27480         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
27481         type.
27482         [POSIX] (off_t): Likewise.
27483         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
27484         [POSIX] (S_ISBLK): Require macro.
27485         [POSIX] (S_ISCHR): Likewise.
27486         [POSIX] (S_ISDIR): Likewise.
27487         [POSIX] (S_ISFIFO): Likewise.
27488         [POSIX] (S_ISREG): Likewise.
27489         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
27490         optional-macro.
27491         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
27492         type.
27493         [POSIX] (time_t): Likewise.
27494         [POSIX] (timer_t): Likewise.
27496 2014-06-11  Florian Weimer  <fweimer@redhat.com>
27498         [BZ #17048]
27499         * posix/spawn_int.h (struct __spawn_action): Make the path string
27500         non-const to support deallocation.
27501         * posix/spawn_faction_addopen.c
27502         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
27503         * posix/spawn_faction_destroy.c
27504         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
27505         path in all spawn_do_open actions.
27506         * posix/tst-spawn.c (do_test): Exercise the copy operation in
27507         posix_spawn_file_actions_addopen.
27509 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
27511         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
27512         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
27513         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
27514         conditional code always true.
27515         (__libc_vfork): New alias.
27517 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27519         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27520         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
27522         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
27524         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27525         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
27527         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27528         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
27530         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27531         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
27533 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27535         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
27536         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
27537         multiarch strcmp for PPC64.
27538         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
27539         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
27540         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
27541         multiarch optimizations.
27542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27543         (__libc_ifunc_impl_list): Likewise.
27545 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27547         * benchtests/scripts/validate_benchout.py: New script.
27548         * benchtests/Makefile (bench-func): Call it.
27549         * benchtests/scripts/benchout.schema.json: New file.
27551 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
27553         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
27554         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
27555         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
27556         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
27557         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
27558         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
27559         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
27560         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
27561         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
27562         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
27563         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
27564         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
27565         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
27566         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
27567         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
27568         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
27569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
27570         Moved ...
27571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
27572         ... here.
27573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
27574         Moved ...
27575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
27576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
27577         Moved ...
27578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
27579         ... here.
27580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
27581         Moved ...
27582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
27583         ... here.
27584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
27585         Moved ...
27586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
27587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
27588         Moved ...
27589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
27590         ... here.
27591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
27592         Moved ...
27593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
27594         ... here.
27595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
27596         Moved ...
27597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
27598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
27599         Moved ...
27600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
27601         ... here.
27602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
27603         Moved ...
27604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
27605         ... here.
27606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
27607         Moved ...
27608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
27609         ... here.
27610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
27611         Moved ...
27612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
27613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
27614         Moved ...
27615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
27616         ... here.
27617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
27618         Moved ...
27619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27620         ... here.
27621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27622         Moved ...
27623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27624         ... here.
27625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27626         Moved ...
27627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27629         Moved ...
27630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27631         ... here.
27632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27633         Moved ...
27634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27635         ... here.
27636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27637         Moved ...
27638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27640         Moved ...
27641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27642         ... here.
27643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27644         Moved ...
27645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27647         Moved ...
27648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27650         Moved ...
27651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27652         ... here.
27653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27654         Moved ...
27655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27656         ... here.
27657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27658         Moved ...
27659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27660         ... here.
27661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27662         Moved ...
27663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27665         Moved ...
27666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27667         ... here.
27668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27669         Moved ...
27670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27671         ... here.
27672         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27673         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27674         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27675         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27676         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27677         Moved ...
27678         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27679         ... here.
27680         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27681         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27682         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27683         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27684         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27685         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27686         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27687         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27688         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27689         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27690         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27691         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27692         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27693         Moved ...
27694         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27695         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27696         Moved ...
27697         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27698         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27699         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27700         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27701         Moved ...
27702         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27703         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27704         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27705         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27706         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27707         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27708         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27710 2014-06-10  Wilco  <wdijkstr@arm.com>
27712         * math/test-fenv-return.c: New file.
27713         * math/Makefile: Add new test test-fenv-return.
27715 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
27717         [BZ #17042]
27718         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27719         when x - 1 is zero.
27720         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27721         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27722         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27723         0.0L for an argument of 1.0L.
27724         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27725         Likewise.
27726         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27727         value when x - 1 is zero.
27728         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27729         * sysdeps/i386/fpu/libm-test-ulps: Update.
27730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27732 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
27734         [BZ #15119]
27735         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27737 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27739         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27740         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27742 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27744         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27745         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27747         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27748         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27750         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27751         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27753         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27754         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27756         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27757         if not already defined.
27758         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27759         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27760         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27761         (TLS_INIT_TP): Use it.
27762         (TLS_DEFINE_INIT_TP): New macro.
27763         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27765 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
27767         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27768         constant.
27769         [POSIX] (IXANY): Likewise.
27770         [POSIX] (OLCUC): Likewise.
27771         [POSIX || POSIX2008] (CBAUD): Do not allow.
27772         [POSIX || POSIX2008] (DEFECHO): Likewise.
27773         [POSIX || POSIX2008] (ECHOCTL): Likewise.
27774         [POSIX || POSIX2008] (ECHOKE): Likewise.
27775         [POSIX || POSIX2008] (ECHOPRT): Likewise.
27776         [POSIX || POSIX2008] (EXTA): Likewise.
27777         [POSIX || POSIX2008] (EXTB): Likewise.
27778         [POSIX || POSIX2008] (FLUSHO): Likewise.
27779         [POSIX || POSIX2008] (LOBLK): Likewise.
27780         [POSIX || POSIX2008] (PENDIN): Likewise.
27781         [POSIX || POSIX2008] (SWTCH): Likewise.
27782         [POSIX || POSIX2008] (VDISCARD): Likewise.
27783         [POSIX || POSIX2008] (VDSUSP): Likewise.
27784         [POSIX || POSIX2008] (VLNEXT): Likewise.
27785         [POSIX || POSIX2008] (VREPRINT): Likewise.
27786         [POSIX || POSIX2008] (VSTATUS): Likewise.
27787         [POSIX || POSIX2008] (VWERASE): Likewise.
27788         (B*): Change to B[0123456789]*.
27789         * conform/data/time.h-data [POSIX || UNIX98]
27790         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
27791         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27792         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
27793         [POSIX] (tm_*): Do not allow.
27795 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
27797         * Makefile (install): Don't set LANGUAGE.
27798         * Makefile.in (install): Likewise.
27799         * assert/Makefile (test-assert-ENV): Remove variable.
27800         (test-assert-perr-ENV): Likewise.
27801         * elf/Makefile (neededtest4-ENV): Likewise.
27802         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27803         [$(cross-compiling) = no]: Don't set LANGUAGE.
27804         * io/ftwtest-sh (LANG): Remove variable.
27805         * libio/Makefile (tst-widetext-ENV): Likewise.
27806         * manual/install.texi (Running make install): Don't refer to
27807         environment settings for make install.
27808         * INSTALL: Regenerated.
27809         * nptl/tst-tls6.sh: Don't set LANG.
27810         * posix/globtest.sh (LANG): Remove variable.
27811         * string/Makefile (tester-ENV): Likewise.
27812         (inl-tester-ENV): Likewise.
27813         (noinl-tester-ENV): Likewise.
27814         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27815         [$(cross-compiling) = no]: Don't set LANGUAGE.
27816         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
27817         without explicit environment settings.
27819 2014-06-06  Roland McGrath  <roland@hack.frob.com>
27821         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
27822         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
27823         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
27824         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
27826 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
27828         * crypt/crypt-private.h [DOS]: Add some includes taken from the
27829         other files in the crypt directory.
27830         * crypt/crypt.c: Remove duplicate includes.
27831         * crypt/crypt-entry.c: Likewise.
27832         * crypt/crypt_util.c: Likewise.
27834 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
27836         * Makeconfig (run-program-env): New variable.
27837         (run-program-prefix-before-env): Likewise.
27838         (run-program-prefix-after-env): Likewise.
27839         (run-program-prefix): Define in terms of new variables.
27840         (built-program-cmd-before-env): New variable.
27841         (built-program-cmd-after-env): Likewise.
27842         (built-program-cmd): Define in terms of new variables.
27843         (test-program-prefix-before-env): New variable.
27844         (test-program-prefix-after-env): Likewise.
27845         (test-program-prefix): Define in terms of new variables.
27846         (test-program-cmd-before-env): New variable.
27847         (test-program-cmd-after-env): Likewise.
27848         (test-program-cmd): Define in terms of new variables.
27849         * Rules (make-test-out): Use $(run-program-env).
27850         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
27851         (help): Do not mention environment variables.  Mention
27852         --timeoutfactor option.
27853         (timeoutfactor): New variable.
27854         (blacklist_exports): Remove function.
27855         (exports): Remove variable.
27856         (command): Do not include ${exports}.
27857         * manual/install.texi (Configuring and compiling): Do not mention
27858         test wrappers preserving environment variables.  Mention that last
27859         assignment to a variable must take precedence.
27860         * INSTALL: Regenerated.
27861         * benchtests/Makefile (run-bench): Use $(run-program-env).
27862         * catgets/Makefile ($(objpfx)test1.cat): Use
27863         $(built-program-cmd-before-env), $(run-program-env) and
27864         $(built-program-cmd-after-env).
27865         ($(objpfx)test2.cat): Do not specify environment variables
27866         explicitly.
27867         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
27868         $(run-program-env) and $(built-program-cmd-after-env).
27869         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
27870         $(run-program-env) and $(test-program-cmd-after-env).
27871         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
27872         explicitly.
27873         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
27874         run_program_env and test_program_cmd_after_env arguments.
27875         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
27876         * elf/tst-pathopt.sh: Use run_program_env argument.
27877         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
27878         $(test-wrapper-env) and $(run-program-env).
27879         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
27880         run_program_env arguments.
27881         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
27882         * intl/Makefile ($(objpfx)tst-gettext.out): Use
27883         $(test-program-prefix-before-env), $(run-program-env) and
27884         $(test-program-prefix-after-env).
27885         ($(objpfx)tst-gettext2.out): Likewise.
27886         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
27887         run_program_env and test_program_prefix_after_env arguments.
27888         * intl/tst-gettext2.sh: Likewise.
27889         * intl/tst-gettext4.sh: Do not set environment variables
27890         explicitly.
27891         * intl/tst-gettext6.sh: Likewise.
27892         * intl/tst-translit.sh: Likewise.
27893         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
27894         $(test-program-prefix-before-env), $(run-program-env) and
27895         $(test-program-prefix-after-env).
27896         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
27897         run_program_env and test_program_prefix_after_env arguments.
27898         * math/Makefile (run-regen-ulps): Use $(run-program-env).
27899         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
27900         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
27901         explicitly with each use of ${test_wrapper_env}.
27902         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
27903         $(test-program-prefix-before-env), $(run-program-env) and
27904         $(test-program-prefix-after-env).
27905         * posix/tst-getconf.sh: Do not set environment variables
27906         explicitly.
27907         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
27908         run_program_env and test_program_prefix_after_env arguments.
27909         * stdio-common/tst-printf.sh: Do not set environment variables
27910         explicitly.
27911         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
27912         $(test-program-prefix-before-env), $(run-program-env) and
27913         $(test-program-prefix-after-env).
27914         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
27915         run_program_env and test_program_prefix_after_env arguments.
27916         Split $test calls into $test_pre and $test.
27917         * timezone/Makefile (build-testdata): Use
27918         $(built-program-cmd-before-env), $(run-program-env) and
27919         $(built-program-cmd-after-env).
27921 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27923         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
27924         strlen for non SHARED builds.
27926 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27928         * nptl/allocatestack.c (check_list): Inlined function...
27929         (__reclaim_stacks): ... here.
27931 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27933         [BZ #15698]
27934         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27935         memory overrun.
27937 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
27939         * Rules (make-test-out): Include
27940         LOCPATH=$(common-objpfx)localedata in default environment.
27941         * debug/Makefile (tst-chk1-ENV): Remove variable.
27942         (tst-chk2-ENV): Likewise.
27943         (tst-chk3-ENV): Likewise.
27944         (tst-chk4-ENV): Likewise.
27945         (tst-chk5-ENV): Likewise.
27946         (tst-chk6-ENV): Likewise.
27947         (tst-lfschk1-ENV): Likewise.
27948         (tst-lfschk2-ENV): Likewise.
27949         (tst-lfschk3-ENV): Likewise.
27950         (tst-lfschk4-ENV): Likewise.
27951         (tst-lfschk5-ENV): Likewise.
27952         (tst-lfschk6-ENV): Likewise.
27953         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
27954         (tst-iconv7-ENV): Likewise.
27955         * intl/Makefile (LOCPATH-ENV): Likewise.
27956         (tst-codeset-ENV): Likewise.
27957         (tst-gettext3-ENV): Likewise.
27958         (tst-gettext5-ENV): Likewise.
27959         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
27960         (tst-fopenloc-ENV): Likewise.
27961         (tst-fgetws-ENV): Remove variable.
27962         (tst-ungetwc1-ENV): Likewise.
27963         (tst-ungetwc2-ENV): Likewise.
27964         (bug-ungetwc2-ENV): Likewise.
27965         (tst-swscanf-ENV): Likewise.
27966         (bug-ftell-ENV): Likewise.
27967         (tst-fgetwc-ENV): Likewise.
27968         (tst-fseek-ENV): Likewise.
27969         (tst-ftell-partial-wide-ENV): Likewise.
27970         (tst-ftell-active-handler-ENV): Likewise.
27971         (tst-ftell-append-ENV): Likewise.
27972         * posix/Makefile (tst-fnmatch-ENV): Likewise.
27973         (tst-regexloc-ENV): Likewise.
27974         (bug-regex1-ENV): Likewise.
27975         (tst-regex-ENV): Likewise.
27976         (tst-regex2-ENV): Likewise.
27977         (bug-regex5-ENV): Likewise.
27978         (bug-regex6-ENV): Likewise.
27979         (bug-regex17-ENV): Likewise.
27980         (bug-regex18-ENV): Likewise.
27981         (bug-regex19-ENV): Likewise.
27982         (bug-regex20-ENV): Likewise.
27983         (bug-regex22-ENV): Likewise.
27984         (bug-regex23-ENV): Likewise.
27985         (bug-regex25-ENV): Likewise.
27986         (bug-regex26-ENV): Likewise.
27987         (bug-regex30-ENV): Likewise.
27988         (bug-regex32-ENV): Likewise.
27989         (bug-regex33-ENV): Likewise.
27990         (bug-regex34-ENV): Likewise.
27991         (bug-regex35-ENV): Likewise.
27992         (tst-rxspencer-ENV): Likewise.
27993         (tst-rxspencer-no-utf8-ENV): Likewise.
27994         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
27995         (tst-sscanf-ENV): Likewise.
27996         (tst-swprintf-ENV): Likewise.
27997         (tst-swscanf-ENV): Likewise.
27998         (test-vfprintf-ENV): Likewise.
27999         (scanf13-ENV): Likewise.
28000         (bug14-ENV): Likewise.
28001         (tst-grouping-ENV): Likewise.
28002         * stdlib/Makefile (tst-strtod-ENV): Likewise.
28003         (tst-strtod3-ENV): Likewise.
28004         (tst-strtod4-ENV): Likewise.
28005         (tst-strtod5-ENV): Likewise.
28006         (testmb2-ENV): Likewise./
28007         * string/Makefile (tst-strxfrm-ENV): Likewise.
28008         (tst-strxfrm2-ENV): Likewise.
28009         (bug-strcoll1-ENV): Likewise.
28010         (test-strcasecmp-ENV): Likewise.
28011         (test-strncasecmp-ENV): Likewise.
28012         * time/Makefile (tst-strptime-ENV): Likewise.
28013         (tst-ftime_l-ENV): Likewise.
28014         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
28015         (tst-mbrtowc-ENV): Likewise.
28016         (tst-wcrtomb-ENV): Likewise.
28017         (tst-mbrtowc2-ENV): Likewise.
28018         (tst-c16c32-1-ENV): Likewise.
28019         (tst-mbsnrtowcs-ENV): Likewise.
28021 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28023         * manual/resource.texi (How to get information about the memory
28024         subsystem?): Fix typo.
28025         Reported by Peon de la Parra Ivan <peon@keba.com>
28027 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
28029         [BZ #16882]
28030         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
28031         (pthread_spin_lock): Branch out of spin loop to proper location.
28032         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
28033         (pthread_spin_lock): Likewise.
28035         * nptl/tst-spin4.c: New test.
28036         * nptl/Makefile (tests): Add tst-spin4.
28038 2014-06-03  Andreas Schwab  <schwab@suse.de>
28040         [BZ #15946]
28041         * resolv/res_send.c (send_dg): Reload file descriptor after
28042         calling reopen.
28044 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
28046         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28048 2014-06-03  Richard Henderson  <rth@redhat.com>
28050         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
28051         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
28052         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
28053         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
28054         in the SAVE_PID block.
28055         (__libc_vfork): New alias.
28056         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
28058         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
28059         child in registers, not on the stack.  Remove RESET_PID conditionals.
28060         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
28062 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28064         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28066 2014-06-03  Wilco  <wdijkstr@arm.com>
28068         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
28069         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
28070         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28071         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
28072         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
28073         Likewise.
28075 2014-06-03  Wilco  <wdijkstr@arm.com>
28077         * sysdeps/aarch64/fpu/math_private.h
28078         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
28079         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
28080         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
28081         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28082         Fix declarations.
28084 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28086         * crypt/crypt-private.h: Include ufc-crypt.h.
28087         (__b64_from_24bit): Declare extern.
28088         * crypt/crypt_util.c(__b64_from_24bit): New function.
28089         (b64t): New static const variable.
28090         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
28091         (b64t): Remove variable.
28092         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
28093         * crypt/sha256-crypt.c: Include crypt-private.h.
28094         (b64t): Remove variable.
28095         (__sha256_crypt_r): Remove b64_from_24bit and replace
28096         with __b64_from_24bit.
28097         * crypt/sha512-crypt.c: Likewise.
28099 2014-06-02  Roland McGrath  <roland@hack.frob.com>
28101         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
28102         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
28103         Label the code __libc_vfork rather than __vfork.
28104         [!NOT_IN_libc] (vfork): Define as weak alias.
28105         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
28106         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
28107         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
28109 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28111         * malloc/malloc.c (malloc_info): Fix format specifier for
28112         n_mmaps.
28114 2014-06-02  Wilco  <wdijkstr@arm.com>
28116         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
28117         FPCR write.
28119 2014-06-02  Wilco  <wdijkstr@arm.com>
28121         [BZ #17009]
28122         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
28123         Rewrite to reduce FPCR/FPSR accesses.
28125 2014-06-01  David S. Miller  <davem@davemloft.net>
28127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28129 2014-05-31  David S. Miller  <davem@davemloft.net>
28131         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
28132         to occur in round to nearest mode when |x| >= 2.0
28134 2014-05-30  Richard Henderson  <rth@twiddle.net>
28136         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
28137         (PSEUDO_RET_NOERRNO): Remove.
28138         (ret): Don't redefine.
28139         (ret_NOERRNO): Define in terms of ret.
28140         (ret_ERRVAL): Likewise.
28142         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
28143         use of PSEUDO_RET; perform the error check directly.
28145 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
28147         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
28148         with __int128_t.
28150 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28152         * malloc/malloc (malloc_info): Fix formatting.
28154 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28155             Roland McGrath  <roland@hack.frob.com>
28157         * malloc/malloc (malloc_info): Also print mmapped statistics.
28159 2014-05-30  Roland McGrath  <roland@hack.frob.com>
28161         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
28162         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
28164 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
28166         * malloc/malloc.c (malloc_info): Inline mi_arena.
28168 2014-05-29  Richard Henderson  <rth@twiddle.net>
28170         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
28171         Remove comma before expanding ASM_ARGS_##nr.
28172         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
28173         Make _x0 a strict output; make _x8 a strict input; adjust expansion
28174         of ASM_ARGS_##nr.
28175         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
28176         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
28177         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
28178         (ASM_ARGS_1): Add leading comma.
28180         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
28181         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
28182         to __errno_location.
28183         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
28184         Remove the expected plt for __errno_location.
28186         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28187         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
28188         call to __read_tp.
28190         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28191         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
28192         it and break it down.
28193         (DOCARGS_0, DOCARGS_1): Do nothing.
28194         (DOCARGS_2): Update to store into the new stack frame.
28195         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
28196         (UNDOCARGS_1): Update to restore from the new stack frame.
28197         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
28198         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
28200         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28201         (SINGLE_THREAD_P): New parameter for result regno.
28202         (PSEUDO): Update to match; use cbz instead of beq.
28204         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28205         Use ENTRY to define the _nocancel entry point.  Share the syscall
28206         and syscall error check paths with the cancel path.
28207         (PSEUDO_END): New.
28209         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
28210         whitespace; tabs before and after asm mnemonics.
28212 2014-05-29  Eric Wong  <normalperson@yhbt.net>
28214         [BZ #15132]
28215         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28216         Call fstat64 or stat64 internally, depending on arguments passed.
28217         Replace stat buffer argument with file descriptor argument.
28218         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
28219         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28220         Pass fd to __internal_statvfs instead of calling fstat64.
28221         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
28222         Pass fd to __internal_statvfs64 instead of calling fstat64.
28223         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
28224         Pass -1 to __internal_statvfs instead of calling stat64.
28225         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
28226         Pass -1 to __internal_statvfs64 instead of calling stat64.
28228 2014-05-28  Roland McGrath  <roland@hack.frob.com>
28230         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
28231         that was previously under [RESET_PID].
28232         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
28234         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
28235         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
28237 2014-05-27  Roland McGrath  <roland@hack.frob.com>
28239         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
28241         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
28242         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
28244 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
28246         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
28248 2014-05-27  Andreas Schwab  <schwab@suse.de>
28250         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
28251         TLS_INIT_TP macro.
28252         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
28253         * elf/rtld.c (init_tls, dl_main): Likewise.
28254         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
28255         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
28256         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
28257         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
28258         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
28259         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
28260         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
28261         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
28262         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
28263         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
28264         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
28265         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
28266         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
28267         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
28268         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
28269         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
28270         * sysdeps/generic/tls.h: Update description.
28272 2014-05-27  Will Newton  <will.newton@linaro.org>
28274         [BZ #16990]
28275         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
28276         and restore r2 rather than just restoring.
28278 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28280         [BZ #16724]
28281         * libio/tst-ftell-append.c: New test case.
28282         * libio/Makefile (tests): Add test case.
28283         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
28284         append mode.
28285         * libio/wfileops.c (do_ftell_wide): Likewise.
28287 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28291         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
28292         ...
28293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
28294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28295         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
28296         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
28297         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
28298         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
28299         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
28300         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
28301         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28302         Moved ...
28303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
28304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28305         Moved ...
28306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
28307         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
28308         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
28309         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
28310         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
28311         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
28312         ...
28313         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
28314         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
28315         Moved ...
28316         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
28317         here.
28318         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
28319         ...
28320         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
28321         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
28322         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
28324         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
28325         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
28326         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
28327         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
28329         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
28330         merge into ...
28331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
28332         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
28333         ...
28334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
28335         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
28336         ...
28337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
28338         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28339         Moved ...
28340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
28341         here.
28342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28343         Moved ...
28344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
28345         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28346         Moved ...
28347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
28349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
28350         conditional [RESET_PID].
28351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
28352         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
28353         removed.
28354         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
28355         removed.
28357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
28358         <tcb-offsets.h>.
28359         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28360         (__libc_vfork): New strong alias.
28361         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
28362         removed.
28363         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
28364         Removed.
28366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
28367         <tcb-offsets.h>.
28368         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
28369         (__libc_vfork): New strong alias.
28370         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
28371         removed.
28372         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
28373         removed.
28375 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
28377         * malloc/malloc.c (mi_arena): New function.
28378         (malloc_info): Remove nested function mi_arena. Call non-nosted
28379         function mi_arena.
28381 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28383         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
28384         by insrwi.
28385         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28386         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28387         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
28388         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
28389         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
28390         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
28391         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
28393 2014-05-26  Andreas Schwab  <schwab@suse.de>
28395         [BZ #16984]
28396         * locale/programs/repertoire.c (repertoire_read): Add slash
28397         between I18NPATH element and file name.
28398         * locale/programs/locfile.c (locfile_read): Likewise.
28400 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28402         * nptl/pthread_mutexattr_settype.c
28403         (__pthread_mutexattr_settype):
28404         Disable lock elision for PTHREAD_MUTEX_NORMAL.
28406 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28408         * nptl/tst-mutex5 (do_test):
28409         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
28411 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28413         * benchtests/README: Document 'init' directive.
28414         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
28415         BENCH_INIT.
28416         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
28417         (parse_file): Recognize 'init' directive.
28419 2014-05-26  Kyle McMartin  <kyle@redhat.com>
28421         [BZ #16796]
28422         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
28423         alignment of struct pthread.
28425 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28427         [BZ #16878]
28428         * nscd/netgroupcache.c (addgetnetgrentX): Look for
28429         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28430         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
28431         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28433 2014-05-25  Richard Henderson  <rth@twiddle.net>
28435         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28436         (SINGLE_THREAD_P_PIC): Remove.
28437         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
28438         (SINGLE_THREAD_P_PIC): Remove.
28440         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
28441         branch to syscall error ...
28442         (PSEUDO): ... here.
28443         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
28444         from __local_syscall_error to .Lsyscall_error.
28445         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
28446         (SYSCALL_ERROR): Update label name.
28448         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28449         Do not use DOARGS/UNDOARGS.
28450         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
28451         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
28452         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
28453         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
28454         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
28456         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
28457         block comment.
28459         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
28460         define if !NOT_IN_libc.
28461         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
28462         define with non-default symbol versions.
28464 2014-05-23  Richard Henderson  <rth@twiddle.net>
28466         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
28467         (vfork, __vfork): Define via compat_symbol.
28469         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
28470         [!HAVE_IFUNC] (vfork_compat): Remove.
28471         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
28473 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28475         [BZ #16978]
28476         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
28477         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
28478         variable.
28480 2014-05-23  Richard Henderson  <rth@twiddle.net>
28482         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
28483         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
28484         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
28485         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
28487         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
28488         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
28489         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
28490         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
28491         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
28492         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
28493         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
28494         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
28495         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
28496         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
28497         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
28498         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
28499         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
28500         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
28501         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
28502         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
28503         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
28504         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
28505         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
28506         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
28507         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
28508         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
28509         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
28510         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
28511         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
28512         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
28513         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
28514         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
28515         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
28516         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
28517         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
28518         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
28519         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
28520         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
28521         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
28522         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
28523         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
28524         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
28525         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
28526         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
28527         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
28528         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
28529         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
28530         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
28531         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
28532         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
28533         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
28534         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
28535         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
28536         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
28537         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
28538         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
28539         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
28540         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
28541         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
28542         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
28544         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
28545         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
28546         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
28547         before exiting on error.
28548         (__libc_vfork): New strong alias.
28549         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
28550         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
28552         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
28553         that was previously under [RESET_PID].
28554         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
28556         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
28558 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28560         [BZ #16977]
28561         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
28562         value when x - 1 is zero.
28563         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
28564         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
28565         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
28566         0.0L for an argument of 1.0L.
28567         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
28568         Likewise.
28569         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
28570         value when x - 1 is zero.
28571         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
28572         * sysdeps/i386/fpu/libm-test-ulps: Update.
28573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28575 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28577         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
28578         alphasort and versionsort.
28580 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28582         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
28583         macro.
28584         [copysignf]: Likewise.
28586 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28588         * crypt/md5-crypt.c: Fix formatting.
28590 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28592         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
28593         (b64_from_24bit): New function.
28595 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28597         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
28598         libc_hidden_builtin_def to ifunc.
28599         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28600         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
28602 2014-05-21  Roland McGrath  <roland@hack.frob.com>
28604         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
28605         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
28607 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
28609         * nscd/Depend (linuxthreads): Remove.
28610         (nptl): Add.
28611         * resolv/Depend (linuxthreads): Remove.
28612         * rt/Depend (linuxthreads): Remove.
28614         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
28615         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
28616         $(common-objpfx)elf/.
28617         (link-libc-before-gnulib): Likewise.
28618         (elfobjdir): Remove variable.
28619         * Makefile (install): Use $(elf-objpfx) instead of
28620         $(common-objpfx)elf/.
28621         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28622         $(elfobjdir)/.
28623         (link-libc-deps): Likewise.
28624         ($(common-objpfx)libc.so): Likewise.
28625         ($(common-objpfx)linkobj/libc.so): Likewise.
28626         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28627         instead of $(common-objpfx)elf/.
28628         (symbolic-link-list): Likewise.
28629         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28630         [$(cross-compiling) = no]: Likewise.
28631         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28632         $(elfobjdir)/.
28633         (static-gnulib-arch): Likewise.
28634         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28635         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28636         $(common-objpfx)elf/.
28638 2014-05-21  Richard Henderson  <rth@redhat.com>
28640         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28641         (SINGLE_THREAD_P): Use the correct width load.  Fold
28642         into the ldr offset.
28644         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28645         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28647 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
28649         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28650         (libgcc_s_resume): Use __attribute_used__.
28651         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28652         Likewise.
28654 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28656         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28657         optimization when used with float constants.
28659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28661 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
28663         [BZ #16915]
28664         * locale/nl_langinfo_l.c: Make direct reference to every
28665         _nl_current_CATEGORY symbol.
28666         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28667         (tests-static): Add tst-langinfo-static.
28668         (tests-special): Add tst-langinfo-static.out.
28669         ($(objpfx)tst-langinfo.out): Redirect output.
28670         ($(objpfx)tst-langinfo-static.out): New.
28671         * localedata/tst-langinfo.sh: Send output to stdout.
28672         * localedata/tst-langinfo-static.c: New file.
28674         [BZ #16965]
28675         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28676         when the shift amount is modulo the limb size.
28678 2014-05-20  Richard Henderson  <rth@redhat.com>
28680         [BZ #16967]
28681         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28682         Change type of sa_flags from unsigned int to int.
28684         [BZ #16966]
28685         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28687         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28689 2014-05-20  Will Newton  <will.newton@linaro.org>
28691         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28692         Test the return value of the system call in the nocancel case.
28694 2014-05-20  Will Newton  <will.newton@linaro.org>
28695             Yvan Roux  <yvan.roux@linaro.org>
28697         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28698         #include of asm/ptrace.h.
28699         (PTRACE_GET_THREAD_AREA): Remove #undef.
28700         (PTRACE_GETHBPREGS): Likewise.
28701         (PTRACE_SETHBPREGS): Likewise.
28702         (struct user_regs_struct): New structure.
28703         (struct user_fpsimd_struct): New structure.
28704         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28705         #include of asm/ptrace.h and second #include of sys/user.h.
28706         (PTRACE_GET_THREAD_AREA): Remove #undef.
28707         (PTRACE_GETHBPREGS): Likewise.
28708         (PTRACE_SETHBPREGS): Likewise.
28709         (ELF_NGREG): Use new struct user_regs_struct.
28710         (elf_fpregset_t): Use new struct user_fpsimd_struct.
28712 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28714         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28715         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28717 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
28719         [BZ #16958]
28720         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28721         membar to avoid block loads/stores to overlap previous stores.
28723 2014-05-17  Richard Henderson  <rth@redhat.com>
28725         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28726         Create the __##syscall_name##_nocancel entry point.
28727         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28728         Remove; let the sysdep-cancel.h code create it.
28730 2014-05-17  David S. Miller  <davem@davemloft.net>
28732         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28733         Protect with __USE_GNU.
28734         (TIOCSET_TEMPT): Likewise.
28735         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28736         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28737         these are already provided in bits/ioctl-types.h
28739 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28741         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28742         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28744         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28745         Use wait4 regardless of [__NR_waitpid].
28747 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28749         PR libgcc/60166
28750         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28751         (_FP_NANSIGN_Q): Set the quiet bit.
28753 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
28755         * benchtests/Makefile
28756         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28757         not $(common-objpfx)math/libm.so.
28758         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28759         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28760         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28761         $(common-objpfx)dlfcn/libdl.so.
28762         ($(objpfx)tst-audit8): Depend on $(libm), not
28763         $(common-objpfx)math/libm.so.
28764         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28765         not $(common-objpfx)dlfcn/libdl.so.
28766         * math/Makefile
28767         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28768         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
28769         [$(build-shared) = yes].
28770         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28771         $(common-objpfx)nptl/libpthread.so.
28772         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28773         $(common-objpfx)math/libm.so$(libm.so-version) or
28774         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
28775         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
28776         $(common-objpfx)dlfcn/libdl.so.
28777         * setjmp/Makefile (link-libm): Remove variable.
28778         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
28779         * stdio-common/Makefile (link-libm): Remove variable.
28780         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
28781         * stdlib/Makefile (link-libm): Remove variable.
28782         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
28783         ($(objpfx)tst-strtod-round): Likewise.
28784         ($(objpfx)tst-tininess): Likewise.
28785         ($(objpfx)tst-strtod-underflow): Likewise.
28786         ($(objpfx)tst-strtod6): Likewise.
28787         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
28788         $(libdl), not $(common-objpfx)nptl/libpthread.so and
28789         $(common-objpfx)dlfcn/libdl.so.
28791 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28793         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
28794         BSD terminal modes definitions.
28796 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28798         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
28799         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
28801         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
28802         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
28803         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
28804         Don't do #include_next.
28805         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
28806         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
28807         Don't do #include_next.
28808         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
28809         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
28810         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
28811         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
28813 2014-05-16  Allan McRae  <allan@archlinux.org>
28815         * po/sv.po: Update Swedish translation from translation project.
28817         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
28818         in sed expression.
28820 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
28822         [BZ #16917]
28823         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
28824         errno if the TIOCGPTN ioctl fails with an error different than
28825         EINVAL.
28826         * login/tst-ptsname.c: New file.
28827         * login/Makefile (tests): Add tst-ptsname.
28829         [BZ #16943]
28830         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
28831         and prlimit64.
28833 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28835         [BZ #16849]
28836         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
28837         herrno to return EAI_AGAIN.
28839 2014-05-14  Roland McGrath  <roland@hack.frob.com>
28841         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28842         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
28843         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
28844         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
28845         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
28846         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
28847         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
28848         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
28849         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
28850         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
28851         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
28852         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
28853         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
28854         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
28855         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
28856         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
28857         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
28858         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
28859         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
28860         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
28861         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
28862         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
28863         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
28864         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
28865         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
28866         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
28867         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
28868         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
28869         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
28870         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
28871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
28872         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
28873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
28874         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
28875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28876         Moved ...
28877         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
28878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
28879         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
28880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
28881         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
28882         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
28883         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
28884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
28885         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
28886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
28887         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
28888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
28889         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
28890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
28891         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
28892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
28893         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
28894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
28895         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
28896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
28897         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
28898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
28899         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
28900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
28901         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
28902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
28903         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
28904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28905         Moved ...
28906         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
28907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
28908         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
28909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
28910         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
28911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
28912         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
28913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
28914         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
28915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
28916         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
28917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
28918         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
28919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
28920         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
28921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
28922         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
28923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
28924         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
28925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28926         Moved ...
28927         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
28928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
28929         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
28931         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
28932         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
28933         (libpthread-sysdep_routines): Add elision-related stuff here instead.
28934         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
28935         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
28936         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
28937         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
28938         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
28939         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
28940         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
28941         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
28942         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
28943         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
28944         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
28945         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
28946         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
28947         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
28948         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
28949         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
28950         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
28951         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
28952         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
28953         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
28954         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
28955         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
28956         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
28957         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
28958         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
28959         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
28960         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
28961         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
28963         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
28964         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
28966         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
28967         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
28968         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
28969         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
28970         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
28971         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
28972         Moved ...
28973         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
28974         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28975         Moved ...
28976         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
28977         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28978         Moved ...
28979         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
28980         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
28981         Moved ...
28982         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
28983         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
28984         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
28985         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28986         Moved ...
28987         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
28988         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
28989         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
28990         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
28991         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
28992         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
28993         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
28994         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28995         Moved ...
28996         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
28997         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28998         Moved ...
28999         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29000         ... here.
29001         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
29002         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
29003         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
29004         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
29005         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29006         Moved ...
29007         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29008         ... here.
29009         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
29010         Moved ...
29011         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
29012         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
29013         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
29014         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
29015         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
29016         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
29017         Moved ...
29018         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
29019         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29020         Moved ...
29021         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
29022         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29023         Moved ...
29024         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
29025         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
29026         Moved ...
29027         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
29028         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
29029         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
29030         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
29031         Moved ...
29032         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
29033         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
29034         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
29035         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
29036         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
29037         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
29038         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
29039         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29040         Moved ...
29041         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
29042         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29043         Moved ...
29044         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29045         ... here.
29046         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
29047         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
29048         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
29049         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
29050         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29051         Moved ...
29052         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29053         ... here.
29054         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
29055         Moved ...
29056         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
29057         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
29058         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
29059         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
29060         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
29061         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
29062         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
29063         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
29064         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
29065         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
29066         Moved ...
29067         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
29068         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29069         Moved ...
29070         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
29071         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29072         Moved ...
29073         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
29074         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
29075         Moved ...
29076         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
29077         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
29078         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
29079         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
29080         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
29081         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29082         Moved ...
29083         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
29084         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
29085         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
29086         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
29087         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
29088         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
29089         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
29090         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29091         Moved ...
29092         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
29093         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29094         Moved ...
29095         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29096         ... here.
29097         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
29098         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
29099         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
29100         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
29101         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29102         Moved ...
29103         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29104         ... here.
29105         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
29106         Moved ...
29107         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
29108         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
29109         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
29110         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
29111         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
29112         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
29113         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
29114         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
29115         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
29116         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
29117         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
29119         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
29120         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
29122         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
29123         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
29125         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
29126         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
29127         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
29128         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
29129         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
29130         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
29131         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
29132         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
29133         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
29134         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
29135         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
29136         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
29137         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
29138         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
29139         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
29140         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
29141         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
29142         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
29143         Moved ...
29144         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
29145         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
29146         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
29147         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
29148         Moved ...
29149         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
29150         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
29151         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
29152         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
29153         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
29154         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
29155         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
29156         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
29157         Moved ...
29158         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
29159         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
29160         Moved ...
29161         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
29162         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
29163         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
29164         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
29165         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
29166         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
29167         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
29168         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
29169         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
29170         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
29171         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
29172         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
29173         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
29174         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
29175         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
29176         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
29177         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
29179         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
29180         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
29181         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
29182         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
29183         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
29185         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
29186         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
29187         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
29188         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
29189         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
29190         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
29191         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
29192         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
29193         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
29194         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
29196         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
29197         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
29199         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
29200         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
29201         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
29202         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
29203         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
29204         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
29205         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
29206         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
29207         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
29208         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
29209         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
29210         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
29211         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
29212         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
29213         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
29214         Update #include.
29215         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
29216         Likewise.
29217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29218         Likewise.
29219         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29220         Likewise.
29221         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29222         Likewise.
29223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
29224         Likewise.
29225         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
29226         Likewise.
29227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29228         Likewise.
29229         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
29230         Likewise.
29231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
29232         Likewise.
29233         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
29234         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
29235         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
29236         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
29237         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
29238         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
29239         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
29240         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
29241         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
29242         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
29243         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
29244         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
29245         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
29246         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
29247         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
29249         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
29250         that was previously under [RESET_PID].
29251         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29252         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
29253         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
29255         * sysdeps/i386/nptl/Implies: New file.
29256         * sysdeps/x86_64/nptl/Implies: New file.
29257         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
29258         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
29259         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
29260         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
29262         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
29263         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29264         (__libc_vfork): New strong alias.
29265         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
29266         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
29268         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
29269         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29270         (__libc_vfork): New strong alias.
29271         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
29272         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
29274         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
29275         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29276         (__libc_vfork): New strong alias.
29277         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
29278         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
29279         * nptl/pt-vfork.c: New file.
29280         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
29281         (libpthread: GLIBC_2.20): New version set (empty).
29283 2014-05-14  Will Newton  <will.newton@linaro.org>
29285         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
29286         rather than #if.
29288 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29290         [BZ #16564]
29291         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
29292         arguments with exponent 65 or above.
29293         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
29294         arguments 0x1p113L or above.
29295         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
29296         to arguments 0x1p107L or above.
29297         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
29298         positive arguments with exponent 65 or above.
29299         * math/auto-libm-test-in: Add more tests of log1p.
29300         * math/auto-libm-test-out: Regenerated.
29302         [BZ #16928]
29303         * math/s_cacos.c (__cacos): Ensure zero real part of result from
29304         non-finite arguments is +0.
29305         * math/s_cacosf.c (__cacosf): Likewise.
29306         * math/s_cacosl.c (__cacosl): Likewise.
29307         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
29308         * sysdeps/i386/fpu/libm-test-ulps: Update.
29309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29311         [BZ #16927]
29312         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
29313         value.
29314         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29315         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
29316         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
29317         for explicit high bit of mantissa when testing for argument equal
29318         to 1.
29319         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
29320         * sysdeps/i386/fpu/libm-test-ulps: Update.
29321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29323         [BZ #16516]
29324         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
29325         (__erf): Scale by 16 instead of 8 in potentially underflowing
29326         case.  Ensure exception if result actually underflows.
29327         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
29328         (__erff): Scale by 16 instead of 8 in potentially underflowing
29329         case.  Ensure exception if result actually underflows.
29330         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
29331         (efx8): Remove variable.
29332         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29333         case.  Ensure exception if result actually underflows.
29334         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
29335         (efx8): Remove variable.
29336         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29337         case.  Ensure exception if result actually underflows.
29338         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
29339         (efx8): Remove variable.
29340         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29341         case.  Ensure exception if result actually underflows.
29342         * math/auto-libm-test-in: Add more tests of erf.
29343         * math/auto-libm-test-out: Regenerated.
29345 2014-05-14  Andreas Schwab  <schwab@suse.de>
29347         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
29348         Remove code conditionalized on USE___THREAD.
29350         * config.h.in (HAVE_PT_CHOWN): Define as 0.
29351         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
29352         not definedness.
29354 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29356         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
29357         Define unconditionally.
29358         (__ASSUME_O_CLOEXEC): Likewise.
29359         (__ASSUME_SOCK_CLOEXEC): Likewise.
29360         (__ASSUME_IN_NONBLOCK): Likewise.
29361         (__ASSUME_PIPE2): Likewise.
29362         (__ASSUME_EVENTFD2): Likewise.
29363         (__ASSUME_SIGNALFD4): Likewise.
29364         (__ASSUME_DUP3): Likewise.
29365         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29366         (__ASSUME_DUP3): Do not define.
29367         (__ASSUME_EVENTFD2): Likewise.
29368         (__ASSUME_IN_NONBLOCK): Likewise.
29369         (__ASSUME_O_CLOEXEC): Likewise.
29370         (__ASSUME_PIPE2): Likewise.
29371         (__ASSUME_SIGNALFD4): Likewise.
29372         (__ASSUME_SOCK_CLOEXEC): Likewise.
29373         (__ASSUME_UTIMES): Undefine.
29374         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29375         (__ASSUME_UTIMES): Do not define.
29376         (__ASSUME_O_CLOEXEC): Likewise.
29377         (__ASSUME_SOCK_CLOEXEC): Likewise.
29378         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
29379         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
29380         0x020621].
29381         (__ASSUME_PIPE2): Likewise.
29382         (__ASSUME_EVENTFD2): Likewise.
29383         (__ASSUME_SIGNALFD4): Likewise.
29384         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
29385         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
29386         Do not define.
29387         (__ASSUME_EVENTFD2): Likewise.
29388         (__ASSUME_SIGNALFD4): Likewise.
29389         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29390         (__ASSUME_32BITUIDS): Likewise.
29391         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29392         (__ASSUME_IPC64): Likewise.
29393         (__ASSUME_ST_INO_64_BIT): Likewise.
29394         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
29395         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
29396         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29397         (__ASSUME_UTIMES): Do not define.
29398         (__ASSUME_PSELECT): Likewise.
29399         (__ASSUME_PPOLL): Likewise.
29400         (__ASSUME_O_CLOEXEC): Likewise.
29401         (__ASSUME_SOCK_CLOEXEC): Likewise.
29402         (__ASSUME_IN_NONBLOCK): Likewise.
29403         (__ASSUME_PIPE2): Likewise.
29404         (__ASSUME_EVENTFD2): Likewise.
29405         (__ASSUME_SIGNALFD4): Likewise.
29406         (__ASSUME_DUP3): Likewise.
29407         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29408         (__ASSUME_UTIMES): Likewise.
29409         (__ASSUME_O_CLOEXEC): Likewise.
29410         (__ASSUME_SOCK_CLOEXEC): Likewise.
29411         (__ASSUME_IN_NONBLOCK): Likewise.
29412         (__ASSUME_PIPE2): Likewise.
29413         (__ASSUME_EVENTFD2): Likewise.
29414         (__ASSUME_SIGNALFD4): Likewise.
29415         (__ASSUME_DUP3): Likewise.
29416         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29417         (__ASSUME_UTIMES): Likewise.
29418         (__ASSUME_O_CLOEXEC): Likewise.
29419         (__ASSUME_SOCK_CLOEXEC): Likewise.
29420         (__ASSUME_IN_NONBLOCK): Likewise.
29421         (__ASSUME_PIPE2): Likewise.
29422         (__ASSUME_EVENTFD2): Likewise.
29423         (__ASSUME_SIGNALFD4): Likewise.
29424         (__ASSUME_DUP3): Likewise.
29425         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
29426         Likewise.
29427         (__ASSUME_UTIMES): Likewise.
29428         (__ASSUME_EVENTFD2): Likewise.
29429         (__ASSUME_SIGNALFD4): Likewise.
29430         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29431         (__ASSUME_O_CLOEXEC): Likewise.
29432         (__ASSUME_SOCK_CLOEXEC): Likewise.
29433         (__ASSUME_IN_NONBLOCK): Likewise.
29434         (__ASSUME_PIPE2): Likewise.
29435         (__ASSUME_EVENTFD2): Likewise.
29436         (__ASSUME_SIGNALFD4): Likewise.
29437         (__ASSUME_DUP3): Likewise.
29438         (__ASSUME_UTIMES): Undefine.
29440         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
29441         feclearexcept.  Remove symbol versioning code.
29442         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
29443         symbol versioning code.
29444         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
29445         symbol versioning code.
29446         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
29447         feupdateenv.  Remove symbol versioning code.
29448         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
29449         fegetexceptflag.  Remove symbol versioning code.
29450         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
29451         fesetexceptflag.  Remove symbol versioning code.
29452         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
29453         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
29454         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
29455         (__posix_fadvise64_l32): Remove prototype.
29456         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
29457         code.
29459 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29461         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
29462         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
29463         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
29464         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
29466 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
29468         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
29469         current working directory
29471 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29473         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
29474         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
29475         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
29476         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
29477         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
29478         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
29479         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
29480         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
29481         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
29482         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
29483         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
29484         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
29485         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
29486         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
29487         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
29488         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
29489         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
29490         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
29491         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
29492         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
29493         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
29494         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
29495         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
29496         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
29497         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
29498         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
29499         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
29500         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
29501         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
29502         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
29503         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
29504         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
29505         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
29506         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
29507         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
29508         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
29509         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
29510         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
29511         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
29512         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
29513         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
29514         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
29516         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
29517         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
29519         * sysdeps/unix/sysv/linux/arm/Makefile
29520         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29521         Add rt-aeabi_unwind_cpp_pr1.
29522         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
29523         Add nptl-aeabi_unwind_cpp_pr1.
29524         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
29525         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
29526         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
29527         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29528         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
29529         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29531         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
29532         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
29533         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
29534         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
29536         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
29537         Deconditionalize the code that was previously under [RESET_PID].
29538         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
29540         * sysdeps/generic/exit-thread.h: New file.
29541         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
29542         * include/unistd.h (__exit_thread): Remove declaration.
29543         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
29544         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
29545         * csu/libc-start.c: Include <exit-thread.h>.
29546         (LIBC_START_MAIN): Pass no argument to __exit_thread.
29547         * nptl/pthread_create.c: Include <exit-thread.h>.
29548         (start_thread): Call __exit_thread in place of __exit_thread_inline.
29549         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
29550         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
29551         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
29552         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
29553         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
29554         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
29555         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
29556         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
29557         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
29558         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
29559         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
29560         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
29561         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
29562         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
29563         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
29564         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
29566 2014-05-13  Andreas Schwab  <schwab@suse.de>
29568         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
29570 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
29572         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29573         (__ASSUME_UTIMES): Do not condition on kernel version.
29574         (__ASSUME_PSELECT): Define unconditionally.
29575         (__ASSUME_PPOLL): Likewise.
29576         (__ASSUME_ATFCTS): Likewise.
29577         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
29578         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
29579         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
29580         (__ASSUME_UTIMENSAT): Define unconditionally.
29581         (__ASSUME_PRIVATE_FUTEX): Likewise.
29582         (__ASSUME_FALLOCATE): Likewise.
29583         (__ASSUME_O_CLOEXEC): Likewise.
29584         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
29585         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
29586         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
29587         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
29588         (__ASSUME_IN_NONBLOCK): Likewise.
29589         (__ASSUME_PIPE2): Likewise.
29590         (__ASSUME_EVENTFD2): Likewise.
29591         (__ASSUME_SIGNALFD4): Likewise.
29592         (__ASSUME_DUP3): Likewise.
29593         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29594         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
29595         (__ASSUME_AT_RANDOM): Likewise.
29596         (__ASSUME_PREADV): Likewise.
29597         (__ASSUME_PWRITEV): Likewise.
29598         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
29599         (__ASSUME_F_GETOWN_EX): Define unconditionally.
29600         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
29601         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29602         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
29603         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29604         (__ASSUME_O_CLOEXEC): Define unconditionally.
29605         (__ASSUME_PSELECT): Do not undefine conditionally.
29606         (__ASSUME_PPOLL): Likewise.
29607         (__ASSUME_ATFCTS): Likewise.
29608         (__ASSUME_SET_ROBUST_LIST): Likewise.
29609         (__ASSUME_UTIMENSAT): Likewise.
29610         (__ASSUME_FDATASYNC): Define unconditionally.
29611         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29612         (__ASSUME_SIGFRAME_V2): Likewise.
29613         )__ASSUME_EVENTFD2): Likewise.
29614         (__ASSUME_SIGNALFD4): Likewise.
29615         (__ASSUME_PSELECT): Do not undefine conditionally.
29616         (__ASSUME_PPOLL): Likewise.
29617         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29618         (__ASSUME_PSELECT): Define unconditionally.
29619         (__ASSUME_PPOLL): Likewise.
29620         (__ASSUME_O_CLOEXEC): Likewise.
29621         (__ASSUME_SOCK_CLOEXEC): Likewise.
29622         (__ASSUME_IN_NONBLOCK): Likewise.
29623         (__ASSUME_PIPE2): Likewise.
29624         (__ASSUME_EVENTFD2): Likewise.
29625         (__ASSUME_SIGNALFD4): Likewise.
29626         (__ASSUME_DUP3): Likewise.
29627         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29628         (__ASSUME_O_CLOEXEC): Likewise.
29629         (__ASSUME_SOCK_CLOEXEC): Likewise.
29630         (__ASSUME_IN_NONBLOCK): Likewise.
29631         (__ASSUME_PIPE2): Likewise.
29632         (__ASSUME_EVENTFD2): Likewise.
29633         (__ASSUME_SIGNALFD4): Likewise.
29634         (__ASSUME_DUP3): Likewise.
29635         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29636         (__ASSUME_EVENTFD2): Likewise.
29637         (__ASSUME_SIGNALFD4): Likewise.
29638         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29640 2014-05-12  Andreas Schwab  <schwab@suse.de>
29642         [BZ #16932]
29643         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29644         (_nss_nis_gethostbyname4_r): Return error if item length is larger
29645         than maximum RPC packet size.
29646         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29647         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29648         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29649         (_nss_nis_getservbyport_r): Likewise.
29651 2014-05-12  Will Newton  <will.newton@linaro.org>
29653         * malloc/Makefile (tests): Add tst-mallopt.
29654         * malloc/tst-mallopt.c: New file.
29656 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29658         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29659         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29661 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29663         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29664         (tst-tlsmod6.so): Likewise.
29666 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29668         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29670 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
29672         [BZ #16064]
29673         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29674         and <dl-procinfo.h>.
29675         (__fegetenv): Save SSE state in envp->__eip if supported.
29676         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29677         envp->__eip if supported.
29678         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29679         and <dl-procinfo.h>.
29680         (__fesetenv): Always set __eip, __cs_selector, __opcode,
29681         __data_offset and __data_selector in environment to 0.  Set SSE
29682         state if supported.
29683         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29684         test-fenv-sse.
29685         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29686         -mfpmath=sse.
29687         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29689 2014-05-09  Will Newton  <will.newton@linaro.org>
29691         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29692         and libc_relro_required for ARM.
29693         * sysdeps/arm/preconfigure: Regenerate.
29695 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
29696             Stefan Liebler  <stli@linux.vnet.ibm.com>
29698         * config.make.in (enable-lock-elision): New Makefile variable.
29699         * configure.ac: Likewise.
29700         * configure: Regenerate.
29701         * sysdeps/s390/configure.ac:
29702         Add check for gcc transactions support.
29703         * sysdeps/s390/configure: Regenerate.
29704         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29705         Build elision files if enabled.
29706         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29707         Add lock elision support for s390.
29708         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29709         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29710         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29711         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29712         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29713         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29714         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29715         Likewise.
29716         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29717         Likewise.
29718         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29719         Likewise.
29720         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29721         Likewise.
29722         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29723         (__lll_timedlock_elision, __lll_lock_elision)
29724         (__lll_unlock_elision, __lll_trylock_elision)
29725         (lll_timedlock_elision, lll_lock_elision)
29726         (lll_unlock_elision, lll_trylock_elision): Add.
29727         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29728         (pthread_mutex_t): Add lock elision support for s390.
29730 2014-05-14  Wilco  <wdijkstr@arm.com>
29732         * sysdeps/arm/fclrexcpt.c: Cleanup.
29733         * sysdeps/arm/fedisblxcpt.c: Cleanup.
29734         * sysdeps/arm/feenablxcpt.c: Cleanup.
29735         * sysdeps/arm/fegetenv.c: Cleanup.
29736         * sysdeps/arm/fegetexcept.c: Cleanup.
29737         * sysdeps/arm/fegetround.c: Cleanup.
29738         * sysdeps/arm/feholdexcpt.c: Cleanup.
29739         * sysdeps/arm/fesetenv.c: Cleanup.
29740         * sysdeps/arm/fesetround.c: Cleanup.
29741         * sysdeps/arm/feupdateenv.c: Cleanup.
29742         * sysdeps/arm/fgetexcptflg.c: Cleanup.
29743         * sysdeps/arm/fraiseexcpt.c: Cleanup.
29744         * sysdeps/arm/fsetexcptflg.c: Cleanup.
29745         * sysdeps/arm/ftestexcept.c: Cleanup.
29746         * sysdeps/arm/get-rounding-mode.h: Cleanup.
29747         * sysdeps/arm/setfpucw.c: Cleanup.
29749 2014-05-09  Will Newton  <will.newton@linaro.org>
29751         * sysdeps/arm/armv7/strcmp.S: New file.
29752         * NEWS: Mention addition of ARMv7 optimized strcmp.
29754 2014-05-08  Roland McGrath  <roland@hack.frob.com>
29756         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29757         look for %.ac rather than %.in.
29759         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29760         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29761         * sysdeps/mach/hurd/configure: Regenerated.
29762         * sysdeps/unix/sysv/linux/configure: Regenerated.
29764         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29766 2014-05-07  Steve Ellcey  <sellcey@mips.com>
29768         [BZ# 16922]
29769         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29770         (LONG_SUB): Ditto.
29771         (PTR_SUB): Ditto.
29773 2014-05-07  Andreas Schwab  <schwab@suse.de>
29775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
29776         when skipping over non-matching result from nscd.
29778 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
29780         [BZ #16876]
29781         * nptl/sockperf.c (client): Check socket return value.
29783         [BZ #16877]
29784         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
29785         nscd security class.
29787 2014-05-06  Roland McGrath  <roland@hack.frob.com>
29789         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29790         * sysdeps/arm/unwind.h: ... here.
29792 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
29794         [BZ# 16916]
29795         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
29796         Define.
29798 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29800         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
29801         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
29802         multiarch strncpy for PPC64.
29803         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
29804         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
29805         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
29806         multiarch optimizations.
29807         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29808         (__libc_ifunc_impl_list): Likewise.
29809         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
29810         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
29811         multiarch stpncpy for PPC64.
29812         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
29813         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
29815 2014-05-06  Andreas Schwab  <schwab@suse.de>
29817         [BZ #16912]
29818         * gmon/mcount.c (_MCOUNT_DECL): Use
29819         atomic_compare_and_exchange_bool_acq instead of
29820         catomic_compare_and_exchange_bool_acq.
29822 2014-05-05  Roland McGrath  <roland@hack.frob.com>
29824         * elf/Makefile (others, install-bin): Remove pldd.
29825         (pldd-modules): Variable removed.
29826         ($(objpfx)pldd): Target removed.
29827         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
29828         (others, install-bin): Append pldd here.
29829         ($(objpfx)pldd): New target.
29831         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
29832         to 0, so the first #if test emitted later doesn't see it undefined.
29833         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
29834         * sysdeps/gnu/errlist.c: Regenerated.
29836 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29838         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29839         [libc_hidden_builtin_def]: Define to empty value.
29840         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
29841         [libc_hidden_builtin_def]: Likewise.
29842         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29843         [libc_hidden_builtin_def]: Likewise.
29844         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
29845         [libc_hidden_builtin_def]: Likewise.
29846         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
29847         __redirect_memcpy and define ifunc as default hidden symbol.
29848         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
29849         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29851 2014-05-04  Adam Conrad  <adconrad@0c3.net>
29853         * locale/iso-4217.def: Reintroduce XDR currency.
29855 2014-05-04  Allan McRae  <allan@archlinux.org>
29857         * po/eo.po: Update Esperanto translation from translation project.
29859 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
29861         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
29862         and FEATURE_INDEX_MAX to 1.
29863         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
29865 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29867         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
29868         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
29869         * iconvdata/big5.c (ONE_DIRECTION): Define.
29870         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
29871         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
29872         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
29873         * iconvdata/cp932.c (ONE_DIRECTION): Define.
29874         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
29875         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
29876         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
29877         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
29878         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
29879         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
29880         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
29881         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
29882         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
29883         * iconvdata/gbk.c (ONE_DIRECTION): Define.
29884         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
29885         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
29886         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
29887         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
29888         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
29889         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
29890         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
29891         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
29892         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
29893         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
29894         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
29895         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
29896         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
29897         * iconvdata/iso646.c (ONE_DIRECTION): Define.
29898         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
29899         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
29900         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
29901         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
29902         * iconvdata/johab.c (ONE_DIRECTION): Define.
29903         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
29904         * iconvdata/sjis.c (ONE_DIRECTION): Define.
29905         * iconvdata/t.61.c (ONE_DIRECTION): Define.
29906         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
29907         * iconvdata/tscii.c (ONE_DIRECTION): Define.
29908         * iconvdata/uhc.c (ONE_DIRECTION): Define.
29909         * iconvdata/unicode.c (ONE_DIRECTION): Define.
29910         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
29911         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
29912         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
29914 2014-05-01  Roland McGrath  <roland@hack.frob.com>
29916         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
29917         (_IO_JUMPS_OFFSET): Define to 0.
29919         * nptl/sysdeps/pthread/bits/libc-lock.h
29920         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29921         (__libc_lock_define_initialized_recursive): Always define using
29922         initializer.  Modern compilers treat uninitialized (implicit zero) and
29923         explicit zero initializers the same (i.e. put the datum in bss).
29925 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29927         * nscd/nscd-client.h: Include <string.h>.
29929 2014-05-01  David S. Miller  <davem@davemloft.net>
29931         [BZ #16885]
29932         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
29933         multiple zero bytes exist at the end of a string.
29934         Reported by Aurelien Jarno <aurelien@aurel32.net>
29936         * string/test-strcmp.c (check): Add explicit test for situations where
29937         there are multiple zero bytes after the first.
29939 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29941         [BZ #16890]
29942         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
29943         when compiling wprintf.
29944         * stdio-common/tstdiomisc.c (t3): New function.
29945         (main): Call it.
29947 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29949         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
29950         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
29951         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
29952         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
29954 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29956         * stdlib/longlong.h: Updated from GCC.
29958 2014-05-01  Will Newton  <will.newton@linaro.org>
29959             Bernard Ogden  <bernie.ogden@linaro.org>
29961         * NEWS: Update fixed bug list.
29963         [BZ #15119]
29964         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
29966 2014-04-30  David S. Miller  <davem@davemloft.net>
29968         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
29969         (libc_feholdexcept_setround_sparc_ctx): New function.
29970         (libc_fesetenv_sparc_ctx): Likewise.
29971         (libc_feupdateenv_sparc_ctx): Likewise.
29972         (libc_feholdsetround_sparc_ctx): Likewise.
29973         (libc_feholdexcept_setround_ctx): Define.
29974         (libc_feholdexcept_setroundf_ctx): Likewise.
29975         (libc_feholdexcept_setroundl_ctx): Likewise.
29976         (libc_fesetenv_ctx): Likewise.
29977         (libc_fesetenvf_ctx): Likewise.
29978         (libc_fesetenvl_ctx): Likewise.
29979         (libc_feupdateenv_ctx): Likewise.
29980         (libc_feupdateenvf_ctx): Likewise.
29981         (libc_feupdateenvl_ctx): Likewise.
29982         (libc_feresetround_ctx): Likewise.
29983         (libc_feresetroundf_ctx): Likewise.
29984         (libc_feresetroundl_ctx): Likewise.
29985         (libc_feholdsetround_ctx): Likewise.
29986         (libc_feholdsetroundf_ctx): Likewise.
29987         (libc_feholdsetroundl_ctx): Likewise.
29989         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29990         with __USE_GNU instead of XOPEN cpp guards.
29992         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
29993         0.
29995         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29996         with XOPEN cpp guards.
29998 2014-04-30  Julian Brown  <julian@codesourcery.com>
30000         [BZ #16888]
30001         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
30002         handling.
30004 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
30006         [BZ #9894]
30007         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
30008         Change to 2.6.32.
30009         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
30010         * sysdeps/unix/sysv/linux/configure: Regenerated.
30011         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
30012         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
30013         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
30014         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
30015         * README: Update reference to required Linux kernel version.
30016         * manual/install.texi (Linux): Update reference to required Linux
30017         kernel headers version.
30018         * INSTALL: Regenerated.
30020         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
30021         header inclusion.
30022         [POSIX] (limits.h): Likewise.
30023         [POSIX] (math.h): Likewise.
30024         [POSIX] (sys/wait.h): Likewise.
30025         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
30026         function.
30027         [POSIX] (stddef.h): Do not allow header inclusion.
30029 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30031         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
30033 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
30035         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
30036         Return immediately after lll_futex_wake.
30038 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30040         [BZ #16791]
30041         * nscd/nscd-client.h (datahead_init_common): Initialize entire
30042         structure.
30043         (datahead_init_pos): Call datahead_init_common early.
30044         (datahead_init_neg): Likewise.
30046         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
30047         datahead_init_neg): New functions.
30048         * nscd/aicache.c (addhstaiX): Use them.
30049         * nscd/grpcache.c (cache_addgr): Likewise.
30050         * nscd/hstcache.c (cache_addhst): Likewise.
30051         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30052         * nscd/netgroupcache.c (do_notfound): Likewise.
30053         (addgetnetgrentX): Likewise.
30054         (addinnetgrX): Likewise.
30055         * nscd/pwdcache.c (cache_addpw): Likewise.
30056         * nscd/servicescache.c (cache_addserv): Likewise.
30058 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30059             Atsushi Onoe  <atsushi@onoe.org>
30061         [BZ #14308]
30062         [BZ #12994]
30063         [BZ #13651]
30064         * resolv/res_query.c (__libc_res_nsearch): Return if at least
30065         one response is valid.
30066         * resolv/res_send.c (send_dg): Check for validity of other
30067         response if the current response is a referral.
30069 2014-04-29  Steve Ellcey  <sellcey@mips.com>
30071         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
30073 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
30075         [BZ #16823]
30076         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
30077         Always divide by positive zero when computing -Inf result.
30078         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30079         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30081 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30083         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
30084         FPSCR if value do not change.
30085         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30086         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
30087         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30088         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30089         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
30090         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
30091         function.
30093 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
30095         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
30096         * sysdeps/unix/sysv/linux/hppa: Move directory from
30097         ports/systeps/unix/sysv/linux/hppa.
30098         * README: Update listing for hppa-*-linux-gnu.
30100 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
30102         [BZ #16754]
30103         * manual/stdio.texi (Hook functions): Fix types of stream hook
30104         functions.
30105         [BZ #16854]
30106         * socket/sys/socket.h: Fix typo in comment.
30108 2014-04-28  Wilco  <wdijkstr@arm.com>
30110         * sysdeps/arm/fenv_private.h: New file.
30111         * sysdeps/arm/math_private.h: New file.
30112         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
30114 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
30116         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
30117         with __int128_t.
30118         (La_x86_64_retval): Likewise.
30120 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
30122         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
30123         fpsr if value didn't change.
30124         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
30125         to fpcr if value didn't change.
30126         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
30127         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
30128         fpsr or fpcr if value didn't change.
30129         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30130         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
30131         fpcr if value didn't change.
30132         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
30133         to fpsr if value didn't change.
30135 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30137         * nptl/tst-sem3.c: Use test-skeleton.c
30138         (main): Rename to do_test.  Use return instead of
30139         exit.
30140         * nptl/tst-sem4.c: Use test-skeleton.c
30141         (main): Rename to do_test.
30143 2014-04-22  David S. Miller  <davem@davemloft.net>
30145         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30146         (struct sigaction): New struct member __glibc_reserved0, change
30147         type of sa_flags to int.
30149 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
30151         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
30152         (COUNT_LEADING_ZEROS_0): Define for AArch64.
30154 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30156         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
30157         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
30159 2014-04-22  Will Newton  <will.newton@linaro.org>
30160             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
30162         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
30163         (__longjmp): Add longjmp and longjmp_target SystemTap
30164         probes.
30165         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
30166         (__sigsetjmp): Add setjmp SystemTap probe.
30168 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
30170         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
30171         match manual order.
30173 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30175         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
30177         * sysdeps/powerpc/fpu/fenv_private.h
30178         (libc_feholdexcept_setroundl_ctx): Define to
30179         libc_feholdexcept_setround_ppc_ctx.
30180         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
30181         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
30182         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
30183         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
30185 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30187         * sysdeps/aarch64/math-tests.h: New file.
30189 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
30191         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
30192         New.
30193         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30194         Check and set bit_AVX2_Usable.
30195         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
30196         macro.
30197         (bit_AVX2): Likewise.
30198         (index_AVX2_Usable): Likewise.
30199         (CPUID_AVX2): Likewise.
30200         (HAS_AVX2): Likewise.
30202 2014-04-17  Will Newton  <will.newton@linaro.org>
30204         * manual/setjmp.texi (System V contexts): Add note that
30205         calling setcontext on a context created by a call to a
30206         signal handler is undefined.  Update text to note that
30207         setcontext from a signal handler is possible but not
30208         recommended.
30210         [BZ #16629]
30211         * stdlib/tst-setcontext.c: Include signal.h.
30212         (main): Check that the signal stack before and
30213         after swapcontext is the same.
30215         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
30216         Re-implement to restore registers in user code and avoid
30217         rt_sigreturn system call.
30219 2014-04-17  Wilco  <wdijkstr@arm.com>
30221         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
30222         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
30223         * math/test-fenv.c: Skip exception trap tests on targets which only
30224         support non-stop mode.
30226 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30227             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30229         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
30230         (libc_feholdsetround_aarch64_ctx)
30231         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
30232         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
30233         (libc_feresetround_ctx, libc_feresetroundf_ctx)
30234         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
30235         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
30236         (libc_feresetround_noexl_ctx): Define.
30238 2014-04-16  Richard Henderson  <rth@redhat.com>
30240         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
30242         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
30243         unwind tables.
30245         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
30246         const from the non-libc, non-ldso copy.
30248         * sysdeps/alpha/libm-test-ulps: Regenerate.
30250 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
30251             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30253         * sysdeps/aarch64/fpu/math_private.h: New file.
30255 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30257         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30259 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
30261         [BZ #16275]
30262         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
30263         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
30264         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
30265         Intel MPX bound registers before _dl_profile_fixup.
30266         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
30267         registers after _dl_profile_fixup.  Save and restore bound
30268         registers bnd0/bnd1 when calling _dl_call_pltexit.
30269         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
30270         (LR_BND_OFFSET): Likewise.
30271         (LRV_BND0_OFFSET): Likewise.
30272         (LRV_BND1_OFFSET): Likewise.
30274 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30276         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
30277         to...
30278         * sysdeps/mach/hurd/i386/tls.h: ... here.
30279         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
30280         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
30281         fields.
30283 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30285         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
30287 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30289         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30291 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30293         [BZ #14770]
30294         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
30295         * sysdeps/s390/configure: Regenerate.
30297         [BZ #16824]
30298         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
30299         Set round-to-nearest internally to reduce error accumulation.
30301 2014-04-16  Alan Modra  <amodra@gmail.com>
30303         [BZ #16740]
30304         [BZ #16619]
30305         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
30306         * math/libm-test.inc (frexp_test_data): Add tests.
30307         * NEWS: Update fixed bug list.
30309 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30311         * benchtests/Makefile: Depend on libraries in build directory.
30312         (bench-math): Separate out math tests.
30313         (bench-pthread): Separate out pthread tests.
30314         (bench): Include math and pthread tests.
30316 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
30318         [BZ #16831]
30319         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
30320         _dl_debug_initialize.
30322         * configure.ac: Remove SELinux header check.
30323         * configure: Regenerate.
30324         * nscd/selinux.c (perms): Array of const char* to permission names.
30325         (nscd_request_avc_has_perm): Call security_deny_unknown to find
30326         default policy. Call string_to_security_class and string_to_av_perm to
30327         translate strings. Enforce default policy and call avs_has_perm with
30328         results of translated strings.
30330 2014-04-13  David S. Miller  <davem@davemloft.net>
30332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30334 2014-04-12  Allan McRae  <allan@archlinux.org>
30336         [BZ #16838]
30337         * manual/string.texi (Collation Functions): Fix qsort argument
30338         order in example.
30339         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30341 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
30343         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
30344         Make the test a no-op if there are no exceptions defined.
30346 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30348         * elf/Makefile (tests): make tst-dlopen-aout conditional on
30349         enable-hardcoded-path-in-tests
30351 2014-04-11  Will Newton  <will.newton@linaro.org>
30353         * benchtests/Makefile (extra-objs): Add json-lib.o.
30354         (bench-func): Tidy up JSON output.
30355         * benchtests/bench-skeleton.c: Include json-lib.h.
30356         (main): Use JSON library functions to do output of
30357         benchmark results.
30358         * benchtests/bench-timing-type.c (main): Output the
30359         timing type simply, leaving formatting to the user.
30360         * benchtests/json-lib.c: New file.
30361         * benchtests/json-lib.h: Likewise.
30363 2014-04-11  Torvald Riegel  <triegel@redhat.com>
30365         [BZ #15215]
30366         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
30367         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
30368         memory barriers.  Add comments.
30369         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
30370         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
30371         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
30372         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
30373         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
30374         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
30376 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30378         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
30379         * sysdeps/s390/s390-64/configure.ac: ... this ...
30380         * sysdeps/s390/configure.ac: ... to here.
30381         * sysdeps/s390/s390-32/configure: Delete file.
30382         * sysdeps/s390/s390-64/configure: Delete file.
30383         * sysdeps/s390/configure: Regenerate.
30385 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
30387         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
30389 2014-04-11  Will Newton  <will.newton@linaro.org>
30391         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
30392         to zero if it is not defined elsewhere.  (mtrim): Test
30393         the value of MALLOC_DEBUG with #if rather than #ifdef.
30395 2014-04-10 Torvald Riegel  <triegel@redhat.com>
30397         * benchtests/pthread_once-inputs: New file.
30398         * benchtests/pthread_once-source.c: New file.
30399         * benchtests/README: Update documentation.
30401 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30402             H.J. Lu  <hongjiu.lu@intel.com>
30404         [BZ #16275]
30405         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
30406         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
30407         * sysdeps/x86_64/configure: Regenerated.
30408         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
30409         macro.
30410         (REGISTER_SAVE_RAX): Likewise.
30411         (REGISTER_SAVE_RCX): Likewise.
30412         (REGISTER_SAVE_RDX): Likewise.
30413         (REGISTER_SAVE_RSI): Likewise.
30414         (REGISTER_SAVE_RDI): Likewise.
30415         (REGISTER_SAVE_R8): Likewise.
30416         (REGISTER_SAVE_R9): Likewise.
30417         (REGISTER_SAVE_BND0): Likewise.
30418         (REGISTER_SAVE_BND1): Likewise.
30419         (REGISTER_SAVE_BND2): Likewise.
30420         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
30421         bound registers when calling _dl_fixup.
30423 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30425         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
30426         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
30427         of its definition.
30428         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
30429         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
30430         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
30431         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
30432         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
30433         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
30434         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
30436 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
30438         [BZ #15514]
30439         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
30440         pathconf(_PC_NAME_MAX).
30442 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30444         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
30445         Remove macro usage.
30446         (__PTHREAD_SPINS): Move definition to ...
30447         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30448         (__PTHREAD_SPINS): ... here.
30449         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30450         (__PTHREAD_SPIN): Likewise.
30451         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
30452         (__PTHREAD_SPIN): Likewise.
30453         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
30454         (__PTHREAD_SPIN): Likewise.
30455         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
30456         (__PTHREAD_SPIN): Likewise.
30457         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30458         (__PTHREAD_SPIN): Likewise.
30459         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30460         (__PTHREAD_SPIN): Likewise.
30461         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
30462         (__PTHREAD_SPIN): Likewise.
30463         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30464         (__PTHREAD_SPIN): Likewise.
30465         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30466         (__PTHREAD_SPIN): Likewise.
30467         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30468         (__PTHREAD_SPIN): Likewise.
30469         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30470         (__PTHREAD_SPIN): Likewise.
30471         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
30472         (__PTHREAD_SPIN): Likewise.
30474         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
30475         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
30476         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
30477         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
30478         imply folder.
30479         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
30480         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
30481         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
30482         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
30483         correct imply path.
30484         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
30485         strlen symbol for non multi-arch builds.
30486         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
30487         missing hidden_def and weak_alias.
30489 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
30491         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
30493 2014-04-07  Will Newton  <will.newton@linaro.org>
30495         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
30496         and contents.  [!_LIBC] Remove #ifndef and contents.
30497         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
30498         * string/memccpy.c (__memccpy): Use ANSI prototype.
30499         * string/memfrob.c (memfrob): Likewise.
30500         * string/strcoll.c (STRCOLL): Likewise.
30501         * string/strlen.c (strlen): Likewise.
30502         * string/strtok.c (STRTOK): Likewise.
30503         * string/strcat.c: Remove unused #include of memcopy.h.
30504         (strcat): Use ANSI prototype.
30505         * string/strchr.c: Remove unused #include of memcopy.h.
30506         (strchr): Use ANSI prototype.
30507         * string/strcmp.c: Remove unused #include of memcopy.h.
30508         (strcmp): Use ANSI prototype.
30509         * string/strcpy.c: Remove unused #include of memcopy.h.
30510         (strcpy): Use ANSI prototype.
30512 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30514         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
30515         * config.make.in (config-extra-cppflags): Set it from
30516         libc_extra_cppflags.
30517         * configure.ac (libc_extra_cflags): Make it accumulate over
30518         configure fragments.
30519         (libc_extra_cppflags): New flag.
30520         * configure. Regenerate.
30521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30522         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
30523         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
30524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
30526         [BZ #16815]
30527         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
30528         result for FE_DOWNWARD rounding mode.
30529         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
30530         Likewise.
30531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30533 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
30535         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
30536         in function argument name.
30538 2014-04-03  David Svoboda  <svoboda@cert.org>
30540         [BZ #5666]
30541         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
30542         explicitly.
30544 2014-04-03  Roland McGrath  <roland@hack.frob.com>
30546         * elf/dl-unmap-segments.h: New file.
30547         * sysdeps/generic/ldsodefs.h
30548         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
30549         * elf/dl-close.c: Include <dl-unmap-segments.h>.
30550         * elf/dl-fptr.c: Likewise.
30551         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
30552         * sysdeps/aarch64/tlsdesc.c: Likewise.
30553         * sysdeps/arm/tlsdesc.c: Likewise.
30554         * sysdeps/i386/tlsdesc.c: Likewise.
30555         * sysdeps/tile/dl-runtime.c: Likewise.
30556         * sysdeps/x86_64/tlsdesc.c: Likewise.
30557         * elf/dl-load.h: New file.
30558         * elf/dl-load.c: Include it.
30559         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
30560         Macros moved to dl-load.h.
30561         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
30562         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
30563         Use _dl_unmap_segments in place of __munmap.
30564         Break out segment-mapping loop into ...
30565         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
30567 2014-04-03  Will Newton  <will.newton@linaro.org>
30569         * elf/dl-lookup.c (do_lookup_x): Remove comment
30570         referring to nested function and move variable
30571         declarations down to before first use.
30573 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
30575         [BZ #16799]
30576         [BZ #16800]
30577         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
30578         with 0 numerator.
30579         * math/s_catanf.c (__catanf): Likewise.
30580         * math/s_catanh.c (__catanh): Likewise.
30581         * math/s_catanhf.c (__catanhf): Likewise.
30582         * math/s_catanhl.c (__catanhl): Likewise.
30583         * math/s_catanl.c (__catanl): Likewise.
30584         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
30585         by positive zero when computing -Inf result.
30586         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
30587         (catanh_test): Likewise.
30588         * sysdeps/i386/fpu/libm-test-ulps: Update.
30589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30591         [BZ #16789]
30592         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
30593         instead of using underflowing value in computing result.
30594         * math/s_clog10.c (__clog10): Likewise.
30595         * math/s_clog10f.c (__clog10f): Likewise.
30596         * math/s_clog10l.c (__clog10l): Likewise.
30597         * math/s_clogf.c (__clogf): Likewise.
30598         * math/s_clogl.c (__clogl): Likewise.
30599         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
30600         (clog10_test): Likewise.
30601         * sysdeps/i386/fpu/libm-test-ulps: Update.
30602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30604 2014-04-02  Alan Modra  <amodra@gmail.com>
30606         [BZ #16739]
30607         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
30608         output when value is near a power of two.  Use int64_t for lx and
30609         remove casts.  Use decimal rather than hex exponent constants.
30610         Don't use long double multiplication when double will suffice.
30611         * math/libm-test.inc (nextafter_test_data): Add tests.
30612         * NEWS: Add 16739 and 16786 to bug list.
30614         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
30616         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
30618 2014-04-01  Will Newton  <will.newton@linaro.org>
30620         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30621         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
30623 2014-04-01  Florian Weimer  <fweimer@redhat.com>
30625         [BZ #13347]
30626         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30627         * nptl/tst-setuid2.c: New file.
30628         * nptl/Makefile (xtests): Add tst-setuid2.
30630 2014-04-01  Alan Modra  <amodra@gmail.com>
30632         [BZ #16786]
30633         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30635 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30637         [BZ #6803]
30638         [BZ #6804]
30639         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30640         set errno as appropriate.
30641         * math/w_scalbf.c (__scalbf): Likewise.
30642         * math/w_scalbl.c (__scalbl): Likewise.
30643         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30644         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30645         * math/libm-test.inc (scalb_test_data): Add errno expectations.
30646         Add more NaN tests.
30648         [BZ #16349]
30649         * math/w_atan2.c: Include <errno.h>.
30650         (__atan2): Set errno for result underflowing to zero.
30651         * math/w_atan2f.c: Include <errno.h>.
30652         (__atan2f): Set errno for result underflowing to zero.
30653         * math/w_atan2l.c: Include <errno.h>.
30654         (__atan2l): Set errno for result underflowing to zero.
30655         * math/auto-libm-test-in: Don't allow missing errno for some atan2
30656         tests.
30657         * math/auto-libm-test-out: Regenerated.
30659 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30661         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30662         Encode instruction correctly in little endian.
30663         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30664         Likewise.
30665         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30666         Likewise.
30667         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30668         Likewise.
30669         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30670         Likewise.
30672 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30674         [BZ #9894]
30675         * sysdeps/unix/sysv/linux/kernel-features.h
30676         [__sparc__ && !__arch64__ && !__sparc_v9__]
30677         (__ASSUME_SET_ROBUST_LIST): Do not define.
30678         [__sparc__ && !__arch64__ && !__sparc_v9__]
30679         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30680         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30681         Likewise.
30682         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30683         (__ASSUME_FUTEX_LOCK_PI): Undefine.
30684         (__ASSUME_REQUEUE_PI): Likewise.
30685         (__ASSUME_SET_ROBUST_LIST): Likewise.
30686         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30687         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30688         Undefine.
30689         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30690         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30691         Likewise.
30692         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30693         Likewise.
30694         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30695         Likewise.
30696         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30697         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30698         Undefine.
30699         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30700         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30701         Likewise.
30703         [BZ #16648]
30704         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30705         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30706         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30708 2014-03-31  Will Newton  <will.newton@linaro.org>
30710         * benchtests/Makefile (bench): Add ffs and ffsll to list
30711         of tests.
30712         * benchtests/ffs-inputs: New file.
30713         * benchtests/ffsll-inputs: Likewise.
30715 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
30717         [BZ #16770]
30718         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30719         too large before casting to int.
30720         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30721         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30722         * math/libm-test.inc (scalb_test_data): Add more tests.
30724 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30726         * benchtests/Makefile (DETAILED_OPT): New make option.
30727         (bench-func): Run benchmark program with -d if DETAILED_OPT is
30728         set.
30729         * benchtests/bench-skeleton.c: Include stdbool.h.
30730         (main): Store and print timings per input.
30731         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30732         member to each argument value.
30733         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30734         (_print_arg_data): Initialize per-input timing to 0.
30736         * benchtests/Makefile (timing-type): New binary.
30737         (bench-clean): Also remove bench-timing-type.
30738         (bench): New target for timing-type.
30739         (bench-func): Print output in JSON format.
30740         * benchtests/bench-skeleton.c (main): Print output in JSON
30741         format.
30742         * benchtests/bench-timing-type.c: New file.
30743         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30744         (TIMING_PRINT_STATS): Remove.
30745         * benchtests/scripts/bench.py (_print_arg_data): Store variant
30746         name separately.
30748         * benchtests/bench-modf.c: Remove.
30749         * benchtests/modf-inputs: New inputs file.
30751 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
30753         [BZ #16362]
30754         * math/s_clog10.c (M_PI_LOG10E): New macro.
30755         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30756         imaginary parts are 0.
30757         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30758         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30759         imaginary parts are 0.
30760         * math/s_clog10l.c (M_PI_LOG10El): New macro.
30761         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30762         imaginary parts are 0.
30763         * math/libm-test.inc (clog10_test_data): Update expected results
30764         for when real and imaginary parts are 0.
30766 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
30768         * elf/dl-load.c: Finish conversion of __builtin_expect into
30769         __glibc_{un}likely.
30771 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
30773         [BZ #16348]
30774         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30775         1+x for argument with exponent below -67.
30776         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
30777         Likewise.
30778         * math/auto-libm-test-in: Add more tests of exp.
30779         * math/auto-libm-test-out: Regenerated.
30781 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30783         [BZ #16759]
30784         * inet/getnetgrent_r.c (get_nonempty_val): New function.
30785         (nscd_getnetgrent): Use it.
30787         [BZ #16760]
30788         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
30789         of stpcpy.
30791 2014-03-27  Andi Kleen  <ak@linux.intel.com>
30793         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
30794         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30795         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30796         (lll_robust_unlock): Remove out of line section. Use cfi
30797         intrinsics.
30798         (LLL_STUB_UNWIND_INFO*): Remove.
30799         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
30800         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30801         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30802         (lll_robust_unlock): Remove out of line section. Use cfi
30803         intrinsics.
30804         (LLL_STUB_UNWIND_INFO*): Remove.
30806 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30808         [BZ #16758]
30809         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
30810         blank values.
30812 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30814         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
30816 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
30818         [BZ #16198]
30819         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
30820         fnstenv.
30821         * math/test-fenv-preserve.c: New file.
30822         * math/Makefile (tests): Add test-fenv-preserve.
30824 2014-03-26  Will Newton <will.newton@linaro.org>
30826         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
30828 2014-03-25  Roland McGrath  <roland@hack.frob.com>
30830         * scripts/versionlist.awk: Partition the version sets and emit all
30831         GLIBC_* (sorted) before all others (sorted).
30833 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30835         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
30836         GLIBC_2.2.5 version.
30838 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30840         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30841         calls.
30843         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
30844         previous change.
30846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30848 2014-03-25  Andreas Schwab  <schwab@suse.de>
30850         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
30851         label to be used after in6ailist is initialized.
30853 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30855         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30856         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30858 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30860         [BZ #16357]
30861         [BZ #16599]
30862         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
30863         min_plus_half.
30864         (fp_formats): Update initializers.
30865         (init_fp_formats): Initialize new field.
30866         (output_for_one_input_case): Allow underflow for results up to
30867         min_plus_half.
30868         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
30869         * math/auto-libm-test-in: Don't mark some underflows from asin and
30870         atanh as spurious.
30871         * math/auto-libm-test-out: Regenerated.
30872         * sysdeps/i386/fpu/libm-test-ulps: Update.
30873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30875 2014-03-25  Andreas Schwab  <schwab@suse.de>
30877         * libio/Makefile (tst-ftell-partial-wide-ENV)
30878         (tst-ftell-active-handler-ENV): Define.
30880 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
30882         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
30884 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30886         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
30888 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30890         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
30891         * sysdeps/x86_64/fpu/multiarch/e_exp.c
30892         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30894 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30896         [BZ #16634]
30897         * elf/dl-load.c (open_verify): Add mode parameter.
30898         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
30899         (open_path): Change from boolean 'secure' to complete flag 'mode'
30900         (_dl_map_object): Adjust.
30901         * elf/Makefile (tests): Add tst-dlopen-aout.
30902         * elf/tst-dlopen-aout.c: New test.
30904 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
30906         [BZ #16714]
30907         * sysdeps/unix/sysv/linux/s390/bits/stat.h
30908         (struct stat): Rename member pad0 to __glibc_reserved0.
30910         [BZ #16712]
30911         * sysdeps/s390/s390-32/bits/wordsize.h
30912         (__WORDSIZE32_SIZE_ULONG): New define.
30913         * sysdeps/s390/s390-64/bits/wordsize.h
30914         (__WORDSIZE32_SIZE_ULONG): Likewise.
30915         * sysdeps/generic/stdint.h (SIZE_MAX):
30916         Define as UL if __WORDSIZE32_SIZE_ULONG.
30918         [BZ #16713]
30919         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30920         (__glibc_reserved0): New variable.
30921         (sa_flags): Change type to int.
30923         * posix/Makefile (before-compile): Use += before-compile instead
30924         of a :=.
30926         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30927         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30929 2014-03-20  Andreas Schwab  <schwab@suse.de>
30931         [BZ #16743]
30932         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
30933         non-matching result from nscd.
30935 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30937         * scripts/bench.py: Moved to ...
30938         * benchtests/scripts/bench.py: ... here.
30939         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
30941 2014-03-24  Andreas Schwab  <schwab@suse.de>
30943         [BZ #16002]
30944         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
30945         alloca_account and account alloca use for struct in6ailist.
30947 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30949         [BZ #16284]
30950         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
30951         rounding mode to recompute results that overflow to infinity or
30952         underflow to zero.
30953         * math/auto-libm-test-in: Don't mark tests as expected to fail for
30954         bug 16284.
30955         * math/auto-libm-test-out: Regenerated.
30956         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
30957         (ccosh_test): Likewise.
30958         (csin_test_data): Use plus_oflow.
30959         (csin_test): Use ALL_RM_TEST.
30960         (csinh_test_data): Use plus_oflow.
30961         (csinh_test): Use ALL_RM_TEST.
30962         * sysdeps/i386/fpu/libm-test-ulps: Update.
30963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30965 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
30967         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
30968         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
30969         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
30971         [BZ #16731]
30972         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
30973         when x - 1 is zero.
30974         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
30975         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
30976         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30977         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
30978         argument is 1.
30979         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
30980         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
30981         zero.
30982         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
30983         * sysdeps/i386/fpu/libm-test-ulps: Update.
30984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30986 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30988         * scripts/bench.pl: Remove file.
30989         * scripts/bench.py: New benchmark script.
30990         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
30991         * benchtests/README: Mention python dependency.
30992         * scripts/pylintrc: New file.
30993         * scripts/pylint: New file.
30995         * bits/mathdef.h: Use #ifdef instead of #if.
30996         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
30997         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30998         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
30999         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31000         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
31001         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31003 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31004             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31006         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
31007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
31008         and strpbrk-ppc64 objects.
31009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31010         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
31011         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
31012         multiarch strpbrk for POWER7.
31013         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
31014         multiarch strpbrk for PPC64.
31015         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31016         ifunc selector.
31017         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
31018         strpbrk for POWER7.
31020 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31022         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
31023         (atan_test): Likewise.
31024         (atanh_test_data): Use NO_TEST_INLINE for two tests.
31025         (atanh_test): Use ALL_RM_TEST.
31026         (atan2_test_data): Likewise.
31027         (cabs_test): Likewise.
31028         (cacosh_test): Likewise.
31029         (carg_test): Likewise.
31030         (casin_test): Likewise.
31031         (casinh_test): Likewise.
31032         (cbrt_test): Likewise.
31033         (csqrt_test): Likewise.
31034         (erf_test): Likewise.
31035         (erfc_test): Likewise.
31036         (pow10_test): Likewise.
31037         (exp2_test): Likewise.
31038         (hypot_test): Likewise.
31039         (j0_test): Likewise.
31040         (j1_test): Likewise.
31041         (lgamma_test): Likewise.
31042         (gamma_test): Likewise.
31043         (sincos_test): Likewise.
31044         (tanh_test): Likewise.
31045         (y0_test): Likewise.
31046         (y1_test): Likewise.
31047         * sysdeps/i386/fpu/libm-test-ulps: Update.
31048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31050 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31052         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
31053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
31054         and strcspn-ppc64 objects.
31055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31056         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
31057         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
31058         multiarch strcspn for POWER7.
31059         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
31060         multiarch strcspn for PPC64.
31061         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
31062         ifunc selector.
31063         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
31064         strcspn for POWER7.
31066 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31068         * math/gen-libm-test.pl (generate_testfile): Expect only function
31069         name as argument to AUTO_TESTS_* and pass results for all rounding
31070         modes to parse_args.
31071         (parse_auto_input): Separate inputs of automatic tests from
31072         outputs before storing in %auto_tests.
31073         * math/libm-test.inc (acos_test_data): Update call to
31074         AUTO_TESTS_f_f.
31075         (acos_test): Use ALL_RM_TEST.
31076         (acos_tonearest_test_data): Remove.
31077         (acos_test_tonearest): Likewise.
31078         (acos_towardzero_test_data): Likewise.
31079         (acos_test_towardzero): Likewise.
31080         (acos_downward_test_data): Likewise.
31081         (acos_test_downward): Likewise.
31082         (acos_upward_test_data): Likewise.
31083         (acos_test_upward): Likewise.
31084         (acosh_test_data): Update call to AUTO_TESTS_f_f.
31085         (asin_test_data): Likewise.
31086         (asin_test): Use ALL_RM_TEST.
31087         (asin_tonearest_test_data): Remove.
31088         (asin_test_tonearest): Likewise.
31089         (asin_towardzero_test_data): Likewise.
31090         (asin_test_towardzero): Likewise.
31091         (asin_downward_test_data): Likewise.
31092         (asin_test_downward): Likewise.
31093         (asin_upward_test_data): Likewise.
31094         (asin_test_upward): Likewise.
31095         (asinh_test_data): Update call to AUTO_TESTS_f_f.
31096         (atan_test_data): Likewise.
31097         (atanh_test_data): Likewise.
31098         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
31099         (cabs_test_data): Update call to AUTO_TESTS_c_f.
31100         (carg_test_data): Likewise.
31101         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
31102         (ccos_test_data): Update call to AUTO_TESTS_c_c.
31103         (ccosh_test_data): Likewise.
31104         (cexp_test_data): Likewise.
31105         (clog_test_data): Likewise.
31106         (clog10_test_data): Likewise.
31107         (cos_test_data): Update call to AUTO_TESTS_f_f.
31108         (cos_test): Use ALL_RM_TEST.
31109         (cos_tonearest_test_data): Remove.
31110         (cos_test_tonearest): Likewise.
31111         (cos_towardzero_test_data): Likewise.
31112         (cos_test_towardzero): Likewise.
31113         (cos_downward_test_data): Likewise.
31114         (cos_test_downward): Likewise.
31115         (cos_upward_test_data): Likewise.
31116         (cos_test_upward): Likewise.
31117         (cosh_test_data): Update call to AUTO_TESTS_f_f.
31118         (cosh_test): Use ALL_RM_TEST.
31119         (cosh_tonearest_test_data): Remove.
31120         (cosh_test_tonearest): Likewise.
31121         (cosh_towardzero_test_data): Likewise.
31122         (cosh_test_towardzero): Likewise.
31123         (cosh_downward_test_data): Likewise.
31124         (cosh_test_downward): Likewise.
31125         (cosh_upward_test_data): Likewise.
31126         (cosh_test_upward): Likewise.
31127         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
31128         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
31129         (ctan_test_data): Likewise.
31130         (ctan_test): Use ALL_RM_TEST.
31131         (ctan_tonearest_test_data): Remove.
31132         (ctan_test_tonearest): Likewise.
31133         (ctan_towardzero_test_data): Likewise.
31134         (ctan_test_towardzero): Likewise.
31135         (ctan_downward_test_data): Likewise.
31136         (ctan_test_downward): Likewise.
31137         (ctan_upward_test_data): Likewise.
31138         (ctan_test_upward): Likewise.
31139         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
31140         (ctanh_test): Use ALL_RM_TEST.
31141         (ctanh_tonearest_test_data): Remove.
31142         (ctanh_test_tonearest): Likewise.
31143         (ctanh_towardzero_test_data): Likewise.
31144         (ctanh_test_towardzero): Likewise.
31145         (ctanh_downward_test_data): Likewise.
31146         (ctanh_test_downward): Likewise.
31147         (ctanh_upward_test_data): Likewise.
31148         (ctanh_test_upward): Likewise.
31149         (erf_test_data): Update call to AUTO_TESTS_f_f.
31150         (erfc_test_data): Likewise.
31151         (exp_test_data): Likewise.
31152         (exp_test): Use ALL_RM_TEST.
31153         (exp_tonearest_test_data): Remove.
31154         (exp_test_tonearest): Likewise.
31155         (exp_towardzero_test_data): Likewise.
31156         (exp_test_towardzero): Likewise.
31157         (exp_downward_test_data): Likewise.
31158         (exp_test_downward): Likewise.
31159         (exp_upward_test_data): Likewise.
31160         (exp_test_upward): Likewise.
31161         (exp10_test_data): Update call to AUTO_TESTS_f_f.
31162         (exp10_test): Use ALL_RM_TEST.
31163         (exp10_tonearest_test_data): Remove.
31164         (exp10_test_tonearest): Likewise.
31165         (exp10_towardzero_test_data): Likewise.
31166         (exp10_test_towardzero): Likewise.
31167         (exp10_downward_test_data): Likewise.
31168         (exp10_test_downward): Likewise.
31169         (exp10_upward_test_data): Likewise.
31170         (exp10_test_upward): Likewise.
31171         (exp2_test_data): Update call to AUTO_TESTS_f_f.
31172         (expm1_test_data): Likewise.
31173         (expm1_test): Use ALL_RM_TEST.
31174         (expm1_tonearest_test_data): Remove.
31175         (expm1_test_tonearest): Likewise.
31176         (expm1_towardzero_test_data): Likewise.
31177         (expm1_test_towardzero): Likewise.
31178         (expm1_downward_test_data): Likewise.
31179         (expm1_test_downward): Likewise.
31180         (expm1_upward_test_data): Likewise.
31181         (expm1_test_upward): Likewise.
31182         (fma_test_data): Update call to AUTO_TESTS_fff_f.
31183         (fma_test): Use ALL_RM_TEST.
31184         (fma_towardzero_test_data): Remove.
31185         (fma_test_towardzero): Likewise.
31186         (fma_downward_test_data): Likewise.
31187         (fma_test_downward): Likewise.
31188         (fma_upward_test_data): Likewise.
31189         (fma_test_upward): Likewise.
31190         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
31191         (j0_test_data): Update call to AUTO_TESTS_f_f.
31192         (j1_test_data): Likewise.
31193         (jn_test_data): Update call to AUTO_TESTS_if_f.
31194         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
31195         (log_test_data): Update call to AUTO_TESTS_f_f.
31196         (log10_test_data): Likewise.
31197         (log1p_test_data): Likewise.
31198         (log2_test_data): Likewise.
31199         (pow_test_data): Update call to AUTO_TESTS_ff_f.
31200         (pow_tonearest_test_data): Likewise.
31201         (sin_test_data): Update call to AUTO_TESTS_f_f.
31202         (sin_test): Use ALL_RM_TEST.
31203         (sin_tonearest_test_data): Remove.
31204         (sin_test_tonearest): Likewise.
31205         (sin_towardzero_test_data): Likewise.
31206         (sin_test_towardzero): Likewise.
31207         (sin_downward_test_data): Likewise.
31208         (sin_test_downward): Likewise.
31209         (sin_upward_test_data): Likewise.
31210         (sin_test_upward): Likewise.
31211         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
31212         (sinh_test_data): Update call to AUTO_TESTS_f_f.
31213         (sinh_test): Use ALL_RM_TEST.
31214         (sinh_tonearest_test_data): Remove.
31215         (sinh_test_tonearest): Likewise.
31216         (sinh_towardzero_test_data): Likewise.
31217         (sinh_test_towardzero): Likewise.
31218         (sinh_downward_test_data): Likewise.
31219         (sinh_test_downward): Likewise.
31220         (sinh_upward_test_data): Likewise.
31221         (sinh_test_upward): Likewise.
31222         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
31223         (sqrt_test): Use ALL_RM_TEST.
31224         (sqrt_tonearest_test_data): Remove.
31225         (sqrt_test_tonearest): Likewise.
31226         (sqrt_towardzero_test_data): Likewise.
31227         (sqrt_test_towardzero): Likewise.
31228         (sqrt_downward_test_data): Likewise.
31229         (sqrt_test_downward): Likewise.
31230         (sqrt_upward_test_data): Likewise.
31231         (sqrt_test_upward): Likewise.
31232         (tan_test_data): Update call to AUTO_TESTS_f_f.
31233         (tan_test): Use ALL_RM_TEST.
31234         (tan_tonearest_test_data): Remove.
31235         (tan_test_tonearest): Likewise.
31236         (tan_towardzero_test_data): Likewise.
31237         (tan_test_towardzero): Likewise.
31238         (tan_downward_test_data): Likewise.
31239         (tan_test_downward): Likewise.
31240         (tan_upward_test_data): Likewise.
31241         (tan_test_upward): Likewise.
31242         (tanh_test_data): Update call to AUTO_TESTS_f_f.
31243         (tgamma_test_data): Likewise.
31244         (y0_test_data): Likewise.
31245         (y1_test_data): Likewise.
31246         (yn_test_data): Update call to AUTO_TESTS_if_f.
31247         (main): Do not call removed functions.
31249 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31251         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
31252         (ldexp_test_data): Remove.
31253         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
31254         scalbn_test_data.
31255         (scalb_test): Use ALL_RM_TEST.
31257 2014-03-19  Andreas Schwab  <schwab@suse.de>
31259         * nscd/nscd.service: Also invalidate netgroup cache on reload.
31261 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31263         [BZ #16649]
31264         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31265         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
31266         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
31267         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31268         (__ASSUME_PREADV): Undefine.
31269         (__ASSUME_PWRITEV): Likewise.
31271 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31273         * bits/mman-linux.h: Add comment about non-Linux use.
31274         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
31275         bits/mman-linux.h resting place.
31277         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
31278         * bits/mman-linux.h: ... here.
31280 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31282         * conform/conformtest.pl: Add standard definition when calling C
31283         preprocessor on data files.
31284         (checknamespace): Remove unused variable.
31286 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31288         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
31289         minus_oflow, plus_uflow and minus_uflow in expected results.
31290         * math/libm-test.inc (scalbn_test_data): Add more tests of
31291         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
31292         minus_uflow.
31293         (scalbn_test): Use ALL_RM_TEST.
31294         (scalbln_test_data): Add more tests of negative arguments.  Use
31295         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
31296         (scalbln_test): Use ALL_RM_TEST.
31298 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31300         * scripts/abilist.awk: Ignore symbols marked with .hidden.
31302 2014-03-18  Will Newton  <will.newton@linaro.org>
31304         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
31305         inaccurate comment.
31307 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31309         * Makerules [!subdir] (check-abi): Exit with error status if a
31310         test failed.
31312 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31314         * math/libm-test.inc (nearbyint_test_data): Include all tests used
31315         for rint.  Include results for all rounding modes.
31316         (nearbyint_test): Use ALL_RM_TEST.
31317         (rint_test_data): Include all tests used for nearbyint.
31319 2014-03-17  Will Newton  <will.newton@linaro.org>
31321         * nptl/sysdeps/pthread/pthread.h: Revert previous
31322         change.
31324         * sysdeps/generic/ldsodefs.h: Revert previous
31325         change.
31327         * libio/genops.c: Revert previous change.
31328         * libio/libioP.h: Likewise.
31329         * stdio-common/vfprintf.c: Likewise.
31331         * sysdeps/generic/math_private.h: Revert previous
31332         change.
31334         * sysdeps/generic/math_private.h: Check whether
31335         HAVE_RM_CTX is defined with #ifdef rather
31336         than #if.
31338         * argp/argp-fmtstream.h: Check whether
31339         __STRICT_ANSI__ is defined with #ifdef rather
31340         than #if.
31341         * argp/argp.h: Likewise.
31343         * libio/genops.c: Check whether
31344         _IO_JUMPS_OFFSET is defined with #ifdef rather
31345         than #if.
31346         * libio/libioP.h: Likewise.
31347         * stdio-common/vfprintf.c: Likewise.
31349         * sysdeps/generic/ldsodefs.h: Check whether
31350         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
31351         than #if.
31353         * nptl/sysdeps/pthread/pthread.h: Check
31354         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
31355         its value.
31357 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31359         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
31360         setting O_APPEND.
31361         * libio/tst-ftell-active-handler.c (do_append_test): Add a
31362         test case.
31364         [BZ #16680]
31365         * libio/fileops.c (_IO_file_open): Seek to end of file but
31366         don't cache the offset.
31367         (get_file_offset): Remove function.
31368         (do_ftell): Use cached offset when available.
31369         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
31370         don't cache the offset.
31371         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
31372         case.
31373         (do_one_test): Call it.
31374         (do_ftell_test): Fix up expected old offset for a+ mode.
31375         * libio/wfileops.c (do_ftell_wide): Used cached offset when
31376         available.
31378         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
31379         up test status with function return status.
31380         (do_write_test): Likewise.
31381         (do_append_test): Likewise.
31383         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
31384         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
31385         Remove.
31387 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31389         * math/gen-libm-test.pl (parse_args): Handle results specified for
31390         each rounding mode separately.
31391         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
31392         tests and results from lrint_tonearest_test_data,
31393         lrint_towardzero_test_data, lrint_downward_test_data and
31394         lrint_upward_test_data.
31395         (lrint_test): Use ALL_RM_TEST.
31396         (lrint_tonearest_test_data): Remove.
31397         (lrint_test_tonearest): Likewise.
31398         (lrint_towardzero_test_data): Likewise.
31399         (lrint_test_towardzero): Likewise.
31400         (lrint_downward_test_data): Likewise.
31401         (lrint_test_downward): Likewise.
31402         (lrint_upward_test_data): Likewise.
31403         (lrint_test_upward): Likewise.
31404         (llrint_test_data): Merge in per-rounding-mode tests and results
31405         from llrint_tonearest_test_data, llrint_towardzero_test_data,
31406         llrint_downward_test_data and llrint_upward_test_data.
31407         (llrint_test): Use ALL_RM_TEST.
31408         (llrint_tonearest_test_data): Remove.
31409         (llrint_test_tonearest): Likewise.
31410         (llrint_towardzero_test_data): Likewise.
31411         (llrint_test_towardzero): Likewise.
31412         (llrint_downward_test_data): Likewise.
31413         (llrint_test_downward): Likewise.
31414         (llrint_upward_test_data): Likewise.
31415         (llrint_test_upward): Likewise.
31416         (rint_test_data): Merge in per-rounding-mode tests and results
31417         from rint_tonearest_test_data, rint_towardzero_test_data,
31418         rint_downward_test_data and rint_upward_test_data.  Add
31419         per-rounding-mode results for tests not in those arrays.
31420         (rint_test): Use ALL_RM_TEST.
31421         (rint_tonearest_test_data): Remove.
31422         (rint_test_tonearest): Likewise.
31423         (rint_towardzero_test_data): Likewise.
31424         (rint_test_towardzero): Likewise.
31425         (rint_downward_test_data): Likewise.
31426         (rint_test_downward): Likewise.
31427         (rint_upward_test_data): Likewise.
31428         (rint_test_upward): Likewise.
31429         (main): Don't call removed functions.
31431 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31433         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
31434         "Compiled on ..." crapola.  It is anti-useful.
31436 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
31438         * scripts/evaluate-test.sh: Handle fourth argument to determine
31439         whether test run should stop on failure.
31440         * Makeconfig (stop-on-test-failure): New variable.
31441         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
31442         $(stop-on-test-failure).
31443         * Makefile (tests): Give a summary of results from testing and
31444         exit with failure status if they include an ERROR or FAIL.
31445         (xtests): Likewise.
31446         * manual/install.texi (Configuring and compiling): Mention
31447         stop-on-test-failure=y.
31448         * INSTALL: Regenerated.
31450 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31452         * scripts/versionlist.awk: New file.
31453         * Makerules [$(build-shared) = yes]
31454         (postclean-generated): Add Versions.def, not Versions.def.v and
31455         Versions.def.v.i.
31456         ($(common-objpfx)Versions.def.v.i): Target removed.
31457         ($(common-objpfx)Versions.def): New target.
31458         ($(common-objpfx)Versions.all): Depend on that rather that
31459         $(common-objpfx)Versions.def.v.
31460         * Versions.def: File removed.
31462         * Makeconfig (+gccwarn): Add -Wundef.
31463         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
31464         a dl-sysdep.h breaking its contract.
31465         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
31466         * include/stackinfo.h: New file.
31467         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
31468         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
31469         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
31470         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
31471         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
31472         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
31473         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31474         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31475         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31476         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31477         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31478         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
31479         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31480         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31481         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31483 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31485         [BZ #16707]
31486         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
31487         implementation.
31488         * math/libm-test.inc (round_test_data): Add more tests.
31490         [BZ #16706]
31491         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
31492         implementation.
31493         * math/libm-test.inc (nearbyint_test_data): Add more tests.
31495         [BZ #16701]
31496         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
31497         implementation.
31498         * math/libm-test.inc (ceil_test_data): Add more tests.
31500         * math/libm-test.inc (trunc_test_data): Add more tests related to
31501         BZ#16414.
31503 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31505         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
31506         with #if rather than #ifdef.
31507         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
31509 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
31511         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
31512         first.  Disable AVX-512 GCC support if assembler doesn't support
31513         it.
31514         * sysdeps/x86_64/configure: Regenerated.
31516 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
31518         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
31519         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
31520         (__old_pthread_attr_setstack): Likewise.
31521         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
31522         [!_STACK_GROWS_DOWN]: Likewise.
31524 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
31526         * config.make.in (have-bash2): Delete.
31527         * configure.ac (libc_cv_have_bash2): Delete.
31528         * configure: Regenerate.
31529         * elf/Makefile (common-ldd-rewrite): Rename to ...
31530         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
31531         (sh-ldd-rewrite): Delete.
31532         (bash-ldd-rewrite): Delete.
31533         (have-bash2): Delete checks.
31534         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
31535         ldd-rewrite.
31537         * config.make.in (have-ksh): Delete.
31538         (KSH): Delete.
31539         * configure.ac (libc_cv_have_ksh): Delete.
31540         * configure: Regenerate.
31542         * elf/Makefile: Delete $(have-ksh) check.
31543         ($(objpfx)sotruss): Change KSH to BASH.
31544         * elf/sotruss.ksh: Rename to ...
31545         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
31546         function style to match POSIX.  Drop ksh vim mode setting.
31548         * manual/time.texi (Specifying the Time Zone with TZ): Change
31549         Tuesday to Thursday.
31551         * debug/tst-longjmp_chk2.c: Update header comment.
31552         (stackoverflow_handler): Add comment.  Call assert on pass value.
31554 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
31556         [BZ #16194]
31557         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
31558         (HAVE_AVX512_ASM_SUPPORT): Likewise.
31559         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
31560         (La_x86_64_vector): Add zmm.
31561         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
31562         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
31563         ($(objpfx)tst-audit10): New target.
31564         ($(objpfx)tst-audit10.out): Likewise.
31565         (tst-audit10-ENV): New.
31566         (AVX512-CFLAGS): Likewise.
31567         (CFLAGS-tst-audit10.c): Likewise.
31568         (CFLAGS-tst-auditmod10a.c): Likewise.
31569         (CFLAGS-tst-auditmod10b.c): Likewise.
31570         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
31571         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
31572         * sysdeps/x86_64/configure: Regenerated.
31573         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
31574         AVX-512 zmm register support.
31575         (_dl_x86_64_save_sse): Likewise.
31576         (_dl_x86_64_restore_sse): Likewise.
31577         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
31578         size vector registers.
31579         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
31580         (ZMM_SIZE): Likewise.
31581         * sysdeps/x86_64/tst-audit10.c: New file.
31582         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
31583         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
31585 2014-03-13  Roland McGrath  <roland@hack.frob.com>
31587         * configure.ac (HAVE_EHDR_START): New check.
31588         * configure: Regenerated.
31589         * config.h.in (HAVE_EHDR_START): New #undef.
31590         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
31591         assuming the lowest-addressed segment maps the start of the file.
31593 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
31595         * INSTALL: Regenerated.
31597 2014-03-13  Will Newton  <will.newton@linaro.org>
31599         * manual/setjmp.texi (System V contexts): Improve
31600         clarity and grammar of documentation.
31602 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31604         [BZ #16381]
31605         * elf/Makefile (tests): Add tst-pie2.
31606         (tests-pie): Add tst-pie2.
31607         * elf/tst-pie2.c: New file.
31608         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
31609         for ET_EXEC.
31610         * elf/rtld.c (map_doit): Load executable as lt_executable.
31611         (dl_main): Likewise.
31613 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
31615         [BZ #16642]
31616         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31617         (__ASSUME_PSELECT): Undefine.
31619 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31621         [BZ #16689]
31622         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31623         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31624         static build.
31625         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31626         selector for static builds.
31628 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31630         [BZ #16695]
31631         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31632         key in the buffer.
31634 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31636         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31637         IFUNC selector for static builds.
31639 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
31641         * sysdeps/mips/math_private.h [__mips_hard_float]
31642         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31643         libc_feresetround_mips_ctx.
31644         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31645         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31646         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31648         [BZ #16677]
31649         * math/s_nextafter.c (__nextafter): Do not return value from
31650         overflowing computation.
31651         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31652         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31653         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31654         Likewise.
31655         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31656         Likewise.
31657         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31658         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31660 2014-03-11  Roland McGrath  <roland@hack.frob.com>
31662         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31663         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31664         Move sfi_sp use from the load-multiple (that no longer sets sp) to
31665         the new mov targetting sp.
31667 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31669         [BZ #16683]
31670         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31671         Define it for static builds as well.
31672         (NO_BZERO_IMPL): Likewise.
31674 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31676         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31677         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31678         multiarch strspn for PPC64.
31679         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31680         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31682         (__libc_ifunc_impl_list): Likewise.
31683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31684         multiarch optimizations
31685         * string/strspn.c (strspn): Using macro to redefine symbol name.
31687 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31688             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31690         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31691         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31692         multiarch strncat for PPC64.
31693         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31694         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31696         (__libc_ifunc_impl_list): Likewise.
31697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31698         multiarch optimizations
31700 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31702         [BZ #16639]
31703         * nscd/nscd.service: Make service type forking.
31705 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31707         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31708         sign in non default rounding modes.
31709         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31711 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
31713         * math/libm-test.inc (ALL_RM_TEST): New macro.
31714         (ceil_test): Use ALL_RM_TEST.
31715         (cimag_test): Likewise.
31716         (conj_test): Likewise.
31717         (copysign_test): Likewise.
31718         (cproj_test): Likewise.
31719         (creal_test): Likewise.
31720         (fabs_test): Likewise.
31721         (floor_test): Likewise.
31722         (fmax_test): Likewise.
31723         (fmin_test): Likewise.
31724         (fmod_test): Likewise.
31725         (fpclassify_test): Likewise.
31726         (frexp_test): Likewise.
31727         (ilogb_test): Likewise.
31728         (isfinite_test): Likewise.
31729         (finite_test): Likewise.
31730         (isgreater_test): Likewise.
31731         (isgreaterequal_test): Likewise.
31732         (isinf_test): Likewise.
31733         (isless_test): Likewise.
31734         (islessequal_test): Likewise.
31735         (islessgreater_test): Likewise.
31736         (isnan_test): Likewise.
31737         (isnormal_test): Likewise.
31738         (issignaling_test): Likewise.
31739         (isunordered_test): Likewise.
31740         (logb_test): Likewise.
31741         (logb_downward_test_data): Remove.
31742         (logb_test_downward): Likewise.
31743         (lround_test): Use ALL_RM_TEST.
31744         (llround_test): Likewise.
31745         (modf_test): Likewise.
31746         (nexttoward_test): Likewise.
31747         (remainder_test): Likewise.
31748         (drem_test): Likewise.
31749         (remainder_tonearest_test_data): Likewise.
31750         (remainder_test_tonearest): Likewise.
31751         (drem_test_tonearest): Likewise.
31752         (remainder_towardzero_test_data): Likewise.
31753         (remainder_test_towardzero): Likewise.
31754         (drem_test_towardzero): Likewise.
31755         (remainder_downward_test_data): Likewise.
31756         (remainder_test_downward): Likewise.
31757         (drem_test_downward): Likewise.
31758         (remainder_upward_test_data): Likewise.
31759         (remainder_test_upward): Likewise.
31760         (drem_test_upward): Likewise.
31761         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
31762         (round_test): Use ALL_RM_TEST.
31763         (signbit_test): Likewise.
31764         (trunc_test): Likewise.
31765         (significand_test): Likewise.
31766         (main): Don't call removed functions.
31768 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31770         [BZ #16674]
31771         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31772         || __USE_XOPEN2K8].
31773         (ILL_ILLOPN): Likewise.
31774         (ILL_ILLADR): Likewise.
31775         (ILL_ILLTRP): Likewise.
31776         (ILL_PRVOPC): Likewise.
31777         (ILL_PRVREG): Likewise.
31778         (ILL_COPROC): Likewise.
31779         (ILL_BADSTK): Likewise.
31780         (FPE_INTDIV): Likewise.
31781         (FPE_INTOVF): Likewise.
31782         (FPE_FLTDIV): Likewise.
31783         (FPE_FLTOVF): Likewise.
31784         (FPE_FLTUND): Likewise.
31785         (FPE_FLTRES): Likewise.
31786         (FPE_FLTINV): Likewise.
31787         (FPE_FLTSUB): Likewise.
31788         (SEGV_MAPERR): Likewise.
31789         (SEGV_ACCERR): Likewise.
31790         (BUS_ADRALN): Likewise.
31791         (BUS_ADRERR): Likewise.
31792         (BUS_OBJERR): Likewise.
31793         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31794         (TRAP_TRACE): Likewise.
31795         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31796         __USE_XOPEN2K8].
31797         (CLD_KILLED): Likewise.
31798         (CLD_DUMPED): Likewise.
31799         (CLD_TRAPPED): Likewise.
31800         (CLD_STOPPED): Likewise.
31801         (CLD_CONTINUED): Likewise.
31802         (POLL_IN): Likewise.
31803         (POLL_OUT): Likewise.
31804         (POLL_MSG): Likewise.
31805         (POLL_ERR): Likewise.
31806         (POLL_PRI): Likewise.
31807         (POLL_HUP): Likewise.
31808         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
31809         Likewise.
31810         (ILL_ILLOPN): Likewise.
31811         (ILL_ILLADR): Likewise.
31812         (ILL_ILLTRP): Likewise.
31813         (ILL_PRVOPC): Likewise.
31814         (ILL_PRVREG): Likewise.
31815         (ILL_COPROC): Likewise.
31816         (ILL_BADSTK): Likewise.
31817         (FPE_INTDIV): Likewise.
31818         (FPE_INTOVF): Likewise.
31819         (FPE_FLTDIV): Likewise.
31820         (FPE_FLTOVF): Likewise.
31821         (FPE_FLTUND): Likewise.
31822         (FPE_FLTRES): Likewise.
31823         (FPE_FLTINV): Likewise.
31824         (FPE_FLTSUB): Likewise.
31825         (SEGV_MAPERR): Likewise.
31826         (SEGV_ACCERR): Likewise.
31827         (BUS_ADRALN): Likewise.
31828         (BUS_ADRERR): Likewise.
31829         (BUS_OBJERR): Likewise.
31830         (BUS_MCEERR_AR): Likewise.
31831         (BUS_MCEERR_AO): Likewise.
31832         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31833         (TRAP_TRACE): Likewise.
31834         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31835         __USE_XOPEN2K8].
31836         (CLD_KILLED): Likewise.
31837         (CLD_DUMPED): Likewise.
31838         (CLD_TRAPPED): Likewise.
31839         (CLD_STOPPED): Likewise.
31840         (CLD_CONTINUED): Likewise.
31841         (POLL_IN): Likewise.
31842         (POLL_OUT): Likewise.
31843         (POLL_MSG): Likewise.
31844         (POLL_ERR): Likewise.
31845         (POLL_PRI): Likewise.
31846         (POLL_HUP): Likewise.
31847         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
31848         (ILL_ILLOPN): Likewise.
31849         (ILL_ILLADR): Likewise.
31850         (ILL_ILLTRP): Likewise.
31851         (ILL_PRVOPC): Likewise.
31852         (ILL_PRVREG): Likewise.
31853         (ILL_COPROC): Likewise.
31854         (ILL_BADSTK): Likewise.
31855         (FPE_INTDIV): Likewise.
31856         (FPE_INTOVF): Likewise.
31857         (FPE_FLTDIV): Likewise.
31858         (FPE_FLTOVF): Likewise.
31859         (FPE_FLTUND): Likewise.
31860         (FPE_FLTRES): Likewise.
31861         (FPE_FLTINV): Likewise.
31862         (FPE_FLTSUB): Likewise.
31863         (SEGV_MAPERR): Likewise.
31864         (SEGV_ACCERR): Likewise.
31865         (BUS_ADRALN): Likewise.
31866         (BUS_ADRERR): Likewise.
31867         (BUS_OBJERR): Likewise.
31868         (BUS_MCEERR_AR): Likewise.
31869         (BUS_MCEERR_AO): Likewise.
31870         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31871         (TRAP_TRACE): Likewise.
31872         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31873         __USE_XOPEN2K8].
31874         (CLD_KILLED): Likewise.
31875         (CLD_DUMPED): Likewise.
31876         (CLD_TRAPPED): Likewise.
31877         (CLD_STOPPED): Likewise.
31878         (CLD_CONTINUED): Likewise.
31879         (POLL_IN): Likewise.
31880         (POLL_OUT): Likewise.
31881         (POLL_MSG): Likewise.
31882         (POLL_ERR): Likewise.
31883         (POLL_PRI): Likewise.
31884         (POLL_HUP): Likewise.
31885         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
31886         Likewise.
31887         (ILL_ILLOPN): Likewise.
31888         (ILL_ILLADR): Likewise.
31889         (ILL_ILLTRP): Likewise.
31890         (ILL_PRVOPC): Likewise.
31891         (ILL_PRVREG): Likewise.
31892         (ILL_COPROC): Likewise.
31893         (ILL_BADSTK): Likewise.
31894         (ILL_BADIADDR): Likewise.
31895         (ILL_BREAK): Likewise.
31896         (FPE_INTDIV): Likewise.
31897         (FPE_INTOVF): Likewise.
31898         (FPE_FLTDIV): Likewise.
31899         (FPE_FLTOVF): Likewise.
31900         (FPE_FLTUND): Likewise.
31901         (FPE_FLTRES): Likewise.
31902         (FPE_FLTINV): Likewise.
31903         (FPE_FLTSUB): Likewise.
31904         (FPE_DECOVF): Likewise.
31905         (FPE_DECDIV): Likewise.
31906         (FPE_DECERR): Likewise.
31907         (FPE_INVASC): Likewise.
31908         (FPE_INVDEC): Likewise.
31909         (SEGV_MAPERR): Likewise.
31910         (SEGV_ACCERR): Likewise.
31911         (SEGV_PSTKOVF): Likewise.
31912         (BUS_ADRALN): Likewise.
31913         (BUS_ADRERR): Likewise.
31914         (BUS_OBJERR): Likewise.
31915         (BUS_MCEERR_AR): Likewise.
31916         (BUS_MCEERR_AO): Likewise.
31917         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31918         (TRAP_TRACE): Likewise.
31919         (TRAP_BRANCH): Likewise.
31920         (TRAP_HWBKPT): Likewise.
31921         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31922         __USE_XOPEN2K8].
31923         (CLD_KILLED): Likewise.
31924         (CLD_DUMPED): Likewise.
31925         (CLD_TRAPPED): Likewise.
31926         (CLD_STOPPED): Likewise.
31927         (CLD_CONTINUED): Likewise.
31928         (POLL_IN): Likewise.
31929         (POLL_OUT): Likewise.
31930         (POLL_MSG): Likewise.
31931         (POLL_ERR): Likewise.
31932         (POLL_PRI): Likewise.
31933         (POLL_HUP): Likewise.
31934         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
31935         (ILL_ILLOPN): Likewise.
31936         (ILL_ILLADR): Likewise.
31937         (ILL_ILLTRP): Likewise.
31938         (ILL_PRVOPC): Likewise.
31939         (ILL_PRVREG): Likewise.
31940         (ILL_COPROC): Likewise.
31941         (ILL_BADSTK): Likewise.
31942         (FPE_INTDIV): Likewise.
31943         (FPE_INTOVF): Likewise.
31944         (FPE_FLTDIV): Likewise.
31945         (FPE_FLTOVF): Likewise.
31946         (FPE_FLTUND): Likewise.
31947         (FPE_FLTRES): Likewise.
31948         (FPE_FLTINV): Likewise.
31949         (FPE_FLTSUB): Likewise.
31950         (SEGV_MAPERR): Likewise.
31951         (SEGV_ACCERR): Likewise.
31952         (BUS_ADRALN): Likewise.
31953         (BUS_ADRERR): Likewise.
31954         (BUS_OBJERR): Likewise.
31955         (BUS_MCEERR_AR): Likewise.
31956         (BUS_MCEERR_AO): Likewise.
31957         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31958         (TRAP_TRACE): Likewise.
31959         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31960         __USE_XOPEN2K8].
31961         (CLD_KILLED): Likewise.
31962         (CLD_DUMPED): Likewise.
31963         (CLD_TRAPPED): Likewise.
31964         (CLD_STOPPED): Likewise.
31965         (CLD_CONTINUED): Likewise.
31966         (POLL_IN): Likewise.
31967         (POLL_OUT): Likewise.
31968         (POLL_MSG): Likewise.
31969         (POLL_ERR): Likewise.
31970         (POLL_PRI): Likewise.
31971         (POLL_HUP): Likewise.
31972         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
31973         (ILL_ILLOPN): Likewise.
31974         (ILL_ILLADR): Likewise.
31975         (ILL_ILLTRP): Likewise.
31976         (ILL_PRVOPC): Likewise.
31977         (ILL_PRVREG): Likewise.
31978         (ILL_COPROC): Likewise.
31979         (ILL_BADSTK): Likewise.
31980         (FPE_INTDIV): Likewise.
31981         (FPE_INTOVF): Likewise.
31982         (FPE_FLTDIV): Likewise.
31983         (FPE_FLTOVF): Likewise.
31984         (FPE_FLTUND): Likewise.
31985         (FPE_FLTRES): Likewise.
31986         (FPE_FLTINV): Likewise.
31987         (FPE_FLTSUB): Likewise.
31988         (SEGV_MAPERR): Likewise.
31989         (SEGV_ACCERR): Likewise.
31990         (BUS_ADRALN): Likewise.
31991         (BUS_ADRERR): Likewise.
31992         (BUS_OBJERR): Likewise.
31993         (BUS_MCEERR_AR): Likewise.
31994         (BUS_MCEERR_AO): Likewise.
31995         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31996         (TRAP_TRACE): Likewise.
31997         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31998         __USE_XOPEN2K8].
31999         (CLD_KILLED): Likewise.
32000         (CLD_DUMPED): Likewise.
32001         (CLD_TRAPPED): Likewise.
32002         (CLD_STOPPED): Likewise.
32003         (CLD_CONTINUED): Likewise.
32004         (POLL_IN): Likewise.
32005         (POLL_OUT): Likewise.
32006         (POLL_MSG): Likewise.
32007         (POLL_ERR): Likewise.
32008         (POLL_PRI): Likewise.
32009         (POLL_HUP): Likewise.
32010         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
32011         (ILL_ILLOPN): Likewise.
32012         (ILL_ILLADR): Likewise.
32013         (ILL_ILLTRP): Likewise.
32014         (ILL_PRVOPC): Likewise.
32015         (ILL_PRVREG): Likewise.
32016         (ILL_COPROC): Likewise.
32017         (ILL_BADSTK): Likewise.
32018         (FPE_INTDIV): Likewise.
32019         (FPE_INTOVF): Likewise.
32020         (FPE_FLTDIV): Likewise.
32021         (FPE_FLTOVF): Likewise.
32022         (FPE_FLTUND): Likewise.
32023         (FPE_FLTRES): Likewise.
32024         (FPE_FLTINV): Likewise.
32025         (FPE_FLTSUB): Likewise.
32026         (SEGV_MAPERR): Likewise.
32027         (SEGV_ACCERR): Likewise.
32028         (BUS_ADRALN): Likewise.
32029         (BUS_ADRERR): Likewise.
32030         (BUS_OBJERR): Likewise.
32031         (BUS_MCEERR_AR): Likewise.
32032         (BUS_MCEERR_AO): Likewise.
32033         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32034         (TRAP_TRACE): Likewise.
32035         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32036         __USE_XOPEN2K8].
32037         (CLD_KILLED): Likewise.
32038         (CLD_DUMPED): Likewise.
32039         (CLD_TRAPPED): Likewise.
32040         (CLD_STOPPED): Likewise.
32041         (CLD_CONTINUED): Likewise.
32042         (POLL_IN): Likewise.
32043         (POLL_OUT): Likewise.
32044         (POLL_MSG): Likewise.
32045         (POLL_ERR): Likewise.
32046         (POLL_PRI): Likewise.
32047         (POLL_HUP): Likewise.
32048         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
32049         (ILL_ILLOPN): Likewise.
32050         (ILL_ILLADR): Likewise.
32051         (ILL_ILLTRP): Likewise.
32052         (ILL_PRVOPC): Likewise.
32053         (ILL_PRVREG): Likewise.
32054         (ILL_COPROC): Likewise.
32055         (ILL_BADSTK): Likewise.
32056         (ILL_DBLFLT): Likewise.
32057         (ILL_HARDWALL): Likewise.
32058         (FPE_INTDIV): Likewise.
32059         (FPE_INTOVF): Likewise.
32060         (FPE_FLTDIV): Likewise.
32061         (FPE_FLTOVF): Likewise.
32062         (FPE_FLTUND): Likewise.
32063         (FPE_FLTRES): Likewise.
32064         (FPE_FLTINV): Likewise.
32065         (FPE_FLTSUB): Likewise.
32066         (SEGV_MAPERR): Likewise.
32067         (SEGV_ACCERR): Likewise.
32068         (BUS_ADRALN): Likewise.
32069         (BUS_ADRERR): Likewise.
32070         (BUS_OBJERR): Likewise.
32071         (BUS_MCEERR_AR): Likewise.
32072         (BUS_MCEERR_AO): Likewise.
32073         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32074         (TRAP_TRACE): Likewise.
32075         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32076         __USE_XOPEN2K8].
32077         (CLD_KILLED): Likewise.
32078         (CLD_DUMPED): Likewise.
32079         (CLD_TRAPPED): Likewise.
32080         (CLD_STOPPED): Likewise.
32081         (CLD_CONTINUED): Likewise.
32082         (POLL_IN): Likewise.
32083         (POLL_OUT): Likewise.
32084         (POLL_MSG): Likewise.
32085         (POLL_ERR): Likewise.
32086         (POLL_PRI): Likewise.
32087         (POLL_HUP): Likewise.
32088         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
32089         (ILL_ILLOPN): Likewise.
32090         (ILL_ILLADR): Likewise.
32091         (ILL_ILLTRP): Likewise.
32092         (ILL_PRVOPC): Likewise.
32093         (ILL_PRVREG): Likewise.
32094         (ILL_COPROC): Likewise.
32095         (ILL_BADSTK): Likewise.
32096         (FPE_INTDIV): Likewise.
32097         (FPE_INTOVF): Likewise.
32098         (FPE_FLTDIV): Likewise.
32099         (FPE_FLTOVF): Likewise.
32100         (FPE_FLTUND): Likewise.
32101         (FPE_FLTRES): Likewise.
32102         (FPE_FLTINV): Likewise.
32103         (FPE_FLTSUB): Likewise.
32104         (SEGV_MAPERR): Likewise.
32105         (SEGV_ACCERR): Likewise.
32106         (BUS_ADRALN): Likewise.
32107         (BUS_ADRERR): Likewise.
32108         (BUS_OBJERR): Likewise.
32109         (BUS_MCEERR_AR): Likewise.
32110         (BUS_MCEERR_AO): Likewise.
32111         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32112         (TRAP_TRACE): Likewise.
32113         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32114         __USE_XOPEN2K8].
32115         (CLD_KILLED): Likewise.
32116         (CLD_DUMPED): Likewise.
32117         (CLD_TRAPPED): Likewise.
32118         (CLD_STOPPED): Likewise.
32119         (CLD_CONTINUED): Likewise.
32120         (POLL_IN): Likewise.
32121         (POLL_OUT): Likewise.
32122         (POLL_MSG): Likewise.
32123         (POLL_ERR): Likewise.
32124         (POLL_PRI): Likewise.
32125         (POLL_HUP): Likewise.
32126         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
32127         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32129         [BZ #16670]
32130         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
32131         before #include of <time.h>.
32132         [!__USE_XOPEN2K] (__need_timespec): Likewise.
32133         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
32134         (test-xfail-UNIX98/sched.h/conform): Likewise.
32136 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32138         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
32139         error absence of trapping exception support.
32140         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32142 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32144         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
32145         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
32146         * timezone/Makefile (testdata): Move definition above include of
32147         Rules.
32148         (test-zones): New variable.
32149         (tests-special): Add zone files.
32150         (build-testdata): Use $(evaluate-test).
32152         * elf/Makefile (tests-special): Rename tests to end with .out.
32153         ($(objpfx)noload-mem): Likewise.
32154         ($(objpfx)tst-leaks1-mem): Likewise.
32155         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
32156         * iconv/Makefile (xtests-special): Change test-iconvconfig to
32157         $(objpfx)test-iconvconfig.out.
32158         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
32159         set -e inside subshell and redirect output to file.
32160         * iconvdata/Makefile (generated): Rename tests to end with .out.
32161         Correct type.
32162         (tests-special): Rename tests to end with .out.
32163         ($(objpfx)mtrace-tst-loading): Likewise.
32164         * intl/Makefile (generated): Likewise.
32165         (tests-special): Likewise.
32166         ($(objpfx)mtrace-tst-gettext): Likewise.
32167         * misc/Makefile (generated): Likewise.
32168         (tests-special): Likewise.
32169         ($(objpfx)tst-error1-mem): Likewise.
32170         * nptl/Makefile (tests-special): Likewise.
32171         ($(objpfx)tst-stack3-mem): Likewise.
32172         (generated): Likewise.
32173         * posix/Makefile (generated): Likewise.
32174         (tests-special): Likewise.
32175         (xtests-special): Likewise.
32176         ($(objpfx)tst-fnmatch-mem): Likewise.
32177         ($(objpfx)bug-regex2-mem): Likewise.
32178         ($(objpfx)bug-regex14-mem): Likewise.
32179         ($(objpfx)bug-regex21-mem): Likewise.
32180         ($(objpfx)bug-regex31-mem): Likewise.
32181         ($(objpfx)tst-vfork3-mem): Likewise.
32182         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32183         ($(objpfx)tst-pcre-mem): Likewise.
32184         ($(objpfx)tst-boost-mem): Likewise.
32185         ($(objpfx)bug-ga2-mem): Likewise.
32186         ($(objpfx)bug-glob2-mem): Likewise.
32187         * resolv/Makefile (generate): Likewise.
32188         (tests-special): Likewise.
32189         (xtests-special): Likewise.
32190         (generated): Likewise.
32191         ($(objpfx)mtrace-tst-leaks): Likewise.
32192         ($(objpfx)mtrace-tst-leaks2): Likewise.
32194         * scripts/merge-test-results.sh: New file.
32195         * Makefile (tests-special-notdir): New variable.
32196         (tests): Run merge-test-results.sh.
32197         (xtests): Likewise.
32198         * Rules (tests-special-notdir): New variable.
32199         (xtests-special-notdir): Likewise.
32200         (tests): Run merge-test-results.sh
32201         (xtests): Likewise.
32203         * Makeconfig (test-xfail-name): New variable.
32204         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
32205         compute variable name for expected failures.
32206         * conform/Makefile (conformtest-headers-data): New variable.
32207         (conformtest-standards): Likewise.
32208         (conformtest-headers-ISO): Likewise.
32209         (conformtest-headers-ISO99): Likewise.
32210         (conformtest-headers-ISO11): Likewise.
32211         (conformtest-headers-POSIX): Likewise.
32212         (conformtest-headers-XPG3): Likewise.
32213         (conformtest-headers-XPG4): Likewise.
32214         (conformtest-headers-UNIX98): Likewise.
32215         (conformtest-headers-XOPEN2K): Likewise.
32216         (conformtest-headers-POSIX2008): Likewise.
32217         (conformtest-headers-XOPEN2K8): Likewise.
32218         (conformtest-header-list-base): Likewise.
32219         (conformtest-header-list-tests): Likewise.
32220         (conformtest-header-base): Likewise.
32221         (conformtest-header-tests): Likewise.
32222         (tests-special): Add $(conformtest-header-list-tests).  If
32223         [$(fast-check) && !$(cross-compiling)], add
32224         $(conformtest-header-tests) instead of
32225         $(objpfx)run-conformtest.out.
32226         (generated): Add $(conformtest-header-list-base).  If
32227         [$(fast-check) && !$(cross-compiling)], add
32228         $(conformtest-header-base).  Remove previous setting.
32229         ($(conformtest-header-list-tests)): New target.
32230         (test-xfail-run-conformtest): Remove variable.
32231         ($(objpfx)run-conformtest.out): Remove target.
32232         (test-xfail-ISO11/complex.h/conform): New variable.
32233         (test-xfail-ISO11/stdalign.h/conform): Likewise.
32234         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
32235         (test-xfail-XPG3/varargs.h/conform): Likewise.
32236         (test-xfail-XPG4/varargs.h/conform): Likewise.
32237         (test-xfail-UNIX98/varargs.h/conform): Likewise.
32238         (test-xfail-XPG4/ndbm.h/conform): Likewise.
32239         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
32240         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
32241         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
32242         (test-xfail-XPG3/fcntl.h/conform): Likewise.
32243         (test-xfail-XPG3/ftw.h/conform): Likewise.
32244         (test-xfail-XPG3/grp.h/conform): Likewise.
32245         (test-xfail-XPG3/langinfo.h/conform): Likewise.
32246         (test-xfail-XPG3/limits.h/conform): Likewise.
32247         (test-xfail-XPG3/pwd.h/conform): Likewise.
32248         (test-xfail-XPG3/search.h/conform): Likewise.
32249         (test-xfail-XPG3/signal.h/conform): Likewise.
32250         (test-xfail-XPG3/stdio.h/conform): Likewise.
32251         (test-xfail-XPG3/stdlib.h/conform): Likewise.
32252         (test-xfail-XPG3/string.h/conform): Likewise.
32253         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
32254         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
32255         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32256         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32257         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
32258         (test-xfail-XPG3/sys/types.h/conform): Likewise.
32259         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
32260         (test-xfail-XPG3/termios.h/conform): Likewise.
32261         (test-xfail-XPG3/time.h/conform): Likewise.
32262         (test-xfail-XPG3/unistd.h/conform): Likewise.
32263         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
32264         (test-xfail-XPG4/fcntl.h/conform): Likewise.
32265         (test-xfail-XPG4/langinfo.h/conform): Likewise.
32266         (test-xfail-XPG4/netdb.h/conform): Likewise.
32267         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
32268         (test-xfail-XPG4/signal.h/conform): Likewise.
32269         (test-xfail-XPG4/stdio.h/conform): Likewise.
32270         (test-xfail-XPG4/stdlib.h/conform): Likewise.
32271         (test-xfail-XPG4/stropts.h/conform): Likewise.
32272         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32273         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32274         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32275         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32276         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32277         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
32278         (test-xfail-XPG4/sys/time.h/conform): Likewise.
32279         (test-xfail-XPG4/sys/types.h/conform): Likewise.
32280         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
32281         (test-xfail-XPG4/termios.h/conform): Likewise.
32282         (test-xfail-XPG4/ucontext.h/conform): Likewise.
32283         (test-xfail-XPG4/unistd.h/conform): Likewise.
32284         (test-xfail-XPG4/utmpx.h/conform): Likewise.
32285         (test-xfail-POSIX/sched.h/conform): Likewise.
32286         (test-xfail-POSIX/signal.h/conform): Likewise.
32287         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32288         (test-xfail-POSIX/tar.h/conform): Likewise.
32289         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
32290         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
32291         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
32292         (test-xfail-UNIX98/netdb.h/conform): Likewise.
32293         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
32294         (test-xfail-UNIX98/sched.h/conform): Likewise.
32295         (test-xfail-UNIX98/signal.h/conform): Likewise.
32296         (test-xfail-UNIX98/stdio.h/conform): Likewise.
32297         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
32298         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32299         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32300         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32301         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32302         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32303         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32304         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
32305         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32306         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32307         (test-xfail-UNIX98/unistd.h/conform): Likewise.
32308         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
32309         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
32310         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
32311         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
32312         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
32313         (test-xfail-XOPEN2K/math.h/conform): Likewise.
32314         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
32315         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32316         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32317         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
32318         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32319         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
32320         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
32321         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32322         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32323         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32324         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32325         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32326         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32327         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32328         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
32329         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
32330         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32331         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32332         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
32333         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32334         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
32335         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
32336         (test-xfail-POSIX2008/signal.h/conform): Likewise.
32337         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32338         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
32339         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32340         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32341         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32342         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
32343         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
32344         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32345         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32346         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32347         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
32348         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32349         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32350         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32351         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
32352         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32353         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32354         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32355         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32356         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32357         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
32358         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
32359         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
32360         (conformtest-cc-flags): Likewise.
32361         ($(conformtest-header-tests): New target.
32362         * conform/check-header-lists.sh: New file.
32363         * conform/run-conformtest.sh: Remove.
32365         * conform/conformtest.pl: Allow ' and \ in values given for
32366         constants.
32367         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
32368         inclusion.
32369         [POSIX] (sys/types.h): Likewise.
32370         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
32371         inclusion.
32372         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
32373         inclusion.
32374         * conform/data/signal.h-data (SIGIO): Remove expectation.
32375         [XPG3] (SIGBUS): Do not expect.
32376         [POSIX || XPG3] (SIGPOLL): Likewise.
32377         [POSIX || XPG3] (SIGPROF): Likewise.
32378         [POSIX || XPG3] (SIGSYS): Likewise.
32379         [XPG3] (SIGTRAP): Likewise.
32380         [POSIX || XPG3] (SIGURG): Likewise.
32381         [POSIX || XPG3] (SIGVTALRM): Likewise.
32382         [POSIX || XPG3] (SIGXCPU): Likewise.
32383         [POSIX || XPG3] (SIGXFSZ): Likewise.
32384         [POSIX] (SA_SIGINFO): Expect.
32385         [XPG3] (siginfo_t): Do not expect type or contents.
32386         [POSIX] (si_pid): Do not expect element.
32387         [POSIX] (si_uid): Likewise.
32388         [POSIX] (si_addr): Likewise.
32389         [POSIX] (si_status): Likewise.
32390         [POSIX] (si_band): Likewise.
32391         [XPG4] (si_value): Likewise.
32392         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
32393         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
32394         [POSIX || XPG3] (ILL_ILLADR): Likewise.
32395         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
32396         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
32397         [POSIX || XPG3] (ILL_PRVREG): Likewise.
32398         [POSIX || XPG3] (ILL_COPROC): Likewise.
32399         [POSIX || XPG3] (ILL_BADSTK): Likewise.
32400         [POSIX || XPG3] (FPE_INTDIV): Likewise.
32401         [POSIX || XPG3] (FPE_INTOVF): Likewise.
32402         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
32403         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
32404         [POSIX || XPG3] (FPE_FLTUND): Likewise.
32405         [POSIX || XPG3] (FPE_FLTRES): Likewise.
32406         [POSIX || XPG3] (FPE_FLTINV): Likewise.
32407         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
32408         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
32409         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
32410         [POSIX || XPG3] (BUS_ADRALN): Likewise.
32411         [POSIX || XPG3] (BUS_ADRERR): Likewise.
32412         [POSIX || XPG3] (BUS_OBJERR): Likewise.
32413         [POSIX || XPG3] (CLD_EXITED): Likewise.
32414         [POSIX || XPG3] (CLD_KILLED): Likewise.
32415         [POSIX || XPG3] (CLD_DUMPED): Likewise.
32416         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
32417         [POSIX || XPG3] (CLD_STOPPED): Likewise.
32418         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
32419         [POSIX || XPG3] (POLL_IN): Likewise.
32420         [POSIX || XPG3] (POLL_OUT): Likewise.
32421         [POSIX || XPG3] (POLL_MSG): Likewise.
32422         [POSIX || XPG3] (POLL_ERR): Likewise.
32423         [POSIX || XPG3] (POLL_PRI): Likewise.
32424         [POSIX || XPG3] (POLL_HUP): Likewise.
32425         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
32426         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
32427         (SIG*): Do not allow.
32428         [XPG3] (si_*): Likewise.
32429         [XPG3] (SI_*): Likewise.
32430         [XPG3 || XPG4] (sigev_*): Likewise.
32431         [XPG3 || XPG4] (SIGEV_*): Likewise.
32432         [XPG3 || XPG4] (sival_*): Likewise.
32433         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
32434         [POSIX || XPG3] (BUS_*): Likewise.
32435         [POSIX || XPG3] (CLD_*): Likewise.
32436         [POSIX || XPG3] (FPE_*): Likewise.
32437         [POSIX || XPG3] (ILL_*): Likewise.
32438         [POSIX || XPG3] (POLL_*): Likewise.
32439         [POSIX || XPG3] (SEGV_*): Likewise.
32440         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
32441         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
32442         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
32443         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
32444         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
32445         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
32446         Specify type and value.
32447         (TVERSLEN): Likewise.
32448         (REGTYPE): Likewise.
32449         (AREGTYPE): Likewise.
32450         (LNKTYPE): Likewise.
32451         (SYMTYPE): Likewise.
32452         (CHRTYPE): Likewise.
32453         (BLKTYPE): Likewise.
32454         (DIRTYPE): Likewise.
32455         (FIFOTYPE): Likewise.
32456         (CONTTYPE): Likewise.
32457         (TSUID): Likewise.
32458         (TSGID): Likewise.
32459         (TSVTX): Likewise.
32460         (TUREAD): Likewise.
32461         (TUWRITE): Likewise.
32462         (TUEXEC): Likewise.
32463         (TGREAD): Likewise.
32464         (TGWRITE): Likewise.
32465         (TGEXEC): Likewise.
32466         (TOREAD): Likewise.
32467         (TOWRITE): Likewise.
32468         (TOEXEC): Likewise.
32469         [POSIX] (TSVTX): Expect constant.
32471 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
32473         * Makefile (tests): Change dependencies to ....
32474         (tests-special): ... additions to this variable.
32475         (tests): Depend on $(tests-special).
32476         * Makerules (check-abi-list): New variable.
32477         (check-abi): Depend on $(check-abi-list).
32478         [$(subdir) = elf] (tests-special): Add
32479         $(objpfx)check-abi-libc.out.
32480         [$(build-shared) = yes && subdir] (tests-special): Add
32481         $(check-abi-list).
32482         [$(build-shared) = yes && subdir] (tests): Do not depend on
32483         check-abi.
32484         * Rules (tests): Depend on $(tests-special).
32485         (xtests): Depend on $(xtests-special).
32486         * catgets/Makefile (tests): Change dependencies to ....
32487         (tests-special): ... additions to this variable.
32488         * conform/Makefile (tests): Change dependencies to ....
32489         (tests-special): ... additions to this variable.
32490         * elf/Makefile (tests): Change dependencies to ....
32491         (tests-special): ... additions to this variable.
32492         * grp/Makefile (tests): Change dependencies to ....
32493         (tests-special): ... additions to this variable.
32494         * iconv/Makefile (xtests): Change dependencies to ....
32495         (xtests-special): ... additions to this variable.
32496         * iconvdata/Makefile (tests): Change dependencies to ....
32497         (tests-special): ... additions to this variable.
32498         * intl/Makefile (tests): Change dependencies to ....
32499         (tests-special): ... additions to this variable.  Also add
32500         $(objpfx)tst-gettext.out.
32501         * io/Makefile (tests): Change dependencies to ....
32502         (tests-special): ... additions to this variable.
32503         * libio/Makefile (tests): Change dependencies to ....
32504         (tests-special): ... additions to this variable.
32505         * malloc/Makefile (tests): Change dependencies to ....
32506         (tests-special): ... additions to this variable.
32507         * misc/Makefile (tests): Change dependencies to ....
32508         (tests-special): ... additions to this variable.
32509         * nptl/Makefile (tests): Change dependencies to ....
32510         (tests-special): ... additions to this variable.
32511         * nptl_db/Makefile (tests): Change dependencies to ....
32512         (tests-special): ... additions to this variable.
32513         * posix/Makefile (tests): Change dependencies to ....
32514         (tests-special): ... additions to this variable.
32515         (xtests): Change dependencies to ....
32516         (xtests-special): ... additions to this variable.
32517         * resolv/Makefile (tests): Change dependencies to ....
32518         (tests-special): ... additions to this variable.
32519         (xtests): Change dependencies to ....
32520         (xtests-special): ... additions to this variable.
32521         * stdio-common/Makefile (tests): Change dependencies to ....
32522         (tests-special): ... additions to this variable.
32523         (do-tst-unbputc): Remove target.
32524         (do-tst-printf): Likewise.
32525         * stdlib/Makefile (tests): Change dependencies to ....
32526         (tests-special): ... additions to this variable.
32527         * string/Makefile (tests): Change dependencies to ....
32528         (tests-special): ... additions to this variable.
32529         * sysdeps/x86/Makefile (tests): Change dependencies to ....
32530         (tests-special): ... additions to this variable.
32532         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
32533         whole file.
32534         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
32535         whole file.
32536         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
32537         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
32539         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
32540         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
32541         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
32542         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
32543         * conform/data/libgen.h-data [XPG3]: Likewise.
32544         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
32545         * conform/data/ndbm.h-data [XPG3]: Likewise.
32546         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32547         * conform/data/netdb.h-data [XPG3]: Likewise.
32548         * conform/data/netinet/in.h-data [XPG3]: Likewise.
32549         * conform/data/poll.h-data [XPG3]: Likewise.
32550         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32551         * conform/data/strings.h-data [XPG3]: Likewise.
32552         * conform/data/stropts.h-data [XPG3]: Likewise.
32553         * conform/data/sys/mman.h-data [XPG3]: Likewise.
32554         * conform/data/sys/resource.h-data [XPG3]: Likewise.
32555         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
32556         Likewise.
32557         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
32558         * conform/data/sys/time.h-data [XPG3]: Likewise.
32559         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
32560         * conform/data/sys/uio.h-data [XPG3]: Likewise.
32561         * conform/data/sys/un.h-data [XPG3]: Likewise.
32562         * conform/data/syslog.h-data [XPG3]: Likewise.
32563         * conform/data/ucontext.h-data [XPG3]: Likewise.
32564         * conform/data/utmpx.h-data [XPG3]: Likewise.
32565         * conform/data/varargs.h-data [UNIX98]: Enable file.
32567         * manual/Makefile (INSTALL_INFO): Remove variable setting.
32569         * math/libm-test.inc (struct test_f_f_data): Move expected results
32570         into structure for each rounding mode.
32571         (struct test_ff_f_data): Likewise.
32572         (struct test_ff_f_data_nexttoward): Likewise.
32573         (struct test_fi_f_data): Likewise.
32574         (struct test_fl_f_data): Likewise.
32575         (struct test_if_f_data): Likewise.
32576         (struct test_fff_f_data): Likewise.
32577         (struct test_c_f_data): Likewise.
32578         (struct test_f_f1_data): Likewise.
32579         (struct test_fF_f1_data): Likewise.
32580         (struct test_ffI_f1_data): Likewise.
32581         (struct test_c_c_data): Likewise.
32582         (struct test_cc_c_data): Likewise.
32583         (struct test_f_i_data): Likewise.
32584         (struct test_ff_i_data): Likewise.
32585         (struct test_f_l_data): Likewise.
32586         (struct test_f_L_data): Likewise.
32587         (struct test_fFF_11_data): Likewise.
32588         (RM_): New macro.
32589         (RM_FE_DOWNWARD): Likewise.
32590         (RM_FE_TONEAREST): Likewise.
32591         (RM_FE_TOWARDZERO): Likewise.
32592         (RM_FE_UPWARD): Likewise.
32593         (RUN_TEST_LOOP_f_f): Update references to expected results.
32594         (RUN_TEST_LOOP_2_f): Likewise.
32595         (RUN_TEST_LOOP_fff_f): Likewise.
32596         (RUN_TEST_LOOP_c_f): Likewise.
32597         (RUN_TEST_LOOP_f_f1): Likewise.
32598         (RUN_TEST_LOOP_fF_f1): Likewise.
32599         (RUN_TEST_LOOP_fI_f1): Likewise.
32600         (RUN_TEST_LOOP_ffI_f1): Likewise.
32601         (RUN_TEST_LOOP_c_c): Likewise.
32602         (RUN_TEST_LOOP_cc_c): Likewise.
32603         (RUN_TEST_LOOP_f_i): Likewise.
32604         (RUN_TEST_LOOP_f_i_tg): Likewise.
32605         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32606         (RUN_TEST_LOOP_f_b): Likewise.
32607         (RUN_TEST_LOOP_f_b_tg): Likewise.
32608         (RUN_TEST_LOOP_f_l): Likewise.
32609         (RUN_TEST_LOOP_f_L): Likewise.
32610         (RUN_TEST_LOOP_fFF_11): Likewise.
32611         * math/gen-libm-test.pl (parse_args): Output four copies of
32612         expected results for each test.
32614         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32615         (__ASSUME_UTIMES): Remove.
32616         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32617         (__ASSUME_UTIMES): Likewise.
32619         * math/gen-auto-libm-tests.c: Update comment on output format.
32620         (output_for_one_input_case): Generate before-rounding and
32621         after-rounding information as conditions on output flags not
32622         floating-point format.
32623         * math/auto-libm-test-out: Regenerated.
32624         * math/gen-libm-test.pl (cond_value): New function.
32625         (or_cond_value): Use cond_value.
32626         (generate_testfile): Handle conditional exceptions.
32628 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
32630         * math/libm-test.inc (max_valid_error): New variable.
32631         (init_max_error): Take new argument specifying whether function
32632         results are exactly determined.  Set max_valid_error and bound
32633         other variables for errors based on this argument.
32634         (set_max_error): Do not record results above max_valid_error.
32635         (check_float_internal): Only accept errors of up to 0.5ulps if
32636         also at most max_valid_error.
32637         (START): Take new argument EXACT and pass it to init_max_error.
32638         (acos_test): Update call to START.
32639         (acos_test_tonearest): Likewise.
32640         (acos_test_towardzero): Likewise.
32641         (acos_test_downward): Likewise.
32642         (acos_test_upward): Likewise.
32643         (acosh_test): Likewise.
32644         (asin_test): Likewise.
32645         (asin_test_tonearest): Likewise.
32646         (asin_test_towardzero): Likewise.
32647         (asin_test_downward): Likewise.
32648         (asin_test_upward): Likewise.
32649         (asinh_test): Likewise.
32650         (atan_test): Likewise.
32651         (atanh_test): Likewise.
32652         (atan2_test): Likewise.
32653         (cabs_test): Likewise.
32654         (cacos_test): Likewise.
32655         (cacosh_test): Likewise.
32656         (carg_test): Likewise.
32657         (casin_test): Likewise.
32658         (casinh_test): Likewise.
32659         (catan_test): Likewise.
32660         (catanh_test): Likewise.
32661         (cbrt_test): Likewise.
32662         (ccos_test): Likewise.
32663         (ccosh_test): Likewise.
32664         (ceil_test): Likewise.
32665         (cexp_test): Likewise.
32666         (cimag_test): Likewise.
32667         (clog_test): Likewise.
32668         (clog10_test): Likewise.
32669         (conj_test): Likewise.
32670         (copysign_test): Likewise.
32671         (cos_test): Likewise.
32672         (cos_test_tonearest): Likewise.
32673         (cos_test_towardzero): Likewise.
32674         (cos_test_downward): Likewise.
32675         (cos_test_upward): Likewise.
32676         (cosh_test): Likewise.
32677         (cosh_test_tonearest): Likewise.
32678         (cosh_test_towardzero): Likewise.
32679         (cosh_test_downward): Likewise.
32680         (cosh_test_upward): Likewise.
32681         (cpow_test): Likewise.
32682         (cproj_test): Likewise.
32683         (creal_test): Likewise.
32684         (csin_test): Likewise.
32685         (csinh_test): Likewise.
32686         (csqrt_test): Likewise.
32687         (ctan_test): Likewise.
32688         (ctan_test_tonearest): Likewise.
32689         (ctan_test_towardzero): Likewise.
32690         (ctan_test_downward): Likewise.
32691         (ctan_test_upward): Likewise.
32692         (ctanh_test): Likewise.
32693         (ctanh_test_tonearest): Likewise.
32694         (ctanh_test_towardzero): Likewise.
32695         (ctanh_test_downward): Likewise.
32696         (ctanh_test_upward): Likewise.
32697         (erf_test): Likewise.
32698         (erfc_test): Likewise.
32699         (exp_test): Likewise.
32700         (exp_test_tonearest): Likewise.
32701         (exp_test_towardzero): Likewise.
32702         (exp_test_downward): Likewise.
32703         (exp_test_upward): Likewise.
32704         (exp10_test): Likewise.
32705         (exp10_test_tonearest): Likewise.
32706         (exp10_test_towardzero): Likewise.
32707         (exp10_test_downward): Likewise.
32708         (exp10_test_upward): Likewise.
32709         (pow10_test): Likewise.
32710         (exp2_test): Likewise.
32711         (expm1_test): Likewise.
32712         (expm1_test_tonearest): Likewise.
32713         (expm1_test_towardzero): Likewise.
32714         (expm1_test_downward): Likewise.
32715         (expm1_test_upward): Likewise.
32716         (fabs_test): Likewise.
32717         (fdim_test): Likewise.
32718         (floor_test): Likewise.
32719         (fma_test): Likewise.
32720         (fma_test_towardzero): Likewise.
32721         (fma_test_downward): Likewise.
32722         (fma_test_upward): Likewise.
32723         (fmax_test): Likewise.
32724         (fmin_test): Likewise.
32725         (fmod_test): Likewise.
32726         (fpclassify_test): Likewise.
32727         (frexp_test): Likewise.
32728         (hypot_test): Likewise.
32729         (ilogb_test): Likewise.
32730         (isfinite_test): Likewise.
32731         (finite_test): Likewise.
32732         (isgreater_test): Likewise.
32733         (isgreaterequal_test): Likewise.
32734         (isinf_test): Likewise.
32735         (isless_test): Likewise.
32736         (islessequal_test): Likewise.
32737         (islessgreater_test): Likewise.
32738         (isnan_test): Likewise.
32739         (isnormal_test): Likewise.
32740         (issignaling_test): Likewise.
32741         (isunordered_test): Likewise.
32742         (j0_test): Likewise.
32743         (j1_test): Likewise.
32744         (jn_test): Likewise.
32745         (ldexp_test): Likewise.
32746         (lgamma_test): Likewise.
32747         (gamma_test): Likewise.
32748         (lrint_test): Likewise.
32749         (lrint_test_tonearest): Likewise.
32750         (lrint_test_towardzero): Likewise.
32751         (lrint_test_downward): Likewise.
32752         (lrint_test_upward): Likewise.
32753         (llrint_test): Likewise.
32754         (llrint_test_tonearest): Likewise.
32755         (llrint_test_towardzero): Likewise.
32756         (llrint_test_downward): Likewise.
32757         (llrint_test_upward): Likewise.
32758         (log_test): Likewise.
32759         (log10_test): Likewise.
32760         (log1p_test): Likewise.
32761         (log2_test): Likewise.
32762         (logb_test): Likewise.
32763         (logb_test_downward): Likewise.
32764         (lround_test): Likewise.
32765         (llround_test): Likewise.
32766         (modf_test): Likewise.
32767         (nearbyint_test): Likewise.
32768         (nextafter_test): Likewise.
32769         (nexttoward_test): Likewise.
32770         (pow_test): Likewise.
32771         (pow_test_tonearest): Likewise.
32772         (pow_test_towardzero): Likewise.
32773         (pow_test_downward): Likewise.
32774         (pow_test_upward): Likewise.
32775         (remainder_test): Likewise.
32776         (drem_test): Likewise.
32777         (remainder_test_tonearest): Likewise.
32778         (drem_test_tonearest): Likewise.
32779         (remainder_test_towardzero): Likewise.
32780         (drem_test_towardzero): Likewise.
32781         (remainder_test_downward): Likewise.
32782         (drem_test_downward): Likewise.
32783         (remainder_test_upward): Likewise.
32784         (drem_test_upward): Likewise.
32785         (remquo_test): Likewise.
32786         (rint_test): Likewise.
32787         (rint_test_tonearest): Likewise.
32788         (rint_test_towardzero): Likewise.
32789         (rint_test_downward): Likewise.
32790         (rint_test_upward): Likewise.
32791         (round_test): Likewise.
32792         (scalb_test): Likewise.
32793         (scalbn_test): Likewise.
32794         (scalbln_test): Likewise.
32795         (signbit_test): Likewise.
32796         (sin_test): Likewise.
32797         (sin_test_tonearest): Likewise.
32798         (sin_test_towardzero): Likewise.
32799         (sin_test_downward): Likewise.
32800         (sin_test_upward): Likewise.
32801         (sincos_test): Likewise.
32802         (sinh_test): Likewise.
32803         (sinh_test_tonearest): Likewise.
32804         (sinh_test_towardzero): Likewise.
32805         (sinh_test_downward): Likewise.
32806         (sinh_test_upward): Likewise.
32807         (sqrt_test): Likewise.
32808         (sqrt_test_tonearest): Likewise.
32809         (sqrt_test_towardzero): Likewise.
32810         (sqrt_test_downward): Likewise.
32811         (sqrt_test_upward): Likewise.
32812         (tan_test): Likewise.
32813         (tan_test_tonearest): Likewise.
32814         (tan_test_towardzero): Likewise.
32815         (tan_test_downward): Likewise.
32816         (tan_test_upward): Likewise.
32817         (tanh_test): Likewise.
32818         (tgamma_test): Likewise.
32819         (trunc_test): Likewise.
32820         (y0_test): Likewise.
32821         (y1_test): Likewise.
32822         (yn_test): Likewise.
32823         (significand_test): Likewise.
32825         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
32826         individual tests in comment.
32827         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
32828         (prev_max_error): New variable.
32829         (prev_real_max_error): Likewise.
32830         (prev_imag_max_error): Likewise.
32831         (compare_ulp_data): Don't refer to test names in comment.
32832         (find_test_ulps): Remove function.
32833         (find_function_ulps): Likewise.
32834         (find_complex_function_ulps): Likewise.
32835         (init_max_error): Take function name as argument.  Look up ulps
32836         for that function.
32837         (print_ulps): Remove function.
32838         (print_max_error): Use prev_max_error instead of calling
32839         find_function_ulps.
32840         (print_complex_max_error): Use prev_real_max_error and
32841         prev_imag_max_error instead of calling find_complex_function_ulps.
32842         (check_float_internal): Take max_ulp parameter instead of calling
32843         find_test_ulps.  Don't call print_ulps.
32844         (check_float): Update call to check_float_internal.
32845         (check_complex): Update calls to check_float_internal.
32846         (START): Pass argument to init_max_error.
32847         * math/gen-libm-test.pl (%results): Don't include "kind"
32848         information.
32849         (parse_ulps): Don't handle ulps of individual tests.
32850         (print_ulps_file): Likewise.
32851         (output_ulps): Likewise.
32852         * math/README.libm-test: Update.
32853         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32854         individual tests.
32855         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
32856         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32857         * sysdeps/arm/libm-test-ulps: Likewise.
32858         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32859         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
32860         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
32861         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
32862         * sysdeps/microblaze/libm-test-ulps: Likewise.
32863         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32864         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32865         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32866         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32867         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32868         * sysdeps/sh/libm-test-ulps: Likewise.
32869         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32870         * sysdeps/tile/libm-test-ulps: Likewise.
32871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32873 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
32875         * math/libm-test.inc (print_complex_max_error): Check separately
32876         whether real and imaginary errors are within allowed range and
32877         pass 0 to print_complex_function_ulps instead of value within
32878         allowed range.
32880 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32882         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
32883         formatting.
32884         (get_handles_fopen): Likewise.
32885         (do_write_test): Likewise.
32887         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
32889         * libio/fileops.c (do_ftell): Use cached offset when
32890         available.
32891         * libio/iofwide.c (do_ftell_wide): Likewise.
32892         * libio/iofdopen.c (_IO_new_fdopen): Don't use
32893         _IO_file_attach.
32894         * libio/wfileops.c (_IO_fwide): Don't cache offset.
32896         [BZ #16532]
32897         * libio/libioP.h (get_file_offset): New function.
32898         * libio/fileops.c (get_file_offset): Likewise.
32899         (do_ftell): Likewise.
32900         (_IO_new_file_seekoff): Split out ftell logic.
32901         * libio/wfileops.c (do_ftell_wide): Likewise.
32902         (_IO_wfile_seekoff): Split out ftell logic.
32903         * libio/tst-ftell-active-handler.c: New test case.
32904         * libio/Makefile (tests): Add it.
32906 2014-03-03  Roland McGrath  <roland@hack.frob.com>
32908         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
32909         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
32911 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32913         [BZ #16639]
32914         * nscd/connections.c (nscd_init): Call do_exit.
32915         (start_threads): Call do_exit and notify_parent.
32916         (begin_drop_privileges): Call do_exit.
32917         (finish_drop_privileges): Likewise.
32918         * nscd/selinux.c (preserve_capabilities): Likewise.
32919         (install_real_capabilities): Likewise.
32920         (nscd_selinux_enabled): Likewise.
32921         (avc_create_thread): Likewise.
32922         (avc_alloc_lock): Likewise.
32923         (nscd_avc_init): Likewise.
32924         * nscd/nscd.c (parent_fd): New static variable.
32925         (main): Create a pipe between parent and child processes.
32926         Skip closing parent_fd.
32927         (monitor_child): New function.
32928         (do_exit): Likewise.
32929         (notify_parent): Likewise.
32930         * nscd/nscd.h (notify_parent): Likewise.
32931         (do_exit): Likewise.
32933 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
32935         * malloc/malloc.c (__libc_calloc): Revert last change.
32937 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32941 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32943         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
32944         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
32945         implementation.
32946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32947         (__libc_ifunc_impl_list): Likewise.
32948         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
32949         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
32950         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
32951         * string/strrchr.c: Define STRRCHR.
32953 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
32955         * benchtest/bench-strtok.c (simple_strtok): Delete.
32956         (strtok_string): Use as benchmark.
32957         * string/strtok (STRTOK): New macro.
32959 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
32961         * manual/threads.texi: Add header and standard comments to all
32962         functions.
32964         * elf/dl-lookup.c (check_match): New function.
32965         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
32966         (do_lookup_x): Remove nested function check_match. Use non-nested
32967         function check_match.
32969 2014-02-28  Roland McGrath  <roland@hack.frob.com>
32971         * csu/Makefile (generated, before-compile): Use += rather than =.
32972         * catgets/Makefile (generated, generated-dirs): Likewise.
32973         * debug/Makefile (generated): Likewise.
32974         * dlfcn/Makefile (generated): Likewise.
32975         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
32976         * iconvdata/Makefile (before-compile, generated): Likewise.
32977         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
32978         * libio/Makefile (generated): Likewise.
32979         * malloc/Makefile (generated): Likewise.
32980         * manual/Makefile (generated, generated-dirs): Likewise.
32981         * misc/Makefile (generated): Likewise.
32982         * posix/Makefile (generated): Likewise.
32983         * resolv/Makefile (generated): Likewise.
32984         * sunrpc/Makefile (generated, generated-dirs): Likewise.
32985         * timezone/Makefile (generated, generated-dirs): Likewise.
32987         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
32989 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32991         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32992         power8 implementation.
32993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
32994         file: POWER8 llround ifunc implementation.
32995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
32996         (__lllround): Add POWER8 implementation.
32997         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
32998         POWER8 llround implementation.
33000         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
33001         power8 implementation.
33002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
33003         file: POWER8 llrint ifunc implementation.
33004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
33005         Add POWER8 implementation.
33006         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
33007         POWER8 llrint implementation.
33009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
33010         power8 implementation.
33011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
33012         file: POWER8 finite ifunc implementation.
33013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
33014         Add POWER8 implementation.
33015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
33016         Likewise.
33017         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
33018         POWER8 finite implementation.
33019         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
33021         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
33022         power8 implementation.
33023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
33024         file: POWER8 isinf ifunc implementation.
33025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
33026         POWER8 implementation.
33027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
33028         Likewise.
33029         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
33030         isinf implementation.
33031         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
33033         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
33034         (INIT_ARCH): Add hwcap2 initialization.
33035         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33036         power8 implementation.
33037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
33038         file: POWER8 isnan ifunc implementation.
33039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
33040         POWER8 implementation.
33041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
33042         Likewise.
33043         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
33044         isnan implementation.
33045         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
33047 2014-02-27  Joey Ye  <joey.ye@arm.com>
33049         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33050         (_FP_NANFRAC_Q): Set to zero.
33052 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33054         [BZ #16623]
33055         * math/auto-libm-test-in: New test inputs.
33056         * math/auto-libm-test-out: Regenerate.
33057         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
33058         and DA.
33059         (__cos): Likewise.
33060         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33062 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
33064         * scripts/evaluate-test.sh: Take new argument indicating whether
33065         failure is expected.
33066         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
33067         indicating whether failure is expected.
33068         * conform/Makefile (test-xfail-run-conformtest): New variable.
33069         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
33070         level.
33071         * posix/Makefile (test-xfail-annexc): New variable.
33072         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
33074 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
33076         * argp/Makefile: Include Makeconfig immediately after defining
33077         subdir.
33078         * assert/Makefile: Likewise.
33079         * benchtests/Makefile: Likewise.
33080         * catgets/Makefile: Likewise.
33081         * conform/Makefile: Likewise.
33082         * crypt/Makefile: Likewise.
33083         * csu/Makefile: Likewise.
33084         (all): Remove target.
33085         * ctype/Makefile: Include Makeconfig immediately after defining
33086         subdir.
33087         * debug/Makefile: Likewise.
33088         * dirent/Makefile: Likewise.
33089         * dlfcn/Makefile: Likewise.
33090         * gmon/Makefile: Likewise.
33091         * gnulib/Makefile: Likewise.
33092         * grp/Makefile: Likewise.
33093         * gshadow/Makefile: Likewise.
33094         * hesiod/Makefile: Likewise.
33095         * hurd/Makefile: Likewise.
33096         (all): Remove target.
33097         * iconvdata/Makefile: Include Makeconfig immediately after
33098         defining subdir.
33099         * inet/Makefile: Likewise.
33100         * intl/Makefile: Likewise.
33101         * io/Makefile: Likewise.
33102         * libio/Makefile: Likewise.
33103         (all): Remove target.
33104         * locale/Makefile: Include Makeconfig immediately after defining
33105         subdir.
33106         * login/Makefile: Likewise.
33107         * mach/Makefile: Likewise.
33108         (all): Remove target.
33109         * malloc/Makefile: Include Makeconfig immediately after defining
33110         subdir.
33111         (all): Remove target.
33112         * manual/Makefile: Include Makeconfig immediately after defining
33113         subdir.
33114         * math/Makefile: Likewise.
33115         * misc/Makefile: Likewise.
33116         * nis/Makefile: Likewise.
33117         * nss/Makefile: Likewise.
33118         * po/Makefile: Likewise.
33119         (all): Remove target.
33120         * posix/Makefile: Include Makeconfig immediately after defining
33121         subdir.
33122         * pwd/Makefile: Likewise.
33123         * resolv/Makefile: Likewise.
33124         * resource/Makefile: Likewise.
33125         * rt/Makefile: Likewise.
33126         * setjmp/Makefile: Likewise.
33127         * shadow/Makefile: Likewise.
33128         * signal/Makefile: Likewise.
33129         * socket/Makefile: Likewise.
33130         * soft-fp/Makefile: Likewise.
33131         * stdio-common/Makefile: Likewise.
33132         * stdlib/Makefile: Likewise.
33133         * streams/Makefile: Likewise.
33134         * string/Makefile: Likewise.
33135         * sunrpc/Makefile: Likewise.
33136         (all): Remove target.
33137         * sysvipc/Makefile: Include Makeconfig immediately after defining
33138         subdir.
33139         * termios/Makefile: Likewise.
33140         * time/Makefile: Likewise.
33141         * timezone/Makefile: Likewise.
33142         (all): Remove target.
33143         * wcsmbs/Makefile: Include Makeconfig immediately after defining
33144         subdir.
33145         * wctype/Makefile: Likewise.
33147 2014-02-26  Steve Ellcey  <sellcey@mips.com>
33149         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
33150         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
33151         (libc_feholdexcept_setround_mips): Ditto.
33152         (libc_feholdsetround): New.
33153         (libc_feholdsetroundf): New.
33154         (libc_feholdsetroundl): New.
33155         (libc_feupdateenv_test_mips): New.
33156         (libc_feupdateenv_test): New.
33157         (libc_feupdateenv_testf): New.
33158         (libc_feupdateenv_testl): New.
33159         (libc_feresetround): New.
33160         (libc_feresetroundf): New.
33161         (libc_feresetroundl): New.
33162         (libc_fetestexcept_mips): New.
33163         (libc_fetestexcept): New.
33164         (libc_fetestexceptf): New.
33165         (libc_fetestexceptl): New.
33166         (HAVE_RM_CTX): New.
33167         (libc_feholdexcept_setround_mips_ctx): New.
33168         (libc_feholdexcept_setround_ctx): New.
33169         (libc_feholdexcept_setroundf_ctx): New.
33170         (libc_feholdexcept_setroundl_ctx): New.
33171         (libc_fesetenv_mips_ctx): New.
33172         (libc_fesetenv_ctx): New.
33173         (libc_fesetenv_ctxf): New.
33174         (libc_fesetenv_ctxl): New.
33175         (libc_feupdateenv_mips_ctx): New.
33176         (libc_feupdateenv_ctx): New.
33177         (libc_feupdateenvf_ctx): New.
33178         (libc_feupdateenvl_ctx): New.
33179         (libc_feholdsetround_mips_ctx): New.
33180         (libc_feholdsetround_ctx): New.
33181         (libc_feholdsetroundf_ctx): New.
33182         (libc_feholdsetroundl_ctx): New.
33183         (libc_feresetround_mips_ctx): New.
33184         (libc_feresetround_ctx): New.
33185         (libc_feresetroundf_ctx): New.
33186         (libc_feresetroundl_ctx): New.
33188 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
33190         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
33192         * manual/ipc.texi: New file.
33193         * manual/Makefile (chapters): Add ipc.
33194         * manual/job.texi: Add "Inter-Process Communication" to next.
33195         * manual/process.texi: Add "Inter-Process Communication" to prev.
33197 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33201 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
33203         * malloc/malloc.c (__libc_calloc): Simplify implementation.
33205         * manual/arith.texi: Fix spaces after sentences.
33206         * manual/charset.texi: Likewise.
33207         * manual/errno.texi: Likewise.
33208         * manual/install.texi: Likewise.
33209         * manual/llio.texi: Likewise.
33210         * manual/locale.texi: Likewise.
33211         * manual/maint.texi: Likewise.
33212         * manual/math.texi: Likewise.
33213         * manual/memory.texi: Likewise.
33214         * manual/message.texi: Likewise.
33215         * manual/probes.texi: Likewise.
33216         * manual/resource.texi: Likewise.
33217         * manual/signal.texi: Likewise.
33218         * manual/socket.texi: Likewise.
33219         * manual/stdio.texi: Likewise.
33220         * manual/string.texi: Likewise.
33221         * manual/time.texi: Likewise.
33222         * manual/users.texi: Likewise.
33224 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
33226         [BZ #16632]
33227         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
33228         _DEFAULT_SOURCE is defined.
33230 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
33231             Carlos O'Donell  <carlos@redhat.com>
33233         [BZ #16613]
33234         * elf/dl-tls.c (_dl_count_modids): New function.
33235         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
33236         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
33237         audit library and increment generation counter.
33238         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
33239         * elf/tst-audit9.c: New file.
33240         * elf/tst-auditmod9a.c: New file.
33241         * elf/tst-auditmod9b.c: New file.
33242         * elf/Makefile: Add rules to build and run tst-audit9.
33244 2014-02-25  Florian Weimer  <fweimer@redhat.com>
33246         [BZ #15347]
33247         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
33249 2014-02-25  Will Newton  <will.newton@linaro.org>
33251         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
33252         (__longjmp): Restore sp and lr before restoring callee
33253         saved registers.  Add longjmp and longjmp_target
33254         SystemTap probe point.
33255         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
33256         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
33257         Define to zero to match jmpbuf layout.
33258         * sysdeps/arm/setjmp.S: Include stap-probe.h.
33259         (__sigsetjmp): Save sp and lr before saving callee
33260         saved registers.  Add setjmp SystemTap probe point.
33262 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33264         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33266 2014-02-24  Andreas Schwab  <schwab@suse.de>
33268         [BZ #15804]
33269         * elf/pldd.c (wait_for_ptrace_stop): New function.
33270         (main): Call it after attaching.
33272 2014-02-22  Roland McGrath  <roland@hack.frob.com>
33274         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
33275         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
33276         Versions files is now verboten.
33277         * hurd/Versions (libc: GLIBC_2.0):
33278         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
33279         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
33280         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
33281         * mach/Versions: Likewise.
33283         * csu/Versions: Remove unused %include.
33284         * resolv/Versions: Likewise.
33286 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
33288         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
33289         ($(objpfx)check-local-headers.out): Likewise.
33290         ($(objpfx)begin-end-check.out): Likewise.
33291         * Makerules (check-abi-%.out): Likewise.
33292         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
33293         ($(objpfx)test2.cat): Likewise.
33294         ($(objpfx)de/libc.cat): Likewise.
33295         ($(objpfx)test-gencat.out): Likewise.
33296         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
33297         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
33298         ($(objpfx)noload-mem): Likewise.
33299         ($(objpfx)tst-pathopt.out): Likewise.
33300         ($(objpfx)tst-rtld-load-self.out): Likewise.
33301         ($(objpfx)tst-array1-cmp.out): Likewise.
33302         ($(objpfx)tst-array1-static-cmp.out): Likewise.
33303         ($(objpfx)tst-array2-cmp.out): Likewise.
33304         ($(objpfx)tst-array3-cmp.out): Likewise.
33305         ($(objpfx)tst-array4-cmp.out): Likewise.
33306         ($(objpfx)tst-array5-cmp.out): Likewise.
33307         ($(objpfx)tst-array5-static-cmp.out): Likewise.
33308         ($(objpfx)check-textrel.out): Likewise.
33309         ($(objpfx)check-execstack.out): Likewise.
33310         ($(objpfx)check-localplt.out): Likewise.
33311         ($(objpfx)order2-cmp.out): Likewise.
33312         ($(objpfx)tst-leaks1-mem): Likewise.
33313         ($(objpfx)tst-leaks1-static-mem): Likewise.
33314         ($(objpfx)tst-initorder-cmp.out): Likewise.
33315         ($(objpfx)tst-initorder2-cmp.out): Likewise.
33316         ($(objpfx)tst-unused-dep.out): Likewise.
33317         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
33318         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33319         * iconv/Makefile (test-iconvconfig): Likewise.
33320         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
33321         ($(objpfx)iconv-test.out): Likewise.
33322         ($(objpfx)tst-tables.out): Likewise.
33323         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
33324         ($(objpfx)tst-gettext.out): Likewise.
33325         ($(objpfx)tst-translit.out): Likewise.
33326         ($(objpfx)tst-gettext2.out): Likewise.
33327         ($(objpfx)tst-gettext4.out): Likewise.
33328         ($(objpfx)tst-gettext6.out): Likewise.
33329         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
33330         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33331         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
33332         ($(objpfx)tst-fopenloc-mem.out): Likewise.
33333         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33334         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
33335         * posix/Makefile ($(objpfx)globtest.out): Likewise.
33336         ($(objpfx)wordexp-tst.out): Likewise.
33337         ($(objpfx)annexc.out): Likewise.
33338         ($(objpfx)tst-fnmatch-mem): Likewise.
33339         ($(objpfx)bug-regex2-mem): Likewise.
33340         ($(objpfx)bug-regex14-mem): Likewise.
33341         ($(objpfx)bug-regex21-mem): Likewise.
33342         ($(objpfx)bug-regex31-mem): Likewise.
33343         ($(objpfx)tst-vfork3-mem): Likewise.
33344         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33345         ($(objpfx)tst-pcre-mem): Likewise.
33346         ($(objpfx)tst-boost-mem): Likewise.
33347         ($(objpfx)tst-getconf.out): Likewise.
33348         ($(objpfx)bug-ga2-mem): Likewise.
33349         ($(objpfx)bug-glob2-mem): Likewise.
33350         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
33351         ($(objpfx)mtrace-tst-leaks2): Likewise.
33352         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
33353         ($(objpfx)tst-printf.out): Likewise.
33354         ($(objpfx)tst-setvbuf1.out): Likewise.
33355         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
33356         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
33357         ($(objpfx)tst-fmtmsg.out): Likewise.
33358         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
33359         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
33361         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
33362         * bits/sigaction.h [__USE_MISC]: Likewise.
33363         * bits/waitstatus.h: Update #endif comments.
33364         * ctype/ctype.h: Likewise.
33365         * dirent/dirent.h: Likewise.
33366         [__USE_MISC]: Remove redundant conditionals.
33367         * grp/grp.h: Update #endif comments.
33368         [__USE_GNU]: Remove redundant conditionals.
33369         [__USE_MISC]: Likewise.
33370         * inet/netinet/in.h [__USE_GNU]: Likewise.
33371         * io/sys/stat.h [__USE_MISC]: Likewise.
33372         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
33373         * libio/bits/stdio.h: Update #endif comments.
33374         [__USE_MISC]: Remove redundant conditionals.
33375         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
33376         * libio/stdio.h: Update #endif comments.
33377         [__USE_MISC]: Remove redundant conditionals.
33378         * math/bits/math-finite.h [__USE_MISC]: Likewise.
33379         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
33380         * math/math.h: Update #else and #endif comments.
33381         [__USE_MISC]: Remove redundant conditionals.
33382         * misc/sys/uio.h: Update #endif comments.
33383         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
33384         * posix/glob.h [__USE_MISC]: Likewise.
33385         * posix/sys/types.h: Update #endif comments.
33386         [__USE_MISC]: Remove redundant conditionals.
33387         * posix/sys/wait.h: Update #endif comments.
33388         [__USE_MISC]: Remove redundant conditionals.
33389         * posix/unistd.h: Update #endif comments.
33390         [__USE_MISC]: Remove redundant conditionals.
33391         * pwd/pwd.h [__USE_GNU]: Likewise.
33392         [__USE_MISC]: Likewise.
33393         * resolv/netdb.h [__USE_GNU]: Likewise.
33394         * signal/signal.h: Update #endif comments.
33395         [__USE_MISC]: Remove redundant conditionals.
33396         * stdlib/stdlib.h: Update #else and #endif comments.
33397         [__USE_MISC]: Remove redundant conditionals.
33398         [__USE_GNU]: Likewise.
33399         * string/bits/string2.h [__USE_MISC]: Likewise.
33400         * string/string.h: Update #endif comments.
33401         [__USE_MISC]: Remove redundant conditionals.
33402         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
33403         Likewise.
33404         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
33405         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
33406         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
33407         Likewise.
33408         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
33409         Likewise.
33410         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
33411         comments.
33412         [__USE_MISC]: Remove redundant conditionals.
33413         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
33414         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
33415         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
33416         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
33417         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
33418         Likewise.
33419         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
33420         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
33421         Likewise.
33422         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
33423         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
33424         Likewise.
33425         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
33426         Likewise.
33427         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
33428         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
33429         Likewise.
33430         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
33431         Likewise.
33432         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
33433         * sysdeps/x86/bits/string.h: Update #endif comments.
33434         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
33435         conditionals.
33436         * time/sys/time.h: Update #endif comments.
33437         * time/time.h: Likewise.
33438         [__USE_MISC]: Remove redundant conditionals.
33440 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
33442         [BZ #16600]
33443         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
33445 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
33447         * Versions.def (librt): Add GLIBC_2.17.
33449 2014-02-21  Adam Conrad  <adconrad@0c3.net>
33451         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
33452         synonym for _SYS_AUXV_H to allow direct inclusion.
33453         * sysdeps/sparc/bits/hwcap.h: Likewise.
33454         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
33455         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
33456         * sysdeps/sparc/sysdep.h: Likewise.
33458 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33460         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
33462 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33464         * benchtests/bench-strrchr.c: Print length instead of position.
33466 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
33468         [BZ #16611]
33469         * sysdeps/unix/sysv/linux/kernel-features.h
33470         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
33471         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
33472         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
33473         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
33474         Likewise.
33475         [__i386__ || __powerpc__ || __sh__ || __sparc__]
33476         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33477         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
33478         (__ASSUME_SENDMMSG): Define instead of using previous
33479         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
33480         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33481         (__ASSUME_SENDMMSG_SYSCALL): Define.
33482         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33483         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
33484         Likewise.
33485         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33486         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33487         Likewise.
33488         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33489         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33490         Likewise.
33491         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
33492         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33493         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33494         [__ASSUME_SENDMMSG]: Change conditionals to
33495         [__ASSUME_SENDMMSG_SOCKETCALL].
33496         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33497         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
33498         Define.
33499         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33500         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
33501         Likewise.
33502         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
33503         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33504         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33505         [!__ASSUME_SENDMMSG]: Change conditional to
33506         [!__ASSUME_SENDMMSG_SOCKETCALL].
33507         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33508         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33509         Define.
33511         [BZ #16610]
33512         * sysdeps/unix/sysv/linux/kernel-features.h
33513         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
33514         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
33515         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
33516         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
33517         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33518         [__i386__ || __sparc__]
33519         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33520         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
33521         (__ASSUME_RECVMMSG): Define instead of using previous
33522         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
33523         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33524         (__ASSUME_RECVMMSG_SYSCALL): Define.
33525         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33526         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33527         Likewise.
33528         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33529         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33530         Likewise.
33531         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33532         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33533         Likewise.
33534         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
33535         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33536         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33537         [__ASSUME_RECVMMSG]: Change condition to
33538         [__ASSUME_RECVMMSG_SOCKETCALL].
33539         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33540         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33541         Define.
33542         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33543         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33544         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33545         Likewise.
33546         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
33547         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33548         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33549         [!__ASSUME_RECVMMSG]: Change condition to
33550         [!__ASSUME_RECVMMSG_SOCKETCALL].
33551         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33552         (__ASSUME_RECVMMSG_SYSCALL): Define.
33554         [BZ #16609]
33555         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
33556         __powerpc__ || __s390__ || __sh__ || __sparc__]
33557         (__ASSUME_SOCKETCALL): Define.
33558         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
33559         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
33560         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
33561         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
33562         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33563         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33564         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
33565         (__ASSUME_ACCEPT4): Define instead of using previous
33566         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
33567         __powerpc__ || __sparc__ || __s390__)] condition.
33568         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33569         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33570         * sysdeps/unix/sysv/linux/accept4.c [__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/alpha/kernel-features.h
33576         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
33577         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
33578         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33579         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
33580         __ASSUME_ACCEPT4_SYSCALL.
33581         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
33582         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
33583         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33584         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
33585         __ASSUME_ACCEPT4_SYSCALL.
33586         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
33587         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33588         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33589         [__ASSUME_ACCEPT4]: Change condition to
33590         [__ASSUME_ACCEPT4_SOCKETCALL].
33591         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33592         (__ASSUME_SOCKETCALL): Define.
33593         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
33594         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33595         (__ASSUME_SOCKETCALL): Define.
33596         (__ASSUME_ACCEPT4): Remove.
33597         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
33598         Define.
33599         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33600         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
33601         Likewise.
33602         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33603         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33605         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
33606         macro.
33607         (HWCAP_ARM_LPAE): Likewise.
33608         (HWCAP_ARM_EVTSTRM): Likewise.
33609         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
33610         Add vpfd32, lpae and evtstrm.
33611         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
33612         Increase to 22.
33614 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
33616         * math/auto-libm-test-in: Add tests of clog10.
33617         * math/auto-libm-test-out: Regenerated.
33618         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33619         * sysdeps/i386/fpu/libm-test-ulps: Update.
33620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33622 2014-02-18  Andreas Schwab  <schwab@suse.de>
33624         [BZ #16574]
33625         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33626         Store non-zero if the second buffer was newly allocated.
33627         (send_dg): Likewise.
33628         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33629         to send_vc and send_dg.
33630         (res_nsend): Pass NULL for ansp2_malloced.
33631         * resolv/res_query.c (__libc_res_nquery): Add parameter
33632         answerp2_malloced and pass it down to __libc_res_nsend.
33633         (res_nquery): Pass additional NULL to __libc_res_nquery.
33634         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33635         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
33636         second answer buffer if answerp2_malloced was set.
33637         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33638         (__libc_res_nquerydomain): Add parameter
33639         answerp2_malloced and pass it down to __libc_res_nquery.
33640         (res_nquerydomain): Pass additional NULL to
33641         __libc_res_nquerydomain.
33642         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33643         additional NULL to __libc_res_nsend and __libc_res_nquery.
33644         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33645         additional NULL to __libc_res_nsearch.
33646         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
33647         parameter of __libc_res_nsearch to check for separately allocated
33648         second buffer.
33649         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33650         __libc_res_nquery.
33651         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33652         additional NULL to __libc_res_nquery.
33653         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33654         __libc_res_nsearch.
33655         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33656         * include/resolv.h: Update prototypes of __libc_res_nquery,
33657         __libc_res_nsearch, __libc_res_nsend.
33659 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
33661         * math/auto-libm-test-in: Add tests of fma.
33662         * math/auto-libm-test-out: Regenerated.
33663         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33664         (fma_towardzero_test_data): Likewise.
33665         (fma_downward_test_data): Likewise.
33666         (fma_upward_test_data): Likewise.
33667         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33668         mpc_mode.
33669         (rounding_modes): Add values for new field.
33670         (func_calc_method): Add value mpfr_fff_f.
33671         (func_calc_desc): Add mpfr_fff_f union field.
33672         (test_function): Add field exact_args.
33673         (FUNC): Add macro argument EXACT_ARGS.
33674         (FUNC_mpfr_f_f): Update call to FUNC.
33675         (FUNC_mpfr_f_f): Likewise.
33676         (FUNC_mpfr_ff_f): Likewise.
33677         (FUNC_mpfr_if_f): Likewise.
33678         (FUNC_mpc_c_f): Likewise.
33679         (FUNC_mpc_c_c): Likewise.
33680         (test_functions): Add fma.  Update calls to FUNC.
33681         (handle_input_arg): Add argument exact_args.
33682         (add_test): Update call to handle_input_arg.
33683         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
33684         (output_for_one_input_case): Update call to calc_generic_results.
33685         Recalculate exact zero results in each rounding mode.
33687         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33688         non-negative before setting low bit.
33689         * math/auto-libm-test-in: Mark one asin test possibly having
33690         spurious underflow.
33691         * math/auto-libm-test-out: Regenerated.
33692         * sysdeps/i386/fpu/libm-test-ulps: Update.
33693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33695 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
33697         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33698         * sysdeps/unix/sysv/linux/microblaze: Move directory from
33699         ports/sysdeps/unix/sysv/linux/microblaze.
33700         * README: Add missing listing for microblaze*-*-linux-gnu.
33702 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
33704         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33705         duplicate code
33707 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
33709         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33710         * sysdeps/unix/sysv/linux/ia64: Move directory from
33711         ports/sysdeps/unix/sysv/linux/ia64.
33712         * README: Update listing for ia64-*-linux-gnu.
33714 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
33715             Joseph Myers  <joseph@codesourcery.com>
33717         * Makeconfig (test-name): New variable.
33718         (evaluate-test): Likewise.
33719         * Makerules (do-test-clean): Remove .test-result files.
33720         (common-mostlyclean): Likewise.
33721         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33722         * scripts/evaluate-test.sh: New file.
33724 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
33726         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33727         separate $(objpfx)tst-fopenloc-cmp.out and
33728         $(objpfx)tst-fopenloc-mem.out targets.
33729         (tests): Update dependencies.
33730         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33731         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33732         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33733         (tst-rxspencer-no-utf8-ARGS): New variable.
33734         (tst-rxspencer-no-utf8-ENV): Likewise.
33735         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33736         instead of $(objpfx)tst-rxspencer-mem.
33737         ($(objpfx)tst-rxspencer-mem): Change target to
33738         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
33739         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33740         * posix/tst-rxspencer-no-utf8.c: New file.
33742         * elf/Makefile ($(objpfx)order.out): Remove rule.
33743         [$(run-built-tests) = yes] (tests): Depend on
33744         $(objpfx)order-cmp.out.
33745         ($(objpfx)order-cmp.out): New rule.
33746         [$(run-built-tests) = yes] (tests): Depend on
33747         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33748         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33749         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33750         $(objpfx)tst-array5-static-cmp.out.
33751         ($(objpfx)tst-array1.out): Remove rule.
33752         ($(objpfx)tst-array1-cmp.out): New rule.
33753         ($(objpfx)tst-array1-static.out): Remove rule.
33754         ($(objpfx)tst-array1-static-cmp.out): New rule.
33755         ($(objpfx)tst-array2.out): Remove rule.
33756         ($(objpfx)tst-array2-cmp.out): New rule.
33757         ($(objpfx)tst-array3.out): Remove rule.
33758         ($(objpfx)tst-array3-cmp.out): New rule.
33759         ($(objpfx)tst-array4.out): Remove rule.
33760         ($(objpfx)tst-array4-cmp.out): New rule.
33761         ($(objpfx)tst-array5.out): Remove rule.
33762         ($(objpfx)tst-array5-cmp.out): New rule.
33763         ($(objpfx)tst-array5-static.out): Remove rule.
33764         ($(objpfx)tst-array5-static-cmp.out): New rule.
33765         [$(run-built-tests) = yes] (tests): Depend on
33766         $(objpfx)order2-cmp.out.
33767         ($(objpfx)order2.out): Remove rule.
33768         ($(objpfx)order2-cmp.out): New rule.
33769         ($(objpfx)tst-initorder.out): Remove rule.
33770         [$(run-built-tests) = yes] (tests): Depend on
33771         $(objpfx)tst-initorder-cmp.out.
33772         ($(objpfx)tst-initorder-cmp.out): New rule.
33773         ($(objpfx)tst-initorder2.out): Remove rule.
33774         [$(run-built-tests) = yes] (tests): Depend on
33775         $(objpfx)tst-initorder2-cmp.out.
33776         ($(objpfx)tst-initorder2-cmp.out): New rule.
33777         [$(run-built-tests) = yes] (tests): Depend on
33778         $(objpfx)tst-unused-dep-cmp.out.
33779         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
33780         ($(objpfx)tst-unused-dep-cmp.out): New rule.
33781         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
33782         on $(objpfx)tst-setvbuf1-cmp.out.
33783         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
33784         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
33785         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
33786         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
33787         ($(objpfx)tst-svc.out): Remove rule.
33788         ($(objpfx)tst-svc-cmp.out): New rule.
33790 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
33792         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
33793         * ctype/ctype.h [__USE_MISC]: Likewise.
33794         * dirent/dirent.h [__USE_MISC]: Likewise.
33795         * grp/grp.h [__USE_MISC]: Likewise.
33796         * io/fcntl.h [__USE_MISC]: Likewise.
33797         * io/sys/stat.h [__USE_MISC]: Likewise.
33798         * libio/stdio.h [__USE_MISC]: Likewise.
33799         * posix/unistd.h [__USE_MISC]: Likewise.
33800         * pwd/pwd.h [__USE_MISC]: Likewise.
33801         * stdlib.h [__USE_MISC]: Likewise.
33802         * string/bits/string2.h [__USE_MISC]: Likewise.
33803         * string/string.h [__USE_MISC]: Likewise.
33804         * time/time.h [__USE_MISC]: Likewise.
33806 2014-02-13  Andreas Schwab  <schwab@suse.de>
33808         [BZ #16574]
33809         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
33810         second answer buffer if it was separately allocated.
33812 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
33814         * sysdeps/mips/math-tests.h: Include <features.h>.
33815         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33816         (ROUNDING_TESTS_long_double): Do not define.
33817         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33818         (EXCEPTION_TESTS_long_double): Likewise.
33819         * sysdeps/mips/mips64/libm-test-ulps: Update.
33821         * include/features.h (__USE_BSD): Remove macro definitions.
33822         (__USE_SVID): Likewise.
33823         (_BSD_SOURCE): Likewise.
33824         (_SVID_SOURCE): Likewise.
33825         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
33826         from definition of _DEFAULT_SOURCE.
33827         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
33828         [_DEFAULT_SOURCE].
33829         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
33830         * bits/mman.h [__USE_BSD]: Likewise.
33831         * bits/termios.h [__USE_BSD]: Likewise.
33832         * bits/waitstatus.h [__USE_BSD]: Likewise.
33833         * ctype/ctype.h [__USE_SVID]: Likewise.
33834         * dirent/dirent.h [__USE_BSD]: Likewise.
33835         * grp/grp.h [__USE_SVID]: Likewise.
33836         [__USE_BSD]: Likewise.
33837         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
33838         * io/fcntl.h [__USE_BSD]: Likewise.
33839         * io/ftw.h [__USE_BSD]: Likewise.
33840         * io/sys/stat.h [__USE_BSD]: Likewise.
33841         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
33842         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
33843         * libio/stdio.h [__USE_SVID]: Likewise.
33844         [__USE_BSD]: Likewise.
33845         * math/math.h [__USE_SVID]: Likewise.
33846         [__USE_BSD]: Likewise.
33847         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
33848         * misc/bits/syslog.h [__USE_BSD]: Likewise.
33849         * misc/search.h [__USE_SVID]: Likewise.
33850         * misc/sys/mman.h [__USE_BSD]: Likewise.
33851         * misc/sys/syslog.h [__USE_BSD]: Likewise.
33852         * misc/sys/uio.h [__USE_BSD]: Likewise.
33853         * posix/bits/unistd.h [__USE_BSD]: Likewise.
33854         * posix/glob.h [__USE_BSD]: Likewise.
33855         * posix/regex.h [__USE_BSD]: Likewise.
33856         * posix/sys/types.h [__USE_BSD]: Likewise.
33857         [__USE_SVID]: Likewise.
33858         * posix/sys/utsname.h [__USE_SVID]: Likewise.
33859         * posix/sys/wait.h [__USE_BSD]: Likewise.
33860         [__USE_SVID]: Likewise.
33861         * posix/unistd.h [__USE_BSD]: Likewise.
33862         [__USE_SVID]: Likewise.
33863         * pwd/pwd.h [__USE_SVID]: Likewise.
33864         * resolv/netdb.h [__USE_BSD]: Likewise.
33865         * setjmp/setjmp.h [__USE_BSD]: Likewise.
33866         * signal/signal.h [__USE_BSD]: Likewise.
33867         [__USE_SVID]: Likewise.
33868         * socket/sys/socket.h [__USE_BSD]: Likewise.
33869         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
33870         * stdlib/stdlib.h [__USE_BSD]: Likewise.
33871         [__USE_SVID]: Likewise.
33872         * string/bits/string2.h [__USE_BSD]: Likewise.
33873         [__USE_SVID]: Likewise.
33874         * string/bits/string3.h [__USE_BSD]: Likewise.
33875         * string/endian.h [__USE_BSD]: Likewise.
33876         * string/string.h [__USE_SVID]: Likewise.
33877         [__USE_BSD]: Likewise.
33878         * string/strings.h [__USE_BSD]: Likewise.
33879         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
33880         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
33881         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
33882         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
33883         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
33884         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
33885         Likewise.
33886         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
33887         Likewise.
33888         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
33889         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
33890         Likewise.
33891         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
33892         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
33893         Likewise.
33894         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
33895         Likewise.
33896         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
33897         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
33898         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
33899         Likewise.
33900         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
33901         Likewise.
33902         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
33903         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
33904         * termios/termios.h [__USE_BSD]: Likewise.
33905         * time/sys/time.h [__USE_BSD]: Likewise.
33906         * time/time.h [__USE_BSD]: Likewise.
33907         [__USE_SVID]: Likewise.
33909         * Makefile (subdir_targets): Remove subdir_lint.out.
33911         * stdio-common/Makefile (do-tst-unbputc): Remove target.
33912         (do-tst-printf): Likewise.
33913         (tests): Depend directly on $(objpfx)tst-unbputc.out and
33914         $(objpfx)tst-printf.out.
33916         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
33918         * Makerules (check-abi-%): Change target to
33919         $(objpfx)check-abi-%.out.
33920         (check-abi target): Update dependencies.
33921         (check-abi-pattern variable): Redirect output of diff to $@.
33922         (check-abi variable): Likewise.
33923         * elf/Makefile (check-abi): Update dependencies.
33925         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
33926         unused.
33927         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
33928         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
33929         subnormal range.
33930         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
33931         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
33932         value has largest subnormal exponent.
33933         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
33934         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
33935         * sysdeps/aarch64/soft-fp/sfp-machine.h
33936         (_FP_TININESS_AFTER_ROUNDING): New macro.
33937         * sysdeps/alpha/soft-fp/sfp-machine.h
33938         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33939         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33940         Likewise.
33941         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
33942         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33943         * sysdeps/mips/soft-fp/sfp-machine.h
33944         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33945         * sysdeps/powerpc/soft-fp/sfp-machine.h
33946         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33947         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33948         Likewise.
33949         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33950         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33951         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33952         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33953         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33954         Likewise.
33956 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
33958         [BZ #16545]
33959         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
33960         model 1.
33962 2014-02-12  Richard Henderson  <rth@redhat.com>
33964         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
33965         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
33966         * sysdeps/unix/sysv/linux/alpha: Move directory from
33967         ports/sysdeps/unix/sysv/linux/alpha.
33968         * README: Update listing for alpha-*-linux-gnu.
33970 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
33972         * include/features.h: Update comment documenting feature test
33973         macros.
33974         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
33975         _DEFAULT_SOURCE.
33976         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
33977         (_SVID_SOURCE): Likewise.
33978         (_DEFAULT_SOURCE): Update description of default features.
33979         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
33980         with _GNU_SOURCE.
33981         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
33982         (S_ISVTX): Likewise.
33983         * manual/math.texi (Mathematical Constants): Likewise.
33984         * manual/signal.texi (Interrupted Primitives): Likewise.
33985         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
33986         * math/test-matherr.c (_SVID_SOURCE): Do not define.
33987         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
33988         Don't refer to _SVID_SOURCE in warning text.
33990         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33992         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
33993         already defined.
33994         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
33995         * sysdeps/mips/dl-lookup.c: Remove.
33996         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
33998 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34000         [BZ #16447]
34001         * math/auto-libm-test-in: Add testcase for expl.
34002         * math/auto-libm-test-out: Regenerate.
34003         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
34004         calculation of unsafe.
34005         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
34007 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34009         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
34010         * sysdeps/unix/sysv/linux/aarch64: Move directory from
34011         ports/sysdeps/unix/sysv/linux/aarch64.
34012         * README: Update listing for aarch64*-*-linux-gnu.
34014 2014-02-11  Will Newton  <will.newton@linaro.org>
34016         * manual/probes.texi (Mathematical Function Probes): Use
34017         "triggered" instead of "hit".
34019         * manual/probes.texi (Internal Probes): Add documentation
34020         of setjmp, longjmp and longjmp_target probes.
34022         * include/stap-probe.h: Add comment about probe argument
34023         format.
34025         * malloc/mtrace.c (attribute_hidden): Remove unused macro
34026         definition.  (tr_where, tr_freehook, tr_mallochook,
34027         tr_reallochook, tr_memalignhook): Use ANSI protoype.
34029 2014-02-11  David S. Miller  <davem@davemloft.net>
34031         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
34032         processing int_tests.
34034 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
34036         * sysdeps/mips: Move directory from ports/sysdeps/mips.
34037         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
34038         * sysdeps/unix/sysv/linux/mips: Move directory from
34039         ports/sysdeps/unix/sysv/linux/mips.
34040         * README: Update listing for mips-*-linux-gnu and
34041         mips64-*-linux-gnu.
34043 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
34045         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
34046         * sysdeps/unix/sysv/linux/m68k: Move directory from
34047         ports/sysdeps/unix/sysv/linux/m68k.
34048         * README: Update listing for m68k-*-linux-gnu.
34050 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
34052         * sysdeps/tile: Move directory from ports/sysdeps/tile.
34053         * sysdeps/unix/sysv/linux/generic: Move directory from
34054         ports/sysdeps/unix/sysv/linux/generic.
34055         * sysdeps/unix/sysv/linux/tile: Move directory from
34056         ports/sysdeps/unix/sysv/linux/tile.
34057         * README: Update listing for tile*-*-linux-gnu.
34059 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
34061         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
34062         __builtin_expect.
34063         * benchtests/bench-memmem.c (simple_memmem): Likewise.
34064         * catgets/open_catalog.c (__open_catalog): Likewise.
34065         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
34066         * debug/confstr_chk.c: Likewise.
34067         * debug/fread_chk.c (__fread_chk): Likewise.
34068         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
34069         * debug/getgroups_chk.c: Likewise.
34070         * debug/mbsnrtowcs_chk.c: Likewise.
34071         * debug/mbsrtowcs_chk.c: Likewise.
34072         * debug/mbstowcs_chk.c: Likewise.
34073         * debug/memcpy_chk.c: Likewise.
34074         * debug/memmove_chk.c: Likewise.
34075         * debug/mempcpy_chk.c: Likewise.
34076         * debug/memset_chk.c: Likewise.
34077         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34078         * debug/strcat_chk.c (__strcat_chk): Likewise.
34079         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
34080         * debug/strncat_chk.c (__strncat_chk): Likewise.
34081         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
34082         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
34083         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
34084         * debug/wcpncpy_chk.c: Likewise.
34085         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34086         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
34087         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
34088         * debug/wcsncpy_chk.c: Likewise.
34089         * debug/wcsnrtombs_chk.c: Likewise.
34090         * debug/wcsrtombs_chk.c: Likewise.
34091         * debug/wcstombs_chk.c: Likewise.
34092         * debug/wmemcpy_chk.c: Likewise.
34093         * debug/wmemmove_chk.c: Likewise.
34094         * debug/wmempcpy_chk.c: Likewise.
34095         * debug/wmemset_chk.c: Likewise.
34096         * dirent/scandirat.c (SCANDIRAT): Likewise.
34097         * dlfcn/dladdr1.c (dladdr1): Likewise.
34098         * dlfcn/dladdr.c (dladdr): Likewise.
34099         * dlfcn/dlclose.c (dlclose_doit): Likewise.
34100         * dlfcn/dlerror.c (__dlerror): Likewise.
34101         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
34102         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
34103         * dlfcn/dlopen.c (dlopen_doit): Likewise.
34104         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
34105         * dlfcn/dlsym.c (dlsym_doit): Likewise.
34106         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
34107         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
34108         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
34109         Likewise.
34110         * elf/dl-conflict.c: Likewise.
34111         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34112         * elf/dl-dst.h: Likewise.
34113         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
34114         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
34115         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34116         * elf/dl-init.c (call_init, _dl_init): Likewise.
34117         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
34118         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
34119         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
34120         Likewise.
34121         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
34122         Likewise.
34123         * elf/dl-minimal.c (__libc_memalign): Likewise.
34124         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
34125         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34126         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
34127         * elf/dl-sym.c (do_sym): Likewise.
34128         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
34129         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
34130         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
34131         * elf/dl-writev.h (_dl_writev): Likewise.
34132         * elf/ldconfig.c (search_dir): Likewise.
34133         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
34134         (dl_main): Likewise.
34135         * elf/setup-vdso.h (setup_vdso): Likewise.
34136         * grp/compat-initgroups.c (compat_call): Likewise.
34137         * grp/fgetgrent.c (fgetgrent): Likewise.
34138         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
34139         * grp/putgrent.c (putgrent): Likewise.
34140         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34141         Likewise.
34142         * hurd/hurdinit.c: Likewise.
34143         * iconvdata/8bit-gap.c (struct): Likewise.
34144         * iconvdata/ansi_x3.110.c : Likewise.
34145         * iconvdata/big5.c : Likewise.
34146         * iconvdata/big5hkscs.c : Likewise.
34147         * iconvdata/cp1255.c: Likewise.
34148         * iconvdata/cp1258.c : Likewise.
34149         * iconvdata/cp932.c : Likewise.
34150         * iconvdata/euc-cn.c: Likewise.
34151         * iconvdata/euc-jisx0213.c : Likewise.
34152         * iconvdata/euc-jp.c: Likewise.
34153         * iconvdata/euc-jp-ms.c : Likewise.
34154         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
34155         * iconvdata/gb18030.c : Likewise.
34156         * iconvdata/gbbig5.c (const): Likewise.
34157         * iconvdata/gbgbk.c: Likewise.
34158         * iconvdata/gbk.c : Likewise.
34159         * iconvdata/ibm1364.c : Likewise.
34160         * iconvdata/ibm930.c : Likewise.
34161         * iconvdata/ibm932.c: Likewise.
34162         * iconvdata/ibm933.c : Likewise.
34163         * iconvdata/ibm935.c : Likewise.
34164         * iconvdata/ibm937.c : Likewise.
34165         * iconvdata/ibm939.c : Likewise.
34166         * iconvdata/ibm943.c: Likewise.
34167         * iconvdata/iso_11548-1.c: Likewise.
34168         * iconvdata/iso-2022-cn.c : Likewise.
34169         * iconvdata/iso-2022-cn-ext.c : Likewise.
34170         * iconvdata/iso-2022-jp-3.c: Likewise.
34171         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
34172         * iconvdata/iso-2022-kr.c : Likewise.
34173         * iconvdata/iso646.c (gconv_end): Likewise.
34174         * iconvdata/iso_6937-2.c : Likewise.
34175         * iconvdata/iso_6937.c : Likewise.
34176         * iconvdata/iso8859-1.c: Likewise.
34177         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
34178         * iconvdata/shift_jisx0213.c : Likewise.
34179         * iconvdata/sjis.c : Likewise.
34180         * iconvdata/t.61.c : Likewise.
34181         * iconvdata/tcvn5712-1.c : Likewise.
34182         * iconvdata/tscii.c: Likewise.
34183         * iconvdata/uhc.c : Likewise.
34184         * iconvdata/unicode.c (gconv_end): Likewise.
34185         * iconvdata/utf-16.c (gconv_end): Likewise.
34186         * iconvdata/utf-32.c (gconv_end): Likewise.
34187         * iconvdata/utf-7.c (base64): Likewise.
34188         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34189         * iconv/gconv_close.c (__gconv_close): Likewise.
34190         * iconv/gconv_open.c (__gconv_open): Likewise.
34191         * iconv/gconv_simple.c (internal_ucs4_loop_single)
34192         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
34193         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
34194         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
34195         (ucs4le_internal_loop_single): Likewise.
34196         * iconv/iconv.c (iconv): Likewise.
34197         * iconv/iconv_close.c: Likewise.
34198         * iconv/loop.c (SINGLE): Likewise.
34199         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
34200         * include/atomic.h: Likewise.
34201         * inet/inet6_option.c (option_alloc): Likewise.
34202         * intl/bindtextdom.c (set_binding_values): Likewise.
34203         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
34204         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
34205         * intl/localealias.c (read_alias_file): Likewise.
34206         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
34207         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
34208         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
34209         * libio/fmemopen.c (fmemopen): Likewise.
34210         * libio/iofgets.c (_IO_fgets): Likewise.
34211         * libio/iofgets_u.c (fgets_unlocked): Likewise.
34212         * libio/iofgetws.c (fgetws): Likewise.
34213         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
34214         * libio/iogetdelim.c (_IO_getdelim): Likewise.
34215         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
34216         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
34217         * locale/findlocale.c (_nl_find_locale): Likewise.
34218         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34219         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
34220         Likewise.
34221         * locale/setlocale.c (setlocale): Likewise.
34222         * login/programs/pt_chown.c (main): Likewise.
34223         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
34224         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
34225         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
34226         (mmap, mmap64, mremap, munmap): Likewise.
34227         * math/e_exp2l.c: Likewise.
34228         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
34229         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
34230         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
34231         * math/s_catan.c (__catan): Likewise.
34232         * math/s_catanf.c (__catanf): Likewise.
34233         * math/s_catanh.c (__catanh): Likewise.
34234         * math/s_catanhf.c (__catanhf): Likewise.
34235         * math/s_catanhl.c (__catanhl): Likewise.
34236         * math/s_catanl.c (__catanl): Likewise.
34237         * math/s_ccosh.c (__ccosh): Likewise.
34238         * math/s_ccoshf.c (__ccoshf): Likewise.
34239         * math/s_ccoshl.c (__ccoshl): Likewise.
34240         * math/s_cexp.c (__cexp): Likewise.
34241         * math/s_cexpf.c (__cexpf): Likewise.
34242         * math/s_cexpl.c (__cexpl): Likewise.
34243         * math/s_clog10.c (__clog10): Likewise.
34244         * math/s_clog10f.c (__clog10f): Likewise.
34245         * math/s_clog10l.c (__clog10l): Likewise.
34246         * math/s_clog.c (__clog): Likewise.
34247         * math/s_clogf.c (__clogf): Likewise.
34248         * math/s_clogl.c (__clogl): Likewise.
34249         * math/s_csin.c (__csin): Likewise.
34250         * math/s_csinf.c (__csinf): Likewise.
34251         * math/s_csinh.c (__csinh): Likewise.
34252         * math/s_csinhf.c (__csinhf): Likewise.
34253         * math/s_csinhl.c (__csinhl): Likewise.
34254         * math/s_csinl.c (__csinl): Likewise.
34255         * math/s_csqrt.c (__csqrt): Likewise.
34256         * math/s_csqrtf.c (__csqrtf): Likewise.
34257         * math/s_csqrtl.c (__csqrtl): Likewise.
34258         * math/s_ctan.c (__ctan): Likewise.
34259         * math/s_ctanf.c (__ctanf): Likewise.
34260         * math/s_ctanh.c (__ctanh): Likewise.
34261         * math/s_ctanhf.c (__ctanhf): Likewise.
34262         * math/s_ctanhl.c (__ctanhl): Likewise.
34263         * math/s_ctanl.c (__ctanl): Likewise.
34264         * math/w_pow.c: Likewise.
34265         * math/w_powf.c: Likewise.
34266         * math/w_powl.c: Likewise.
34267         * math/w_scalb.c (sysv_scalb): Likewise.
34268         * math/w_scalbf.c (sysv_scalbf): Likewise.
34269         * math/w_scalbl.c (sysv_scalbl): Likewise.
34270         * misc/error.c (error_tail): Likewise.
34271         * misc/pselect.c (__pselect): Likewise.
34272         * nis/nis_callback.c (__nis_create_callback): Likewise.
34273         * nis/nis_call.c (__nisfind_server): Likewise.
34274         * nis/nis_creategroup.c (nis_creategroup): Likewise.
34275         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
34276         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
34277         * nis/nis_getservlist.c (nis_getservlist): Likewise.
34278         * nis/nis_lookup.c (nis_lookup): Likewise.
34279         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
34280         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
34281         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
34282         * nis/nis_xdr.c (xdr_endpoint): Likewise.
34283         * nis/nss_compat/compat-grp.c (getgrent_next_file)
34284         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
34285         * nis/nss_compat/compat-initgroups.c (add_group)
34286         (internal_getgrent_r): Likewise.
34287         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
34288         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
34289         * nis/nss_compat/compat-spwd.c (getspent_next_file)
34290         (internal_getspnam_r): Likewise.
34291         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
34292         (_nss_nis_getaliasbyname_r): Likewise.
34293         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
34294         (_nss_nis_getntohost_r): Likewise.
34295         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
34296         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
34297         (_nss_nis_getgrgid_r): Likewise.
34298         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
34299         (internal_nis_gethostent_r, internal_gethostbyname2_r)
34300         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
34301         (_nss_nis_gethostbyname4_r): Likewise.
34302         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
34303         (initgroups_netid): Likewise.
34304         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
34305         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
34306         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
34307         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
34308         (_nss_nis_getprotobynumber_r): Likewise.
34309         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
34310         (_nss_nis_getsecretkey): Likewise.
34311         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
34312         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
34313         (_nss_nis_getpwuid_r): Likewise.
34314         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
34315         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
34316         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
34317         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
34318         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
34319         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
34320         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
34321         Likewise.
34322         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
34323         (_nss_nisplus_getntohost_r): Likewise.
34324         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
34325         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
34326         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
34327         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
34328         Likewise.
34329         * nis/nss_nisplus/nisplus-initgroups.c
34330         (_nss_nisplus_initgroups_dyn): Likewise.
34331         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
34332         (_nss_nisplus_getnetbyaddr_r): Likewise.
34333         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
34334         (_nss_nisplus_getprotobynumber_r): Likewise.
34335         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
34336         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
34337         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
34338         Likewise.
34339         * nis/nss_nisplus/nisplus-service.c
34340         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
34341         (_nss_nisplus_getservbyport_r): Likewise.
34342         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
34343         (_nss_nisplus_getspnam_r): Likewise.
34344         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
34345         Likewise.
34346         * nscd/aicache.c (addhstaiX): Likewise.
34347         * nscd/cache.c (cache_search, prune_cache): Likewise.
34348         * nscd/connections.c (register_traced_file, send_ro_fd)
34349         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
34350         (main_loop_epoll): Likewise.
34351         * nscd/grpcache.c (addgrbyX): Likewise.
34352         * nscd/hstcache.c (addhstbyX): Likewise.
34353         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34354         * nscd/mem.c (gc, mempool_alloc): Likewise.
34355         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
34356         (addinnetgrX): Likewise.
34357         * nscd/nscd-client.h (__nscd_acquire_maplock)
34358         (__nscd_drop_map_ref): Likewise.
34359         * nscd/nscd_getai.c (__nscd_getai): Likewise.
34360         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34361         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
34362         Likewise.
34363         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34364         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34365         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
34366         (__nscd_get_map_ref): Likewise.
34367         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34368         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
34369         Likewise.
34370         * nscd/pwdcache.c (addpwbyX): Likewise.
34371         * nscd/selinux.c (preserve_capabilities): Likewise.
34372         * nscd/servicescache.c (addservbyX): Likewise.
34373         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
34374         * posix/fnmatch.c (fnmatch): Likewise.
34375         * posix/getopt.c (_getopt_internal_r): Likewise.
34376         * posix/glob.c (glob, glob_in_dir): Likewise.
34377         * posix/wordexp.c (exec_comm_child): Likewise.
34378         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
34379         (getanswer_r, gaih_getanswer_slice): Likewise.
34380         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
34381         * resolv/res_init.c: Likewise.
34382         * resolv/res_mkquery.c (res_nmkquery): Likewise.
34383         * resolv/res_query.c (__libc_res_nquery): Likewise.
34384         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
34385         Likewise.
34386         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
34387         * stdio-common/perror.c (perror): Likewise.
34388         * stdio-common/printf_fp.c (___printf_fp): Likewise.
34389         * stdio-common/tmpnam.c (tmpnam): Likewise.
34390         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34391         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
34392         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34393         Likewise.
34394         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
34395         * stdlib/putenv.c (putenv): Likewise.
34396         * stdlib/setenv.c (__add_to_environ): Likewise.
34397         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34398         * stdlib/strtol_l.c (INTERNAL): Likewise.
34399         * string/memmem.c (memmem): Likewise.
34400         * string/strerror.c (strerror): Likewise.
34401         * string/strnlen.c (__strnlen): Likewise.
34402         * string/test-memmem.c (simple_memmem): Likewise.
34403         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
34404         * sunrpc/pm_getport.c (__get_socket): Likewise.
34405         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
34406         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
34407         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
34408         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
34409         Likewise.
34410         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
34411         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34412         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34413         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
34414         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34415         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
34416         Likewise.
34417         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
34418         Likewise.
34419         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34420         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34421         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34422         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34423         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
34424         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
34425         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34426         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
34427         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34428         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
34429         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34430         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
34431         Likewise.
34432         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
34433         Likewise.
34434         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
34435         Likewise.
34436         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
34437         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34438         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
34439         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
34440         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
34441         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
34442         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34443         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
34444         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
34445         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
34446         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
34447         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34448         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34449         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
34450         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34451         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34452         Likewise.
34453         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
34454         Likewise.
34455         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
34456         Likewise.
34457         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
34458         Likewise.
34459         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34460         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34461         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
34462         Likewise.
34463         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
34464         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
34465         * sysdeps/posix/opendir.c (__opendirat): Likewise.
34466         * sysdeps/posix/sleep.c: Likewise.
34467         * sysdeps/posix/tempname.c: Likewise.
34468         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
34469         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34470         Likewise.
34471         * sysdeps/powerpc/powerpc32/dl-machine.h
34472         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
34473         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34474         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34475         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
34476         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
34477         Likewise.
34478         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
34479         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
34480         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34481         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
34482         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34483         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
34484         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
34485         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
34486         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34487         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
34488         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
34489         (elf_machine_lazy_rel): Likewise.
34490         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34491         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
34492         (elf_machine_lazy_rel): Likewise.
34493         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
34494         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
34495         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
34496         * sysdeps/unix/grantpt.c (grantpt): Likewise.
34497         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
34498         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
34499         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34500         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34501         Likewise.
34502         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
34503         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
34504         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
34505         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
34506         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34507         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34508         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
34509         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
34510         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
34511         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34512         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34513         Likewise.
34514         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
34515         (__posix_fallocate64_l64): Likewise.
34516         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
34517         (posix_fallocate): Likewise.
34518         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
34519         Likewise.
34520         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34521         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
34522         (getifaddrs_internal): Likewise.
34523         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
34524         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
34525         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
34526         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34527         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34528         (__posix_fallocate64_l64): Likewise.
34529         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34530         Likewise.
34531         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
34532         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
34533         (__get_clockfreq): Likewise.
34534         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
34535         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34536         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
34537         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34538         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34539         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
34540         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
34541         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
34542         Likewise.
34543         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
34544         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
34545         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
34546         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
34547         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34548         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
34549         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
34550         Likewise.
34551         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34552         (posix_fallocate): Likewise.
34553         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34554         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
34555         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
34556         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
34557         (elf_machine_rela, elf_machine_rela_relative)
34558         (elf_machine_lazy_rel): Likewise.
34559         * time/asctime.c (asctime_internal): Likewise.
34560         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
34561         * time/tzset.c (__tzset_parse_tz): Likewise.
34562         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34563         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34564         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
34565         * wcsmbs/wcsmbsload.h: Likewise.
34567         [BZ #15894]
34568         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
34570         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
34571         (arena_get2): Remove THREAD_STATS conditionals.
34572         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
34573         (__malloc_stats, int): Likewise.
34575 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
34577         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
34578         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
34580         * manual/setjmp.texi: Fix typos/grammar errors.
34582         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
34583         Only return early when n is <= 0.  Delete unused return statement.
34585         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
34586         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
34587         * debug/tst-longjmp_chk3.c: New file.
34589         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
34590         (test_main): Replace code with set_fortify_handler call.
34591         * debug/test-strcpy_chk.c: Likewise.
34592         * debug/tst-chk1.c: Likewise.
34593         * debug/tst-longjmp_chk.c: Likewise.
34594         * test-skeleton.c: Include fcntl.h & paths.h
34595         (set_fortify_handler): Define.
34597         * debug/tst-longjmp_chk.c: Add header comment and include
34598         ../test-skeleton.c.
34599         (do_test): Mark static.
34600         (TEST_FUNCTION): Define.
34602         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
34603         (IP_PMTUDISC_INTERFACE): Likewise.
34604         (IP_MULTICAST_IF): Likewise.
34605         (IP_MULTICAST_TTL): Likewise.
34606         (IP_MULTICAST_LOOP): Likewise.
34607         (IP_ADD_MEMBERSHIP): Likewise.
34608         (IP_DROP_MEMBERSHIP): Likewise.
34609         (IP_UNBLOCK_SOURCE): Likewise.
34610         (IP_BLOCK_SOURCE): Likewise.
34611         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
34612         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
34613         (IP_MSFILTER): Likewise.
34614         (MCAST_JOIN_GROUP): Likewise.
34615         (MCAST_BLOCK_SOURCE): Likewise.
34616         (MCAST_UNBLOCK_SOURCE): Likewise.
34617         (MCAST_LEAVE_GROUP): Likewise.
34618         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34619         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34620         (MCAST_MSFILTER): Likewise.
34621         (IP_MULTICAST_ALL): Likewise.
34622         (IP_UNICAST_IF): Likewise.
34624         * timezone/Makefile: Delete $(have-ksh) check.
34625         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34626         * timezone/tzselect.ksh: Add +x mode bits.
34628         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34629         (ANON_INODE_FS_MAGIC): Likewise.
34630         (BDEVFS_MAGIC): Likewise.
34631         (BINFMTFS_MAGIC): Likewise.
34632         (BTRFS_TEST_MAGIC): Likewise.
34633         (CRAMFS_MAGIC_WEND): Likewise.
34634         (DEBUGFS_MAGIC): Likewise.
34635         (ECRYPTFS_SUPER_MAGIC): Likewise.
34636         (EXT3_SUPER_MAGIC): Likewise.
34637         (EXT4_SUPER_MAGIC): Likewise.
34638         (FUTEXFS_SUPER_MAGIC): Likewise.
34639         (HOSTFS_SUPER_MAGIC): Likewise.
34640         (HUGETLBFS_MAGIC): Likewise.
34641         (MINIX3_SUPER_MAGIC): Likewise.
34642         (MTD_INODE_FS_MAGIC): Likewise.
34643         (NILFS_SUPER_MAGIC): Likewise.
34644         (OPENPROM_SUPER_MAGIC): Likewise.
34645         (PIPEFS_MAGIC): Likewise.
34646         (PSTOREFS_MAGIC): Likewise.
34647         (QNX6_SUPER_MAGIC): Likewise.
34648         (RAMFS_MAGIC): Likewise.
34649         (REISERFS_SUPER_MAGIC_STRING): Likewise.
34650         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34651         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34652         (SECURITYFS_MAGIC): Likewise.
34653         (SELINUX_MAGIC): Likewise.
34654         (SMACK_MAGIC): Likewise.
34655         (SOCKFS_MAGIC): Likewise.
34656         (SQUASHFS_MAGIC): Likewise.
34657         (STACK_END_MAGIC): Likewise.
34658         (TMPFS_MAGIC): Likewise.
34659         (USBDEVICE_SUPER_MAGIC): Likewise.
34660         (V9FS_MAGIC): Likewise.
34661         (XENFS_SUPER_MAGIC): Likewise.
34662         (CRAMFS_MAGIC): Fix typo in comment.
34663         (EXT2_SUPER_MAGIC): Update comment.
34664         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34666 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
34668         * sysdeps/arm: Move directory from ports/sysdeps/arm.
34669         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34670         * sysdeps/unix/sysv/linux/arm: Move directory from
34671         ports/sysdeps/unix/sysv/linux/arm.
34672         * README: Update listing for arm-*-linux-gnueabi.
34674         * README: Remove mention of am33.
34676 2014-02-07  Roland McGrath  <roland@hack.frob.com>
34678         * bits/sigset.h (__sigemptyset): Use a statement expression rather
34679         than the comma operator, to avoid "rhs of comma has no effect"
34680         compiler warnings.
34681         (__sigfillset, __sigandset, __sigorset): Likewise.
34682         * include/signal.h (__sigemptyset): Likewise.
34683         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34685 2014-02-07  Allan McRae  <allan@archlinux.org>
34687         * version.h (RELEASE): Set to "development".
34688         (VERSION): Set to "2.19.90"
34689         * NEWS: Add 2.20 section.
34691 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
34693         [BZ #16529]
34694         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34696 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34698         * manual/contrib.texi: Update entry for Carlos O'Donell,
34699         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34701 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
34703         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34705         * sysdeps/unix/sysv/linux/kernel-features.h
34706         [__LINUX_KERNEL_VERSION >= 0x020621]
34707         (__ASSUME_PROC_PID_TASK_COMM): Define.
34709 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34711         [BZ #16398]
34712         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34713         conversion when destination buffer does not have enough space.
34714         * libio/tst-ftell-partial-wide.c: New test case.
34715         * libio/Makefile (tests): Add tst-ftell-partial-wide.
34717         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34718         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
34719         Leonard and Allan McRae.
34721 2014-02-04  David S. Miller  <davem@davemloft.net>
34723         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34724         32-bit.
34726 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34729         New file
34730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34731         New file
34732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34733         New file.
34734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34735         New file.
34736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34737         New file.
34738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34739         New file.
34740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34741         New file.
34742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34743         New file.
34744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34745         New file.
34746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34747         New file.
34748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34749         New file.
34750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34751         New file.
34752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34753         New file.
34755 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34757         * nptl/shlib-versions: Change powerpc*le start to 2.17.
34758         * shlib-versions: Likewise.
34760 2014-02-04  Roland McGrath  <roland@hack.frob.com>
34761             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34763         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34764         (abilist-pattern): New variable, set to %-le.abilist.
34766         * Makerules (abilist-pattern): New variable.
34767         (vpath): Use $(abilist-pattern) in place of %.abilist.
34768         (check-abi-% pattern rule): Likewise.
34769         (check-abi, update-abi): Likewise.
34771 2014-02-04  Eric Wong  <normalperson@yhbt.net>
34773         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34775 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
34777         * manual/startup.texi: Add next, previous, and top entries for
34778         the `Program Arguments' and `Environment Variables' nodes.
34780 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
34782         * manual/macros.texi: Add comments before MTASC-safety macros.
34784         * manual/users.texi: Document MTASC-safety properties.
34786         * manual/threads.texi (pthread_key_create, pthread_key_delete)
34787         (pthread_getspecific, pthread_setspecific): Format with
34788         @deftypefun, and add @safety note.
34789         * manual/signal.texi: Move comments that analyze the above
34790         functions to their home place.
34792 2014-02-03  Allan McRae  <allan@archlinux.org>
34794         * po/sl.po: Update Slovenian translation from translation project.
34796 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
34798         * manual/time.texi (timegm): Add missing blank after @c.
34799         Reported by Joseph Myers <joseph@codesourcery.com>.
34801 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
34803         * manual/check-safety.sh: New.
34804         * manual/Makefile ($(objpfx)stamp-summary): Run it.
34806         * manual/terminal.texi: Document MTASC-safety properties.
34808         * manual/filesys.texi: Document MTASC-safety properties.
34810         * manual/errno.texi: Document MTASC-safety properties.
34812         * manual/intro.texi: Document safety identifiers and
34813         conditionals.
34815         * manual/string.texi (wcstok): Fix prototype.
34816         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
34818         * manual/time.texi: Document MTASC-safety properties.
34820         * manual/string.texi: Document MTASC-safety properties.
34822         * manual/threads.texi: Document MTASC-safety properties.
34824         * manual/stdio.texi: Document MTASC-safety properties.
34826         * manual/syslog.texi: Document MTASC-safety properties.
34828         * manual/sysinfo.texi: Document MTASC-safety properties.
34830         * manual/startup.texi: Document MTASC-safety properties.
34832         * manual/socket.texi: Document MTASC-safety properties.
34834         * manual/signal.texi: Document MTASC-safety properties.
34836 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
34838         * manual/setjmp.texi: Document MTASC-safety properties.
34840         * manual/search.texi: Document MTASC-safety properties.
34842         * manual/resource.texi: Document MTASC-safety properties.
34844         * manual/process.texi: Document MTASC-safety properties.
34846         * manual/platform.texi: Document MTASC-safety properties.
34848         * manual/pipe.texi: Document MTASC-safety properties.
34850         * manual/pattern.texi: Document MTASC-safety properties.
34852         * manual/message.texi: Document MTASC-safety properties.
34854         [BZ #12751]
34855         * manual/memory.texi: Document MTASC-safety properties.
34857         * manual/math.texi: Document MTASC-safety properties.
34859         * manual/locale.texi: Document MTASC-safety properties.
34861         * manual/llio.texi: Document MTASC-safety properties.
34863         * manual/libdl.texi: New.
34865         * manual/lang.texi: Document MTASC-safety properties.
34867         * manual/job.texi: Document MTASC-safety properties.
34869         * manual/getopt.texi: Document MTASC-safety properties.
34871         * manual/ctype.texi: Document MTASC-safety properties.
34873 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
34875         [BZ #16046]
34876         * csu/libc-tls.c (static_map): Remove variable.
34877         (__libc_setup_tls): Use main executable's link map for TLS data.
34878         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
34879         casing for LM_ID_BASE and GL(dl_nns).
34880         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
34881         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
34882         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
34883         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
34884         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
34885         member.
34886         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
34887         l_phnum members.
34889 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
34891         * manual/debug.texi: Document MTASC-safety properties.
34893 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
34895         [BZ #16510]
34896         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
34897         of __x86_64__ when disabling x87 inline functions.
34899 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
34901         * manual/charset.texi: Document MTASC-safety properties.
34903         * manual/crypt.texi: Document MTASC-safety properties.
34905         * manual/conf.texi: Document MTASC-safety properties.
34907         * manual/arith.texi: Document MTASC-safety properties.
34909         * manual/argp.texi: Document MTASC-safety properties.
34911         * manual/macros.texi: Introduce macros to document multi
34912         thread, asynchronous signal and asynchronous cancellation
34913         safety properties.
34914         * manual/intro.texi: Introduce the properties themselves.
34916 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34918         * sysdeps/sh/sh4/Makefile: New file.
34920 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
34922         * math/gen-libm-test.pl ($srcdir): New variable.
34923         ($auto_input): Use it.
34925 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34927         [BZ #16506]
34928         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
34929         access beyond array bounds when parsing netgroups file.
34931         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
34932         the old buffer before realloc.
34934 2014-01-27  Allan McRae  <allan@archlinux.org>
34936         * po/fr.po: Update French translation from translation project.
34938 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34940         * sysdeps/sh/libm-test-ulps: Regenerate.
34942 2014-01-24  David S. Miller  <davem@davemloft.net>
34944         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
34946 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34948         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
34949         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
34951 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34953         [BZ #16474]
34954         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
34955         string pointers after reallocation.
34957 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34959         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
34960         __SH4A__ instead of __SH_FPU_ANY__.
34962 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34964         * sysdeps/sh/fpu_control.h: New file.
34965         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
34966         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
34967         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
34968         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
34969         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
34970         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
34971         * sysdeps/sh/sys/ucontext.h: Remove.
34972         * sysdeps/sh/sys: Remove directory.
34974 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34976         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
34977         s390/sys/ucontext.h.
34978         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
34979         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
34981 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
34983         [BZ #15605]
34984         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
34986 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34988         [BZ#16431]
34989         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34990         Adjust the vDSO correctly for internal calls.
34991         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
34993 2014-01-20  Allan McRae  <allan@archlinux.org>
34995         * po/ca.po: Update Catalan translation from translation project.
34997 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
34999         * sysdeps/s390/sotruss-lib.c: New file.
35001 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35003         [BZ#16430]
35004         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
35005         (__GI___gettimeofday): Alias for a different internal symbol to avoid
35006         local calls issues by not having a PLT stub required for IFUNC calls.
35007         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
35009 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
35011         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
35012         * math/test-fpucw-static.c: Likewise.
35014 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35016         [BZ #16453]
35017         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
35019 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35021         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
35022         implementation for powerpc.
35024 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
35026         [BZ #14782]
35027         * sysdeps/posix/system.c (__libc_system): Do not enable
35028         asynchronous cancellation.
35030 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35032         [BZ #16427]
35033         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
35034         handling only for numbers special also in the IEEE case.
35036 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35038         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35040 2014-01-11  Allan McRae  <allan@archlinux.org>
35042         * po/bg.po: Update Bulgarian translation from translation project.
35044         * po/de.po: Update German translation from translation project.
35046 2014-01-10  Roland McGrath  <roland@hack.frob.com>
35048         * sysdeps/generic/gcc-compat.h: New file.
35050 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35052         * benchtests/asin-inputs: Correct slow inputs.
35053         * benchtests/acos-inputs: Likewise.
35055 2014-01-10  Allan McRae  <allan@archlinux.org>
35057         * po:sv.po: Update Swedish translation from translation project.
35059         * po/vi.po: Update Vietnamese translation from translation project.
35061         * po/eo.po: Update Esperanto translation from translation project.
35063         * po/cs.po: Update Czech translation from translation project.
35065         * po/nl.po: Update Dutch translation from translation project.
35067         * po/pl.po: Update Polish translation from translation project.
35069         * po/ru.po: Update Russian translation from translation project.
35071         * po/uk.po: Update Ukrainian translation from translation project.
35073 2014-01-08  Brooks Moses  <bmoses@google.com>
35075         * elf/dl-load.c: Fix comment typo.
35077 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
35079         * po/header.pot: Rename to...
35080         * po/pot.header: ... this.
35081         * po/Makefile: Use pot.header.
35083 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
35084             Maxim Kuvyrkov  <maxim@kugelworks.com>
35086         [BZ #16394]
35087         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
35088         SRC and DEST against LEN.
35090 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35092         [BZ #16414]
35093         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
35094         implementation.
35095         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
35097 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35101 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
35103         [BZ #16408]
35104         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
35105         for large positive arguments.
35107 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
35109         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35111         * math/auto-libm-test-in: Mark various tests with
35112         xfail-rounding:ldbl-128ibm.
35113         * math/auto-libm-test-out: Regenerated.
35115         [BZ #16407]
35116         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35117         Increase overflow threshold.
35119 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
35121         [BZ #14286]
35122         * stdio-common/vfprintf.c: Check for integer overflow.
35124 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35126         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
35127         the first argument and return value of __tls_get_addr_internal.
35129 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35131         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
35132         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
35134 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35136         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
35137         * sysdeps/s390/rtld-global-offsets.sym: New file.
35138         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
35139         GLIBC_2.19 symbol.
35140         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
35141         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
35142         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35143         ... this.
35144         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
35145         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35146         ... this.
35147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35148         Regenerate.
35149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35150         Regenerate.
35151         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
35152         halfs of GPRs for high_gprs contexts.
35153         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
35154         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
35155         field.
35156         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
35157         uc_flags field.
35158         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
35159         64 bit versions:
35160         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
35161         for high GPRs (uc_high_gprs) and for future extensions
35162         (__reserved).
35163         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
35164         for future extensions (__reserved).
35165         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
35166         64 bit versions:
35167         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
35168         SC_HIGHGPRS offset definition.
35169         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
35170         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
35172         * Versions.def: Add GLIBC_2.19 for libpthread.
35173         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
35174         siglongjmp for libpthread with GLIBC_2.19 symver.
35175         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
35176         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
35177         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
35178         * sysdeps/s390/__longjmp.c: New file.
35179         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
35180         * sysdeps/s390/longjmp.c: New file.
35181         * sysdeps/s390/setjmp.S: New file.
35182         * sysdeps/s390/sigjmp.S: New file.
35183         * sysdeps/s390/v1-longjmp.c: New file.
35184         * sysdeps/s390/v1-setjmp.h: New file.
35185         * sysdeps/s390/v1-sigjmp.c: New file.
35186         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
35187         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
35188         GLIBC_2.19 version.
35189         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
35190         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
35191         versioned symbols for ____longjmp_chk.
35192         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35193         Likewise.
35194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35195         Regenerate.
35196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35197         Regenerate.
35198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35199         Regenerate.
35200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35201         Regenerate.
35202         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
35203         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
35204         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
35205         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
35206         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
35207         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
35208         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
35209         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
35210         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
35211         * sysdeps/s390/rtld-__longjmp.c: New file.
35212         * sysdeps/s390/rtld-setjmp.S: New file.
35214 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
35216         [BZ #16400]
35217         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35218         Return -__logl (x) for small positive arguments without evaluating
35219         a polynomial.
35221 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
35223         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
35224         Rename to ...
35225         (__ptrace_peeksiginfo_args): ... this.
35226         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35227         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35228         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35230 2014-01-06  Allan McRae  <allan@archlinux.org>
35232         * inet/netinet/in.h: Fix typo in comment.
35234 2014-01-05  Andreas Jaeger  <aj@suse.de>
35236         * sysdeps/i386/fpu/libm-test-ulps: Update.
35238 2014-01-05  Allan McRae  <allan@archlinux.org>
35240         * po/libc.pot: Regenerated.
35242         * malloc/memusagestat.c: Fix gettext call formatting.
35244 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
35246         * nscd/nscd.c: Improve usage() output.
35248 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
35250         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
35251         * sysdeps/unix/sysv/linux/configure: Regenerated.
35252         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
35253         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
35255 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35257         [BZ #16390]
35258         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35259         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
35261 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35263         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
35264         extra tokens at end of #undef directive.
35265         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
35266         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
35267         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35269 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35271         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35273         * math/auto-libm-test-in: Mark various tests with
35274         xfail-rounding:ldbl-128ibm.
35275         * math/auto-libm-test-out: Regenerated.
35277 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
35279         [BZ #16386]
35280         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
35281         numbers with subnormal high part when calculating exponent.
35283         [BZ #16385]
35284         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
35285         fabs.
35287         [BZ #16384]
35288         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
35289         M_LN2l.
35290         (__ieee754_acoshl): Use __log1pl not __log1p.
35292 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
35294         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
35295         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
35296         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
35297         (grow_heap, heap_trim, _int_new_arena, get_free_list)
35298         (reused_arena, arena_get2): Convert to GNU style.
35299         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
35300         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
35301         (memalign_check, __malloc_set_state): Likewise.
35302         * malloc/mallocbug.c (main): Likewise.
35303         * malloc/malloc.c (__malloc_assert, malloc_init_state)
35304         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
35305         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
35306         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
35307         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
35308         (__posix_memalign, malloc_info): Likewise.
35309         * malloc/malloc.h: Likewise.
35310         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
35311         (mallochook, memalignhook, reallochook, mabort): Likewise.
35312         * malloc/mcheck.h: Likewise.
35313         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
35314         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
35315         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
35316         * malloc/morecore.c (__default_morecore): Likewise.
35317         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
35318         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
35319         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
35320         (print_and_abort): Likewise.
35321         * malloc/obstack.h: Likewise.
35322         * malloc/set-freeres.c (__libc_freeres): Likewise.
35323         * malloc/tst-mallocstate.c (main): Likewise.
35324         * malloc/tst-mtrace.c (main): Likewise.
35325         * malloc/tst-realloc.c (do_test): Likewise.
35327 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35329         [BZ #16366]
35330         * nscd/netgroupcache.c (do_notfound): New function.
35331         (addgetnetgrentX): Use it.
35333         [BZ # 16365]
35334         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
35335         NSS_STATUS_NOTFOUND.
35337 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
35339         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35342 2014-01-01  Allan McRae  <allan@archlinux.org>
35344         * scripts/update-copyrights: Update configure input file suffix.
35346         * NEWS: Update copyright year.
35347         * catgets/gencat.c: Likewise.
35348         * csu/version.c: Likewise.
35349         * debug/catchsegv.sh: Likewise.
35350         * debug/pcprofiledump.c: Likewise.
35351         * debug/xtrace.sh: Likewise.
35352         * elf/ldconfig.c: Likewise.
35353         * elf/ldd.bash.in: Likewise.
35354         * elf/pldd.c: Likewise.
35355         * elf/sotruss.ksh: Likewise.
35356         * elf/sprof.c: Likewise.
35357         * iconv/iconv_prog.c: Likewise.
35358         * iconv/iconvconfig.c: Likewise.
35359         * locale/programs/locale.c: Likewise.
35360         * locale/programs/localedef.c: Likewise.
35361         * login/programs/pt_chown.c: Likewise.
35362         * malloc/memusage.sh: Likewise.
35363         * malloc/memusagestat.c: Likewise.
35364         * malloc/mtrace.pl: Likewise.
35365         * manual/libc.texinfo: Likewise.
35366         * nscd/nscd.c: Likewise.
35367         * nss/getent.c: Likewise.
35368         * nss/makedb.c: Likewise.
35369         * posix/getconf.c: Likewise.
35370         * scripts/test-installation.pl: Likewise.
35372         * All files with FSF copyright notices: Update copyright dates
35373         using scripts/update-copyrights.
35374         * intl/plural.c: Regenerated.
35375         * locale/programs/charmap-kw.h: Likewise.
35376         * locale/programs/locfile-kw.h: Likewise.
35378 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
35380         * sysdeps/unix/sysv/linux/configure: Regenerated.
35381         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
35382         the linux/fanotify.h header.
35383         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
35384         HAVE_LINUX_FANOTIFY_H is defined.
35386 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35388         * benchtests/cos-inputs: New inputs.
35389         * benchtests/sin-inputs: Likewise.
35391         * benchtests/atan-inputs: New inputs. Fix name of multiple
35392         precision fallback inputs.
35394         * benchtests/atanh-inputs: New inputs.
35395         * benchtests/tanh-inputs: Likewise.
35397         * benchtests/acosh-inputs: New inputs.
35398         * benchtests/asinh-inputs: Likewise.
35400         * benchtests/cosh-inputs: New inputs.
35401         * benchtests/sinh-inputs: Likewise.
35403         * benchtests/acos-inputs: Add more inputs.
35404         * benchtests/asin-inputs: Likewise.
35406 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
35408         [BZ #16375]
35409         * manual/arith.texi: Fix spelling.
35410         * manual/charset.texi: Likewise.
35411         * manual/errno.texi: Likewise.
35412         * manual/filesys.texi: Likewise.
35413         * manual/lang.texi: Likewise.
35414         * manual/llio.texi: Likewise.
35415         * manual/locale.texi: Likewise.
35416         * manual/message.texi: Likewise.
35417         * manual/resource.texi: Likewise.
35418         * manual/search.texi: Likewise.
35419         * manual/setjmp.texi: Likewise.
35420         * manual/stdio.texi: Likewise.
35421         * manual/string.texi: Likewise.
35422         * manual/sysinfo.texi: Likewise.
35423         * manual/time.texi: Likewise.
35425 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
35427         * po/sl.po: New file.
35429 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
35431         * .gitignore: Add core/.gdbinit/.gdb_history.
35433 2013-12-27  Allan McRae  <allan@archlinux.org>
35435         [BZ #16369]
35436         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
35437         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
35439 2013-12-24  Brooks Moses  <bmoses@google.com>
35441         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
35442         all compilers that claim C++98 compliance, not just GCC.
35443         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35444         Likewise.
35446 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35448         * NEWS: Restore accidentally deleted bug-fix entries.
35450 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35451             Ondřej Bílka  <neleai@seznam.cz>
35453         [BZ #15073]
35454         * malloc/malloc.c (_int_free): Perform sanity check only if we
35455         have_lock.
35457 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
35459         [BZ #12986]
35460         * manual/stdio.texi (String Input Conversions): Clarify that character
35461         classes are not supported.
35463 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35467 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
35469         [BZ #16337]
35470         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35471         Calculate results for small negative arguments directly rather
35472         than using reflection formula with special underflow handling.
35474         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
35475         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
35476         sysdeps/unix/bsd/bsd4.4/syscalls.list.
35477         (fchflags): Likewise.
35478         (revoke): Likewise.
35479         (setlogin): Likewise.
35480         (sigaltstack): Likewise.
35481         (wait4): Likewise.
35482         (sigblock): Remove.
35483         (sigsetmask): Likewise.
35484         (wait3): Likewise.
35485         (waitpid): Likewise.
35486         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
35487         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
35488         file.
35489         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
35490         * sysdeps/unix/bsd/Makefile: ... here.
35491         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
35492         * sysdeps/unix/bsd/Versions: ... here.
35493         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
35494         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
35495         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
35496         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
35497         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
35498         * sysdeps/unix/bsd/sigblock.c: ... here.
35499         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
35500         * sysdeps/unix/bsd/sigsetmask.c: ... here.
35501         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
35502         * sysdeps/unix/bsd/sigvec.c: ... here.
35503         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
35504         * sysdeps/unix/bsd/tcdrain.c: ... here.
35505         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
35506         * sysdeps/unix/bsd/tcgetattr.c: ... here.
35507         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
35508         * sysdeps/unix/bsd/tcsetattr.c: ... here.
35509         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
35510         * sysdeps/unix/bsd/wait.c: ... here.
35511         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
35512         * sysdeps/unix/bsd/wait3.c: ... here.
35513         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
35514         * sysdeps/unix/bsd/waitpid.c: ... here.
35516 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
35518         [BZ #16356]
35519         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
35520         round-to-nearest for [!USE_AS_EXPM1L].
35521         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
35522         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
35523         more tests of exp and exp10.  Expect some exp10 tests to miss
35524         exceptions or fail in directed rounding modes.
35525         * math/auto-libm-test-out: Regenerated.
35526         * math/libm-test.inc (exp10_tonearest_test_data): New array.
35527         (exp10_test_tonearest): New function.
35528         (exp10_towardzero_test_data): New array.
35529         (exp10_test_towardzero): New function.
35530         (exp10_downward_test_data): New array.
35531         (exp10_test_downward): New function.
35532         (exp10_upward_test_data): New array.
35533         (exp10_test_upward): New function.
35534         (main): Call the new functions.
35535         * sysdeps/i386/fpu/libm-test-ulps: Update.
35536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35538 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
35540         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
35541         asinh, atan, atan2, atanh, cbrt, cos and cosh.
35542         * math/auto-libm-test-out: Regenerated.
35543         * math/libm-test.inc (acosh_test_data): Add more tests.
35544         (atanh_test_data): Likewise.
35545         (ceil_test_data): Likewise.
35546         (copysign_test_data): Likewise.
35547         * sysdeps/i386/fpu/libm-test-ulps: Update.
35548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35550         * timezone/checktab.awk: Update from tzcode 2013i.
35551         * timezone/private.h: Likewise.
35552         * timezone/scheck.c: Likewise.
35553         * timezone/tzfile.h: Likewise.
35554         * timezone/tzselect.ksh: Likewise.
35555         * timezone/zdump.c: Likewise.
35556         * timezone/zic.c: Likewise.
35558         * math/auto-libm-test-in: Add tests of cpow.
35559         * math/auto-libm-test-out: Regenerated.
35560         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
35561         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35562         mpc_cc_c.
35563         (func_calc_desc): Add mpc_cc_c union field.
35564         (test_functions): Add cpow.
35565         (special_fill_2pi): New function.
35566         (special_real_inputs): Add 2pi.
35567         (calc_generic_results): Handle mpc_cc_c.
35568         * sysdeps/i386/fpu/libm-test-ulps: Update.
35569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35571         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
35572         csqrt, ctan and ctanh.
35573         * math/auto-libm-test-out: Regenerated.
35574         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35575         (TEST_COND_x86): Likewise.
35576         (ccos_test_data): Use AUTO_TESTS_c_c.
35577         (ccosh_test_data): Likewise.
35578         (cexp_test_data): Likewise.
35579         (clog_test_data): Likewise.
35580         (csqrt_test_data): Likewise.
35581         (ctan_test_data): Likewise.
35582         (ctan_tonearest_test_data): Likewise.
35583         (ctan_towardzero_test_data): Likewise.
35584         (ctan_downward_test_data): Likewise.
35585         (ctan_upward_test_data): Likewise.
35586         (ctanh_test_data): Likewise.
35587         (ctanh_tonearest_test_data): Likewise.
35588         (ctanh_towardzero_test_data): Likewise.
35589         (ctanh_downward_test_data): Likewise.
35590         (ctanh_upward_test_data): Likewise.
35591         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35592         mpc_c_c.
35593         (func_calc_desc): Add mpc_c_c union field.
35594         (FUNC_mpc_c_c): New macro.
35595         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
35596         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
35597         ctanh.
35598         (special_fill_min_subnorm_p120): New function.
35599         (special_real_inputs): Add min_subnorm_p120.
35600         (calc_generic_results): Handle mpc_c_c.
35601         * sysdeps/i386/fpu/libm-test-ulps: Update.
35602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35604 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35606         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
35607         (do_sin_slow): New functions.
35608         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
35609         (cslow2, csloww1, csloww2): Use the new functions.
35611         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
35612         Use M to change sign of result instead of X.  Assume X is
35613         positive.
35614         (csloww1): Likewise.
35615         (__sin): Adjust.
35616         (__cos): Adjust.
35618         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35619         arguments A and DA.
35620         (__sin): Adjust.
35621         (__cos): Likewise.
35623         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35624         (__cos): Likewise.
35625         (sloww1): Don't adjust sign of DX.
35626         (csloww1): Likewise.
35627         (sloww2): Use X directly and don't adjust sign of DX.
35628         (csloww2): Likewise.
35630 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35632         * math/auto-libm-test-in: Add tests of cabs and carg.
35633         * math/auto-libm-test-out: Regenerated.
35634         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35635         (carg_test_data): Likewise.
35636         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35637         mpc_c_f.
35638         (func_calc_desc): Add mpc_c_f union field.
35639         (test_functions): Add cabs and carg.
35640         (calc_generic_results): Handle mpc_c_f.
35642         * sysdeps/powerpc/powerpc32/libgcc-compat.S
35643         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35644         as a macro and a compat symbol.
35645         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35646         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35647         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35648         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35649         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35650         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35651         not use .hidden.
35652         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35653         Likewise.
35654         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35655         Likewise.
35656         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35657         Likewise.
35658         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35659         Likewise.
35660         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35661         Likewise.
35662         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35663         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35664         from GLIBC_2.3.2.
35666 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35670 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35672         * manual/texinfo.tex: Update to version 2013-11-26.10 with
35673         trailing whitespace removed.
35674         * scripts/config.guess: Update to version 2013-11-29.
35675         * scripts/config.sub: Update to version 2013-10-01.
35677         * math/auto-libm-test-in: Add tests of sincos.
35678         * math/auto-libm-test-out: Regenerated.
35679         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35680         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35681         mpfr_f_11.
35682         (func_calc_desc): Add mpfr_f_11 union field.
35683         (test_functions): Add sincos.
35684         (calc_generic_results): Handle mpfr_f_11.
35685         * sysdeps/i386/fpu/libm-test-ulps: Update.
35686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35688 2013-12-19  Andreas Schwab  <schwab@suse.de>
35690         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35691         CALL_MCOUNT.
35692         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35693         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35694         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35696 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35698         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35699         * sysdeps/i386/fpu/libm-test-ulps: Update.
35700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35702         [BZ #16293]
35703         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35704         round-to-nearest mode when using frndint.
35705         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35706         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35707         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35708         Likewise.
35709         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
35710         sinh test to fail.
35711         * math/auto-libm-test-out: Regenerated.
35712         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35713         (TEST_COND_x86): Likewise.
35714         (expm1_tonearest_test_data): New array.
35715         (expm1_test_tonearest): New function.
35716         (expm1_towardzero_test_data): New array.
35717         (expm1_test_towardzero): New function.
35718         (expm1_downward_test_data): New array.
35719         (expm1_test_downward): New function.
35720         (expm1_upward_test_data): New array.
35721         (expm1_test_upward): New function.
35722         (main): Run the new test functions.
35723         * sysdeps/i386/fpu/libm-test-ulps: Update.
35724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35726         * include/features.h: Update comment documenting feature test
35727         macros.  Mention _DEFAULT_SOURCE in comment.
35728         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35729         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35730         _BSD_SOURCE and _SVID_SOURCE.
35731         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35732         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35733         !_SVID_SOURCE]: Likewise.
35734         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35735         (__USE_POSIX_IMPLICITLY): Define.
35736         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35737         (_POSIX_SOURCE): Undefine and redefine.
35738         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35739         (_POSIX_C_SOURCE): Likewise.
35740         * manual/creature.texi (_DEFAULT_SOURCE): Document.
35741         (Feature Test Macros): Update documentation of default features.
35743 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35745         * benchtests/Makefile: Add bench-strtok.
35746         * benchtests/bench-strtok.c: New file: strtok benchtest.
35748 2013-12-19  Allan McRae  <allan@archlinux.org>
35750         * manual/install.texi: Suppress menu for plain text output.
35751         * INSTALL: Regenerated.
35753 2013-12-18  Brooks Moses  <bmoses@google.com>
35755         [BZ #15846]
35756         * misc/getauxval.c: Include errno.h.
35757         (__getauxval): Set errno to ENOENT if the requested type is not
35758         found.
35759         * misc/sys/auxv.h (getauxval): Document that it may set errno;
35760         don't declare with __attribute_const__.
35761         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35762         * manual/startup.texi: Document that getauxval sets errno.
35764 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35766         * math/auto-libm-test-in: Add tests of jn and yn.
35767         * math/auto-libm-test-out: Regenerated.
35768         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35769         (yn_test_data): Likewise.
35770         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35771         mpfr_if_f.
35772         (func_calc_desc): Add mpfr_if_f union field.
35773         (FUNC_mpfr_if_f): New macro.
35774         (test_functions): Add jn and yn.
35775         (calc_generic_results): Assert type of second input for
35776         mpfr_ff_f.  Handle mpfr_if_f.
35777         (output_for_one_input_case): Disable all checking for arguments
35778         fitting floating-point types in case of an integer argument.
35779         * sysdeps/i386/fpu/libm-test-ulps: Update.
35780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35783         Don't expect fegetround reference in libm.so.
35785 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35787         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
35788         $(config-cflags-nofma).
35790 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35792         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
35793         * math/auto-libm-test-out: Regenerated.
35795         [BZ #16338]
35796         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
35797         to determine exponent and adjust argument to have exponent of -1.
35798         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
35799         log2.
35800         * math/auto-libm-test-out: Regenerated.
35801         * sysdeps/i386/fpu/libm-test-ulps: Update.
35802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35804 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
35806         * manual/probes.texi: Remove cases when per-thread arenas are
35807         disabled.
35809 2013-12-18  Andreas Schwab  <schwab@suse.de>
35811         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
35812         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
35813         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
35814         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
35815         * sysdeps/i386/i686/multiarch/Makefile: Update.
35816         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
35818 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35820         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
35821         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
35823 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
35825         [BZ #15968]
35826         Support TZ transition times < 00:00:00.
35827         This is needed for version-3 tz-format files; it supports time
35828         stamps past 2037 for America/Godthab (the only entry in the tz
35829         database for which this change is relevant).
35830         * manual/time.texi (TZ Variable): Document transition times
35831         from -167:59:59 through -00:00:01.
35832         * time/tzset.c (tz_rule): Time of day is now signed.
35833         (__tzset_parse_tz): Parse negative time of day.
35835         Document TZ transition times >= 25:00:00.
35836         * manual/time.texi (TZ Variable): Document transition times from
35837         25:00:00 through 167:59:59.  These are already supported, and this
35838         support will help with version-3 tz-format files.
35840         * manual/time.texi (TZ Variable): Modernize North America example
35841         to reflect current (i.e., 2007-and-later) daylight saving rules.
35843         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35845 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35847         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
35848         * sysdeps/unix/bsd/bits/stat.h: Likewise.
35849         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
35850         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35851         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
35852         * sysdeps/unix/bsd/bsdstat.h: Likewise.
35853         * sysdeps/unix/bsd/clock.c: Likewise.
35854         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
35855         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
35856         * sysdeps/unix/bsd/init-posix.c: Likewise.
35857         * sysdeps/unix/bsd/poll.c: Likewise.
35858         * sysdeps/unix/bsd/ptsname.c: Likewise.
35859         * sysdeps/unix/bsd/seekdir.c: Likewise.
35860         * sysdeps/unix/bsd/setegid.c: Likewise.
35861         * sysdeps/unix/bsd/seteuid.c: Likewise.
35862         * sysdeps/unix/bsd/setgid.c: Likewise.
35863         * sysdeps/unix/bsd/setrgid.c: Likewise.
35864         * sysdeps/unix/bsd/setruid.c: Likewise.
35865         * sysdeps/unix/bsd/setsid.c: Likewise.
35866         * sysdeps/unix/bsd/setuid.c: Likewise.
35867         * sysdeps/unix/bsd/sigaction.c: Likewise.
35868         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
35869         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
35870         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
35871         * sysdeps/unix/bsd/telldir.c: Likewise.
35872         * sysdeps/unix/bsd/times.c: Likewise.
35873         * sysdeps/unix/bsd/usleep.c: Likewise.
35875         * misc/Makefile (install-lib): Remove libbsd-compat.a.
35876         ($(objpfx)libbsd-compat.a): Remove rule.
35878         * include/features.h (__FAVOR_BSD): Do not define.
35879         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
35880         features conflicting with POSIX.
35881         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
35882         (_BSD_SOURCE): Remove description of not being a subset of other
35883         feature test macros.
35884         * manual/job.texi (getpgrp): Do not document BSD version.
35885         (getpgid): Do not document by reference to BSD getpgrp.
35886         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
35887         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
35888         * signal/signal.h [__FAVOR_BSD]: Likewise.
35889         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
35890         instead of making contents conditional on [__FAVOR_BSD].
35891         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
35893 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35897 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35899         [BZ #16314]
35900         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
35901         values below 2**-450, not 2**-500.
35902         * math/auto-libm-test-in: Don't allow spurious underflow from
35903         hypot.
35904         * math/auto-libm-test-out: Regenerated.
35906         [BZ #16316]
35907         [BZ #16330]
35908         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
35909         values of ha and hb and sort them after adjusting subnormal
35910         arguments.
35911         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35912         Likewise.
35913         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
35914         values of ea and eb and sort them after adjusting subnormal
35915         arguments.
35916         * math/auto-libm-test-in: Do not expect some hypot tests of
35917         subnormals to fail.  Add more hypot tests.
35918         * math/auto-libm-test-out: Regenerated.
35920 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35922         [BZ #13304]
35923         * sysdeps/sh/s_fma.c: New file.
35924         * sysdeps/sh/s_fmaf.c: New file.
35925         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
35926         version.
35927         * sysdeps/sh/Implies: Add sh/soft-fp.
35929 2013-12-16  Roland McGrath  <roland@hack.frob.com>
35931         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
35932         level of indirection to members `objname', `errstring', `malloced'.
35933         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
35934         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
35935         it as the __longjmp argument (just pass 1 instead).
35936         (_dl_catch_error): Initialize C with argument pointers and address of
35937         volatile local ERRCODE rather than copying values out of C at return.
35939 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
35941         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
35942         * math/auto-libm-test-out: Regenerated.
35943         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
35944         (hypot_test_data): Likewise.
35945         (pow_test_data): Likewise.
35946         (pow_tonearest_test_data): Likewise.
35947         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35948         mpfr_ff_f.
35949         (func_calc_desc): Add mpfr_ff_f union field.
35950         (FUNC_mpfr_ff_f): New macro.
35951         (test_functions): Add atan2, hypot and pow.
35952         (special_fill_min): New function.
35953         (special_fill_minus_min): Likewise.
35954         (special_fill_min_subnorm): Likewise.
35955         (special_fill_minus_min_subnorm): Likewise.
35956         (special_real_inputs): Add min, -min, min_subnorm and
35957         -min_subnorm.
35958         (calc_generic_results): Handle mpfr_ff_f.
35959         * sysdeps/i386/fpu/libm-test-ulps: Update.
35960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35962 2013-12-16  Will Newton  <will.newton@linaro.org>
35964         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
35965         (Aligned Memory Blocks): Add documentation for aligned_alloc
35966         and suggest it as an alternative to posix_memalign.
35967         (Hooks for Malloc): Document __memalign_hook is also called
35968         for aligned_alloc.  (Summary of Malloc): Add summary for
35969         aligned alloc.  Document __memalign_hook is also called
35970         for aligned_alloc.
35972 2013-12-16  Will Newton  <will.newton@linaro.org>
35974         * manual/memory.texi (Malloc Examples): Clarify default
35975         alignment documentation.  Suggest posix_memalign rather
35976         than memalign or valloc.
35977         (Aligned Memory Blocks): Remove suggestion to use memalign
35978         or valloc.  Remove obsolete comment about BSD.
35979         Document memalign errno values and mark the function obsolete.
35980         Document posix_memalign returned error codes.  Mark valloc
35981         as obsolete.  (Hooks for Malloc): __memalign_hook is also
35982         called for posix_memalign and valloc.
35983         (Summary of Malloc): Add posix_memalign to function summary.
35984         __memalign_hook is also called for posix_memalign and valloc.
35986 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35988         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
35989         TAYLOR_SIN.
35990         (__sin): Adjust.
35991         (__cos): Likewise.
35992         (sloww): Use mynumber union.  Expand ternary operator into
35993         if-else statements.
35994         (cslow): use mynumber union.
35996 2013-12-16  Allan McRae  <allan@archlinux.org>
35998         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
35999         * configure: Regenerated.
36001         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
36003         [BZ #14120]
36004         * configure.ac: Added --enable-maintainer-mode. Check for
36005         autoconf when enabled.
36006         * configure: Regenerated.
36008         * nscd/nscd.service: New file.
36009         * nscd/nscd.tmpfiles: New file.
36011 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
36013         [BZ #12100]
36014         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
36015         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
36016         * sysdeps/x86_64/multiarch/strstr.c: ... here.
36017         (strstr): Add __strstr_sse2_unaligned ifunc.
36018         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
36019         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
36020         (strcasestr): Remove __strcasestr_sse42 ifunc.
36021         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
36022         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36025 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36027         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
36028         * sysdeps/sh/bits/fenv.h: ... here.
36029         * sysdeps/sh/sh4/fpu/bits: Remove directory.
36031 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36033         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
36035         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
36036         hypotf multiarch implementations.
36037         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
36038         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
36039         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
36040         multiarch hypot for PPC64.
36041         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
36042         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
36043         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
36044         multiarch hypotf for PPC64.
36046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
36047         modff multiarch implementations.
36048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
36049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
36050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
36051         multiarch modf for PPC64.
36052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
36053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
36054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
36055         multiarch modff for PPC64.
36057         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
36058         and logl multiarch implementations.
36059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
36060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
36061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
36062         multiarch logb for PPC64.
36063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
36064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
36065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
36066         multiarch logb for PPC64.
36067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
36068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
36069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
36070         multiarch logb for PPC64.
36072         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
36073         isinff multiarch implementation.
36074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
36075         file.
36076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
36077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
36078         multiarch isinf for PPC64.
36079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
36080         file.
36081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
36082         multiarch isinff for PPC64.
36084         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
36085         finitef multiarch implementation.
36086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
36087         file.
36088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
36089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
36090         multiarch finite for PPC64.
36091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
36092         file.
36093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
36094         multiarch finitef for PPC64.
36096         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
36097         lrint multiarch implementation.
36098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
36099         file.
36100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
36101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
36102         multiarch llrint for PPC64.
36103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
36104         multiarch lrint for PPC64.
36106         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
36107         copysignf multiarch implementation.
36108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
36109         file.
36110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
36111         file.
36112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
36113         multiarch copysign for PPC64.
36114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
36115         multiarch copysignf for PPC64.
36117         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
36118         multiarch implementation.
36119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
36120         file.
36121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
36122         file.
36123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
36124         file.
36125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
36126         file.
36127         multiarch llround for PPC64.
36128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
36129         multiarch trunc for PPC64.
36130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
36131         multiarch truncf for PPC64.
36133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
36134         multiarch implementation.
36135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
36136         file.
36137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
36138         file.
36139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
36140         file.
36141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
36142         file.
36143         multiarch llround for PPC64.
36144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
36145         multiarch round for PPC64.
36146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
36147         multiarch roundf for PPC64.
36149         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
36150         multiarch implementation.
36151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
36152         file.
36153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
36154         file.
36155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
36156         file.
36157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
36158         file.
36159         multiarch llround for PPC64.
36160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
36161         multiarch floor for PPC64.
36162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
36163         multiarch floorf for PPC64.
36165         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
36166         multiarch implementation.
36167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
36168         file.
36169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
36170         file.
36171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
36172         file.
36173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
36174         file.
36175         multiarch llround for PPC64.
36176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
36177         multiarch ceil for PPC64.
36178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
36179         multiarch ceilf for PPC64.
36181         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36182         multiarch implementation.
36183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
36184         file.
36185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
36186         file.
36187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
36188         file.
36189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
36190         multiarch llround for PPC64.
36191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
36192         multiarch lround for PPC64.
36194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36195         multiarch implementation.
36196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
36197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
36198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
36199         file.
36200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
36201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
36202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
36203         multiarch isnan for PPC64.
36204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
36205         multiarch isnanf for PPC64.
36207         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
36208         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
36209         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
36210         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
36211         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
36212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
36214         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
36215         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36216         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36217         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
36220         multiarch implementations.
36221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36222         (__libc_ifunc_impl_list): Likewise.
36223         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
36224         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
36225         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
36226         multiarch stpcpy for PPC64.
36228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
36229         multiarch implementations.
36230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36231         (__libc_ifunc_impl_list): Likewise.
36232         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
36233         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
36234         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
36235         multiarch strcpy for PPC64.
36237         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
36238         redefine function name.
36239         (_wordcopy_fwd_dest_aligned): Likewise.
36240         (_wordcopy_bwd_aligned): Likewise.
36241         (_wordcopy_bwd_dest_aligned): Likewise.
36242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
36243         multiarch implementations.
36244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36245         (__libc_ifunc_impl_list): Likewise.
36246         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
36247         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
36248         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
36249         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
36250         multiarch wcscpy for PPC64.
36252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
36253         multiarch implementations.
36254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36255         (__libc_ifunc_impl_list): Likewise.
36256         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
36257         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
36258         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
36259         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
36260         multiarch wcscpy for PPC64.
36262         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
36263         multiarch implementations.
36264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36265         (__libc_ifunc_impl_list): Likewise.
36266         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
36267         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
36268         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
36269         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
36270         multiarch wcsrchr for PPC64.
36272         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
36273         multiarch implementations.
36274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36275         (__libc_ifunc_impl_list): Likewise.
36276         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
36277         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
36278         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
36279         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
36280         multiarch wcschr for PPC64.
36282         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
36283         multiarch implementations.
36284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36285         (__libc_ifunc_impl_list): Likewise.
36286         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
36287         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
36288         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
36289         multiarch strchrnul for PPC64.
36291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
36292         implementations.
36293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36294         (__libc_ifunc_impl_list): Likewise.
36295         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
36296         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
36297         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
36298         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
36299         strchr for PPC64.
36301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
36302         implementations.
36303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36304         (__libc_ifunc_impl_list): Likewise.
36305         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
36306         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
36307         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
36308         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
36309         strncmp for PPC64.
36311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
36312         multiarch implementations.
36313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36314         (__libc_ifunc_impl_list): Likewise.
36315         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
36316         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
36317         strncasecmp for PPC64.
36318         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
36319         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
36320         multiarch strncasecmp_l for PPC64.
36322         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
36323         multiarch implementations.
36324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36325         (__libc_ifunc_impl_list): Likewise.
36326         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
36327         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
36328         multiarch strcasecmp for PPC64.
36329         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
36330         file.
36331         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
36332         multiarch strcasecmp_l for PPC64.
36334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
36335         implementations.
36336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36337         (__libc_ifunc_impl_list): Likewise.
36338         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
36339         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
36340         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
36341         strnlen for PPC64.
36343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
36344         implementations.
36345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36346         (__libc_ifunc_impl_list): Likewise.
36347         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
36348         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
36349         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
36350         strlen for PPC64.
36352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
36353         implementations.
36354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36355         (__libc_ifunc_impl_list): Likewise.
36356         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
36357         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
36358         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
36359         rawmemrchr for PPC64.
36361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
36362         implementation.
36363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36364         (__libc_ifunc_impl_list): Likewise.
36365         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
36366         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
36367         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
36368         memrchr for PPC64.
36370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
36371         implementation.
36372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36373         (__libc_ifunc_impl_list): Likewise.
36374         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
36375         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
36376         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
36377         memchr for PPC64.
36379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
36380         implementation.
36381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36382         (__libc_ifunc_impl_list): Likewise.
36383         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
36384         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
36385         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
36386         mempcpy for PPC64.
36388         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
36389         avoid cretion of __bzero symbol.
36390         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
36391         Likewise.
36392         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
36393         Likewise.
36394         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
36395         Likewise.
36396         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
36397         multiarch implementations.
36398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36399         (__libc_ifunc_impl_list): Likewise.
36400         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
36401         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
36402         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
36403         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
36404         bzero for PPC32.
36405         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
36406         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
36407         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
36408         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
36409         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
36410         memset for PPC64.
36411         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
36413         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
36414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
36415         implementations.
36416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36417         (__libc_ifunc_impl_list): Likewise.
36418         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
36419         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
36420         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
36421         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
36422         memcmp for PPC64.
36424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
36425         multiarch for POWER/PPC64.
36426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
36427         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
36428         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
36429         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
36430         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
36431         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
36432         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
36433         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
36434         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
36435         memcpy for PPC64.
36437         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
36438         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
36439         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
36440         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
36441         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
36442         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
36443         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
36444         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
36445         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
36446         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
36447         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
36448         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
36449         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
36450         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
36451         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
36452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
36453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
36454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
36455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
36456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
36457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
36458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
36460 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36462         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
36464 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36466         * benchtests/Makefile (bench): Add exp2 and log2.
36467         (LDLIBS-bench-exp2): Add -lm.
36468         (LDLIBS-bench-log2): Likewise.
36469         * benchtests/exp2-inputs: New inputs file.
36470         * benchtests/log2-inputs: New inputs file.
36471         * benchtests/log-inputs: Add new inputs.
36472         * benchtests/tan-inputs: Likewise.
36474 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36476         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
36477         definition...
36478         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
36479         (csloww2): ... from here.
36481         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
36482         instead of structures.
36483         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
36484         (POLYNOMIAL): Likewise.
36485         (TAYLOR_SLOW): Likewise.
36486         (__sin): Likewise.
36487         (__cos): Likewise.
36488         (slow1): Likewise.
36489         (slow2): Likewise.
36490         (sloww): Likewise.
36491         (sloww1); Likewise.
36492         (sloww2): Likewise.
36493         (bsloww1): Likewise.
36494         (bsloww2): Likewise.
36495         (cslow2): Likewise.
36496         (csloww): Likewise.
36497         (csloww1): Likewise.
36498         (csloww2): Likewise.
36500 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
36502         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
36503         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
36504         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
36505         * malloc/hooks.c (realloc_check): Likewise.
36507         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
36508         * malloc/arena.c: Remove PER_THREAD conditional.
36509         [!PER_THREAD]: Remove code.
36510         (ptmalloc_unlock_all2): Likewise.
36511         (ptmalloc_init): Likewise.
36512         (_int_new_arena): Likewise.
36513         (arena_get2): Likewise.
36514         * malloc/hooks.c (__malloc_get_state): Likewise.
36515         (__malloc_set_state): Likewise.
36516         * malloc/malloc.c: Likewise.
36517         (struct malloc_state): Likewise.
36518         (struct malloc_par): Likewise.
36519         (__libc_realloc): Likewise.
36520         (__libc_mallopt): Likewise.
36522 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36524         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
36526 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
36528         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
36529         macro to a function.  Check for zero perturb_byte.
36530         (_int_malloc, _int_free): Remove zero perturb_byte checks.
36532         * malloc/malloc.c: (force_reg): Remove.
36533         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
36534         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
36535         force_reg by atomic_forced_read.
36536         * malloc/arena.c (ptmalloc_init): Likewise.
36537         * malloc/hooks.c (top_check): Likewise.
36539 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36543 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
36545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36547 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
36549         * math/auto-libm-test-in: Add tests of lgamma.
36550         * math/auto-libm-test-out: Regenerated.
36551         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
36552         (M_LOG_2_SQRT_PIl): Likewise.
36553         (lgamma_test_data): Use AUTO_TESTS_f_f1.
36554         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36555         mpfr_f_f1.
36556         (func_calc_desc): Add mpfr_f_f1 union field.
36557         (ARGS1): New macro.
36558         (ARGS2): Likewise.
36559         (ARGS3): Likewise.
36560         (ARGS4): Likewise.
36561         (RET1): Likewise.
36562         (RET2): Likewise.
36563         (CALC): Likewise.
36564         (FUNC): Likewise.
36565         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
36566         (test_functions): Add lgamma.
36567         (calc_generic_results): Handle mpfr_f_f1.
36568         * sysdeps/i386/fpu/libm-test-ulps: Update.
36569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36571 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36573         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
36574         __mpn_add_n for PowerPC64/POWER7.
36575         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
36576         __mpn_sub_n for PowerPC64/POWER7.
36578         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
36579         __mpn_addmul_1 for PowerPC64.
36580         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
36581         __mpn_submul_1 for PowerPC64.
36582         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
36583         for PowerPC64.
36584         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
36585         for PowerPC64.
36587 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
36589         [BZ #15089]
36590         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
36592 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36594         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
36596         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
36597         add multiarch folders.
36598         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
36599         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
36600         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
36601         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
36602         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
36603         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
36604         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
36605         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
36606         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
36607         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
36608         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
36609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
36610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
36611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
36612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
36613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
36614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
36616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36617         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36619         New file.
36620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36621         New file.
36622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36623         multiarch __ieee754_hypot for PowerPC32.
36624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36625         New file.
36626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36627         New file.
36628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36629         multiarch __ieee754_hypotf for PowerPC32.
36631         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36632         long_double_symbol only if __logbl is defined.
36633         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36634         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36635         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36636         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36637         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36638         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36639         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36640         path for implementation.
36641         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36642         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36644         logb, and logbl multiarch implementations for PowerPC32.
36645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36646         file.
36647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36648         file.
36649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36650         multiarch logb for PowerPC32.
36651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36652         file.
36653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36654         file.
36655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36656         multiarch logbf for PowerPC32.
36657         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36659         file.
36660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36661         multiarch logbl implementation for PowerPC32.
36663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36664         and modff multiarch implementations.
36665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36666         New file.
36667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36668         New file.
36669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36670         multiarch modf for PowerPC32.
36671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36672         New file.
36673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36674         New file.
36675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36676         multiarch modff for PowerPC32.
36678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36679         and lrintf multiarch implementations.
36680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36681         New file.
36682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36683         New file.
36684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36685         multiarch lrint for PowerPC32.
36686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36687         file: multiarch lrintf for PowerPC32.
36689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36690         and lroundf multiarch implementations.
36691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36692         New file.
36693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36694         New file.
36695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36696         New file.
36697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36698         multiarch lround for PowerPC32.
36699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36700         file: multiarch lroundf for PowerPC32.
36702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36703         copysign and copysignf multiarch implementations.
36704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36705         New file.
36706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36707         New file.
36708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36709         file: multiarch copysign for PowerPC32.
36710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36711         file: multiarch copysignf for PowerPC32.
36713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36714         and truncf multiarch implementations.
36715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36716         New file.
36717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36718         file.
36719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36720         multiarch trunc for PowerPC32.
36721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36722         New file.
36723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36724         New file.
36725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36726         multiarch truncf for PowerPC32.
36728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36729         and roundf multiarch implementations.
36730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36731         New file.
36732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36733         file.
36734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36735         multiarch round for PowerPC32.
36736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36737         New file.
36738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36739         New file.
36740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36741         multiarch roundf for PowerPC32.
36743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36744         and floorf multiarch implementations.
36745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36746         New file.
36747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36748         file.
36749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36750         multiarch floor for PowerPC32.
36751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36752         New file.
36753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36754         New file.
36755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36756         multiarch floorf for PowerPC32.
36758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36759         and ceilf multiarch implementations.
36760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36761         New file.
36762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36763         file.
36764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36765         multiarch ceil for PowerPC32.
36766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36767         New file.
36768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36769         file.
36770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36771         multiarch ceilf for PowerPC32.
36773         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
36774         is defined.
36775         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
36776         FINITEF is defined.
36777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
36778         and finitef multiarch implementations.
36779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
36780         New file.
36781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
36782         file.
36783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
36784         multiarch finite for PowerPC32.
36785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
36786         New file.
36787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
36788         file: multiarch finitef for PowerPC32.
36790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
36791         and isinff multiarch implementations.
36792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
36793         file.
36794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
36795         file.
36796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
36797         multiarch isinf for PowerPC32.
36798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
36799         New file.
36800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
36801         multiarch isinff for PowerPC32.
36803         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
36804         alias when __isnan is defined.
36805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
36806         and isnanf multiarch implementations.
36807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
36808         file.
36809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
36810         file.
36811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
36812         file.
36813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
36814         file.
36815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
36816         multiarch isnan for PowerPC32.
36817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
36818         New file.
36819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
36820         New file.
36821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
36822         multiarch isnanf for PowerPC32.
36824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
36825         and sqrtf multiarch implementations.
36826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
36827         file.
36828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
36829         file.
36830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
36831         multiarch sqrt for PowerPC32.
36832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
36833         file.
36834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
36835         file.
36836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
36837         multiarch sqrtf for PowerPC32.
36839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
36840         and llroundf multiarch implementations.
36841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
36842         New file.
36843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
36844         New file.
36845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
36846         New file.
36847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
36848         file: multiarch llround for PowerPC32.
36849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
36850         file: multiarch llroundf for PowerPC32.
36852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36853         multiarch PowerPC32 fpu implementations.
36854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
36855         New file.
36856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
36857         New file.
36858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
36859         multiarch llrint for PowerPC32.
36860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
36861         New file.
36862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
36863         New file.
36864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
36865         file.
36867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
36869         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
36870         file.
36871         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
36872         file.
36873         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
36874         file.
36875         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
36876         multiarch wordcopy for PPC32.
36877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36878         wordcopy objects.
36879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36880         (__libc_ifunc_impl_list): Likewise.
36881         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
36882         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
36883         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
36884         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
36885         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
36886         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
36888         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
36889         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
36890         file.
36891         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
36892         file.
36893         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
36894         file.
36895         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
36896         multiarch wcscpy for PPC32.
36897         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36898         multiarch objects.
36899         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36900         (__libc_ifunc_impl_list): Likewise.
36901         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36902         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36903         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
36904         sysdeps/powerpc/power6/wcscpy.c.
36906         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
36907         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
36908         file.
36909         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
36910         file.
36911         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
36912         file.
36913         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
36914         multiarch wcsrchr 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/wcsrchr.c: Move ...
36920         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36921         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
36922         sysdeps/powerpc/power6/wcsrchr.c.
36924         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
36925         file.
36926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
36927         file.
36928         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
36929         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
36930         multiarch wcschr for PPc32.
36931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36932         multiarch objects.
36933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36934         (__libc_ifunc_impl_list): Likewise.
36935         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
36936         * sysdeps/powerpc/power6/wcschr.c: ... to here.
36937         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
36938         sysdeps/powerpc/power6/wcschr.c.
36940         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
36941         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
36942         file.
36943         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
36944         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
36945         file: multiarch strchr for PPC32.
36946         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
36947         multiarch objects.
36948         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36949         (__libc_ifunc_impl_list): Likewise.
36951         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
36952         name.
36953         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
36954         file.
36955         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
36956         file.
36957         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
36958         multiarch strchrnul for PPC32.
36959         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
36960         multiarch objects.
36961         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36962         (__libc_ifunc_impl_list): Likewise.
36964         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
36965         file.
36966         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
36967         multiarch strncasecmp for PPC32.
36968         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
36969         file.
36970         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
36971         multiarch strncasecmp_l for PPC32.
36972         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
36973         strncasecmp multiarch objects.
36974         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36975         (__libc_ifunc_impl_list): Likewise.
36977         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
36978         file.
36979         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
36980         multiarch strncasecmp for PPC32.
36981         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36982         New file.
36983         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
36984         multiarch strcasecmp_l for PPC32.
36985         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
36986         multiarch objects.
36987         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36988         (__libc_ifunc_impl_list): Likewise.
36990         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
36991         file.
36992         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
36993         file.
36994         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
36995         multiarch strncmp for PPC32.
36996         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
36997         multiarch objects.
36998         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36999         (__libc_ifunc_impl_list): Likewise.
37001         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
37002         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
37003         file.
37004         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
37005         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
37006         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
37007         multiarch objects.
37008         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37009         (__libc_ifunc_impl_list): Likewise.
37011         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
37012         file.
37013         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
37014         file.
37015         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
37016         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
37017         multiarch objects.
37018         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37019         (__libc_ifunc_impl_list): Likewise.
37021         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
37022         file.
37023         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
37024         file.
37025         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
37026         multiarch rawmemchr for PPC32.
37027         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
37028         multiarch objects.
37029         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37030         (__libc_ifunc_impl_list): Likewise.
37032         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
37033         file.
37034         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
37035         file.
37036         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
37037         file: memrchr multiarch for PPC32.
37038         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
37039         multiarch objects.
37040         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37041         (__libc_ifunc_impl_list): Likewise.
37043         * string/memchr.c (__memchr): Using macro to redefine symbol name.
37044         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
37045         file.
37046         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
37047         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
37048         multiarch memchr for PPC32.
37049         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
37050         multiarch objects.
37051         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37052         (__libc_ifunc_impl_list): Likewise.
37054         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
37055         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
37056         file.
37057         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
37058         file.
37059         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
37060         file: multiarch mempcpy for PPC32.
37061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
37062         multiarch objects.
37063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37064         (__libc_ifunc_impl_list): Likewise.
37066         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
37067         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
37068         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
37069         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
37070         multiarch bzero for PPC32.
37071         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
37072         file.
37073         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
37074         file.
37075         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
37076         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
37077         file: multiarch memset for PPC32.
37078         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
37079         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
37080         memset multiarch objects.
37081         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37082         (__libc_ifunc_impl_list): Likewise.
37084         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
37085         file.
37086         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
37087         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
37088         memcmp for PPC32.
37089         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
37090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
37091         multiarch objects.
37092         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37093         (__libc_ifunc_impl_list): Likewise.
37095         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
37096         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
37097         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
37098         file.
37099         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
37100         file.
37101         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
37102         file.
37103         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
37104         multiarch memcpy for PPC32.
37105         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
37106         multiarch objects.
37107         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37108         (__libc_ifunc_impl_list): Likewise.
37110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
37111         support multiarch for POWER/PPC32.
37112         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
37113         Likewise.
37114         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
37116         Implies file to make multiarch folder appers before the fpu and
37117         default folder for power4 configuration.
37119 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37121         * scripts/bench.pl: Append volatile keyword to type.
37123 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37125         * sysdeps/sh/sotruss-lib.c: New file.
37126         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
37128 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37132 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
37134         [BZ #6810]
37135         * math/w_tgamma.c: Include <errno.h>.
37136         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
37137         * math/w_tgammaf.c: Include <errno.h>.
37138         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
37139         * math/w_tgammal.c: Include <errno.h>.
37140         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
37141         * math/auto-libm-test-in: Do not allow missing errno on tgamma
37142         underflow.  Add more tgamma tests.
37143         * math/auto-libm-test-out: Regenerated.
37144         * sysdeps/i386/fpu/libm-test-ulps: Update.
37145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37147         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
37148         sin, sinh, tan, tanh, tgamma, y0 and y1.
37149         * math/auto-libm-test-out: Regenerated.
37150         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37151         (TEST_COND_x86): Likewise.
37152         (M_E2l): Remove macro.
37153         (M_E3l): Likewise.
37154         (M_2_SQRT_PIl): Likewise.
37155         (M_SQRT_PIl): Likewise.
37156         (M_1_DIV_El): Likewise.
37157         (log_test_data): Use AUTO_TESTS_f_f.
37158         (log10_test_data): Likewise.
37159         (log1p_test_data): Likewise.
37160         (log2_test_data): Likewise.
37161         (sin_test_data): Likewise.
37162         (sin_tonearest_test_data): Likewise.
37163         (sin_towardzero_test_data): Likewise.
37164         (sin_downward_test_data): Likewise.
37165         (sin_upward_test_data): Likewise.
37166         (sinh_test_data): Likewise.
37167         (sinh_tonearest_test_data): Likewise.
37168         (sinh_towardzero_test_data): Likewise.
37169         (sinh_downward_test_data): Likewise.
37170         (sinh_upward_test_data): Likewise.
37171         (tan_test_data): Likewise.
37172         (tan_tonearest_test_data): Likewise.
37173         (tan_towardzero_test_data): Likewise.
37174         (tan_downward_test_data): Likewise.
37175         (tan_upward_test_data): Likewise.
37176         (tanh_test_data): Likewise.
37177         (tgamma_test_data): Likewise.
37178         (y0_test_data): Likewise.
37179         (y1_test_data): Likewise.
37180         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
37181         (special_real_inputs): Add pi/4.
37182         * sysdeps/i386/fpu/libm-test-ulps: Update.
37183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37185 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37187         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
37188         "longjmp_target" static probes.
37189         (__longjmp): Rename to __longjmp_symbol.
37190         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37191         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
37192         on which longjmp to generate.
37193         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37194         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
37195         probe.
37196         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37197         (__sigjmp_save): Rename to __sigjmp_save_symbol.
37198         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37199         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
37200         and __sigjmp_save_symbol based on which sigsetjmp to generated.
37201         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
37203         __longjmp_symbol based on which __longjmp to generate.
37204         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
37205         probe.
37206         (setjmp): Rename to setjmp_symbol.
37207         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37208         (_setjmp): Rename to _setjmp_symbol.
37209         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37210         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
37211         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
37212         which setjmp to generate.
37213         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
37214         "longjmp_target" static probes.
37216 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37218         * benchtests/README: Add note about output arguments.
37219         * benchtests/bench-sincos.c: Remove file.
37220         * benchtests/sincos-inputs: New file.
37221         * scripts/bench.pl: Identify output arguments and define
37222         static variables for them.
37224         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
37226         [BZ #15941]
37227         * Makefile (INSTALL): Add install-plain.texi as the primary
37228         dependency.
37229         * manual/install-plain.texi: New file.
37230         * manual/install.texi: Include node directive only for
37231         non-plaintext output.
37233 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
37235         * stdlib/longlong.h: Update from GCC.
37237         [BZ #6807]
37238         [BZ #15901]
37239         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
37240         * math/w_j0f.c (y0f): Likewise.
37241         * math/w_j0l.c (__y0l): Likewise.
37242         * math/w_j1.c (y1): Likewise.
37243         * math/w_j1f.c (y1f): Likewise.
37244         * math/w_j1l.c (__y1l): Likewise.
37245         * math/w_jn.c (yn): Likewise.
37246         * math/w_jnf.c (ynf): Likewise.
37247         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
37248         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
37249         value for Bessel function domain errors outside _SVID_ mode.
37250         Adjust sign of return value for yn (negative integer, 0).
37251         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
37252         by zero in return for negative x and set sign appropriately for
37253         negative n.
37254         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
37255         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37256         * math/libm-test.inc (y0_test_data): Add more tests and adjust
37257         expectations in error cases.
37258         (y1_test_data): Likewise.
37259         (yn_test_data): Likewise.
37260         * sysdeps/i386/fpu/libm-test-ulps: Update.
37261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37263 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37265         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
37266         "64" to "64-v1".  Add "64-v2".
37267         (abi-64-options): Rename to ...
37268         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
37269         (abi-64-condition): Rename to ...
37270         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
37271         (abi-64-ld-soname): Rename to ...
37272         (abi-64-v1-ld-soname): ... this.
37273         (abi-64-v2-options): Define.
37274         (abi-64-v2-condition): Likewise.
37275         (abi-64-v2-ld-soname): Likewise.
37276         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
37277         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
37278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
37279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
37280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
37282 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37283             Alan Modra  <amodra@gmail.com>
37285         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
37286         New versions for use with the ELFv2 ABI.
37287         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
37288         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
37289         declaration.
37290         (struct La_ppc64v2_retval): Likewise.
37291         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
37292         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
37293         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
37294         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
37295         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
37296         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37297         Do not save or restore CR.
37298         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
37299         (_dl_profile_resolve): Do no save or restore CR.  Support extended
37300         return values for ELFv2 ABI.  Fix location of FPR return registers.
37301         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
37302         updated values for _CALL_ELF == 2.
37303         (La_regs, La_retval, int_retval): Likewise.
37305 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37307         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
37308         (FRAME_MIN_SIZE_PARM): Likewise.
37309         (FRAME_BACKCHAIN): Likewise.
37310         (FRAME_CR_SAVE): Likewise.
37311         (FRAME_LR_SAVE): Likewise.
37312         (FRAME_TOC_SAVE): Likewise.
37313         (FRAME_PARM_SAVE): Likewise.
37314         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
37315         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
37316         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37317         (call_mcount_parm_offset): New macro.
37318         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
37319         (PROF): Use symbolic stack frame offsets.
37320         (TAIL_CALL_SYSCALL_ERROR): Likewise.
37321         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
37322         Redefine in terms of FRAME_MIN_SIZE.
37323         (_dl_runtime_resolve): Use symbolic stack frame offsets.
37324         (_dl_profile_resolve): Likewise.  Update comment.
37325         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
37326         symbols stack frame offsets.
37327         (__sigsetjmp): Likewise.
37328         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
37329         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
37330         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
37331         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
37333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
37334         (FRAME_BACKCHAIN): Remove.
37335         (FRAME_CR_SAVE): Likewise.
37336         (FRAME_LR_SAVE): Likewise.
37337         (FRAME_COMPILER_DW): Likewise.
37338         (FRAME_LINKER_DW): Likewise.
37339         (FRAME_TOC_SAVE): Likewise.
37340         (FRAME_PARM_SAVE): Likewise.
37341         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
37342         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
37343         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
37345         (CHECK_SP): Use symbolic stack frame offsets.
37346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
37347         zone" instead of caller's parameter save area for temp storage.
37348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37349         Likewise.  Also, use symbolic stack frame offsets.
37350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
37351         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
37352         our own stack frame instead of the caller's.
37353         (__socket): Use symbolic stack frame offsets.
37355 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37356             Alan Modra  <amodra@gmail.com>
37358         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
37359         Define.
37360         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
37361         (PPC64_LOCAL_ENTRY_OFFSET): Define.
37362         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
37363         New function.
37364         (elf_machine_fixup_plt): Call it.
37365         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
37366         reloc arguments.
37367         (elf_machine_rela): Update call to elf_machine_plt_conflict.
37368         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37369         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
37370         r2 before calling target.
37372 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37373             Alan Modra  <amodra@gmail.com>
37375         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
37376         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
37377         versions of macros to support ELFv2 ABI.
37378         (LOCALENTRY): New macro.
37379         (ENTRY, EALIGN): Use it.
37380         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
37381         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
37382         fall through into ENTRY entry point.
37383         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
37384         Only define if _CALL_ELF != 2.
37386         (elf_machine_matches_host): Verify ABI version matches.
37387         (RTLD_START): Use LOCALENTRY.
37388         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
37389         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
37390         (PLT_ENTRY_WORDS): New macro.
37391         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
37392         (elf_machine_runtime_setup): Support ELFv2 ABI.
37393         (elf_machine_fixup_plt): Likewise.
37394         (elf_machine_plt_conflict): Likewise.
37395         (resolve_ifunc): Likewise.
37396         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37397         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37398         Likewise.
37399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
37400         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
37401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37402         (makecontext): Support ELFv2 ABI.
37403         * elf/elf.h (EF_PPC64_ABI): Define.
37405 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37407         * sysdeps/powerpc/powerpc64/sysdep.h
37408         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
37409         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
37410         (ENTRY) [ASSEMBLER]: ... but instead here ...
37411         (EALIGN) [ASSEMBLER]: ... and here.
37412         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
37413         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
37414         (ENTRY_2) [!ASSEMBLER]: Use it.
37415         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
37416         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
37417         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37418         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
37419         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
37420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
37421         Use PPC64_LOAD_FUNCPTR.
37423         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
37425 2013-12-04  Alan Modra  <amodra@gmail.com>
37427         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
37428         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
37429         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
37430         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
37432         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
37433         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
37434         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
37435         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
37436         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
37437         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
37439 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37442         (__makecontext): Fix incorrect CFI when backtracing out of
37443         context created via makecontext.
37444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
37445         (__setcontext): Fix incorrect CFI during switch to new context.
37446         (__novec_setcontext): Likewise.
37448 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37450         [BZ #4772]
37451         * time/strptime_l.c (__strptime_internal): Allow modifiers
37452         in strptime.
37453         * time/tst-strptime.c (day_tests): Add testcase.
37455 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37457         * scripts/bench.pl: Skip over blank lines.
37459 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
37461         [BZ #926]
37462         * manual/time.texi (Calendar Time): Clarify what timezone functions
37463         use.
37465 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37469 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37471         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
37472         implementation.
37473         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
37474         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
37475         * debug/memset_chk.c (__memset_chk): Likewise.
37476         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
37477         * debug/strncpy_chk.c: Likewise.
37479 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37481         [BZ #15268]
37482         [BZ #15425]
37483         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
37484         (__ieee754_exp): For possibly underflowing results, check size of
37485         result and force underflow exception if required.
37486         * math/auto-libm-test-in: Add more tests of exp.
37487         * math/auto-libm-test-out: Regenerated.
37488         * sysdeps/i386/fpu/libm-test-ulps: Update.
37489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37491         [BZ #16283]
37492         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
37493         * math/w_exp2f.c (__exp2f): Likewise.
37494         * math/w_exp2l.c (__exp2l): Likewise.
37495         * math/auto-libm-test-in: Do not allow missing errno on exp2
37496         underflow.
37497         * math/auto-libm-test-out: Regenerated.
37499 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
37501         [BZ #16274]
37502         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
37503         handle filename validation.
37504         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
37505         (do_open): Delete.
37507 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37509         [BZ #6786]
37510         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
37511         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
37512         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
37513         <float.h>.
37514         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
37515         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
37516         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37517         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
37518         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37519         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
37520         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37521         * math/auto-libm-test-in: Don't allow missing errno from erfc.
37522         Add more erfc tests.
37523         * math/auto-libm-test-out: Regenerated.
37524         * sysdeps/i386/fpu/libm-test-ulps: Update.
37525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37527         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
37528         exp2, expm1, j0 and j1.
37529         * math/auto-libm-test-out: Regenerated.
37530         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
37531         (erfc_test_data): Likewise.
37532         (exp_test_data): Likewise.
37533         (exp_tonearest_test_data): Likewise.
37534         (exp_towardzero_test_data): Likewise.
37535         (exp_downward_test_data): Likewise.
37536         (exp_upward_test_data): Likewise.
37537         (exp10_test_data): Likewise.
37538         (exp2_test_data): Likewise.
37539         (expm1_test_data): Likewise.
37540         (j0_test_data): Likewise.
37541         (j1_test_data): Likewise.
37542         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
37543         (input_flag_type): Add flag_xfail_rounding.
37544         (input_flags): Add xfail-rounding.
37545         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
37546         (output_for_one_input_case): Handle flag_xfail_rounding.
37547         * sysdeps/i386/fpu/libm-test-ulps: Update.
37548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37550 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
37552         [BZ #16289]
37553         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
37554         division by 0.
37556 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37558         [BZ #16195]
37559         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
37560         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
37561         (STAP_PROBE0): New macro.
37562         (STAP_PROBE1): Likewise.
37563         (STAP_PROBE2): Likewise.
37564         (STAP_PROBE3): Likewise.
37565         (STAP_PROBE4): Likewise.
37567 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
37569         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
37571 2013-12-02  Steve Ellcey  <sellcey@mips.com>
37573         * benchtests/Makefile (bench): Add sqrt.
37574         (LDLIBS-bench-sqrt): New.
37575         * benchtests/sqrt-input: New.
37577 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
37579         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
37580         (GAIH_EAI): Likewise.
37581         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
37582         (gaih_inet): Likewise.
37583         (getaddrinfo): Don't use GAIH_EAI.
37585         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
37586         (struct gaih): Remove definition.
37588 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37590         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
37591         Use HERRNOP directly.
37593 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37597 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
37599         * math/gen-auto-libm-tests.c (test_functions): Add more
37600         single-argument functions.
37601         (special_fill_pi_2): New function.
37602         (special_fill_minus_pi_2): Likewise.
37603         (special_fill_pi_6): Likewise.
37604         (special_fill_minus_pi_6): Likewise.
37605         (special_fill_pi_3): Likewise.
37606         (special_fill_2pi_3): Likewise.
37607         (special_fill_e): Likewise.
37608         (special_fill_1_e): Likewise.
37609         (special_fill_e_minus_1): Likewise.
37610         (special_real_inputs): Add more special inputs.
37611         (output_for_one_input_case): Do not require ERANGE on underflow to
37612         zero if round-to-nearest result does not underflow to zero, unless
37613         exact results required.
37614         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
37615         atan, atanh, cbrt, cos and cosh.
37616         * math/auto-libm-test-out: Regenerated.
37617         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
37618         (acos_tonearest_test_data): Likewise.
37619         (acos_towardzero_test_data): Likewise.
37620         (acos_downward_test_data): Likewise.
37621         (acos_upward_test_data): Likewise.
37622         (acosh_test_data): Likewise.
37623         (asin_test_data): Likewise.
37624         (asin_tonearest_test_data): Likewise.
37625         (asin_towardzero_test_data): Likewise.
37626         (asin_upward_test_data): Likewise.
37627         (asinh_test_data): Likewise.
37628         (atan_test_data): Likewise.
37629         (atanh_test_data): Likewise.
37630         (cbrt_test_data): Likewise.
37631         (cos_test_data): Likewise.
37632         (cos_tonearest_test_data): Likewise.
37633         (cos_towardzero_test_data): Likewise.
37634         (cos_downward_test_data): Likewise.
37635         (cos_upward_test_data): Likewise.
37636         (cosh_test_data): Likewise.
37637         (cosh_tonearest_test_data): Likewise.
37638         (cosh_towardzero_test_data): Likewise.
37639         (cosh_downward_test_data): Likewise.
37640         (cosh_upward_test_data): Likewise.
37641         * sysdeps/i386/fpu/libm-test-ulps: Update.
37642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37644 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
37646         [BZ #6787]
37647         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37648         * math/w_exp10f.c (__exp10f): Likewise.
37649         * math/w_exp10l.c (__exp10l): Likewise.
37650         * math/libm-test.inc (exp10_test_data): Add more tests and expect
37651         errno settings in existing tests.
37653         [BZ #14032]
37654         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37655         precision control set to double precision.
37656         * sysdeps/i386/fpu/w_sqrt.c: New file.
37657         * math/auto-libm-test-in: Add more tests.
37658         * math/auto-libm-test-out: Update.
37660         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37661         (sqrt_test_tonearest): New function.
37662         (sqrt_towardzero_test_data): New variable.
37663         (sqrt_test_towardzero): New function.
37664         (sqrt_downward_test_data): New variable.
37665         (sqrt_test_downward): New function.
37666         (sqrt_upward_test_data): New variable.
37667         (sqrt_test_upward): New function.
37668         (main): Call the new functions.
37670         * math/gen-auto-libm-tests.c: New file.
37671         * math/auto-libm-test-in: Likewise.
37672         * math/auto-libm-test-out: New generated file.
37673         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37674         variables.
37675         (%beautify): Add generated representations of zero.
37676         (top level): Set $auto_input and call parse_auto_input.
37677         (beautify): Remove trailing "f" from hex float constants.
37678         (parse_args): Handle XFAIL_TEST.
37679         (convert_condition): New function.
37680         (or_value): Likewise.
37681         (or_cond_value): Likewise.
37682         (generate_testfile): Handle AUTO_TESTS_* lines.
37683         (parse_auto_input): New function.
37684         * math/libm-test.inc (XFAIL_TEST): New macro.
37685         (ERRNO_UNCHANGED): Update value.
37686         (ERRNO_EDOM): Likewise.
37687         (ERRNO_ERANGE): Likewise.
37688         (IGNORE_RESULT): Likewise.
37689         (TEST_COND_flt_32): New macro.
37690         (TEST_COND_dbl_64): Likewise.
37691         (TEST_COND_ldbl_96_intel): Likewise.
37692         (TEST_COND_ldbl_96_m68k): Likewise.
37693         (TEST_COND_ldbl_128): Likewise.
37694         (TEST_COND_ldbl_128ibm): Likewise.
37695         (TEST_COND_long32): Likewise.
37696         (TEST_COND_long64): Likewise.
37697         (TEST_COND_before_rounding): Likewise.
37698         (TEST_COND_after_rounding): Likewise.
37699         (enable_test): Handle XFAIL_TEST flag.
37700         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37701         with finite results.
37702         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37703         auto-libm-test-out.
37705 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37706             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37708         [BZ #16214]
37709         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37710         __tls_get_addr_internal instead of __tls_get_offset in order to
37711         avoid GOT pointer dependency.  Make rtld export
37712         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37713         __tls_get_addr since we are a __tls_get_offset platform.
37714         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37715         GOT pointer being set up before.
37716         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37718 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
37720         * manual/math.texi (Errors in Math Functions): Document accuracy
37721         goals.
37723         [BZ #15004]
37724         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37725         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37726         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37727         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37728         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37729         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37730         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37731         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37732         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37733         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37734         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37735         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37736         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37737         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37738         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37739         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37741         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37742         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37743         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37744         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37745         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37746         Likewise.
37747         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37748         Likewise.
37749         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37750         Likewise.
37751         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37752         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37753         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37754         atomic-feupdateenv and flt-rounds.
37755         * sysdeps/powerpc/nofpu/Versions (libc): Add
37756         __atomic_feholdexcept, __atomic_feclearexcept,
37757         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37758         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37759         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37760         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37761         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37762         here.
37763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37764         Update.
37766         * manual/arith.texi (FP Exceptions): Document that exceptions may
37767         not be raised when matherr is used.
37768         (Math Error Reporting): Document overflow in directed rounding
37769         modes.  Document that errno may not be set when finite values are
37770         returned on overflow.  Document intent to set errno on underflow
37771         only for underflow to zero.
37773         [BZ #16271]
37774         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
37775         round-to-nearest then adjust result for other rounding modes.
37776         * include/fenv.h (fegetround): Use libm_hidden_proto.
37777         * math/fegetround.c (fegetround): Use libm_hidden_def.
37778         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37779         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37780         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37781         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37782         Likewise.
37783         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
37784         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37785         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37786         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
37788 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37790         [BZ #16077]
37791         * nss/Versions (libnss_files): Add
37792         _nss_files_gethostbyname3_r.
37793         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
37794         New function.
37795         (HOST_DB_LOOKUP): Remove macro.
37796         (_nss_files_gethostbyname_r): Implement function without the
37797         HOST_DB_LOOKUP macro.
37798         (_nss_files_gethostbyname2_r): Likewise.
37800 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
37802         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
37804 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
37806         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37807         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
37808         warning.
37810 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37812         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
37813         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
37814         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37815         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37816         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
37817         __fe_nomask_env_priv and attribute_hidden.
37818         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
37819         (libc_feupdateenv_test_ppc): Likewise.
37820         (libc_feresetround_ppc): Likewise.
37821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37822         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
37823         compat_symbol macro.
37824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37825         (__fe_nomask_env): Likewise.
37826         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
37828 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37830         * string/Makefile: Remove ifunc tests.
37831         * string/test-string.h: Define TEST_IFUNC.
37832         * string/test-bcopy-ifunc.c: Remove.
37833         * string/test-bzero-ifunc.c: Likewise.
37834         * string/test-memccpy-ifunc.c: Likewise.
37835         * string/test-memchr-ifunc.c: Likewise.
37836         * string/test-memcmp-ifunc.c: Likewise.
37837         * string/test-memcpy-ifunc.c: Likewise.
37838         * string/test-memmem-ifunc.c: Likewise.
37839         * string/test-memmove-ifunc.c: Likewise.
37840         * string/test-mempcpy-ifunc.c: Likewise.
37841         * string/test-memrchr-ifunc.c: Likewise.
37842         * string/test-memset-ifunc.c: Likewise.
37843         * string/test-rawmemchr-ifunc.c: Likewise.
37844         * string/test-stpcpy-ifunc.c: Likewise.
37845         * string/test-stpncpy-ifunc.c: Likewise.
37846         * string/test-strcasecmp-ifunc.c: Likewise.
37847         * string/test-strcasestr-ifunc.c: Likewise.
37848         * string/test-strcat-ifunc.c: Likewise.
37849         * string/test-strchr-ifunc.c: Likewise.
37850         * string/test-strchrnul-ifunc.c: Likewise.
37851         * string/test-strcmp-ifunc.c: Likewise.
37852         * string/test-strcpy-ifunc.c: Likewise.
37853         * string/test-strcspn-ifunc.c: Likewise.
37854         * string/test-strlen-ifunc.c: Likewise.
37855         * string/test-strncasecmp-ifunc.c: Likewise.
37856         * string/test-strncat-ifunc.c: Likewise.
37857         * string/test-strncmp-ifunc.c: Likewise.
37858         * string/test-strncpy-ifunc.c: Likewise.
37859         * string/test-strnlen-ifunc.c: Likewise.
37860         * string/test-strpbrk-ifunc.c: Likewise.
37861         * string/test-strrchr-ifunc.c: Likewise.
37862         * string/test-strspn-ifunc.c: Likewise.
37863         * string/test-strstr-ifunc.c: Likewise.
37865 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37867         * benchtests/Makefile: Remove ifunc tests.
37868         * benchtests/bench-string.h: Define TEST_IFUNC.
37869         * benchtests/bench-bcopy-ifunc.c: Remove.
37870         * benchtests/bench-bzero-ifunc.c: Likewise.
37871         * benchtests/bench-memccpy-ifunc.c: Likewise.
37872         * benchtests/bench-memchr-ifunc.c: Likewise.
37873         * benchtests/bench-memcmp-ifunc.c: Likewise.
37874         * benchtests/bench-memcpy-ifunc.c: Likewise.
37875         * benchtests/bench-memmem-ifunc.c: Likewise.
37876         * benchtests/bench-memmove-ifunc.c: Likewise.
37877         * benchtests/bench-mempcpy-ifunc.c: Likewise.
37878         * benchtests/bench-memrchr-ifunc.c: Likewise.
37879         * benchtests/bench-memset-ifunc.c: Likewise.
37880         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
37881         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
37882         * benchtests/bench-stpcpy-ifunc.c: Likewise.
37883         * benchtests/bench-stpncpy-ifunc.c: Likewise.
37884         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
37885         * benchtests/bench-strcasestr-ifunc.c: Likewise.
37886         * benchtests/bench-strcat-ifunc.c: Likewise.
37887         * benchtests/bench-strchr-ifunc.c: Likewise.
37888         * benchtests/bench-strchrnul-ifunc.c: Likewise.
37889         * benchtests/bench-strcmp-ifunc.c: Likewise.
37890         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
37891         * benchtests/bench-strcpy-ifunc.c: Likewise.
37892         * benchtests/bench-strcspn-ifunc.c: Likewise.
37893         * benchtests/bench-strlen-ifunc.c: Likewise.
37894         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
37895         * benchtests/bench-strncat-ifunc.c: Likewise.
37896         * benchtests/bench-strncmp-ifunc.c: Likewise.
37897         * benchtests/bench-strncpy-ifunc.c: Likewise.
37898         * benchtests/bench-strnlen-ifunc.c: Likewise.
37899         * benchtests/bench-strpbrk-ifunc.c: Likewise.
37900         * benchtests/bench-strrchr-ifunc.c: Likewise.
37901         * benchtests/bench-strsep-ifunc.c: Likewise.
37902         * benchtests/bench-strspn-ifunc.c: Likewise.
37903         * benchtests/bench-strstr-ifunc.c: Likewise.
37905 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37907         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
37909 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37911         * resolv/netdb.h: Use __glibc_reserved instead __unused.
37912         * rt/aio.h: Likewise.
37913         * sysdeps/gnu/bits/utmp.h: Likewise.
37914         * sysdeps/gnu/bits/utmpx.h: Likewise.
37915         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37916         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
37917         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
37918         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
37919         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
37920         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
37921         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
37922         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
37923         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
37924         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
37925         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
37926         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
37927         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
37928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
37929         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37930         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
37931         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
37932         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
37933         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
37934         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
37935         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
37936         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
37937         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
37938         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37939         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
37940         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37941         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
37942         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
37943         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
37944         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
37945         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
37946         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
37947         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
37948         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37949         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
37950         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
37951         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
37952         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
37953         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
37954         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
37955         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
37956         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37958 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
37960         [BZ #16245]
37961         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
37962         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
37964 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
37966         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
37967         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37968         Likewise.
37970 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37972         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
37973         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
37974         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
37975         (__fesetround): Remove define.
37976         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
37977         rounding and exceptions handling.
37978         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
37979         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
37980         (__fe_nomask_env): Likewise.
37981         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
37982         __fegetround instead of fegetround.
37983         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37984         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
37986 2013-11-21  Roland McGrath  <roland@hack.frob.com>
37988         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
37989         it's there.
37991         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
37993 2013-11-21  Meador Inge  <meadori@codesourcery.com>
37995         [BZ #11157]
37996         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
37997         (encrypt_r): Likewise.
37998         * malloc/obstack.h (obstack_free): Likewise.
37999         * posix/unistd.h (encrypt): Likewise.
38001 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
38003         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
38004         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
38005         DL_CALL_DT_FINI() that call the functions directly.
38006         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
38007         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
38008         * elf/dl-fini.c: Likewise.
38010 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
38012         * malloc/hooks.c (memalign_check): Add alignment rounding.
38013         * malloc/malloc.c (_mid_memalign): New function.
38014         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
38015         Implement by calling _mid_memalign.
38016         * manual/probes.texi (Memory Allocation Probes): Remove
38017         memory_valloc_retry and memory_pvalloc_retry.
38019 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38021         * locale/programs/locarchive.c (open_archive): Add const
38022         qualifier to ARCHIVEFNAME and copy default fname to
38023         DEFAULT_FNAME.
38025         [BZ #15601]
38026         * libio/tst-widetext.input: Rename Oriya to Odia.
38027         * locale/iso-639.def: Likewise.
38029         * manual/probes.texi (Mathematical Function Probes): Add
38030         documentation for sin, cos, asin and acos probes.
38031         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
38032         (__sin32): Add slowasin probe.
38033         (__cos32): Add slowacos probe.
38034         (__mpsin): Add slowsin probe.
38035         (__mpcos): Add slowcos probe.
38037 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
38039         [BZ #15483]
38040         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
38041         thread-local __sim_exceptions_thread and global
38042         __sim_exceptions_global.
38043         (__sim_disabled_exceptions): Change to thread-local
38044         __sim_disabled_exceptions_thread and global
38045         __sim_disabled_exceptions_global.
38046         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38047         and global __sim_round_mode_global.
38048         (__simulate_exceptions): Use thread-local floating-point state and
38049         set global state from it as needed.
38050         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
38051         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
38052         __sim_round_mode_thread.
38053         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
38054         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
38055         and global __sim_exceptions_global.
38056         (__sim_disabled_exceptions): Change to thread-local
38057         __sim_disabled_exceptions_thread and global
38058         __sim_disabled_exceptions_global.
38059         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38060         and global __sim_round_mode_global.
38061         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
38062         (SIM_SET_GLOBAL): Likewise.
38063         * sysdeps/powerpc/soft-fp/sfp-machine.h
38064         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
38065         __sim_round_mode_thread.
38066         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
38067         __sim_disabled_exceptions_thread.
38068         (__sim_exceptions): Change to __sim_exceptions_thread.
38069         (__sim_disabled_exceptions): Change to
38070         __sim_disabled_exceptions_thread.
38071         (__sim_round_mode): Change to __sim_round_mode_thread.
38072         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
38073         thread-local floating-point state and set global state from it as
38074         needed.
38075         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
38076         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
38077         (__sim_disabled_exceptions): Remove extern declaration.
38078         (feenableexcept): Use thread-local floating-point state and set
38079         global state from it as needed.
38080         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
38081         extern declaration.
38082         (__sim_disabled_exceptions): Likewise.
38083         (__sim_round_mode): Likewise.
38084         (__fegetenv): Use thread-local floating-point state.
38085         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
38086         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38087         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
38088         floating-point state and set global state from it as needed.
38089         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
38090         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38091         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
38092         Likewise.
38093         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38094         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
38095         Likewise.
38096         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
38097         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
38098         Use __sim_round_mode_thread.
38099         * math/test-fenv-tls.c: New file.
38100         * math/Makefile (tests): Add test-fenv-tls.
38101         ($(objpfx)test-fenv-tls): Depend on
38102         $(common-objpfx)nptl/libpthread.so.
38104 2013-11-19  Andreas Schwab  <schwab@suse.de>
38106         * locale/programs/locale.c (show_info): Decode wordarray elements.
38107         * locale/categories.def (LC_MONETARY): Add element for
38108         _NL_MONETARY_CRNCYSTR.
38109         * locale/C-monetary.c (conversion_rate): New variable.
38110         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
38111         element.
38113 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
38115         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
38116         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
38118 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38120         * elf/Makefile (tst-auxv): New test.
38121         * elf/tst-auxv.c: New
38122         * elf/rtld.c (dl_main): Adjust AT_EXECFN
38124 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
38126         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
38127         (hidden_proto): Caller changed.
38128         (hidden_tls_proto): New macro.
38129         (libc_hidden_tls_proto): Likewise.
38130         (rtld_hidden_tls_proto): Likewise.
38131         (libm_hidden_tls_proto): Likewise.
38132         (libresolv_hidden_tls_proto): Likewise.
38133         (librt_hidden_tls_proto): Likewise.
38134         (libdl_hidden_tls_proto): Likewise.
38135         (libnss_files_hidden_tls_proto): Likewise.
38136         (libnsl_hidden_tls_proto): Likewise.
38137         (libnss_nisplus_hidden_tls_proto): Likewise.
38138         (libutil_hidden_tls_proto): Likewise.
38140 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
38142         [BZ #10253]
38143         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
38144         (decompose_rpath): Defer expansion to fillin_rpath.
38145         (_dl_init_paths): Pass linkmap to fillin_rpath.
38147 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38149         * benchtests/Makefile: Add strsep.
38150         * benchtests/bench-strsep.c: New file: strsep benchtest.
38151         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
38153 2013-11-18  Andreas Schwab  <schwab@suse.de>
38155         * locale/programs/locale.c (show_info) [case byte]: Check for
38156         '\377' instead of '\177'.
38157         * locale/C-monetary.c (not_available): Always use "\377".
38158         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
38159         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
38160         detect unavailable sign_posn locale elements.
38161         * locale/localeconv.c (__localeconv): For grouping and
38162         mon_grouping handle "\177" and "\377" like no grouping.
38163         (INT_ELEM): New macro.  Use it to set all numeric members.
38164         * locale/programs/ld-monetary.c (monetary_read)
38165         <tok_mon_grouping>: Normalize single -1 to the empty string.
38166         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
38167         Likewise.
38169 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38171         [BZ #16055]
38172         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
38173         when we match (nil).
38174         * stdio-common/tst-sscanf.c (struct test): Add testcase.
38176 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
38178         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
38179         (NO_TEST_INLINE): Update value.
38180         (ERRNO_UNCHANGED): Likewise.
38181         (ERRNO_EDOM): Likewise.
38182         (ERRNO_ERANGE): Likewise.
38183         (IGNORE_RESULT): Likewise.
38184         (check_float_internal): Check signs of NaN results if
38185         TEST_NAN_SIGN used.
38186         (check_complex): Pass TEST_NAN_SIGN flag through to second
38187         check_float_internal call.
38188         (copysign_test_data): Add tests with quiet NaNs as second
38189         argument.  Use TEST_NAN_SIGN.
38190         (fabs_test_data): Add test of negative quiet NaN argument.  Use
38191         TEST_NAN_SIGN.
38192         (signbit_test_data): Add tests of quiet NaN argument.
38193         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
38195         * math/gen-libm-test.pl (show_exceptions): Take extra argument
38196         $ignore_result.
38197         (parse_args): Handle function results specified as IGNORE.
38198         * math/libm-test.inc (IGNORE_RESULT): New macro.
38199         (check_float_internal): Do not check numerical result if flag
38200         IGNORE_RESULT set.
38201         (check_complex): Pass through IGNORE_RESULT to second
38202         check_float_internal call.
38203         (check_int): Do not check numerical result if flag IGNORE_RESULT
38204         set.
38205         (check_long): Likewise.
38206         (check_bool): Likewise.
38207         (check_longlong): Likewise.
38208         (lrint_test_data): Add tests of infinite and NaN arguments.
38209         (lrint_tonearest_test_data): Likewise.
38210         (lrint_towardzero_test_data): Likewise.
38211         (lrint_downward_test_data): Likewise.
38212         (lrint_upward_test_data): Likewise.
38213         (llrint_test_data): Likewise.
38214         (llrint_tonearest_test_data): Likewise.
38215         (llrint_towardzero_test_data): Likewise.
38216         (llrint_downward_test_data): Likewise.
38217         (llrint_upward_test_data): Likewise.
38218         (lround_test_data): Likewise.
38219         (llround_test_data): Likewise.
38221         * math/libm-test.inc (NO_TEST_INLINE): New macro.
38222         (ERRNO_UNCHANGED): Update value.
38223         (ERRNO_EDOM): Likewise.
38224         (ERRNO_ERANGE): Likewise.
38225         (NO_TEST_INLINE_FLOAT): New macro.
38226         (NO_TEST_INLINE_DOUBLE): Likewise.
38227         (enable_test): New function.
38228         (RUN_TEST_f_f): Check enable_test before running test.
38229         (RUN_TEST_2_f): Likewise.
38230         (RUN_TEST_fff_f): Likewise.
38231         (RUN_TEST_c_f): Likewise.
38232         (RUN_TEST_f_f1): Likewise.
38233         (RUN_TEST_fF_f1): Likewise.
38234         (RUN_TEST_fI_f1): Likewise.
38235         (RUN_TEST_ffI_f1): Likewise.
38236         (RUN_TEST_c_c): Likewise.
38237         (RUN_TEST_cc_c): Likewise.
38238         (RUN_TEST_f_i): Likewise.
38239         (RUN_TEST_f_i_tg): Likewise.
38240         (RUN_TEST_ff_i_tg): Likewise.
38241         (RUN_TEST_f_b): Likewise.
38242         (RUN_TEST_f_b_tg): Likewise.
38243         (RUN_TEST_f_l): Likewise.
38244         (RUN_TEST_f_L): Likewise.
38245         (RUN_TEST_fFF_11): Likewise.
38246         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
38247         conditionals.
38248         (cosh_test_data): Likewise.
38249         (exp_test_data): Likewise.
38250         (expm1_test_data): Likewise.
38251         (hypot_test_data): Likewise.
38252         (pow_test_data): Likewise.
38253         (sinh_test_data): Likewise.
38254         (tanh_test_data): Likewise.
38255         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
38256         flags argument.
38258         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
38259         tests with quiet NaN input and output.
38260         (acosh_test_data): Likewise.
38261         (asin_test_data): Likewise.
38262         (asinh_test_data): Likewise.
38263         (atan_test_data): Likewise.
38264         (atanh_test_data): Likewise.
38265         (atan2_test_data): Likewise.
38266         (cbrt_test_data): Likewise.
38267         (cos_test_data): Likewise.
38268         (cosh_test_data): Likewise.
38269         (erf_test_data): Likewise.
38270         (erfc_test_data): Likewise.
38271         (exp_test_data): Likewise.
38272         (exp10_test_data): Likewise.
38273         (exp2_test_data): Likewise.
38274         (expm1_test_data): Likewise.
38275         (hypot_test_data): Likewise.
38276         (j0_test_data): Likewise.
38277         (j1_test_data): Likewise.
38278         (jn_test_data): Likewise.
38279         (lgamma_test_data): Likewise.
38280         (log_test_data): Likewise.
38281         (log10_test_data): Likewise.
38282         (log1p_test_data): Likewise.
38283         (log2_test_data): Likewise.
38284         (pow_test_data): Likewise.
38285         (scalb_test_data): Likewise.
38286         (sin_test_data): Likewise.
38287         (sincos_test_data): Likewise.
38288         (sinh_test_data): Likewise.
38289         (tan_test_data): Likewise.
38290         (tanh_test_data): Likewise.
38291         (tgamma_test_data): Likewise.
38292         (y0_test_data): Likewise.
38293         (y1_test_data): Likewise.
38294         (yn_test_data): Likewise.
38296         [BZ #16167]
38297         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
38298         argument being NaN and avoid computations with second argument in
38299         that case.
38300         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38301         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38302         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38304 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
38306         * locale/iso-639.def: Add Chitwani Tharu (the).
38308 2013-11-14  Andreas Schwab  <schwab@suse.de>
38310         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
38311         word instead of empty string.
38313 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38316         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
38317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38318         (__fe_nomask_env): Likewise.
38320 2013-11-13  Steve Ellcey  <sellcey@mips.com>
38322         * benchtests/bench-timing.h: Include time.h.
38324 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
38326         [BZ #15997]
38327         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
38328         to 3.4.0 for x32.
38329         * sysdeps/unix/sysv/linux/configure: Regenerated.
38331 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
38333         [BZ #16151]
38334         * stdlib/strtod_l.c (round_and_return): Do not consider
38335         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
38336         exponent one less than half the least subnormal exponent.
38337         * stdlib/test-strtod-round-data: Add more tests.
38338         * stdlib/tst-strtod-round.c (tests): Regenerated.
38340 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38342         [BZ #14143]
38343         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
38344         (__fe_mask_env): Likewise.
38345         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
38346         libm_hidden_proto and add function prototype.
38347         (__fe_mask_env): Add function prototype.
38348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38349         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
38350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38351         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
38352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38353         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
38355 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38357         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
38358         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
38360 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38362         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
38363         of htab_find_slot().
38365 2013-11-11  David S. Miller  <davem@davemloft.net>
38367         [BZ #16150]
38368         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
38369         symbol in the non-vis3 case in static builds.
38370         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
38371         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
38372         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
38373         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
38375 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
38377         [BZ #387]
38378         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
38379         it is empty.
38381 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38383         * benchtests/Makefile: Add bench-strtod.
38384         * benchtests/bench-strtod.c: New file: strtod benchtest
38386 2013-11-11  Andreas Schwab  <schwab@suse.de>
38388         [BZ #16153]
38389         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
38390         terminating NUL in key length.
38392 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38394         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38395         Add artificial ODP entry for vDSO symbol for PPC64.
38396         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
38397         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38399 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38401         [BZ #15374]
38402         * nss/getent.c (services_keys): Recognize services starting with digit.
38404 2013-11-06  David S. Miller  <davem@davemloft.net>
38406         [BZ #15985]
38407         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
38408         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
38410 2013-11-06  Will Newton  <will.newton@linaro.org>
38412         * manual/memory.texi (Malloc Examples): Remove register
38413         keyword from examples.
38415 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
38417         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
38419 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
38421         [BZ #6981]
38422         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
38423         depending on [__GCC_IEC_559 > 0].
38424         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
38425         depending on [__GCC_IEC_559_COMPLEX > 0].
38427 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
38429         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
38430         to iso-639.def.
38432 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
38434         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
38436 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
38438         [BZ #16112]
38439         * malloc/malloc (malloc_info): Do not handle first bin as
38440         special case.
38442 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
38444         * locale/iso-639.def: Add Central Nahuatl (nhn).
38446 2013-11-01  Bruno Haible  <bruno@clisp.org>
38448         [BZ #7003]
38449         * manual/math.texi (BSD Random): Specify range upper bound as
38450         in POSIX.
38452 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
38454         * locale/iso-639.def: Add Meadow Mari (mhr).
38456 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
38458         [BZ #14752], [BZ #15763]
38459         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
38460         Validate name.
38461         * rt/tst_shm.c: Add test for escaping directory.
38463 2013-10-31  Andreas Schwab  <schwab@suse.de>
38465         [BZ #15917]
38466         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
38467         followed by 'x' as part of digit sequence.
38468         * stdio-common/tst-sscanf.c (double_tests2): New tests.
38470 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
38472         [BZ #16037]
38473         * configure.ac: allow GNU Make 4.0 and greater.
38474         * configure: Regenerated.
38476 2013-10-30  Will Newton  <will.newton@linaro.org>
38478         [BZ #16038]
38479         * malloc/hooks.c (memalign_check): Limit alignment to the
38480         maximum representable power of two.
38481         * malloc/malloc.c (__libc_memalign): Likewise.
38482         * malloc/tst-memalign.c (do_test): Add test for very
38483         large alignment values.
38484         * malloc/tst-posix_memalign.c (do_test): Likewise.
38486 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38488         [BZ #11087]
38489         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
38490         (munmap_chunk): Likewise.
38491         (mremap_chunk): Likewise.
38493 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38495         [BZ #15799]
38496         * stdlib/div.c (div): Remove obsolete code.
38497         * stdlib/ldiv.c (ldiv): Likewise.
38498         * stdlib/lldiv.c (lldiv): Likewise.
38500 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38502         [BZ #16071]
38503         * nss/nss_files/files-XXX.c (get_contents_ret): New
38504         enumerator.
38505         (get_contents): New function.
38506         (internal_getent): Use it.  Expand size of LINEBUFLEN.
38508 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
38510         * configure.in: Moved to ...
38511         * configure.ac: ... here. Change reference to configure.in
38512         to configure.ac.
38513         * sysdeps/arm/preconfigure.ac: ... here.
38514         configure.in to configure.ac.
38515         * sysdeps/gnu/configure.in: Moved to ...
38516         * sysdeps/gnu/configure.ac: ... here.
38517         * sysdeps/i386/configure.in: Moved to ...
38518         * sysdeps/i386/configure.ac: ... here.
38519         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
38520         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
38521         * sysdeps/mach/configure.in: Moved to ...
38522         * sysdeps/mach/configure.ac: ... here.
38523         * sysdeps/mach/hurd/configure.in: Moved to ...
38524         * sysdeps/mach/hurd/configure.ac: ... here.
38525         * sysdeps/powerpc/configure.in: Moved to ...
38526         * sysdeps/powerpc/configure.ac: ... here.
38527         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
38528         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
38529         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
38530         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
38531         * sysdeps/s390/s390-32/configure.in: Moved to ...
38532         * sysdeps/s390/s390-32/configure.ac: ... here.
38533         * sysdeps/s390/s390-64/configure.in: Moved to ...
38534         * sysdeps/s390/s390-64/configure.ac: ... here.
38535         * sysdeps/sh/configure.in: Moved to ...
38536         * sysdeps/sh/configure.ac: ... here.
38537         * sysdeps/sparc/configure.in: Moved to ...
38538         * sysdeps/sparc/configure.ac: ... here.
38539         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
38540         * sysdeps/unix/sysv/linux/configure.ac: ... here.
38541         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
38542         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
38543         * sysdeps/x86_64/configure.in: Moved to ...
38544         * sysdeps/x86_64/configure.ac: ... here.
38545         * sysdeps/x86_64/preconfigure.in: Moved to ...
38546         * sysdeps/x86_64/preconfigure.ac: ... here.
38547         * aclocal.m4: Change reference to configure.in to configure.ac.
38548         * config.h.in: Likewise.
38549         * manual/install.texi: Likewise.
38550         * manual/maint.texi: Likewise.
38551         * Makefile: Likewise.
38552         * malloc/Makefile: Likewise.
38553         * nscd/Makefile: Likewise.
38554         * Makeconfig: Change reference to configure.in and
38555         preconfigure.in to configure.ac and preconfigure.ac
38556         respectively.
38557         * INSTALL: Regenerated.
38558         * configure: Likewise.
38559         * sysdeps/gnu/configure: Likewise.
38560         * sysdeps/i386/configure: Likewise.
38561         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
38562         * sysdeps/mach/configure: Likewise.
38563         * sysdeps/mach/hurd/configure: Likewise.
38564         * sysdeps/powerpc/configure: Likewise.
38565         * sysdeps/powerpc/powerpc32/configure: Likewise.
38566         * sysdeps/powerpc/powerpc64/configure: Likewise.
38567         * sysdeps/s390/s390-32/configure: Likewise.
38568         * sysdeps/s390/s390-64/configure: Likewise.
38569         * sysdeps/sh/configure: Likewise.
38570         * sysdeps/sparc/configure: Likewise.
38571         * sysdeps/unix/sysv/linux/configure: Likewise.
38572         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
38573         * sysdeps/x86_64/configure: Likewise.
38574         * sysdeps/x86_64/preconfigure: Likewise.
38576 2013-10-29  Andreas Schwab  <schwab@suse.de>
38578         * stdio-common/Makefile (tst-swscanf-ENV): Define.
38580 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38582         * benchtests/pow-inputs: Add new inputs.
38584         * benchtests/exp-inputs: Add new inputs.
38586         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
38587         conditional check for return value.
38588         (__cos32): Likewise.
38590 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38592         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
38593         to provide a boost for large inputs with word alignment.
38594         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
38595         implementation based on optimized PPC64 strcpy.
38596         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
38597         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
38598         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
38599         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
38601 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38603         [BZ #2801]
38604         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
38606 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38608         [BZ #14876]
38609         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
38610         * time/tst-strptime.c (day_tests): Add testcase.
38612 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38614         [BZ #14029]
38615         * manual/pattern.texi: Acknowledge that fnmatch can fail.
38617 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
38619         [BZ #16074]
38620         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38621         MAP_FAILED on error.
38623 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38625         [BZ #16072]
38626         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38627         heap for large requests.
38629 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
38631         [BZ #9954]
38632         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38633         result if the result has no associated interface.
38634         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38635         interface for all 127.X.Y.Z addresses.
38637 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
38639         * locale/iso-639.def: Add Ligurian (lij)
38641 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
38643         [BZ #15825]
38644         * sunrpc/rpc_main.c: Document rpcgen -5.
38646 2013-10-19  Michael Stahl  <mstahl@redhat.com>
38648         * elf/rtld.c (do_preload): Print the reason why preloading failed.
38650 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38652         [BZ #10278]
38653         * posix/glob.c: Match only directories when trailing slash is present.
38654         * posix/tst-gnuglob.c (my_opendir): Do not open files.
38655         (main): Add testcase.
38657 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38659         [BZ #15670]
38660         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38662 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
38664         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38665         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38666         AUTH_DES and cindex for FIPS 140-2.
38667         (DES Encryption): Add cindex FIPS 46-3.
38669         * locale/locarchive.h (struct locarhandle): Add fname.
38670         * locale/programs/localedef.c (main): Pass ARGV[remaining]
38671         if an optional argument was specified to --list-archive,
38672         otherwise NULL.
38673         * locale/programs/locarchive.c (show_archive_content): Take new
38674         argument fname and pass it via ah.fname to open_archive.
38675         * locale/programs/localedef.h: Update decl.
38676         (open_archive): If AH->fname is non-null, open that file
38677         rather than the default file name, and don't ignore ENOENT.
38678         (create_archive): Set AH.fname to NULL.
38679         (delete_locales_from_archive): Likewise.
38680         (add_locales_to_archive): Likewise.
38681         * locale/programs/locfile.c (write_all_categories): Likewise.
38683 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
38684             Aldy Hernandez  <aldyh@redhat.com>
38686         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38687         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38688         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38689         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38690         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38691         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38692         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38693         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38694         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38695         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38696         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38697         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38698         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38699         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38700         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38701         Likewise.
38702         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38703         Likewise.
38704         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38705         Likewise.
38706         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38707         Likewise.
38708         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38709         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38710         Likewise.
38711         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38712         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38713         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38714         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38715         Likewise.
38716         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38717         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38718         * sysdeps/powerpc/preconfigure: Likewise.
38719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38720         Likewise.
38721         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38722         Replace contents of file by #include of <fenv_libc.h>.
38723         * sysdeps/powerpc/soft-fp/sfp-machine.h
38724         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38725         and <sys/prctl.h>.
38726         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38727         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38728         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38729         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38730         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38731         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38732         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38733         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38734         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38735         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38736         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38737         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38739         Allow copysignl PLT reference to be missing.
38741 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
38742             Joseph Myers  <joseph@codesourcery.com
38744         [BZ #15948]
38745         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38746         single character.
38747         (add_to_tablewc): Assert sequence of wide characters is nonempty.
38749 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38751         * elf/tst-tls-dlinfo.c: Don't include tls.h.
38752         * elf/tst-tls1.c: Likewise.
38753         * elf/tst-tls10.h: Likewise.
38754         * elf/tst-tls14.c: Likewise.
38755         * elf/tst-tls2.c: Likewise.
38756         * elf/tst-tls3.c: Likewise.
38757         * elf/tst-tls4.c: Likewise.
38758         * elf/tst-tls5.c: Likewise.
38759         * elf/tst-tls6.c: Likewise.
38760         * elf/tst-tls7.c: Likewise.
38761         * elf/tst-tls8.c: Likewise.
38762         * elf/tst-tls9.c: Likewise.
38763         * elf/tst-tlsmod1.c: Likewise.
38764         * elf/tst-tlsmod13.c: Likewise.
38765         * elf/tst-tlsmod13a.c: Likewise.
38766         * elf/tst-tlsmod14a.c: Likewise.
38767         * elf/tst-tlsmod16a.c: Likewise.
38768         * elf/tst-tlsmod16b.c: Likewise.
38769         * elf/tst-tlsmod2.c: Likewise.
38770         * elf/tst-tlsmod3.c: Likewise.
38771         * elf/tst-tlsmod4.c: Likewise.
38772         * elf/tst-tlsmod5.c: Likewise.
38773         * elf/tst-tlsmod6.c: Likewise.
38775 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
38777         [BZ #12486]
38778         * malloc/malloc.c: remove checks for statistics.
38780 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38782         [BZ #15277]
38783         * inet/inet_net.c (inet_network): Detect additional invalid strings.
38784         * inet/tst-network.c: Add testcase.
38786 2013-10-17  Andreas Schwab  <schwab@suse.de>
38788         [BZ #15218]
38789         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
38790         to determine canonical name.
38792 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38794         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
38795         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
38796         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38797         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38798         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38799         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38800         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38801         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38802         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38803         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38804         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38805         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38806         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38807         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38808         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38809         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38810         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38811         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38812         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38813         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38814         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38815         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38816         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38817         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
38818         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
38819         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38820         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38821         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
38822         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38823         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
38824         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38825         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38826         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38827         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38828         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38829         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38830         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38831         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38832         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38833         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38834         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38835         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38836         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38837         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38838         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38839         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38840         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38841         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38842         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38843         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38844         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38845         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38846         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38847         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38848         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38849         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38850         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38851         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38853 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
38855         [BZ #16041]
38856         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
38857         make result into a quiet NaN.
38859 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
38861         * soft-fp/adddf3.c: Fix horizontal whitespace.
38862         * soft-fp/addsf3.c: Likewise.
38863         * soft-fp/addtf3.c: Likewise.
38864         * soft-fp/divdf3.c: Likewise.
38865         * soft-fp/divsf3.c: Likewise.
38866         * soft-fp/divtf3.c: Likewise.
38867         * soft-fp/double.h: Likewise.
38868         * soft-fp/eqdf2.c: Likewise.
38869         * soft-fp/eqsf2.c: Likewise.
38870         * soft-fp/eqtf2.c: Likewise.
38871         * soft-fp/extenddftf2.c: Likewise.
38872         * soft-fp/extended.h: Likewise.
38873         * soft-fp/extendsfdf2.c: Likewise.
38874         * soft-fp/extendsftf2.c: Likewise.
38875         * soft-fp/extendxftf2.c: Likewise.
38876         * soft-fp/fixdfdi.c: Likewise.
38877         * soft-fp/fixdfsi.c: Likewise.
38878         * soft-fp/fixdfti.c: Likewise.
38879         * soft-fp/fixsfdi.c: Likewise.
38880         * soft-fp/fixsfsi.c: Likewise.
38881         * soft-fp/fixsfti.c: Likewise.
38882         * soft-fp/fixtfdi.c: Likewise.
38883         * soft-fp/fixtfsi.c: Likewise.
38884         * soft-fp/fixtfti.c: Likewise.
38885         * soft-fp/fixunsdfdi.c: Likewise.
38886         * soft-fp/fixunsdfsi.c: Likewise.
38887         * soft-fp/fixunsdfti.c: Likewise.
38888         * soft-fp/fixunssfdi.c: Likewise.
38889         * soft-fp/fixunssfsi.c: Likewise.
38890         * soft-fp/fixunssfti.c: Likewise.
38891         * soft-fp/fixunstfdi.c: Likewise.
38892         * soft-fp/fixunstfsi.c: Likewise.
38893         * soft-fp/fixunstfti.c: Likewise.
38894         * soft-fp/floatdidf.c: Likewise.
38895         * soft-fp/floatdisf.c: Likewise.
38896         * soft-fp/floatditf.c: Likewise.
38897         * soft-fp/floatsidf.c: Likewise.
38898         * soft-fp/floatsisf.c: Likewise.
38899         * soft-fp/floatsitf.c: Likewise.
38900         * soft-fp/floattidf.c: Likewise.
38901         * soft-fp/floattisf.c: Likewise.
38902         * soft-fp/floattitf.c: Likewise.
38903         * soft-fp/floatundidf.c: Likewise.
38904         * soft-fp/floatundisf.c: Likewise.
38905         * soft-fp/floatunditf.c: Likewise.
38906         * soft-fp/floatunsidf.c: Likewise.
38907         * soft-fp/floatunsisf.c: Likewise.
38908         * soft-fp/floatunsitf.c: Likewise.
38909         * soft-fp/floatuntidf.c: Likewise.
38910         * soft-fp/floatuntisf.c: Likewise.
38911         * soft-fp/floatuntitf.c: Likewise.
38912         * soft-fp/fmadf4.c: Likewise.
38913         * soft-fp/fmasf4.c: Likewise.
38914         * soft-fp/fmatf4.c: Likewise.
38915         * soft-fp/gedf2.c: Likewise.
38916         * soft-fp/gesf2.c: Likewise.
38917         * soft-fp/getf2.c: Likewise.
38918         * soft-fp/ledf2.c: Likewise.
38919         * soft-fp/lesf2.c: Likewise.
38920         * soft-fp/letf2.c: Likewise.
38921         * soft-fp/muldf3.c: Likewise.
38922         * soft-fp/mulsf3.c: Likewise.
38923         * soft-fp/multf3.c: Likewise.
38924         * soft-fp/negdf2.c: Likewise.
38925         * soft-fp/negsf2.c: Likewise.
38926         * soft-fp/negtf2.c: Likewise.
38927         * soft-fp/op-1.h: Likewise.
38928         * soft-fp/op-2.h: Likewise.
38929         * soft-fp/op-4.h: Likewise.
38930         * soft-fp/op-8.h: Likewise.
38931         * soft-fp/op-common.h: Likewise.
38932         * soft-fp/quad.h: Likewise.
38933         * soft-fp/single.h: Likewise.
38934         * soft-fp/soft-fp.h: Likewise.
38935         * soft-fp/sqrtdf2.c: Likewise.
38936         * soft-fp/sqrtsf2.c: Likewise.
38937         * soft-fp/sqrttf2.c: Likewise.
38938         * soft-fp/subdf3.c: Likewise.
38939         * soft-fp/subsf3.c: Likewise.
38940         * soft-fp/subtf3.c: Likewise.
38941         * soft-fp/truncdfsf2.c: Likewise.
38942         * soft-fp/trunctfdf2.c: Likewise.
38943         * soft-fp/trunctfsf2.c: Likewise.
38944         * soft-fp/trunctfxf2.c: Likewise.
38945         * soft-fp/unorddf2.c: Likewise.
38946         * soft-fp/unordsf2.c: Likewise.
38947         * soft-fp/unordtf2.c: Likewise.
38949 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
38951         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
38952         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
38954 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
38956         * elf/dl-libc.c: Clear initfini list after freeing.
38958 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
38960         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
38961         * soft-fp/addsf3.c: Likewise.
38962         * soft-fp/addtf3.c: Likewise.
38963         * soft-fp/divdf3.c: Likewise.
38964         * soft-fp/divsf3.c: Likewise.
38965         * soft-fp/divtf3.c: Likewise.
38966         * soft-fp/double.h: Likewise.
38967         * soft-fp/eqdf2.c: Likewise.
38968         * soft-fp/eqsf2.c: Likewise.
38969         * soft-fp/eqtf2.c: Likewise.
38970         * soft-fp/extenddftf2.c: Likewise.
38971         * soft-fp/extended.h: Likewise.
38972         * soft-fp/extendsfdf2.c: Likewise.
38973         * soft-fp/extendsftf2.c: Likewise.
38974         * soft-fp/extendxftf2.c: Likewise.
38975         * soft-fp/fixdfdi.c: Likewise.
38976         * soft-fp/fixdfsi.c: Likewise.
38977         * soft-fp/fixdfti.c: Likewise.
38978         * soft-fp/fixsfdi.c: Likewise.
38979         * soft-fp/fixsfsi.c: Likewise.
38980         * soft-fp/fixsfti.c: Likewise.
38981         * soft-fp/fixtfdi.c: Likewise.
38982         * soft-fp/fixtfsi.c: Likewise.
38983         * soft-fp/fixtfti.c: Likewise.
38984         * soft-fp/fixunsdfdi.c: Likewise.
38985         * soft-fp/fixunsdfsi.c: Likewise.
38986         * soft-fp/fixunsdfti.c: Likewise.
38987         * soft-fp/fixunssfdi.c: Likewise.
38988         * soft-fp/fixunssfsi.c: Likewise.
38989         * soft-fp/fixunssfti.c: Likewise.
38990         * soft-fp/fixunstfdi.c: Likewise.
38991         * soft-fp/fixunstfsi.c: Likewise.
38992         * soft-fp/fixunstfti.c: Likewise.
38993         * soft-fp/floatdidf.c: Likewise.
38994         * soft-fp/floatdisf.c: Likewise.
38995         * soft-fp/floatditf.c: Likewise.
38996         * soft-fp/floatsidf.c: Likewise.
38997         * soft-fp/floatsisf.c: Likewise.
38998         * soft-fp/floatsitf.c: Likewise.
38999         * soft-fp/floattidf.c: Likewise.
39000         * soft-fp/floattisf.c: Likewise.
39001         * soft-fp/floattitf.c: Likewise.
39002         * soft-fp/floatundidf.c: Likewise.
39003         * soft-fp/floatundisf.c: Likewise.
39004         * soft-fp/floatunsidf.c: Likewise.
39005         * soft-fp/floatunsisf.c: Likewise.
39006         * soft-fp/floatuntidf.c: Likewise.
39007         * soft-fp/floatuntisf.c: Likewise.
39008         * soft-fp/floatuntitf.c: Likewise.
39009         * soft-fp/fmadf4.c: Likewise.
39010         * soft-fp/fmasf4.c: Likewise.
39011         * soft-fp/fmatf4.c: Likewise.
39012         * soft-fp/gedf2.c: Likewise.
39013         * soft-fp/gesf2.c: Likewise.
39014         * soft-fp/getf2.c: Likewise.
39015         * soft-fp/ledf2.c: Likewise.
39016         * soft-fp/lesf2.c: Likewise.
39017         * soft-fp/letf2.c: Likewise.
39018         * soft-fp/muldf3.c: Likewise.
39019         * soft-fp/mulsf3.c: Likewise.
39020         * soft-fp/multf3.c: Likewise.
39021         * soft-fp/negdf2.c: Likewise.
39022         * soft-fp/negsf2.c: Likewise.
39023         * soft-fp/negtf2.c: Likewise.
39024         * soft-fp/op-1.h: Likewise.
39025         * soft-fp/op-2.h: Likewise.
39026         * soft-fp/op-4.h: Likewise.
39027         * soft-fp/op-8.h: Likewise.
39028         * soft-fp/op-common.h: Likewise.
39029         * soft-fp/quad.h: Likewise.
39030         * soft-fp/single.h: Likewise.
39031         * soft-fp/soft-fp.h: Likewise.
39032         * soft-fp/sqrtdf2.c: Likewise.
39033         * soft-fp/sqrtsf2.c: Likewise.
39034         * soft-fp/sqrttf2.c: Likewise.
39035         * soft-fp/subdf3.c: Likewise.
39036         * soft-fp/subsf3.c: Likewise.
39037         * soft-fp/subtf3.c: Likewise.
39038         * soft-fp/truncdfsf2.c: Likewise.
39039         * soft-fp/trunctfdf2.c: Likewise.
39040         * soft-fp/trunctfsf2.c: Likewise.
39041         * soft-fp/trunctfxf2.c: Likewise.
39042         * soft-fp/unorddf2.c: Likewise.
39043         * soft-fp/unordsf2.c: Likewise.
39044         * soft-fp/unordtf2.c: Likewise.
39046 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
39048         [BZ #15672]
39049         * misc/error.c (error_tail): Fix possible buffer overflow.
39051 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
39053         [BZ #13028]
39054         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
39055         address.
39057 2013-10-14  P. J. McDermott  <pj@pehjota.net>
39059         [BZ #832]
39060         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
39061         testing pipefail option.
39063 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39065         * soft-fp/double.h: Indent preprocessor directives inside #if.
39066         * soft-fp/extended.h: Likewise.
39067         * soft-fp/op-2.h: Likewise.
39068         * soft-fp/op-4.h: Likewise.
39069         * soft-fp/op-common.h: Likewise.
39070         * soft-fp/quad.h: Likewise.
39071         * soft-fp/single.h: Likewise.
39072         * soft-fp/soft-fp.h: Likewise.
39074 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
39076         * iconv/iconv_prog.c: Fix typos.
39077         * stdio-common/psiginfo-data.h: Likewise.
39079 2013-10-12   Reuben Thomas <rrt@sc3d.org>
39081         [BZ #15764]
39082         * locale/setlocale.c: Fix typo.
39084 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39086         [BZ #16036]
39087         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
39088         signaling NaN arguments.
39089         * soft-fp/unordsf2.c (__unordsf2): Likewise.
39090         * soft-fp/unordtf2.c (__unordtf2): Likewise.
39092         [BZ #14910]
39093         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
39094         unordered operands.
39095         * soft-fp/gesf2.c (__gesf2): Likewise.
39096         * soft-fp/getf2.c (__getf2): Likewise.
39097         * soft-fp/ledf2.c (__ledf2): Likewise.
39098         * soft-fp/lesf2.c (__lesf2): Likewise.
39099         * soft-fp/letf2.c (__letf2): Likewise.
39101         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
39102         * soft-fp/eqsf2.c (__eqsf2): Likewise.
39103         * soft-fp/eqtf2.c (__eqtf2): Likewise.
39104         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
39105         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
39106         * soft-fp/fixdfti.c (__fixdfti): Likewise.
39107         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
39108         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
39109         * soft-fp/fixsfti.c (__fixsfti): Likewise.
39110         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
39111         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
39112         * soft-fp/fixtfti.c (__fixtfti): Likewise.
39113         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
39114         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
39115         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
39116         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
39117         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
39118         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
39119         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
39120         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
39121         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
39122         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
39123         * soft-fp/floatdisf.c (__floatdisf): Likewise.
39124         * soft-fp/floatsisf.c (__floatsisf): Likewise.
39125         * soft-fp/floattidf.c (__floattidf): Likewise.
39126         * soft-fp/floattisf.c (__floattisf): Likewise.
39127         * soft-fp/floattitf.c (__floattitf): Likewise.
39128         * soft-fp/floatundidf.c (__floatundidf): Likewise.
39129         * soft-fp/floatundisf.c (__floatundisf): Likewise.
39130         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
39131         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
39132         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
39133         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
39134         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
39135         * soft-fp/gesf2.c (__gesf2): Likewise.
39136         * soft-fp/getf2.c (__getf2): Likewise.
39137         * soft-fp/ledf2.c (__ledf2): Likewise.
39138         * soft-fp/lesf2.c (__lesf2): Likewise.
39139         * soft-fp/letf2.c (__letf2): Likewise.
39141         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
39142         Undefine and redefine.
39143         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
39144         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
39145         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
39146         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
39147         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39148         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
39149         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39150         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
39151         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39152         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
39153         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39154         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
39155         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39156         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
39157         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39159         [BZ #16032]
39160         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
39161         without decrementing exponent if mantissa >= that for the
39162         denominator, not >.
39163         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
39164         denominator, not >.  Decrement exponent in < case instead of
39165         incrementing in >= case.
39166         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
39167         without decrementing exponent if mantissa >= that for the
39168         denominator, not >.
39170         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
39171         computing saturated result for unsigned overflow.
39173 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39174             Jeff Law  <law@redhat.com>
39176         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
39177         (atan2Mp): Add systemtap probe marker.
39178         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
39179         (__ieee754_log): Add systemtap probe marker.
39180         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
39181         (atanMp): Add systemtap probe marker.
39182         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
39183         (tanMp): Add systemtap probe marker.
39184         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
39185         (__slowexp): Add systemtap probe marker.
39186         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
39187         (__slowpow): Add systemtap probe marker.
39188         * manual/probes.texi: Document probes.
39190 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
39192         [BZ #15362]
39193         * libio/fileops.c (_IO_new_file_write): Return count of bytes
39194         written.
39195         (_IO_new_file_xsputn): Don't return EOF if nothing has been
39196         written.
39197         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
39198         written to buffer but not flushed.
39199         * libio/iofwrite_u.c:  Likewise.
39200         * libio/iopadn.c:  Return bytes returned even if EOF was
39201         encountered.
39202         * libio/iowpadn.c:  Likewise.
39203         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
39204         if _IO_padn does not write the whole buffer.
39205         [!COMPILE_WPRINTF] (PAD): Likewise.
39207 2013-10-10  David S. Miller  <davem@davemloft.net>
39209         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
39210         directory block.
39212 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39214         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
39215         instead of FSF address.
39216         * soft-fp/fixdfti.c: Likewise.
39217         * soft-fp/fixsfti.c: Likewise.
39218         * soft-fp/fixtfti.c: Likewise.
39219         * soft-fp/fixunsdfti.c: Likewise.
39220         * soft-fp/fixunssfti.c: Likewise.
39221         * soft-fp/fixunstfti.c: Likewise.
39222         * soft-fp/floattidf.c: Likewise.
39223         * soft-fp/floattisf.c: Likewise.
39224         * soft-fp/floattitf.c: Likewise.
39225         * soft-fp/floatuntidf.c: Likewise.
39226         * soft-fp/floatuntisf.c: Likewise.
39227         * soft-fp/floatuntitf.c: Likewise.
39228         * soft-fp/trunctfxf2.c: Likewise.
39230         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
39231         * soft-fp/fixdfti.c: Likewise.
39232         * soft-fp/fixsfti.c: Likewise.
39233         * soft-fp/fixtfti.c: Likewise.
39234         * soft-fp/fixunsdfti.c: Likewise.
39235         * soft-fp/fixunssfti.c: Likewise.
39236         * soft-fp/fixunstfti.c: Likewise.
39237         * soft-fp/floattidf.c: Likewise.
39238         * soft-fp/floattisf.c: Likewise.
39239         * soft-fp/floattitf.c: Likewise.
39240         * soft-fp/floatuntidf.c: Likewise.
39241         * soft-fp/floatuntisf.c: Likewise.
39242         * soft-fp/floatuntitf.c: Likewise.
39243         * soft-fp/trunctfxf2.c: Likewise.
39245 2013-10-10  David S. Miller  <davem@davemloft.net>
39247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39249 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
39251         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39252         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
39253         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
39254         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
39255         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
39256         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
39257         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
39259         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
39260         for NaNs before doing comparisons on argument.
39261         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
39262         Likewise.
39264 2013-10-10  Will Newton  <will.newton@linaro.org>
39266         * malloc/hooks.c (memalign_check): Ensure the value of bytes
39267         passed to _int_memalign does not overflow.
39269 2013-10-10  Torvald Riegel  <triegel@redhat.com>
39271         * scripts/bench.pl: Add include-sources directive.
39272         * benchtests/README: Update documentation.
39274 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39276         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
39277         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
39278         instead of FP_INIT_ROUNDMODE.
39279         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
39280         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
39282         [BZ #16034]
39283         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
39284         copy class of input value.
39285         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
39286         not handle exceptions.
39287         * soft-fp/negsf2.c (__negsf2): Likewise.
39288         * soft-fp/negtf2.c (__negtf2): Likewise.
39289         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
39291 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
39293         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
39294         semicolon.  From Linux kernel.
39296 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
39298         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
39300 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
39302         [BZ #156]
39303         * manual/socket.texi: Added statement about buffer
39304         for gethostbyname2_r.
39306 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
39308         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
39309         Use .p2align directive instead, throughout.
39310         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39311         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39312         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
39313         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39314         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39315         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
39316         * sysdeps/x86_64/strchr.S: Likewise.
39317         * sysdeps/x86_64/strrchr.S: Likewise.
39319 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39321         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
39323         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
39325         * sysdeps/generic/math_private.h (__mpsin1): Remove
39326         declaration.
39327         (__mpcos1): Likewise.
39328         (__mpsin): New argument __range_reduce.
39329         (__mpcos): Likewise.
39330         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39331         (slow): Use __mpsin and __mpcos.
39332         (slow1): Likewise.
39333         (slow2): Likewise.
39334         (sloww): Likewise.
39335         (sloww1): Likewise.
39336         (sloww2): Likewise.
39337         (bsloww): Likewise.
39338         (bsloww1): Likewise.
39339         (bsloww2): Likewise.
39340         (cslow2): Likewise.
39341         (csloww): Likewise.
39342         (csloww1): Likewise.
39343         (csloww2): Likewise.
39344         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
39345         range_reduce.  Merge in __mpsin1.
39346         (__mpcos): Likewise.
39347         (__mpsin1): Remove.
39348         (__mpcos1): Likewise.
39350 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
39352         * locale/loadlocale.c (_nl_intern_locale_data): Use
39353         LOCFILE_ALIGNED_P.
39354         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
39355         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
39356         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
39357         obstack data is appropriately aligned.
39358         (obstack_int32_grow_fast): Likewise.
39359         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
39360         * locale/programs/locfile.c (add_locale_uint32): Likewise.
39361         (add_locale_uint32_array): Likewise.
39363 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39365         * benchtests/Makefile: Remove ARGLIST and RET variables.
39366         ($(objpfx)bench-%.c): Pass only function name to the script.
39367         * benchtests/README: Update documentation.
39368         * benchtests/acos-inputs: Add new directives.
39369         * benchtests/acosh-inputs: Likewise.
39370         * benchtests/asin-inputs: Likewise.
39371         * benchtests/asinh-inputs: Likewise.
39372         * benchtests/atan-inputs: Likewise.
39373         * benchtests/atanh-inputs: Likewise.
39374         * benchtests/cos-inputs: Likewise.
39375         * benchtests/cosh-inputs: Likewise.
39376         * benchtests/exp-inputs: Likewise.
39377         * benchtests/log-inputs: Likewise.
39378         * benchtests/pow-inputs: Likewise.
39379         * benchtests/rint-inputs: Likewise.
39380         * benchtests/sin-inputs: Likewise.
39381         * benchtests/sinh-inputs: Likewise.
39382         * benchtests/tan-inputs: Likewise.
39383         * benchtests/tanh-inputs: Likewise.
39384         * scripts/bench.pl: Add support for new directives.
39386 2013-10-07  Alan Modra  <amodra@gmail.com>
39388         * README: Fix careless merge.
39390 2013-10-05  Alan Modra  <amodra@gmail.com>
39392         * NEWS: Mention powerpc64le support and bugs fixed.
39393         * README: Both big-endian and little-endian powerpc64 supported.
39395 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39397         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
39398         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
39399         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
39400         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
39402 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
39404         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
39405         match prototype.
39407 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
39409         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
39410         Move -mhard-float appending from
39411         ports/sysdeps/powerpc/powerpc32/Makefile.
39412         [$(with-fp) = yes] (ASFLAGS): Likewise.
39413         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
39414         * sysdeps/powerpc/nofpu: Move directory from
39415         ports/sysdeps/powerpc/nofpu.
39416         * sysdeps/powerpc/soft-fp: Move directory from
39417         ports/sysdeps/powerpc/soft-fp.
39418         * sysdeps/powerpc/powerpc32/405: Move directory from
39419         ports/sysdeps/powerpc/powerpc32/405.
39420         * sysdeps/powerpc/powerpc32/440: Move directory from
39421         ports/sysdeps/powerpc/powerpc32/440.
39422         * sysdeps/powerpc/powerpc32/464: Move directory from
39423         ports/sysdeps/powerpc/powerpc32/464.
39424         * sysdeps/powerpc/powerpc32/476: Move directory from
39425         ports/sysdeps/powerpc/powerpc32/476.
39426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
39427         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
39428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
39429         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
39430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
39431         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
39432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39433         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
39434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
39435         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
39436         * README: Update for powerpc-*-linux-gnu software floating point
39437         support in libc.
39439         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
39440         case to powerpc/powerpc32*.
39441         * sysdeps/unix/sysv/linux/configure: Regenerated.
39443         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
39444         (_FPU_MASK_OM): Define as 0x04.
39445         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
39446         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
39447         0x00c10080.
39448         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
39449         0x0000003c.
39450         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
39452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
39453         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39454         getcontext_e500.
39455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
39456         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39457         setcontext_e500.
39458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
39459         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
39460         and setcontext_e500.
39462 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
39464         * locale/iso-3166.def: Update iso-1366.def and related occurrences
39466 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39468         * manual/threads.texi (Default Thread Attributes): Fix typo.
39470 2013-10-04  Will Newton  <will.newton@linaro.org>
39472         * malloc/Makefile: Add tst-memalign.
39473         * malloc/tst-memalign.c: New file.
39475         * malloc/tst-posix_memalign.c: Add comments.
39476         (do_test): Add comments and call free on all potentially
39477         allocated pointers. Add space after cast.
39479         * malloc/tst-pvalloc.c: Add comments.
39480         (do_test): Add comments and call free on all potentially
39481         allocated pointers. Remove duplicate check for NULL pointer.
39482         Add space after cast.
39484         * malloc/tst-valloc.c: Add comments.
39485         (do_test): Add comments and call free on all potentially
39486         allocated pointers. Remove duplicate check for NULL pointer.
39487         Add space after cast.
39489 2013-10-04  Alan Modra  <amodra@gmail.com>
39491         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39492         Use stdint types in rather than __attribute__((mode())).
39493         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39495 2013-10-04  Alan Modra  <amodra@gmail.com>
39497         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39498         Correct handling of unaligned relocs for little-endian.
39499         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39501 2013-10-04  Alan Modra  <amodra@gmail.com>
39503         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
39504         * configure: Regenerate.
39505         * nptl/shlib-versions: Powerpc*le starts at 2.18.
39506         * shlib-versions: Likewise.
39508 2013-10-04  Alan Modra  <amodra@gmail.com>
39510         * string/tester.c (test_memrchr): Increment reported test cycle.
39512 2013-10-04  Alan Modra  <amodra@gmail.com>
39514         * string/test-memcpy.c (do_one_test): When reporting errors, print
39515         string address and don't overrun end of string.
39517 2013-10-04  Alan Modra  <amodra@gmail.com>
39519         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
39520         insrdi.  Make better use of reg selection to speed exit slightly.
39521         Schedule entry path a little better.  Remove useless "are we done"
39522         checks on entry to main loop.  Handle wrapping around zero address.
39523         Correct main loop count.  Handle single left-over word from main
39524         loop inline rather than by using loop_small.  Remove extra word
39525         case in loop_small caused by wrong loop count.  Add little-endian
39526         support.
39527         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39528         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
39529         cache hint.
39530         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39531         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
39532         support.  Avoid rlwimi.
39533         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
39535 2013-10-04  Alan Modra  <amodra@gmail.com>
39537         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
39538         insrdi.  Formatting.
39539         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
39540         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39541         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39542         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39543         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39544         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
39546 2013-10-04  Alan Modra  <amodra@gmail.com>
39548         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
39549         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39550         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39551         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
39552         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39553         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39554         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39555         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39556         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
39557         use of regs.  Use power7 mtocrf.  Tidy function tails.
39559 2013-10-04  Alan Modra  <amodra@gmail.com>
39561         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
39562         Formatting.  Consistently use rXXX register defines or rN defines.
39563         Use early exit labels that avoid restoring unused non-volatile regs.
39564         Make cr field use more consistent with rWORDn compares.  Rename
39565         regs used as shift registers for unaligned loop, using rN defines
39566         for short lifetime/multiple use regs.
39567         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39568         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
39569         addi 1,1,64 to pop stack frame.  Simplify return value code.
39570         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39572 2013-10-04  Alan Modra  <amodra@gmail.com>
39574         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
39575         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
39576         rather than rlwimi.
39577         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
39578         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
39579         little-endian support.  Correct typos.
39580         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
39581         rather than rlwimi.
39582         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
39583         in loop and entry code to keep "and." results.
39584         (strchr): Add little-endian support.  Comment.  Move cntlzd
39585         earlier in tail.
39586         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
39588 2013-10-04  Alan Modra  <amodra@gmail.com>
39590         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
39591         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
39592         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
39593         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
39595 2013-10-04  Alan Modra  <amodra@gmail.com>
39597         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
39598         (rTMP): Define as r11.
39599         (strcmp): Add little-endian support.  Optimise tail.
39600         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
39601         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39602         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39603         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39604         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39605         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39606         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39608 2013-10-04  Alan Modra  <amodra@gmail.com>
39610         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
39611         little-endian support.  Remove unnecessary "are we done" tests.
39612         Handle "s" wrapping around zero and extremely large "size".
39613         Correct main loop count.  Handle single left-over word from main
39614         loop inline rather than by using small_loop.  Correct comments.
39615         Delete "zero" tail, use "end_max" instead.
39616         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
39618 2013-10-04  Alan Modra  <amodra@gmail.com>
39620         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39621         support.  Don't branch over align.
39622         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39623         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39624         support.  Rearrange tmp reg use to suit.  Comment.
39625         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39627 2013-10-04  Alan Modra  <amodra@gmail.com>
39629         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39631 2013-10-04  Alan Modra  <amodra@gmail.com>
39633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39634         conditional form of branch and link when obtaining pc.
39635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39637 2013-10-04  Alan Modra  <amodra@gmail.com>
39639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39640         HIWORD/LOWORD.
39641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39644 2013-10-04  Alan Modra  <amodra@gmail.com>
39646         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39647         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39648         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39649         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39650         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39651         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39652         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39653         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39654         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39655         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39657 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39658             Alistair Popple <alistair@ozlabs.au.ibm.com>
39659             Alan Modra <amodra@gmail.com>
39661         [BZ #15723]
39662         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39663         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39664         _dl_hwcap access for little-endian.
39665         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
39666         destroy vmx regs when saving unaligned.
39667         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39668         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
39669         destroy vmx regs when saving unaligned.
39671 2013-10-04  Alan Modra  <amodra@gmail.com>
39673         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39674         Don't use a union to pack hi/low value.
39676 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39678         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39679         for little-endian.
39680         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39681         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39682         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39683         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39684         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39686 2013-10-04  Alan Modra  <amodra@gmail.com>
39688         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39689         constants to usual value for .cst8 section, and remove redundant
39690         high address load.
39691         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39692         constant for 0x1p52.  Load little-endian words of double from
39693         correct stack offsets.
39695 2013-10-04  Alan Modra  <amodra@gmail.com>
39697         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39698         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39699         words of double from correct stack offsets.
39700         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39701         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39702         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39703         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39704         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39705         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39706         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39707         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39708         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39709         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39710         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39711         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39712         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39713         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39714         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39715         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39716         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39718 2013-10-04  Alan Modra  <amodra@gmail.com>
39720         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39721         64-bit int/double union.
39722         (_FPU_SETCW): Likewise.
39723         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39724         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39726 2013-10-04  Alan Modra  <amodra@gmail.com>
39728         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39729         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39731 2013-10-04  Alan Modra  <amodra@gmail.com>
39733         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39734         use vector int constants.
39735         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39737 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39739         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39740         array with long long.
39741         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39742         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39743         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39744         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39745         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39746         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39747         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39748         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39749         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39750         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39751         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39752         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39753         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39755 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39757         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39758         (__signbit): Likewise.  Correct for little-endian.
39759         (__signbitl): Call __signbit.
39760         (lrint): Correct for little-endian.
39761         (lrintf): Call lrint.
39763 2013-10-04  Alan Modra  <amodra@gmail.com>
39765         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39766         union 32-bit int array member with 64-bit int array.
39767         (t515, tm256): Double rather than long double.
39768         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39770 2013-10-04  Alan Modra  <amodra@gmail.com>
39772         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
39773         Delete.
39774         (IEEE854_LONG_DOUBLE_BIAS): Delete.
39775         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
39776         version of math_ldbl.h.
39778 2013-10-04  Alan Modra  <amodra@gmail.com>
39780         [BZ #15734], [BZ #15735]
39781         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
39782         all uses of ieee875 long double macros and unions.  Simplify test
39783         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
39784         ldbl_extract_mantissa value for ix,iy exponents.  Properly
39785         normalize after ldbl_extract_mantissa, and don't add hidden bit
39786         already handled.  Don't treat low word of ieee854 mantissa like
39787         low word of IBM long double and mask off bit when testing for
39788         zero.
39789         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
39790         all uses of ieee875 long double macros and unions.  Simplify tests
39791         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
39792         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
39793         two1022, instead use their values.  Recognise that tests for large
39794         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
39795         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
39796         Rewrite all uses of ieee875 long double macros and unions.  Simplify
39797         test for 0.0L and nan.  Correct negation.
39798         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
39799         ieee875 long double macros and unions.  Correct output for large
39800         magnitude x.  Correct absolute value calculation.
39801         (__erfcl): Likewise.
39802         * math/libm-test.inc: Add tests for errors discovered in IBM long
39803         double versions of fmodl, remainderl, erfl and erfcl.
39805 2013-10-04  Alan Modra  <amodra@gmail.com>
39807         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39808         all uses of ieee854 long double macros and unions.  Simplify tests
39809         for long doubles that are fully specified by the high double.
39810         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39811         Likewise.
39812         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
39813         Remove dead code too.
39814         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
39815         (__ieee754_ynl): Likewise.
39816         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
39817         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
39818         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39819         Remove dead code too.
39820         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
39821         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
39822         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
39823         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
39824         Simplify.
39825         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
39826         Simplify.
39827         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
39828         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39829         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
39830         Comment on variable precision.
39831         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
39832         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39833         Likewise.
39834         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39835         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39836         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39837         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
39838         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
39840 2013-10-04  Alan Modra  <amodra@gmail.com>
39842         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39843         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
39844         all uses of ieee854 long double macros and unions.
39845         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
39846         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39847         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
39848         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
39849         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
39850         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39851         Likewise.
39852         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
39853         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39854         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
39855         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39856         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
39857         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
39858         Simplify sign and nan test too.
39859         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
39860         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39861         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
39862         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39863         Likewise.
39864         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39865         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
39866         Likewise.
39867         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39868         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
39869         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
39870         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
39871         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
39872         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
39874 2013-10-04  Alan Modra  <amodra@gmail.com>
39876         * stdio-common/printf_size.c (__printf_size): Don't use
39877         union ieee854_long_double in fpnum union.
39878         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
39879         signbit macro to retrieve sign from long double.
39880         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
39881         retrieve sign from long double.
39882         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
39883         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
39884         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
39885         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39886         * math/test-misc.c (main): Don't use union ieee854_long_double.
39888 2013-10-04  Alan Modra  <amodra@gmail.com>
39890         [BZ #15680]
39891         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
39892         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
39893         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
39894         calculation.  Remove unnecessary test for denormal exponent.
39895         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
39896         Correct handling of denormals.  Avoid undefined shift behaviour.
39897         Correct normalisation of low mantissa when low double is denormal.
39898         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
39899         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
39900         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
39901         Correct normalisation of low mantissa.  Test for overflow of high
39902         mantissa and normalise.
39903         (ldbl_nearbyint): Use more readable constant for two52.
39904         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
39905         (__mpn_construct_long_double): Fix test for overflow of high
39906         mantissa and correct normalisation.  Avoid undefined shift.
39908 2013-10-04  Alan Modra  <amodra@gmail.com>
39910         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39911         (union ibm_extended_long_double): Define as an array of ieee754_double.
39912         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
39913         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
39914         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
39915         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39916         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39917         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
39918         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39919         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39920         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39921         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
39922         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39924 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
39926         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
39927         page size instead of calling getpagesize.
39929         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
39930         (LOCFILE_ALIGN_MASK): Likewise.
39931         (LOCFILE_ALIGN_UP): Likewise.
39932         (LOCFILE_ALIGNED_P): Likewise.
39933         * locale/programs/ld-collate.c (collate_output): Use the new
39934         macros instead of __alignof__ (int32_t).
39935         * locale/weight.h (findidx): Likewise.
39937 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
39939         [BZ #431]
39940         * manual/string.texi: Fix strncat and wcsncat.
39942 2013-10-03  Brooks Moses  <bmoses@google.com>
39944         [BZ #15915]
39945         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
39946         * Makerules: ...here, and adjust associated comments.
39948 2013-10-02  Will Newton  <will.newton@linaro.org>
39950         * malloc/Makefile: Add tst-pvalloc.
39951         * malloc/tst-pvalloc.c: New file.
39953 2013-10-02  Will Newton  <will.newton@linaro.org>
39955         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
39956         improve test coverage.
39958 2013-10-02  Will Newton  <will.newton@linaro.org>
39960         * malloc/Makefile: Add tst-posix_memalign.
39961         * malloc/tst-posix_memalign.c: New file.
39963 2013-10-01  Eric Blake  <eblake@redhat.com>
39965         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
39966         Use __THROWNL rather than __THROW on static functions.
39968 2013-09-30  Petr Machata  <pmachata@redhat.com>
39970         * elf/elf.h (R_AARCH64_ABS16): New macro.
39971         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
39972         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
39973         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
39974         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
39975         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
39976         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
39977         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
39978         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
39979         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
39980         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
39981         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
39982         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
39983         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
39984         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
39985         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
39986         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
39987         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
39988         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
39989         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
39990         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
39991         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
39992         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
39993         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
39994         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
39995         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
39996         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
39997         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
39998         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
39999         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
40000         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
40001         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
40002         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
40003         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
40004         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
40005         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
40006         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
40007         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
40008         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
40009         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
40010         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
40011         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
40012         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
40013         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
40014         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
40015         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
40016         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
40017         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
40018         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
40019         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
40020         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
40021         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
40022         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
40023         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
40024         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
40025         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
40026         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
40027         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
40028         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
40029         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
40030         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
40031         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
40032         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
40033         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
40034         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
40035         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
40036         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
40037         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
40038         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
40039         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
40040         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
40041         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
40042         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
40043         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
40044         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
40045         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
40046         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
40047         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
40048         (R_AARCH64_TLSDESC_LDR): Likewise.
40049         (R_AARCH64_TLSDESC_ADD): Likewise.
40050         (R_AARCH64_TLSDESC_CALL): Likewise.
40052 2013-09-30  Andreas Schwab  <schwab@suse.de>
40054         [BZ #15048]
40055         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
40056         the nss database lookup.
40057         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40058         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40060 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
40062         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
40064 2013-09-28  P. J. McDermott  <pj@pehjota.net>
40066         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
40067         ${Bash-specific parameter/pattern/string} parameter expansion.
40068         * sysdeps/unix/make-syscalls.sh: Likewise.
40070 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40072         * sysdeps/sh/stackguard-macros.h: New file.
40074 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
40076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40077         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
40078         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
40079         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
40080         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40081         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
40083 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40085         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
40086         Fix thread ID register.
40088 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
40090         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
40091         [POSIX || UNIX98]: Require rather than permitting all symbols from
40092         <time.h>.
40093         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
40094         element of struct sched_param.
40095         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
40096         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
40097         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
40098         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
40099         constant.
40101 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
40103         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
40104         argument calculation.
40106 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40108         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
40109         Expect macro.
40110         [POSIX] (pthread_attr_t): Do not require type.
40111         [POSIX] (pthread_cond_t): Likewise.
40112         [POSIX] (pthread_condattr_t): Likewise.
40113         [POSIX] (pthread_key_t): Likewise.
40114         [POSIX] (pthread_mutex_t): Likewise.
40115         [POSIX] (pthread_mutexattr_t): Likewise.
40116         [POSIX] (pthread_once_t): Likewise.
40117         [POSIX] (pthread_t): Likewise.
40118         [POSIX-based standards] (pthread_atfork): Expect function.
40120 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40121             Richard Sandiford  <richard@codesourcery.com>
40123         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
40124         (swap_endianness_p): New extern variable.
40125         (set_big_endian): New inline function.
40126         (maybe_swap_uint32): Likewise.
40127         (maybe_swap_uint32_array): Likewise.
40128         (maybe_swap_uint32_obstack): Likewise.
40129         * locale/programs/locfile.c: Include <stdbool.h>.
40130         (swap_endianness_p): New variable.
40131         (add_locale_uint32): Call maybe_swap_uint32.
40132         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
40133         (write_locale_data): Call maybe_swap_uint32_array.
40134         * locale/programs/ld-collate.c (obstack_int32_grow): Call
40135         maybe_swap_uint32.
40136         (obstack_int32_grow_fast): Likewise.
40137         (output_weightwc): Call maybe_swap_uint32_obstack.
40138         (collate_output): Likewise.
40139         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
40140         (OPT_LITTLE_ENDIAN): Likewise.
40141         (options): Add --little-endian and --big-endian options.
40142         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
40143         * locale/programs/locarchive.c: Include "locfile.h".
40144         (GET): New macro.
40145         (SET): Likewise.
40146         (INC): Likewise.
40147         (create_archive): Use the new macros to access fields of
40148         structures directly mapped from or written to locale archives.
40149         (oldlocrecentcmp): Likewise.
40150         (enlarge_archive): Likewise.
40151         (insert_name): Likewise.
40152         (add_alias): Likewise.
40153         (add_locale): Likewise.
40154         (delete_locales_from_archive): Likewise.
40155         (show_archive_content): Likewise.
40156         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
40157         locale data.
40159 2013-09-24  Roland McGrath  <roland@hack.frob.com>
40161         * manual/freemanuals.texi: Updated from (newly) canonical copy at
40162         http://www.gnu.org/doc/freemanuals.texi.
40163         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
40165 2013-09-24  Will Newton  <will.newton@linaro.org>
40167         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
40168         macro.
40170 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
40172         * locale/hashval.h (compute_hashval): Interpret bytes of key as
40173         unsigned char.
40175 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
40177         * manual/threads.texi (POSIX Threads): Fix a typo.
40179 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40181         [BZ #14547]
40182         * string/tst-strcoll-overflow.c: New test case.
40183         * string/Makefile (xtests): Add tst-strcoll-overflow.
40184         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
40185         cache if string sizes may cause integer overflow.
40187         [BZ #14547]
40188         * string/strcoll_l.c (coll_seq): New members rule, idx,
40189         save_idx and back_us.
40190         (get_next_seq_nocache): New function.
40191         (do_compare_nocache): New function.
40192         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
40193         when malloc fails.
40195 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
40197         [BZ #15754]
40198         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
40199         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
40200         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
40202         [BZ #15754]
40203         * elf/Makefile (tests): Add tst-ptrguard1.
40204         (tests-static): Add tst-ptrguard1-static.
40205         (tst-ptrguard1-ARGS): Define.
40206         (tst-ptrguard1-static-ARGS): Define.
40207         * elf/tst-ptrguard1.c: New file.
40208         * elf/tst-ptrguard1-static.c: New file.
40209         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
40210         * sysdeps/i386/stackguard-macros.h: Likewise.
40211         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40212         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40213         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40214         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40215         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40216         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40218 2013-09-23  Hector Marco  <hecmargi@upv.es>
40219             Ismael Ripoll  <iripoll@disca.upv.es>
40220             Carlos O'Donell  <carlos@redhat.com>
40222         [BZ #15754]
40223         * sysdeps/generic/stackguard-macros.h: Define
40224         __pointer_chk_guard_local and POINTER_CHK_GUARD.
40225         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
40226         Define __pointer_chk_guard_local.
40227         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
40228         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
40230 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
40232         [BZ #15859]
40233         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
40235 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
40237         * include/string.h (__ffs): Declare as hidden.
40238         * string/ffs.c (__ffs): Define as hidden.
40239         * sysdeps/i386/ffs.c (__ffs): Likewise.
40240         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
40241         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
40242         * sysdeps/s390/ffs.c (__ffs): Likewise.
40243         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
40245 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
40247         * NEWS: Mention malloc probes.
40249         * malloc/arena.c (new_heap): New memory_heap_new probe.
40250         (grow_heap): New memory_heap_more probe.
40251         (shrink_heap): New memory_heap_less probe.
40252         (heap_trim): New memory_heap_free probe.
40253         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
40254         (systrim): New memory_sbrk_less probe.
40255         * manual/probes.texi: Document them.
40257         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
40258         * manual/probes.texi: Document it.
40260         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
40261         (__libc_realloc): Add memory_realloc_retry probe.
40262         (__libc_memalign): Add memory_memalign_retry probe.
40263         (__libc_valloc): Add memory_valloc_retry probe.
40264         (__libc_pvalloc): Add memory_pvalloc_retry probe.
40265         (__libc_calloc): Add memory_calloc_retry probe.
40266         * manual/probes.texi: Document them.
40268         * malloc/arena.c (get_free_list): Add probe
40269         memory_arena_reuse_free_list.
40270         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
40271         and memory_arena_reuse.
40272         (arena_get2) [!PER_THREAD]: Likewise.
40273         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
40274         memory_arena_reuse_realloc.
40275         * manual/probes.texi: Document them.
40277         * malloc/malloc.c (__libc_free): Add
40278         memory_mallopt_free_dyn_thresholds probe.
40279         (__libc_mallopt): Add multiple memory_mallopt probes.
40280         * manual/probes.texi: Document them.
40282         * malloc/malloc.c: Include stap-probe.h.
40283         (__libc_mallopt): Add memory_mallopt probe.
40284         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
40285         * manual/probes.texi: New.
40286         * manual/Makefile (chapters): Add probes.
40287         * manual/threads.texi: Set next node.
40289 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
40291         [BZ #15963, #13985]
40292         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
40293         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
40294         Add `Chinese' to `nan' entry name.
40296 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40298         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
40299         (POLYNOMIAL): Likewise.
40300         (TAYLOR_SINCOS): Likewise.
40301         (TAYLOR_SLOW): Likewise.
40302         (__sin): Use TAYLOR_SINCOS.
40303         (__cos): Likewise.
40304         (slow): Use TAYLOR_SLOW.
40305         (sloww): Likewise.
40306         (bsloww): Likewise.
40307         (csloww): Likewise.
40309 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40311         * stdlib/strtod_l.c: Fix buffer overrun.
40313 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40315         * benchtests/Makefile (bench): Add sincos.
40316         * benchtests/bench-sincos.c: New file.
40318         * math/libm-test.inc (cos_test_data): New test inputs.
40319         (sin_test_data): Likewise.
40321         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
40322         macro.
40323         (__sin): Use it.
40324         (__cos): Likewise.
40325         (slow1): Likewise.
40326         (slow2): Likewise.
40327         (sloww1): Likewise.
40328         (sloww2): Likewise.
40329         (bsloww1): Likewise.
40330         (bsloww2): Likewise.
40331         (cslow2): Likewise.
40332         (csloww1): Likewise.
40333         (csloww2): Likewise.
40335         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
40336         function.
40337         (__sin): Use it.
40338         (__cos): Likewise.
40340         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
40341         gotos.
40342         (__cos): Likewise.
40344 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
40346         * config.h.in (HAVE_MIPS_NAN2008): New macro.
40347         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
40348         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
40349         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
40350         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
40351         * elf/cache.c (print_entry): Handle the new cache flags.
40353 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40354             Aldy Hernandez  <aldyh@redhat.com>
40356         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
40357         Change condition to [_SOFT_FLOAT].
40358         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
40359         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
40360         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
40361         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
40362         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
40363         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
40364         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
40365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
40366         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
40367         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
40368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
40369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
40370         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
40371         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
40372         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
40373         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
40374         declaration.
40376 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40378         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
40379         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40380         (__longjmp): Use LOAD_GP to load saved GPRs.
40381         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
40382         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40383         (__sigsetjmp): Use SAVE_GP to save GPRs.
40385         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
40386         Do not append -msoft-float.
40387         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
40389 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40391         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
40393 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
40395         [BZ #15966]
40396         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
40397         (_FPU_GETCW): Use initial "__" on variable and field names but not
40398         on macro parameter name.
40399         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
40400         parentheses around reference to macro parameter.
40402 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
40404         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
40405         prototype.
40406         (ctype_startup): Use uint32_t in cast and sizeof for
40407         ctype->charnames.
40409 2013-09-11  Jia Liu  <proljc@gmail.com>
40411         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
40412         __daddr_t_defined.
40413         [__FreeBSD__]: Likewise.
40415 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
40417         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
40418         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
40419         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
40420         (strchr): Remove __strchr_sse42 ifunc selection.
40421         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
40422         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
40424 2013-09-11  Will Newton  <will.newton@linaro.org>
40426         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
40427         parameter to RES. Remove hardcoded 1000 value.
40428         * benchtests/bench-skeleton.c (main): Pass RES parameter
40429         to TIMING_INIT and multiply result by 1000.
40431 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40435 2013-09-11  Andreas Schwab  <schwab@suse.de>
40437         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40438         if not defined.
40439         (O_TMPFILE) [__USE_GNU]: Define.
40440         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
40441         Define.
40443 2013-09-11  Will Newton  <will.newton@linaro.org>
40445         [BZ #15857]
40446         * malloc/malloc.c (__libc_memalign): Check the value of bytes
40447         does not overflow.
40449 2013-09-11  Will Newton  <will.newton@linaro.org>
40451         [BZ #15856]
40452         * malloc/malloc.c (__libc_valloc): Check the value of bytes
40453         does not overflow.
40455 2013-09-11  Will Newton  <will.newton@linaro.org>
40457         [BZ #15855]
40458         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
40459         does not overflow.
40461 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
40463         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
40464         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40465         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40466         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40467         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40469 2013-09-10  Allan McRae  <allan@archlinux.org>
40471         [BZ #15748]
40472         * manual/arith.texi (Parsing of Floats): Clarify
40473         cross-reference.
40475         [BZ #15849]
40476         * manual/install.texi (Running make install): Mention
40477         --enable-pt-chown.
40478         * INSTALL: Regenerated.
40480 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
40482         * csu/init-first.c (_init): Remove the !SHARED condition around
40483         FPU control word initialization.
40484         * elf/dl-support.c (_dl_fpu_control): New variable.
40485         (_dl_aux_init) <AT_FPUCW>: Initialize it.
40486         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
40487         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
40488         * math/test-fpucw-static.c: New file.
40489         * math/test-fpucw-ieee.c: New file.
40490         * math/test-fpucw-ieee-static.c: New file.
40491         * math/Makefile (tests): Add `test-fpucw-ieee' and
40492         `$(tests-static)'.
40493         (tests-static): New variable.
40494         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
40495         dependency to...
40496         [($(build-shared),yes)]
40497         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40498         ... this.
40499         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
40500         New dependency.
40502 2013-09-09  Allan McRae  <allan@archlinux.org>
40504         [BZ #15939]
40505         * manual/string.texi (Collation Functions): Fix typo in
40506         strcoll example.
40507         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
40509         [BZ #15893]
40510         * stdlib/isomac.c (get_null_defines): Fix memory leak.
40512         [BZ #15892]
40513         * libio/memstream.c (open_memstream): Fix memory leak.
40514         * libio/wmemstream.c (open_wmemstream): Likewise.
40516         [BZ #15895]
40517         * nscd/netgroupcache.c: Fix nesting of ifdefs.
40519 2013-09-09  Will Newton  <will.newton@linaro.org>
40521         * malloc/Makefile: Add tst-realloc to tests.
40522         * malloc/tst-realloc.c: New file.
40524 2013-09-09  Allan McRae  <allan@archlinux.org>
40526         [BZ #15844]
40527         * COPYING: Update from GNU website to fix FSF address.
40528         * COPYING.LIB: Likewise.
40530 2013-09-06  David S. Miller  <davem@davemloft.net>
40532         * po/zh_TW.po: Update Chinese (traditional) translation from
40533         translation project.
40535 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
40536             Joseph Myers  <joseph@codesourcery.com>
40538         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
40539         "localeinfo.h".
40540         (obstack_chunk_alloc): New macro.
40541         (obstack_chunk_free): Likewise.
40542         (record_offset): New function.
40543         (init_locale_data): Likewise.
40544         (align_locale_data): Likewise.
40545         (add_locale_empty): Likewise.
40546         (add_locale_raw_data): Likewise.
40547         (add_locale_raw_obstack): Likewise.
40548         (add_locale_string): Likewise.
40549         (add_locale_wstring): Likewise.
40550         (add_locale_uint32): Likewise.
40551         (add_locale_uint32_array): Likewise.
40552         (add_locale_char): Likewise.
40553         (start_locale_structure): Likewise.
40554         (end_locale_structure): Likewise.
40555         (start_locale_prelude): Likewise.
40556         (end_locale_prelude): Likewise.
40557         (write_locale_data): Take locale_file structure rather than an
40558         iovec.
40559         * locale/programs/locfile.h: Include "obstack.h".
40560         (struct locale_file): Change to store locale file contents instead
40561         of header.
40562         (init_locale_data): New prototype.
40563         (align_locale_data): Likewise.
40564         (add_locale_empty): Likewise.
40565         (add_locale_raw_data): Likewise.
40566         (add_locale_raw_obstack): Likewise.
40567         (add_locale_string): Likewise.
40568         (add_locale_wstring): Likewise.
40569         (add_locale_uint32): Likewise.
40570         (add_locale_uint32_array): Likewise.
40571         (add_locale_char): Likewise.
40572         (start_locale_structure): Likewise.
40573         (end_locale_structure): Likewise.
40574         (start_locale_prelude): Likewise.
40575         (end_locale_prelude): Likewise.
40576         (write_locale_data): Update prototype.
40577         * locale/programs/3level.h (struct TABLE): Remove result field.
40578         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
40579         Use new locale_file interface.
40580         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
40581         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
40582         * locale/programs/ld-address.c (address_output): Use new
40583         locale_file interface.
40584         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
40585         NO_ADD_LOCALE.
40586         (collate_finish): Don't call collseq_table_finalize.
40587         (collate_output): Use new locale_file interface.
40588         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
40589         in file.
40590         (NO_FINALIZE): Change to NO_ADD_LOCALE.
40591         (TABLE): Move defines earlier in file.
40592         (ELEMENT): Likewise.
40593         (DEFAULT): Likewise.
40594         (wctrans_table_add): Move macro and inline function earlier in
40595         file.
40596         (struct wctype_table): Move type earlier in file.
40597         (add_locale_wctype_table): New static prototype.
40598         (struct locale_ctype_t): Use logical types instead of struct iovec
40599         pointers for members.
40600         (ctype_output): Use new locale_file interface.
40601         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
40602         new locale_file interface.
40603         (allocate_arrays): Update for use of new locale_file interface.
40604         * locale/programs/ld-identification.c (identification_output): Use
40605         new locale_file interface.
40606         * locale/programs/ld-measurement.c (measurement_output): Likewise.
40607         * locale/programs/ld-messages.c (messages_output): Likewise.
40608         * locale/programs/ld-monetary.c (monetary_output): Likewise.
40609         * locale/programs/ld-name.c (name_output): Likewise.
40610         * locale/programs/ld-numeric.c (numeric_output): Likewise.
40611         * locale/programs/ld-paper.c (paper_output): Likewise.
40612         * locale/programs/ld-telephone.c (telephone_output): Likewise.
40613         * locale/programs/ld-time.c (time_output): Likewise.
40615 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40617         * benchtests/Makefile: Add memrchr benchmark.
40618         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40619         benchmark as memrchr.
40620         * benchtests/bench-memrchr-ifunc.c: New file.
40621         * benchtests/bench-memrchr.c: New file.
40623 2013-09-06   Will Newton  <will.newton@linaro.org>
40625         * benchtests/Makefile (string-bench): Add memcpy.
40627 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
40628             Cong Wang  <amwang@redhat.com>
40630         [BZ #15850]
40631         * sysdeps/unix/sysv/linux/bits/in.h
40632         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40633         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40634         before __USE_KERNEL_IPV6_DEFS uses.
40635         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40636         IPPROTO_BEETPH.
40637         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40638         sockaddr_in6, or ipv6_mreq.
40640 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40642         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40643         memory access for final bytes in some large inputs.
40644         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40646 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40648         * string/test-memrchr.c: New file.
40649         * string/test-memrchr-ifunc.c: New file.
40650         * string/Makefile: Add new memrchr testcase.
40652 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
40654         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40655         fanotify_init returns EPERM.
40657 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40659         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40660         errors.
40661         (top level): Treat second token from macro or constant entries for
40662         allowed headers as allowed.
40663         * include/complex.h: Condition internal declarations on
40664         [!_ISOMAC].
40665         * include/fenv.h: Condition include of <stdbool.h> and internal
40666         declarations on [!_ISOMAC].
40668 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
40670         [BZ #15923]
40671         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40673 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40675         * configure.in (--enable-versioning): Remove configure option.
40676         (libc_cv_asm_symver_directive): Remove configure test.
40677         (libc_cv_ld_version_script_option): Likewise.
40678         (VERSIONING): Remove variable and AC_SUBST.
40679         (DO_VERSIONING): Remove AC_DEFINE.
40680         * configure: Regenerated.
40681         * config.h.in (DO_VERSIONING): Remove macro.
40682         * Makerules [$(versioning) = yes]: Change conditionals to
40683         [$(build-shared) = yes].
40684         * config.make.in (versioning): Remove variable.
40685         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40686         [$(build-shared) = yes].
40687         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40688         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40689         * elf/Makefile [$(versioning) = yes]: Change conditionals to
40690         [$(build-shared) = yes].
40691         * extra-lib.mk [$(versioning) = yes]: Likewise.
40692         * hurd/Makefile [$(versioning) = yes]: Likewise.
40693         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40694         [SHARED].
40695         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40696         [SHARED].
40697         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40698         [SHARED && !NO_HIDDEN].
40699         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40700         [SHARED].
40701         [SHARED && DO_VERSIONING]: Likewise..
40702         * libio/Makefile [$(versioning) = yes]: Change conditionals to
40703         [$(build-shared) = yes].
40704         * manual/install.texi (--disable-versioning): Remove
40705         documentation.
40706         * INSTALL: Regenerated.
40707         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40708         to [SHARED].
40709         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40710         [$(build-shared) = yes].
40711         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40712         * sysdeps/i386/i686/multiarch/strstr-c.c
40713         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40714         [SHARED && !NO_HIDDEN].
40715         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40716         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40717         * sysdeps/powerpc/powerpc32/dl-machine.c
40718         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40719         * sysdeps/powerpc/powerpc32/sysdep.h
40720         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40721         to [SHARED && PIC && !NO_HIDDEN].
40722         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40723         conditional to [SHARED].
40725 2013-09-04   Will Newton  <will.newton@linaro.org>
40727         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40728         * benchtests/bench-string.h: Include bench-timing.h instead
40729         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40730         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40731         call to HP_TIMING_DIFF_INIT.
40732         * benchtests/bench-memccpy.c: Use bench-timing.h macros
40733         instead of hp-timing.h macros.
40734         * benchtests/bench-memchr.c: Likewise.
40735         * benchtests/bench-memcmp.c: Likewise.
40736         * benchtests/bench-memcpy.c: Likewise.
40737         * benchtests/bench-memmem.c: Likewise.
40738         * benchtests/bench-memmove.c: Likewise.
40739         * benchtests/bench-memset.c: Likewise.
40740         * benchtests/bench-rawmemchr.c: Likewise.
40741         * benchtests/bench-strcasecmp.c: Likewise.
40742         * benchtests/bench-strcasestr.c: Likewise.
40743         * benchtests/bench-strcat.c: Likewise.
40744         * benchtests/bench-strchr.c: Likewise.
40745         * benchtests/bench-strcmp.c: Likewise.
40746         * benchtests/bench-strcpy.c: Likewise.
40747         * benchtests/bench-strcpy_chk.c: Likewise.
40748         * benchtests/bench-strlen.c: Likewise.
40749         * benchtests/bench-strncasecmp.c: Likewise.
40750         * benchtests/bench-strncat.c: Likewise.
40751         * benchtests/bench-strncmp.c: Likewise.
40752         * benchtests/bench-strncpy.c: Likewise.
40753         * benchtests/bench-strnlen.c: Likewise.
40754         * benchtests/bench-strpbrk.c: Likewise.
40755         * benchtests/bench-strrchr.c: Likewise.
40756         * benchtests/bench-strspn.c: Likewise.
40757         * benchtests/bench-strstr.c: Likewise.
40759 2013-09-04  Will Newton  <will.newton@linaro.org>
40761         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40763 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
40765         [BZ #15427]
40766         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40767         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40768         * math/libm-test.inc (lgamma_test_data): Add more tests.
40769         * sysdeps/i386/fpu/libm-test-ulps: Update.
40770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40772 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
40774         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
40775         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40776         Add ifunc.
40777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40778         Add strcmp-sse2-unaligned
40779         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
40781 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40783         * Versions.def (libc): Add GLIBC_2.19.
40785 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40787         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
40788         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
40790 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
40792         [BZ #14155]
40793         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
40794         intermediate calculations in recurrence.
40795         (__ieee754_ynf): Likewise.
40796         * math/libm-test.inc (jn_test_data): Do not allow spurious
40797         underflow exception.  Add more tests.
40798         (yn_test_data): Add more tests.
40799         * sysdeps/i386/fpu/libm-test-ulps: Update.
40800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40802 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
40804         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
40806 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40808         * csu/init-first.c: Fix then/than typos.
40809         * locale/programs/ld-collate.c: Likewise.
40810         * locale/programs/linereader.h: Likewise.
40811         * manual/charset.texi: Likewise.
40812         * manual/filesys.texi: Likewise.
40813         * manual/stdio.texi: Likewise.
40814         * manual/string.texi: Likewise.
40815         * stdlib/fmtmsg.c: Likewise.
40816         * sysdeps/i386/stpncpy.S: Likewise.
40817         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40818         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40819         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40820         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40822 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40824         * elf/dl-open.c: Fix typos.
40825         * iconvdata/gbbig5.c: Likewise.
40826         * iconvdata/iso-2022-jp.c: Likewise.
40827         * iconv/gconv_int.h: Likewise.
40828         * iconv/loop.c: Likewise.
40829         * nis/rpcsvc/nis.h: Likewise.
40830         * resolv/ns_name.c: Likewise.
40831         * stdio-common/vfscanf.c: Likewise.
40832         * streams/stropts.h: Likewise.
40833         * sunrpc/rpc_thread.c: Likewise.
40834         * sysdeps/i386/strpbrk.S: Likewise.
40835         * sysdeps/ieee754/k_standard.c: Likewise.
40836         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40837         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40838         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
40839         * sysdeps/mach/hurd/profil.c: Likewise.
40840         * sysdeps/s390/dl-procinfo.h: Likewise.
40841         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40842         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40843         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
40844         * sysdeps/x86_64/dl-trampoline.S: Likewise.
40845         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40847 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
40849         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
40850         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
40852 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
40854         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
40855         aix specific files.
40856         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
40857         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
40858         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
40859         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
40860         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
40861         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
40862         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
40863         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
40865 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40866             Roland McGrath  <roland@hack.frob.com>
40868         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
40869         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
40871 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40873         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
40874         __executable_start symbol instead of _start.
40876 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40878         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
40879         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
40880         Move macros to...
40881         * sysdeps/gnu/ldsodefs.h: ... this new file.
40883         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
40884         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
40885         instead of ELFOSABI_LINUX.
40887         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
40888         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
40889         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
40890         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
40891         Likewise.
40892         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
40893         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
40894         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
40895         Likewise.
40896         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40897         (ibm_extended_long_double): Add ieee_nan member.
40898         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
40899         (do_test): New function.
40901         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
40902         TEST_TRUNC.
40903         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
40904         functions, renamed from truncdfsf_test, trunctfsf_test,
40905         trunctfdf_test.
40906         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
40907         functions.
40908         (do_test): Run all these.
40910 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
40912         * argp/argp-help.c: Fix typos.
40913         * argp/argp-parse.c: Likewise.
40914         * debug/backtracesyms.c: Likewise.
40915         * elf/elf.h: Likewise.
40916         * malloc/malloc.c: Likewise.
40917         * nis/nis_print.c: Likewise.
40918         * resolv/res_comp.c: Likewise.
40919         * stdlib/stdlib.h: Likewise.
40920         * sunrpc/clnt_tcp.c: Likewise.
40921         * sunrpc/clnt_udp.c: Likewise.
40922         * sunrpc/clnt_unix.c: Likewise.
40923         * sysdeps/unix/bsd/ptsname.c: Likewise.
40924         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40925         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
40926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
40927         Likewise.
40928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
40929         Likewise.
40930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
40931         Likewise.
40932         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40934 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40936         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
40937         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40939 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
40941         [BZ #15897]
40942         * dlfcn/Makefile (tests): Add bug-dl-leaf.
40943         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
40944         ($(objpfx)bug-dl-leaf): New rule.
40945         ($(objpfx)bug-dl-leaf.so): Likewise.
40946         ($(objpfx)bug-dl-leaf.out): Likewise.
40947         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
40948         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
40949         * dlfcn/bug-dl-leaf.c: New test.
40950         * dlfcn/bug-dl-leaf-lib.c: Likewise.
40951         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
40952         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
40953         (dlclose): Likewise.
40954         (dlmopen): Likewise.
40956 2013-08-27  Roland McGrath  <roland@hack.frob.com>
40958         * include/netdb.h [!_ISOMAC]:
40959         Don't include <tls.h>.
40960         (h_errno, __libc_h_errno): Move declaration and macros out of
40961         [_LIBC_REENTRANT].
40963         * include/resolv.h [_RESOLV_H_]:
40964         Don't include <tls.h>.
40965         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
40966         * resolv/res_libc.c: Don't include <tls.h>.
40967         (_res): Use __attribute__ ((nocommon)) in place of
40968         __attribute__ ((section (".bss"))).
40970         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
40971         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
40973         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
40975         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
40976         only under [SIOCGIFCONF && SIOCGIFNETMASK].
40978         * resolv/res_mkquery.c: Include <sys/time.h>.
40980         * inet/ifreq.c: Moved to ...
40981         * sysdeps/unix/ifreq.c: ... here.
40982         * inet/ifreq.c: New file, true stub version.
40984         * socket/sa_len.c: New file.
40985         * socket/Makefile (aux): Add it.
40986         * sysdeps/unix/sysv/linux/Makefile
40987         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
40988         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
40989         and #include <socket/sa_len.c>.
40990         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
40991         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
40993         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
40994         * bits/socket.h: ... here.
40996         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
40997         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
40998         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
41000 2013-08-27  Andreas Schwab  <schwab@suse.de>
41002         [BZ #15736]
41003         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
41004         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
41005         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
41006         * string/test-strcasecmp.c (test_main): Run tests in several
41007         locales.
41008         * string/test-strncasecmp.c (test_main): Likewise.
41010         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
41011         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
41012         to __strcasecmp_nonascii and __strncasecmp_nonascii.
41013         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
41014         (__strncasecmp_ssse3) [PIC]: Likewise.
41016 2013-08-26  Roland McGrath  <roland@hack.frob.com>
41018         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
41020         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
41021         instead of explicitly declaring xdecrypt.
41022         * nis/nss_nis/nis-publickey.c: Likewise.
41024 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41026         [BZ #15890]
41027         * nscd/aicache.c: Include res_hconf.h.
41028         (addhstaiX): Initialize res_hconf.
41030 2013-08-26  Andreas Schwab  <schwab@suse.de>
41032         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
41033         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
41035 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41037         * nscd/aicache.c (addhstaiX): Fix indentation.
41039 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
41041         * configure.ac: Quote $build_pt_chown test.
41042         * configure: Regenerated.
41044 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
41046         [BZ #15532]
41047         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
41048         * math/s_cexpf.c (__cexpf): Likewise.
41049         * math/s_cexpl.c (__cexpl): Likewise.
41050         * math/libm-test.inc (cexp_test_data): Correct expected return
41051         value for NaN + i0.  Add another test.
41053 2013-08-22  David S. Miller  <davem@davemloft.net>
41055         * po/ca.po: Update Catalan translation from translation project.
41056         * po/uk.po: Add Ukrainian translations from translation project.
41058 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
41060         [BZ #15797]
41061         * math/s_fdim.c (__fdim): Check for infinite arguments if result
41062         is infinite, not alongside NaN test.
41063         * math/s_fdimf.c (__fdimf): Likewise.
41064         * math/s_fdiml.c (__fdiml): Likewise.
41065         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
41066         errno is unchanged.
41068 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
41070         * argp/argp-help.c: Fix typos.
41071         * crypt/speeds.c: Likewise.
41072         * csu/check_fds.c: Likewise.
41073         * elf/dl-load.c: Likewise.
41074         * elf/dl-open.c: Likewise.
41075         * elf/reldep3.c: Likewise.
41076         * elf/reldep.c: Likewise.
41077         * elf/sprof.c: Likewise.
41078         * iconv/iconv_charmap.c: Likewise.
41079         * iconv/skeleton.c: Likewise.
41080         * iconv/strtab.c: Likewise.
41081         * io/lockf64.c: Likewise.
41082         * libio/libioP.h: Likewise.
41083         * resolv/gai_notify.c: Likewise.
41084         * resolv/ns_name.c: Likewise.
41085         * resolv/ns_samedomain.c: Likewise.
41086         * resolv/res_send.c: Likewise.
41087         * stdlib/random.c: Likewise.
41088         * sunrpc/rpc/xdr.h: Likewise.
41089         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
41090         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41091         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41092         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41093         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41094         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41095         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41096         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41097         * sysdeps/mach/hurd/check_fds.c: Likewise.
41098         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41099         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41100         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41101         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41102         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41103         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41104         * sysdeps/pthread/aio_notify.c: Likewise.
41105         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
41106         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
41107         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
41108         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41109         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41111 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41113         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
41114         version if bit_Slow_SSE4_2 is set.
41115         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41116         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41118 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41120         [BZ #15867]
41121         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
41122         trampoline stack frame information.
41123         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
41124         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
41125         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
41126         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
41127         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
41128         * sysdeps/unix/sysv/linux/powerpc/init-first.c
41129         (_libc_vdso_platform_setup): Initialize the signal trampolines.
41130         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
41131         sa_flags value.
41132         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
41133         interrupting a syscall and set with option SA_SIGINFO.
41135 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41137         [BZ #15531]
41138         * math/s_cproj.c (__cproj): Only return an infinity if one part of
41139         argument is infinite.
41140         * math/s_cprojf.c (__cprojf): Likewise.
41141         * math/s_cprojl.c (__cprojl): Likewise.
41142         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
41143         * math/libm-test.inc (cproj_test_data): Add more tests.
41145         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
41147         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
41148         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
41149         size.  Use __ffs to determine corresponding shift.
41151 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41152             Roland McGrath  <roland@hack.frob.com>
41154         * Makefile (INSTALL): Remove trailing blank lines from output of
41155         makeinfo.
41157 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41159         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
41160         Align 32 bit compat elf_greg to 8 bytes.
41162 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
41164         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
41166 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41168         * string/strcoll_l.c (coll_seq): New structure.
41169         (get_next_seq_cached): New function.
41170         (get_next_seq): New function.
41171         (do_compare): New function.
41172         (STRCOLL): Use GNU style definition.  Simplify implementation
41173         by using get_next_seq, get_next_seq_cached and do_compare.
41175 2013-08-16  Florian Weimer  <fweimer@redhat.com>
41177         [BZ #14699]
41178         CVE-2013-4237
41179         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
41180         member.
41181         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
41182         member.
41183         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
41184         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
41185         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
41186         conditional.
41187         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
41188         GETDENTS_64BIT_ALIGNED.
41189         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41190         * manual/filesys.texi (Reading/Closing Directory): Document
41191         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
41192         strongly.
41193         * manual/conf.texi (Limits for Files): Add portability note to
41194         NAME_MAX, PATH_MAX.
41195         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
41197 2013-08-13  Andreas Schwab  <schwab@suse.de>
41199         [BZ #15749]
41200         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
41201         of fabs.
41202         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
41203         LDBL_MAX_EXP >= 16384]: Add tests for it.
41205 2013-08-12  David S. Miller  <davem@davemloft.net>
41207         * version.h (RELEASE): Set to "development".
41208         (VERSION): Set to "2.18.90".
41209         * NEWS: Add 2.19 section.
41211 2013-08-03  David S. Miller  <davem@davemloft.net>
41213         * po/ko.po: Update Korean translation from translation project.
41215 2013-08-01  David S. Miller  <davem@davemloft.net>
41217         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
41218         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
41219         Bilka.
41221 2013-07-30  David S. Miller  <davem@davemloft.net>
41223         * po/fr.po: Update French translation from translation project.
41225 2013-07-28  David S. Miller  <davem@davemloft.net>
41227         * po/cs.po: Update Czech translation from translation project.
41229         * po/sv.po: Update Swedish translation from translation project.
41231 2013-07-27  David S. Miller  <davem@davemloft.net>
41233         * po/eo.po: Update Esperanto translation from translation project.
41235         * po/vi.po: Update Vietnamese translation from translation project.
41237         * po/de.po: Update German translation from translation project.
41239 2013-07-26  David S. Miller  <davem@davemloft.net>
41241         * po/bg.po: Update Bulgarian translation from translation project.
41243         * po/nl.po: Update Dutch translation from translation project.
41244         * po/pl.po: Update Polish translation from translation project.
41245         * po/ru.po: Update Russian translation from translation project.
41247 2013-07-24  David S. Miller  <davem@davemloft.net>
41249         * po/libc.pot: Update.
41251 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41253         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
41254         variable page size.
41255         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
41256         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
41257         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
41259 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41261         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
41263 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41264             Andreas Schwab  <schwab@suse.de>
41265             Roland McGrath  <roland@hack.frob.com>
41266             Joseph Myers  <joseph@codesourcery.com>
41267             Carlos O'Donell  <carlos@redhat.com>
41269         [BZ #15755]
41270         * config.h.in: Define HAVE_PT_CHOWN.
41271         * config.make.in (build-pt-chown): New variable.
41272         * configure.in (--enable-pt_chown): New configure option.
41273         * configure: Regenerate.
41274         * login/Makefile: Include Makeconfig.  Build pt_chown only if
41275         build-pt-chown is enabled.
41276         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
41277         pt_chown to fix pty ownership.
41278         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
41279         CLOSE_ALL_FDS.
41280         * manual/install.texi (Configuring and compiling): Mention
41281         --enable-pt_chown. Add @findex for grantpt.
41282         * INSTALL: Regenerate.
41284 2013-07-20  David S. Miller  <davem@davemloft.net>
41286         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
41287         difference between 32-bit and 64-bit.
41289 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
41291         [BZ #15711]
41292         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
41293         Avoid system header dependency with -ffreestanding.
41294         ($(objpfx)bits/syscall%d): Likewise.
41296 2013-07-13  David S. Miller  <davem@davemloft.net>
41298         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
41299         underflows from atanl/atan2l due to bug 15319.
41300         (casinh_test_data): Likewise.
41302 2013-07-07  David S. Miller  <davem@davemloft.net>
41304         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
41306 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
41308         * sysdeps/i386/fpu/libm-test-ulps: Update.
41309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41311 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41313         * configure.in (--enable-lock-elision): Fix message text.
41314         * INSTALL: Regenerate.
41315         * configure: Regenerate.
41317 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41321 2013-07-03  Andreas Jaeger  <aj@suse.de>
41323         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
41324         define.
41325         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
41326         (ptrace_peeksiginfo_args): Add.
41327         (__ptrace_peeksiginfo_flags): Add.
41328         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41329         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41330         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41332 2013-07-03  Allan McRae  <allan@archlinux.org>
41334         * sysdeps/i386/fpu/libm-test-ulps: Update.
41336 2013-07-02  David S. Miller  <davem@davemloft.net>
41338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41340 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
41342         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41344 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41346         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41349 2013-07-02  Andi Kleen <ak@linux.intel.com>
41351         * config.h.in (ENABLE_LOCK_ELISION): Add.
41352         * configure.in (--enable-lock-elision): Add option.
41353         * manual/install.texi: Document --enable lock elision.
41354         * configure: Regenerate
41355         * INSTALL: Regenerate.
41357 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
41359         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
41360         SSE4.2 strcasecmp for libc.a.
41361         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41363 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41365         [BZ #13304]
41366         * soft-fp/op-common.h (_FP_FMA): New macro.
41367         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
41368         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
41369         (_FP_MUL_MEAT_1_imm): ... here.
41370         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
41371         (_FP_MUL_MEAT_1_wide): ... here.
41372         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
41373         (_FP_MUL_MEAT_1_hard): ... here.
41374         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
41375         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
41376         (_FP_MUL_MEAT_2_wide): ... here.
41377         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
41378         (_FP_MUL_MEAT_2_wide_3mul): ... here.
41379         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
41380         (_FP_MUL_MEAT_2_gmp): ... here.
41381         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
41382         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
41383         (_FP_MUL_MEAT_4_wide): ... here.
41384         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
41385         (_FP_MUL_MEAT_4_gmp): ... here.
41386         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
41387         (_FP_WFRACBITS_DW_S): Likewise.
41388         (_FP_WFRACXBITS_DW_S): Likewise.
41389         (_FP_HIGHBIT_DW_S): Likewise.
41390         (FP_FMA_S): Likewise.
41391         (_FP_FRAC_HIGH_DW_S): Likewise.
41392         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
41393         (_FP_WFRACBITS_DW_D): Likewise.
41394         (_FP_WFRACXBITS_DW_D): Likewise.
41395         (_FP_HIGHBIT_DW_D): Likewise.
41396         (FP_FMA_D): Likewise.
41397         (_FP_FRAC_HIGH_DW_D): Likewise.
41398         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
41399         (_FP_WFRACBITS_DW_E): Likewise.
41400         (_FP_WFRACXBITS_DW_E): Likewise.
41401         (_FP_HIGHBIT_DW_E): Likewise.
41402         (FP_FMA_E): Likewise.
41403         (_FP_FRAC_HIGH_DW_E): Likewise.
41404         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
41405         (_FP_WFRACBITS_DW_Q): Likewise.
41406         (_FP_WFRACXBITS_DW_Q): Likewise.
41407         (_FP_HIGHBIT_DW_Q): Likewise.
41408         (FP_FMA_Q): Likewise.
41409         (_FP_FRAC_HIGH_DW_Q): Likewise.
41410         * soft-fp/fmasf4.c: New file.
41411         * soft-fp/fmadf4.c: Likewise.
41412         * soft-fp/fmatf4.c: Likewise.
41414 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41416         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41417         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
41418         Silvermont.
41419         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
41420         macro.
41421         (index_Slow_SSE4_2): Likewise.
41422         (index_Prefer_PMINUB_for_stringop): Likewise.
41423         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
41424         bit_Slow_SSE4_2 is set.
41425         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41426         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41428 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41430         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
41431         rtld_global._dl_hwcap2.
41432         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
41433         POWER8.
41434         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
41435         POWER8 feature descriptions defined in _dl_hwcap2.
41436         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
41437         string handling for POWER8 feature bits.
41438         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
41439         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
41440         _dl_powerpc_cap_flags.
41441         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
41442         * sysdeps/powerpc/rtld-global-offsets.sym
41443         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
41444         _dl_hwcap2 in the rtld_global_ro structure.
41446 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41448         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
41449         hardware capabilities in support of AT_HWCAP2.
41450         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
41451         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
41452         GLRO(dl_hwcap2).
41453         (_dl_show_auxv): Add support for calling _dl_procinfo to display
41454         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
41455         explicitly the unknown a_type display mechanism is used.
41456         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
41457         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
41458         struct member.
41459         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
41460         to macro prototype for AT_HWCAP2 support.
41461         * sysdeps/i386/dl-procinfo.h: Likewise.
41462         * sysdeps/s390/dl-procinfo.h: Likewise.
41463         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
41464         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
41465         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
41466         return -1 for unknown a_type display fallback.
41467         * sysdeps/sparc/dl-procinfo.h: Likewise.
41468         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
41469         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
41471 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
41473         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
41474         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
41476 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
41478         [BZ #12492]
41479         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
41480         mprotect making __stack_prot writable.
41482 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
41483             Joseph Myers  <joseph@codesourcery.com>
41485         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
41486         as being properly aligned.
41488 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
41490         * dlfcn/modstatic5.c: New file.
41491         * dlfcn/tststatic5.c: New file.
41492         * dlfcn/Makefile (tests): Add tststatic5.
41493         (tests-static): Likewise.
41494         (modules-names): Add modstatic5.
41495         (tststatic5-ENV): New variable.
41496         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
41498         [BZ #15022]
41499         * elf/dl-support.c (_dl_main_map): New variable.
41500         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
41501         (_dl_nns, _dl_load_adds): Set to 1.
41502         (_dl_initial_searchlist): Refer to _dl_main_map.
41503         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
41504         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
41505         call to _dl_get_origin.
41506         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
41507         around call_map.
41508         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
41509         * dlfcn/modstatic3.c: New file.
41510         * dlfcn/tststatic3.c: New file.
41511         * dlfcn/tststatic4.c: New file.
41512         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
41513         (tests-static): Likewise.
41514         (modules-names): Add modstatic3.
41515         (tststatic3-ENV, tststatic4-ENV): New variables.
41516         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
41517         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
41519 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
41521         * configure.in (CC): Require GCC version 4.4 or later.
41522         * configure: Regenerated.
41523         * manual/install.texi (Tools for Compilation): Update GCC version
41524         requirement.
41525         * INSTALL: Regenerated.
41527 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41529         [BZ #15674]
41530         * string/test-memcmp.c (check2): New.
41531         (main): Call check2.
41533         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
41535 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
41537         [BZ #15022]
41538         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
41539         over to...
41540         (dl_open_worker) [!SHARED]: ... here.
41542 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41544         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
41546 2013-06-25  Richard Henderson  <rth@redhat.com>
41548         * locale/programs/locarchive.c: Include <libc-internal.h>
41550 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
41552         * manual/texinfo.tex: Update to version 2013-06-21.17, with
41553         trailing whitespace removed.
41555 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41557         [BZ #10283]
41558         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
41559         * locale/programs/locarchive.c: Include libc-mmap.h.
41560         (prepare_address_space): Take two new outputs (the mmap base and len).
41561         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
41562         values.
41563         (create_archive): Declare new mmap base and len values for
41564         prepare_address_space, and store the result in ah.
41565         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
41566         (enlarge_archive): If ah->mmap_base is not NULL, use that and
41567         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41568         Declare new mmap base and len values for
41569         prepare_address_space, and store the result in new_ah.
41570         (open_archive): Declare new mmap base and len values for
41571         prepare_address_space, and store the result in ah.
41572         (close_archive): If ah->mmap_base is not NULL, use that and
41573         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41574         * sysdeps/generic/libc-mmap.h: New file.
41576 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41578         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
41579         (ALIGN_UP): Likewise.
41580         (PTR_ALIGN_DOWN): Likewise.
41581         (PTR_ALIGN_UP): Likewise.
41583 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41585         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
41586         entry mapped to PPC_PLATFORM_POWER8.
41587         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
41588         POWER8.
41589         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
41590         (_dl_string_platform): Add case for exporting platform position for
41591         POWER8.
41592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
41593         search path to sysdeps/powerpc/powerpc32/power8 directory.
41594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
41595         search path to sysdeps/powerpc/powerpc64/power8 directory.
41596         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
41597         power7 directories.
41598         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
41599         power7 directories.
41601 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41603         * INSTALL: Regenerate.
41605         * nscd/connections.c (nscd_init): Fix comment.
41607 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
41609         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
41611         [BZ #15667]
41612         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
41613         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
41615 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41617         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
41618         DL_DST_REQ_STATIC.
41619         (DL_DST_REQ_STATIC): Remove macro.
41621 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
41623         [BZ #7006]
41624         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41625         with a shift of 0 bits.
41627 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41629         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41630         $(tststatic-ENV).
41632 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41634         [BZ #15655]
41635         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41637 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41639         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41640         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41641         accepts -fno-tree-loop-distribute-patterns.
41642         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41643         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41644         recursive call.
41645         * string/memset.c (memset): Likewise.
41646         * string/test-memmove.c (simple_memmove): Disable loop transformation
41647         to library calls.
41648         * string/test-memset.c (simple_memset): Likewise.
41649         * benchtests/bench-memmove.c (simple_memmove): Likewise.
41650         * benchtests/bench-memset.c (simple_memset): Likewise.
41651         * configure: Regenerated.
41653 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
41655         * math/test-misc.c (main): Ignore fesetround failure when failures
41656         of subsequent rounding tests would be ignored.
41658         [BZ #15654]
41659         * math/fedisblxcpt.c (fedisableexcept): Return 0.
41660         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41661         * math/fegetenv.c (__fegetenv): Return 0.
41662         * math/fegetexcept.c (fegetexcept): Return 0.
41663         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41664         FE_TONEAREST.
41665         * math/feholdexcpt.c (feholdexcept): Return 0.
41666         * math/fesetenv.c (__fesetenv): Return 0.
41667         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41668         argument FE_TONEAREST.
41669         * math/feupdateenv.c (__feupdateenv): Return 0.
41670         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41672 2013-06-18  Roland McGrath  <roland@hack.frob.com>
41674         * elf/rtld-Rules (rtld-compile-command.S): New variable.
41675         (rtld-compile-command.s, rtld-compile-command.c): New variables.
41676         ($(objpfx)rtld-%.os rules): Use them.
41678 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41680         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41681         fields.
41683 2013-06-17  Roland McGrath  <roland@hack.frob.com>
41685         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41686         length of target pattern, then descending length of dependency pattern.
41687         * configure.in (AWK): Require gawk 3.1.2 or newer.
41688         * manual/install.texi (Tools for Compilation): Say that we do.
41689         * configure: Regenerated.
41691         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41692         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41693         * scripts/sysd-rules.awk: ... this new script.
41694         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41695         than a glob-style pattern.
41697 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
41699         * math/test-misc.c (main): Do not treat incorrectly rounded
41700         conversions as failure unless ROUNDING_TESTS passes.
41702 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
41704         [BZ #15631]
41705         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41706         restore exception state around main square root computation, then
41707         check for inexactness explicitly.
41709         * math/libm-test.inc (fma_test_data): Add another test.
41711 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41713         * manual/threads.texi (Non-POSIX Extensions): New document
41714         node.  Document pthread_getattr_default_np and
41715         pthread_setattr_default_np.
41717         * Versions.def (libpthread): Add GLIBC_2.18.
41718         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41720         Likewise.
41721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41722         Likewise.
41723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41724         Likewise.
41725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41726         Likewise.
41727         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41728         Likewise.
41729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41730         Likewise.
41731         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41732         Likewise.
41733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41734         Likewise.
41735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41736         Likewise.
41738 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41740         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41741         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41743 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41744             H.J. Lu  <hjl.tools@gmail.com>
41746         [BZ #15627]
41747         * sysdeps/x86_64/rtld-memset.c: Remove file.
41748         * sysdeps/x86_64/rtld-memset.S: New file.
41750 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
41752         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41753         (test_in_one_mode): Take arguments for whether the rounding mode
41754         is supported for each floating-point type.
41755         (do_test): Pass new arguments to test_in_one_mode using
41756         ROUNDING_TESTS.
41758 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41760         * posix/tst-waitid.c (do_test): Distinguish different instances of
41761         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
41762         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41763         before entering the kernel for waitpid.
41765 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41767         * NEWS: Fix note on clock function precision.  Text by Roland
41768         McGrath.
41770 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41772         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41773         it into place only when and if the sanity check passes.
41775 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
41777         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
41778         output for whether conversion result is exact.  Take argument
41779         indicating whether type is IBM long double.
41780         (round_for_all): Change need_exact field to ibm_ld.
41781         * stdlib/tst-strtod-round.c (struct exactness): New type.
41782         (struct test): Change bool ld_ok field to struct exactness exact.
41783         (TEST): Update all definitions for change to field.
41784         (tests): Regenerate array contents.
41785         (test_in_one_mode): Take pointer to new field instead of old ld_ok
41786         field value.  Check for IBM long double here.
41787         (do_test): Update calls to test_in_one_mode.
41789 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41791         [BZ #12515]
41792         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
41793         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
41795 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41797         [BZ #15605]
41798         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
41799         generated by the compiler on loop optimizations.
41800         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
41801         general definitions.
41803 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
41805         * math/bug-nextafter.c: Include <math-tests.h>.
41806         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41807         the relevant type.
41808         * math/bug-nexttoward.c: Include <math-tests.h>.
41809         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41810         the relevant type.
41811         * math/test-misc.c: Include <math-tests.h>.
41812         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41813         the relevant type.
41815 2013-06-12  Andreas Jaeger  <aj@suse.de>
41817         * po/ia.po: Update Interlingua translation from translation
41818         project.
41820 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41822         * include/fenv.h: Include stdbool.h.
41823         (struct rm_ctx): New structure.
41824         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
41825         Define macro.
41826         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
41827         (SET_RESTORE_ROUNDF): Likewise.
41828         (SET_RESTORE_ROUNDL): Likewise.
41829         (SET_RESTORE_ROUND_NOEX): Likewise.
41830         (SET_RESTORE_ROUND_NOEXF): Likewise.
41831         (SET_RESTORE_ROUND_NOEXL): Likewise.
41832         (SET_RESTORE_ROUND_53BIT): Likewise.
41833         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
41834         (libc_feresetround_noexf_ctx): Likewise.
41835         (libc_feresetround_noexl_ctx): Likewise.
41836         (libc_feholdsetround_53bit_ctx): Likewise.
41837         (libc_feresetround_53bit_ctx): Likewise.
41838         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
41839         (libc_feholdexcept_setround_sse_ctx): New function.
41840         (libc_fesetenv_sse_ctx): Likewise.
41841         (libc_feupdateenv_sse_ctx): Likewise.
41842         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41843         (libc_feholdexcept_setround_387_ctx): Likewise.
41844         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
41845         (libc_feholdsetround_387_prec_ctx): Likewise.
41846         (libc_feholdsetround_387_ctx): Likewise.
41847         (libc_feholdsetround_387_53bit_ctx): Likewise.
41848         (libc_feholdsetround_sse_ctx): Likewise.
41849         (libc_feresetround_sse_ctx): Likewise.
41850         (libc_feresetround_387_ctx): Likewise.
41851         (libc_feupdateenv_387_ctx): Likewise.
41852         (libc_feholdexcept_setroundf_ctx): Define macro.
41853         (libc_fesetenvf_ctx): Likewise.
41854         (libc_feupdateenvf_ctx): Likewise.
41855         (libc_feholdsetroundf_ctx): Likewise.
41856         (libc_feresetroundf_ctx): Likewise.
41857         (libc_feholdexcept_setround_ctx): Likewise.
41858         (libc_fesetenv_ctx): Likewise.
41859         (libc_feupdateenv_ctx): Likewise.
41860         (libc_feholdsetround_ctx): Likewise.
41861         (libc_feresetround_ctx): Likewise.
41862         (libc_feholdexcept_setroundl_ctx): Likewise.
41863         (libc_feupdateenvl_ctx): Likewise.
41864         (libc_feholdsetroundl_ctx): Likewise.
41865         (libc_feresetroundl_ctx): Likewise.
41866         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
41867         (libc_feresetround_53bit_ctx): Likewise.
41869 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41871         * locale/iso-639.def: Convert to UTF-8.
41873 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
41875         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
41876         (EXCEPTION_TESTS_double): Likewise.
41877         (EXCEPTION_TESTS_long_double): Likewise.
41878         (EXCEPTION_TESTS): Likewise.
41879         * math/libm-test.inc (test_exceptions): Only test exceptions if
41880         EXCEPTION_TESTS (FLOAT).
41882 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41884         * benchtests/Makefile (string-bench): Add strcpy_chk and
41885         stpcpy_chk.
41886         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
41887         * benchtests/bench-stpcpy_chk.c: New file.
41888         * benchtests/bench-strcpy_chk-ifunc.c: New file.
41889         * benchtests/bench-strcpy_chk.c: New file.
41890         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
41891         code.
41892         (do_test): Likewise.
41894 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41896         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
41897         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
41898         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
41899         with tabs where appropriate.
41900         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
41901         dl-procinfo.h.
41902         [PPC_PLATFORM_PPC440]: Likewise.
41903         [PPC_PLATFORM_PPC464]: Likewise.
41904         [PPC_PLATFORM_PPC476]: Likewise.
41905         (_dl_string_platform): Add support for detecting ppc405, ppc440,
41906         ppc464, and ppc476 platform strings merging from ports/
41907         dl-procinfo.h.
41909 2013-06-11  Andreas Schwab  <schwab@suse.de>
41911         [BZ #14991]
41912         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
41913         (from_ucs4_idx): Regenerate.
41914         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
41915         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
41916         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
41917         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
41918         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
41919         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
41920         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
41921         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
41922         from FROM_LOOP and TO_LOOP specific macros.
41923         (BODY): Handle combining characters.
41924         * iconvdata/BIG5HKSCS.irreversible: Update.
41925         * iconvdata/BIG5HKSCS.precomposed: New file.
41926         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
41927         characters.
41928         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
41930 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41932         * include/sys/time.h: Fix indentation and add copyright header.
41934         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
41935         (do_test): Likewise.
41936         * string/test-memchr.c (do_one_test): Likewise.
41937         (do_test): Likewise.
41938         * string/test-memcmp.c (do_one_test): Likewise.
41939         (do_test): Likewise.
41940         * string/test-memcpy.c (do_one_test): Likewise.
41941         (do_test): Likewise.
41942         * string/test-memmem.c (do_one_test): Likewise.
41943         (do_test): Likewise.
41944         (do_random_tests): Likewise.
41945         * string/test-memmove.c (do_one_test): Likewise.
41946         (do_test): Likewise.
41947         * string/test-memset.c (do_one_test): Likewise.
41948         (do_test): Likewise.
41949         * string/test-rawmemchr.c (do_one_test): Likewise.
41950         (do_test): Likewise.
41951         * string/test-strcasecmp.c (do_one_test): Likewise.
41952         (do_test): Likewise.
41953         * string/test-strcasestr.c (do_one_test): Likewise.
41954         (do_test): Likewise.
41955         * string/test-strcat.c (do_one_test): Likewise.
41956         (do_test): Likewise.
41957         * string/test-strchr.c (do_one_test): Likewise.
41958         (do_test): Likewise.
41959         * string/test-strcmp.c (do_one_test): Likewise.
41960         (do_test): Likewise.
41961         * string/test-strcpy.c (do_one_test): Likewise.
41962         (do_test): Likewise.
41963         * string/test-string.h: Likewise.
41964         (test_init): Likewise.
41965         * string/test-strlen.c (do_one_test): Likewise.
41966         (do_test): Likewise.
41967         * string/test-strncasecmp.c (do_one_test): Likewise.
41968         (do_test): Likewise.
41969         * string/test-strncat.c (do_one_test): Likewise.
41970         (do_test): Likewise.
41971         * string/test-strncmp.c (do_one_test): Likewise.
41972         (do_test_limit): Likewise.
41973         (do_test): Likewise.
41974         * string/test-strncpy.c (do_one_test): Likewise.
41975         (do_test): Likewise.
41976         * string/test-strnlen.c (do_one_test): Likewise.
41977         (do_test): Likewise.
41978         * string/test-strpbrk.c (do_one_test): Likewise.
41979         (do_test): Likewise.
41980         * string/test-strrchr.c (do_one_test): Likewise.
41981         (do_test): Likewise.
41982         * string/test-strspn.c (do_one_test): Likewise.
41983         (do_test): Likewise.
41984         * string/test-strstr.c (do_one_test): Likewise.
41985         (do_test): Likewise.
41987         * benchtests/Makefile (string-bench): Add string benchmarks.
41988         * benchtests/bench-bcopy-ifunc.c: New file.
41989         * benchtests/bench-bcopy.c: New file.
41990         * benchtests/bench-bzero-ifunc.c: New file.
41991         * benchtests/bench-bzero.c: New file.
41992         * benchtests/bench-memccpy-ifunc.c: New file.
41993         * benchtests/bench-memccpy.c: New file.
41994         * benchtests/bench-memchr-ifunc.c: New file.
41995         * benchtests/bench-memchr.c: New file.
41996         * benchtests/bench-memcmp-ifunc.c: New file.
41997         * benchtests/bench-memcmp.c: New file.
41998         * benchtests/bench-memmem-ifunc.c: New file.
41999         * benchtests/bench-memmem.c: New file.
42000         * benchtests/bench-memmove-ifunc.c: New file.
42001         * benchtests/bench-memmove.c: New file.
42002         * benchtests/bench-mempcpy-ifunc.c: New file.
42003         * benchtests/bench-mempcpy.c: New file.
42004         * benchtests/bench-memset-ifunc.c: New file.
42005         * benchtests/bench-memset.c: New file.
42006         * benchtests/bench-rawmemchr-ifunc.c: New file.
42007         * benchtests/bench-rawmemchr.c: New file.
42008         * benchtests/bench-stpcpy-ifunc.c: New file.
42009         * benchtests/bench-stpcpy.c: New file.
42010         * benchtests/bench-stpncpy-ifunc.c: New file.
42011         * benchtests/bench-stpncpy.c: New file.
42012         * benchtests/bench-strcasecmp-ifunc.c: New file.
42013         * benchtests/bench-strcasecmp.c: New file.
42014         * benchtests/bench-strcasestr-ifunc.c: New file.
42015         * benchtests/bench-strcasestr.c: New file.
42016         * benchtests/bench-strcat-ifunc.c: New file.
42017         * benchtests/bench-strcat.c: New file.
42018         * benchtests/bench-strchr-ifunc.c: New file.
42019         * benchtests/bench-strchr.c: New file.
42020         * benchtests/bench-strchrnul-ifunc.c: New file.
42021         * benchtests/bench-strchrnul.c: New file.
42022         * benchtests/bench-strcmp-ifunc.c: New file.
42023         * benchtests/bench-strcmp.c: New file.
42024         * benchtests/bench-strcpy-ifunc.c: New file.
42025         * benchtests/bench-strcpy.c: New file.
42026         * benchtests/bench-strcspn-ifunc.c: New file.
42027         * benchtests/bench-strcspn.c: New file.
42028         * benchtests/bench-strlen-ifunc.c: New file.
42029         * benchtests/bench-strlen.c: New file.
42030         * benchtests/bench-strncasecmp-ifunc.c: New file.
42031         * benchtests/bench-strncasecmp.c: New file.
42032         * benchtests/bench-strncat-ifunc.c: New file.
42033         * benchtests/bench-strncat.c: New file.
42034         * benchtests/bench-strncmp-ifunc.c: New file.
42035         * benchtests/bench-strncmp.c: New file.
42036         * benchtests/bench-strncpy-ifunc.c: New file.
42037         * benchtests/bench-strncpy.c: New file.
42038         * benchtests/bench-strnlen-ifunc.c: New file.
42039         * benchtests/bench-strnlen.c: New file.
42040         * benchtests/bench-strpbrk-ifunc.c: New file.
42041         * benchtests/bench-strpbrk.c: New file.
42042         * benchtests/bench-strrchr-ifunc.c: New file.
42043         * benchtests/bench-strrchr.c: New file.
42044         * benchtests/bench-strspn-ifunc.c: New file.
42045         * benchtests/bench-strspn.c: New file.
42046         * benchtests/bench-strstr-ifunc.c: New file.
42047         * benchtests/bench-strstr.c: New file.
42049         * benchtests/Makefile: Disable parallel execution of targets.
42050         (string-bench): Add memcpy.
42051         (benchset): New variable to store a list of benchmark sets.
42052         (bench-func): Renamed from bench.
42053         (bench-set): New target.
42054         (bench): Depend on bench-func and bench-set.
42055         * benchtests/README: Add section on benchmark sets.
42056         * benchtests/bench-memcpy-ifunc.c: New file.
42057         * benchtests/bench-memcpy.c: New file.
42058         * benchtests/bench-string.h: New file.
42060 2013-06-11  Andreas Schwab  <schwab@suse.de>
42062         [BZ #15577]
42063         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
42064         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
42065         values in the triple.
42066         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
42067         terminator in the group key.
42069 2013-06-11  Andreas Jaeger  <aj@suse.de>
42071         * po/zh_TW.po: Update Chinese (traditional) translation from
42072         translation project.
42074 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42076         * include/time.h (__clock_gettime): Add libc_hidden_proto.
42077         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
42078         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
42079         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42080         (clock_getcpuclockid): Likewise.
42081         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
42082         Add weak_alias and libc_hidden_def.
42083         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
42084         * rt/clock_gettime.c (clock_gettime): Rename to
42085         __clock_gettime.  Add weak_alias and libc_hidden_def.
42086         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
42087         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
42088         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
42089         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
42090         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
42091         Likewise.
42092         * rt/clock_settime.c (clock_settime): Rename to
42093         __clock_settime.  Add weak_alias and libc_hidden_def.
42094         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
42096 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
42098         * mach/err_boot.sub: Remove trailing whitespace.
42099         * mach/err_ipc.sub: Likewise.
42100         * mach/err_mach.sub: Likewise.
42102         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
42103         (ROUNDING_TESTS_double): Likewise.
42104         (ROUNDING_TESTS_long_double): Likewise.
42105         (ROUNDING_TESTS): Likewise.
42106         * math/libm-test.inc: Include <math-tests.h>.
42107         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
42108         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42109         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42110         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42112 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42114         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
42115         of assigning.
42117 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
42119         * sysdeps/gnu/errlist.awk: Do not generate space at end of
42120         otherwise empty TRANS lines.
42121         * sysdeps/gnu/errlist.c: Regenerated.
42123         * catgets/gencat.c (error_print): Use (void) in function
42124         definition.
42125         * crypt/crypt_util.c (__init_des): Likewise.
42126         * crypt/speeds.c (Stop): Likewise.
42127         (main): Likewise.
42128         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
42129         * inet/ruserpass.c (token): Likewise.
42130         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
42131         * intl/localealias.c (extend_alias_table): Likewise.
42132         * intl/plural-exp.c (init_germanic_plural): Likewise.
42133         * libio/fcloseall.c (__fcloseall): Likewise.
42134         * libio/genops.c (_IO_flush_all): Likewise.
42135         (_IO_flush_all_linebuffered): Likewise.
42136         (_IO_cleanup): Likewise.
42137         (_IO_iter_begin): Likewise.
42138         (_IO_iter_end): Likewise.
42139         (_IO_list_lock): Likewise.
42140         (_IO_list_unlock): Likewise.
42141         (_IO_list_resetlock): Likewise.
42142         * libio/getchar.c (getchar): Likewise.
42143         * libio/getchar_u.c (getchar_unlocked): Likewise.
42144         * libio/getwchar.c (getwchar): Likewise.
42145         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
42146         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
42147         * login/getpt.c (__getpt): Likewise.
42148         * login/tst-utmp.c (main): Likewise.
42149         * malloc/hooks.c (__malloc_check_init): Likewise.
42150         * malloc/malloc.c (__malloc_stats): Likewise.
42151         * malloc/mtrace.c (tr_break): Likewise.
42152         (mtrace): Likewise.
42153         (muntrace): Likewise.
42154         * misc/fstab.c (endfsent): Likewise.
42155         * misc/getclktck.c (__getclktck): Likewise.
42156         * misc/getdtsz.c (__getdtablesize): Likewise.
42157         * misc/gethostid.c (gethostid): Likewise.
42158         * misc/getpagesize.c (__getpagesize): Likewise.
42159         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
42160         (__get_nprocs): Likewise.
42161         (__get_phys_pages): Likewise.
42162         (__get_avphys_pages): Likewise.
42163         * misc/getttyent.c (getttyent): Likewise.
42164         (setttyent): Likewise.
42165         (endttyent): Likewise.
42166         * misc/getusershell.c (getusershell): Likewise.
42167         (endusershell): Likewise.
42168         (setusershell): Likewise.
42169         (initshells): Likewise.
42170         * misc/hsearch.c (__hdestroy): Likewise.
42171         * misc/sync.c (sync): Likewise.
42172         * misc/syslog.c (closelog_internal): Likewise.
42173         (closelog): Likewise.
42174         * misc/ttyslot.c (ttyslot): Likewise.
42175         * misc/vhangup.c (vhangup): Likewise.
42176         * posix/fork.c (__fork): Likewise.
42177         * posix/getegid.c (__getegid): Likewise.
42178         * posix/geteuid.c (__geteuid): Likewise.
42179         * posix/getgid.c (__getgid): Likewise.
42180         * posix/getpid.c (__getpid): Likewise.
42181         * posix/getppid.c (__getppid): Likewise.
42182         * posix/getuid.c (__getuid): Likewise.
42183         * posix/pause.c (pause): Likewise.
42184         * posix/setpgrp.c (setpgrp): Likewise.
42185         * posix/setsid.c (__setsid): Likewise.
42186         * posix/test-vfork.c (noop): Likewise.
42187         * resolv/gethnamaddr.c (_endhtent): Likewise.
42188         (_gethtent): Likewise.
42189         (ht_endhostent): Likewise.
42190         (gethostent): Likewise.
42191         (dns_service): Likewise.
42192         * stdlib/drand48.c (drand48): Likewise.
42193         * stdlib/lrand48.c (lrand48): Likewise.
42194         * stdlib/mrand48.c (mrand48): Likewise.
42195         * stdlib/rand.c (rand): Likewise.
42196         * stdlib/random.c (__random): Likewise.
42197         * stdlib/setenv.c (clearenv): Likewise.
42198         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
42199         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
42200         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
42201         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
42202         (__get_nprocs): Likewise.
42203         (__get_phys_pages): Likewise.
42204         (__get_avphys_pages): Likewise.
42205         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
42206         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
42207         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
42208         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
42209         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
42210         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
42211         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
42212         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
42213         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
42214         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
42215         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
42216         * sysdeps/mach/hurd/sync.c (sync): Likewise.
42217         * sysdeps/posix/clock.c (clock): Likewise.
42218         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
42219         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
42220         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
42221         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
42222         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
42223         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
42224         (__get_nprocs_conf): Likewise.
42225         (__get_phys_pages): Likewise.
42226         (__get_avphys_pages): Likewise.
42227         * time/clock.c (clock): Likewise.
42228         * time/tzset.c (__tzname_max): Likewise.
42230 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
42232         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
42233         (__bswap_32): Do not use "register".
42234         * crypt/crypt.c (_ufc_doit_r): Likewise.
42235         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42236         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42237         * gmon/gmon.c (__monstartup): Likewise.
42238         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
42239         * hurd/hurdmalloc.c (more_memory): Likewise.
42240         (malloc): Likewise.
42241         (free): Likewise.
42242         (realloc): Likewise.
42243         (malloc_fork_prepare): Likewise.
42244         (malloc_fork_parent): Likewise.
42245         (malloc_fork_child): Likewise.
42246         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
42247         (_svcauth_des): Likewise.
42248         * inet/inet_lnaof.c (inet_lnaof): Likewise.
42249         * inet/inet_net.c (inet_network): Likewise.
42250         * inet/inet_netof.c (inet_netof): Likewise.
42251         * inet/rcmd.c (__validuser2_sa): Likewise.
42252         * io/fts.c (fts_open): Likewise.
42253         (fts_load): Likewise.
42254         (fts_close): Likewise.
42255         (fts_read): Likewise.
42256         (fts_children): Likewise.
42257         (fts_build): Likewise.
42258         (fts_stat): Likewise.
42259         (fts_sort): Likewise.
42260         (fts_alloc): Likewise.
42261         (fts_lfree): Likewise.
42262         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
42263         (_IO_file_xsgetn): Likewise.
42264         (_IO_file_xsgetn_mmap): Likewise.
42265         * libio/iofopncook.c (_IO_cookie_read): Likewise.
42266         (_IO_cookie_write): Likewise.
42267         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
42268         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
42269         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
42270         * malloc/obstack.c (_obstack_begin): Likewise.
42271         (_obstack_begin_1): Likewise.
42272         (_obstack_newchunk): Likewise.
42273         (_obstack_allocated_p): Likewise.
42274         (obstack_free): Likewise.
42275         (_obstack_memory_used): Likewise.
42276         * misc/getttyent.c (getttynam): Likewise.
42277         (getttyent): Likewise.
42278         (skip): Likewise.
42279         (value): Likewise.
42280         * misc/getusershell.c (initshells): Likewise.
42281         * misc/syslog.c (__vsyslog_chk): Likewise.
42282         * misc/ttyslot.c (ttyslot): Likewise.
42283         * nis/nis_hash.c (__nis_hash): Likewise.
42284         * posix/fnmatch_loop.c (FCT): Likewise.
42285         * posix/getconf.c (print_all): Likewise.
42286         (main): Likewise.
42287         * posix/getopt.c (exchange): Likewise.
42288         * posix/glob.c (globfree): Likewise.
42289         (prefix_array): Likewise.
42290         (__glob_pattern_type): Likewise.
42291         * resolv/arpa/nameser.h (NS_GET16): Likewise.
42292         (NS_GET32): Likewise.
42293         (NS_PUT16): Likewise.
42294         (NS_PUT32): Likewise.
42295         * resolv/gethnamaddr.c (getanswer): Likewise.
42296         (gethostbyname2): Likewise.
42297         (gethostbyaddr): Likewise.
42298         (_gethtent): Likewise.
42299         (_gethtbyname2): Likewise.
42300         (_gethtbyaddr): Likewise.
42301         * resolv/ns_print.c (dst_s_get_int16): Likewise.
42302         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
42303         * resolv/res_init.c (__res_vinit): Likewise.
42304         (net_mask): Likewise.
42305         * resolv/res_mkquery.c (outchar): Likewise.
42306         (PRINT): Likewise.
42307         * stdio-common/printf_fp.c (outchar): Likewise.
42308         (PRINT): Likewise.
42309         * stdio-common/printf_fphex.c (outchar): Likewise.
42310         (PRINT): Likewise.
42311         * stdio-common/printf_size.c (outchar): Likewise.
42312         (PRINT): Likewise.
42313         * stdio-common/test_rdwr.c (main): Likewise.
42314         * stdio-common/tfformat.c (matches): Likewise.
42315         * stdio-common/vfprintf.c (outchar): Likewise.
42316         (printf_unknown): Likewise.
42317         (buffered_vfprintf): Likewise.
42318         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42319         * stdio-common/xbug.c (AppendToBuffer): Likewise.
42320         (ReadFile): Likewise.
42321         * stdlib/qsort.c (SWAP): Likewise.
42322         (_quicksort): Likewise.
42323         * stdlib/setenv.c (__add_to_environ): Likewise.
42324         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42325         * stdlib/strtol_l.c (__strtol_l): Likewise.
42326         * stdlib/tst-strtod.c (main): Likewise.
42327         * stdlib/tst-strtol.c (main): Likewise.
42328         * stdlib/tst-strtoll.c (main): Likewise.
42329         * string/bits/string2.h (__strcmp_cc): Likewise.
42330         (__strcmp_cg): Likewise.
42331         (__strcspn_c1): Likewise.
42332         (__strcspn_c2): Likewise.
42333         (__strcspn_c3): Likewise.
42334         (__strspn_c1): Likewise.
42335         (__strspn_c2): Likewise.
42336         (__strspn_c3): Likewise.
42337         (__strsep_1c): Likewise.
42338         (__strsep_2c): Likewise.
42339         (__strsep_3c): Likewise.
42340         * string/memccpy.c (__memccpy): Likewise.
42341         * string/stpcpy.c (__stpcpy): Likewise.
42342         * string/strcmp.c (strcmp): Likewise.
42343         * string/strrchr.c (strrchr): Likewise.
42344         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
42345         Likewise.
42346         * sysdeps/mach/hurd/getcwd.c
42347         (_hurd_canonicalize_directory_name_internal): Likewise.
42348         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
42349         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
42350         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
42351         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
42352         Likewise, in both definitions.
42353         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
42354         definitions.
42355         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
42356         64] (__bswap_64): Likewise.
42357         * time/test_time.c (main): Likewise.
42358         * time/tzfile.c (__tzfile_read): Likewise.
42359         (__tzfile_compute): Likewise.
42360         * time/tzset.c (__tzset_parse_tz): Likewise.
42361         (tzset_internal): Likewise.
42362         (compute_change): Likewise.
42363         * wcsmbs/wcscat.c (__wcscat): Likewise.
42364         * wcsmbs/wcschr.c (wcschr): Likewise.
42365         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
42366         * wcsmbs/wcscspn.c (wcscspn): Likewise.
42367         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
42368         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
42369         * wcsmbs/wcsspn.c (wcsspn): Likewise.
42370         * wcsmbs/wcsstr.c (wcsstr): Likewise.
42371         * wcsmbs/wmemchr.c (wmemchr): Likewise.
42372         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42373         * wcsmbs/wmemset.c (wmemset): Likewise.
42375 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
42377         * scripts/config.guess: Update to version 2013-05-16.
42378         * scripts/config.sub: Update to version 2013-04-24.
42379         * scripts/install-sh: Update to version 2011-11-20.07.
42380         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
42381         * scripts/move-if-change: Update to version 2012-01-06 07:23.
42383 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
42385         * debug/fgetws_u_chk.c: Fix leading whitespaces.
42386         * elf/sln.c: Likewise.
42387         * hurd/hurd/ioctl.h: Likewise.
42388         * hurd/hurdmalloc.c: Likewise.
42389         * hurd/xattr.c: Likewise.
42390         * include/shlib-compat.h: Likewise.
42391         * inet/ruserpass.c: Likewise.
42392         * libio/iofgets_u.c: Likewise.
42393         * libio/iofgetws_u.c: Likewise.
42394         * locale/programs/ld-identification.c: Likewise.
42395         * locale/programs/ld-time.c: Likewise.
42396         * mach/msg-destroy.c: Likewise.
42397         * nss/nss_files/files-netgrp.c: Likewise.
42398         * resolv/res_data.c: Likewise.
42399         * soft-fp/op-1.h: Likewise.
42400         * soft-fp/op-2.h: Likewise.
42401         * soft-fp/op-4.h: Likewise.
42402         * soft-fp/op-common.h: Likewise.
42403         * stdio-common/printf_fphex.c: Likewise.
42404         * stdlib/strtod_l.c: Likewise.
42405         * sunrpc/rpc/clnt.h: Likewise.
42406         * sysdeps/generic/framestate.c: Likewise.
42407         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42408         * sysdeps/i386/bsd-setjmp.S: Likewise.
42409         * sysdeps/i386/__longjmp.S: Likewise.
42410         * sysdeps/i386/setjmp.S: Likewise.
42411         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42412         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42413         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42414         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42415         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42416         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42417         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42418         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42419         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42420         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42421         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42422         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42423         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42424         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42425         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42426         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42427         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42428         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
42429         * sysdeps/ieee754/support.c: Likewise.
42430         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42431         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
42432         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
42433         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
42434         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
42435         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
42436         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
42437         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
42438         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
42439         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
42440         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
42441         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
42442         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
42443         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
42444         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
42445         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
42446         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42449 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
42451         * posix/transbug.c: Remove executable mode.
42453 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
42455         * crypt/speeds.c: Remove trailing whitespace.
42456         * dlfcn/default.c: Likewise.
42457         * elf/ifuncdep2.c: Likewise.
42458         * elf/ifuncmain1.c: Likewise.
42459         * elf/ifuncmain1vis.c: Likewise.
42460         * elf/testobj.h: Likewise.
42461         * elf/tst-stackguard1.c: Likewise.
42462         * gmon/sys/gmon.h: Likewise.
42463         * hurd/hurdmsg.c: Likewise.
42464         * hurd/new-fd.c: Likewise.
42465         * hurd/ports-get.c: Likewise.
42466         * iconvdata/ibm1008_420.c: Likewise.
42467         * inet/tst-getni1.c: Likewise.
42468         * inet/tst-getni2.c: Likewise.
42469         * libio/ioungetc.c: Likewise.
42470         * libio/wfiledoalloc.c: Likewise.
42471         * manual/libm-err-tab.pl: Likewise.
42472         * math/w_dremf.c: Likewise.
42473         * misc/ftruncate.c: Likewise.
42474         * posix/bug-glob2.c: Likewise.
42475         * posix/tst-pcre.c: Likewise.
42476         * posix/wait4.c: Likewise.
42477         * resolv/README: Likewise.
42478         * resolv/res_debug.h: Likewise.
42479         * resolv/tst-inet_ntop.c: Likewise.
42480         * setjmp/bug269-setjmp.c: Likewise.
42481         * soft-fp/extended.h: Likewise.
42482         * soft-fp/op-1.h: Likewise.
42483         * soft-fp/op-2.h: Likewise.
42484         * soft-fp/op-4.h: Likewise.
42485         * soft-fp/op-8.h: Likewise.
42486         * soft-fp/testit.c: Likewise.
42487         * stdio-common/bug16.c: Likewise.
42488         * stdlib/random.c: Likewise.
42489         * sunrpc/rpcsvc/rquota.x: Likewise.
42490         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
42491         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42492         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42493         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42494         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42495         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42496         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42497         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42498         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42499         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42500         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42501         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42502         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42503         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42504         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42505         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42506         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42507         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42508         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42509         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42510         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42511         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42512         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
42513         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42514         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42515         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42516         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42517         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42518         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42519         * sysdeps/ieee754/s_lib_version.c: Likewise.
42520         * sysdeps/mach/hurd/check_fds.c: Likewise.
42521         * sysdeps/mach/hurd/getsockname.c: Likewise.
42522         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
42523         * sysdeps/mach/hurd/recvfrom.c: Likewise.
42524         * sysdeps/powerpc/bits/link.h: Likewise.
42525         * sysdeps/powerpc/dl-procinfo.c: Likewise.
42526         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
42527         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
42528         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
42529         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42530         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42531         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
42532         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42533         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
42534         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42535         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42536         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42537         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
42538         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42539         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42540         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42541         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42542         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42543         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42544         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42545         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42546         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
42547         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42548         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42549         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
42550         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42551         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42552         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42553         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42554         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42555         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42556         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42557         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42558         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42559         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
42560         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42561         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
42562         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42563         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42564         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
42565         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
42566         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
42567         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
42568         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
42569         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42570         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
42571         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
42572         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42573         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
42574         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
42575         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42576         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42577         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42578         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42579         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
42580         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42581         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42582         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42583         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
42584         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42585         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
42586         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
42587         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
42588         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42589         * sysdeps/powerpc/sysdep.h: Likewise.
42590         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42591         * sysdeps/s390/s390-64/sub_n.S: Likewise.
42592         * sysdeps/sh/dl-trampoline.S: Likewise.
42593         * sysdeps/sh/memset.S: Likewise.
42594         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
42595         * sysdeps/sh/strlen.S: Likewise.
42596         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
42597         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
42598         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
42599         * sysdeps/sparc/sparc32/rem.S: Likewise.
42600         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
42601         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
42602         * sysdeps/sparc/sparc32/strchr.S: Likewise.
42603         * sysdeps/sparc/sparc32/udiv.S: Likewise.
42604         * sysdeps/sparc/sparc32/urem.S: Likewise.
42605         * sysdeps/sparc/sparc64/add_n.S: Likewise.
42606         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42607         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
42608         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
42609         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
42610         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
42611         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
42612         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
42613         * sysdeps/unix/bsd/times.c: Likewise.
42614         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
42615         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
42616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42619         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42620         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42621         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42622         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42623         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42624         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42625         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42626         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42627         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42628         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42629         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42630         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42631         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42632         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42633         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42634         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42635         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42636         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42637         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42638         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42639         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42640         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42641         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42642         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42643         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42644         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42645         * sysdeps/x86_64/strcspn.S: Likewise.
42647 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42649         * locale/C-translit.h: Revert #include <stdint.h> because this is a
42650         generated file.  Regenerate properly from gen-translit.pl.
42651         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
42652         locale/C-translit.h.
42654 2013-06-05  Andreas Schwab  <schwab@suse.de>
42656         [BZ #15100]
42657         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42658         week as 6 instead of -1.
42659         * time/tst-strptime.c (day_tests): Add test case.
42661 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42663         * sysdeps/generic/math_private.h
42664         (libc_feholdexcept_setround_53bit): Replace with
42665         libc_feholdsetround_53bit.
42666         (libc_feupdateenv_53bit): Replace with
42667         libc_feresetround_53bit.
42668         (SET_RESTORE_ROUND_53BIT): Adjust.
42670 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42672         * string/test-strchrnul.c: Add copyright header.
42674         * posix/tst-getaddrinfo4.c: Increase test timeout.
42676 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
42678         [BZ #15536]
42679         * math/libm-test.inc (MAX_EXP): Remove
42680         (MIN_EXP): Define.
42681         (ulp): Use MIN_EXP - MANT_DIG.
42682         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42684 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
42686         * po/be.po: Revert last change.
42687         * po/zh_CN.po: Likewise.
42688         * po/header.pot: Likewise.
42690 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
42692         * Makefile ($(common-objpfx)linkobj/libc.so): Define
42693         link-libc-deps to empty as target-specific variable.
42694         * Makerules (link-libc-args): New variable.
42695         (libc-for-link): Likewise.
42696         (link-libc-deps): Likewise.
42697         (lib%.so): Depend on $(link-libc-deps).  Link with
42698         $(link-libc-args).
42699         (build-module): Link with $(link-libc-args).
42700         (build-module-asneeded): Likewise.
42701         (build-module-helper-objlist): Filter out $(link-libc-deps) from
42702         list of objects.
42703         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42704         target-specific variable.
42705         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42706         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42707         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42708         libc.
42709         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42710         libc and ld.so.
42711         ($(objpfx)libpcprofile.so): Likewise.
42712         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42713         libc_nonshared.a.
42714         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42715         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42716         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42717         $(link-libc-deps).
42718         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42719         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42720         * login/Makefile ($(objpfx)libutil.so): Likewise.
42721         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42722         * math/Makefile ($(objpfx)libm.so): Likewise.
42723         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42724         $(objpfx)libnsl.so): Define libc-for-link as target-specific
42725         variable instead of depending directly on libc.
42726         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42727         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42728         $(link-libc-deps).
42729         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42730         libc.
42731         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42732         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42733         ($(objpfx)libanl.so): Likewise.
42734         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42735         ld.so.
42736         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42737         $(link-libc-deps).
42738         * sysdeps/i386/fpu/Makefile: Remove file.
42739         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42740         ($(objpfx)libm.so): Remove dependency on ld.so.
42742 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
42744         [BZ # 15553]
42745         * nis/yp_xdr.c (XDRMAXNAME): Define.
42746         (XDRMAXRECORD): Define.
42747         (xdr_domainname): Use XDRMAXNAME.
42748         (xdr_mapname): Likewise.
42749         (xdr_peername): Likewise.
42750         (xdr_keydat): Use XDRMAXRECORD.
42751         (xdr_valdat): Likewise.
42753 2013-05-30  Jeff Law  <law@redhat.com>
42755         [BZ #14256]
42756         * manual/errno.texi (ESTALE): Update to account for more than
42757         just NFS file systems.
42758         * sysdeps/gnu/errlist.c: Regenerated.
42760 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42762         [BZ #15465]
42763         * elf/Makefile (tests): Add tst-null-argv.
42764         (modules-names):  Add tst-null-argv-lib.
42765         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42766         (tst-null-argv-ENV): Set environment for tst-null-argv.
42767         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42768         (RTLD_PROGNAME): New macro.
42769         * elf/tst-null-argv.c: New test case.
42770         * elf/tst-null-argv-lib.c: Library for test case.
42771         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42772         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42773         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
42774         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
42775         * elf/dl-init.c (call_init): Likewise.
42776         (_dl_init): Likewise.
42777         * elf/dl-load.c (print_search_path): Likewise.
42778         (_dl_map_object): Likewise.
42779         * elf/dl-lookup.c (do_lookup_x): Likewise.
42780         (add_dependency): Likewise.
42781         (_dl_lookup_symbol_x): Likewise.
42782         (_dl_debug_bindings): Likewise.
42783         * elf/dl-open.c (_dl_show_scope): Likewise.
42784         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42785         * elf/dl-version.c (match_symbol): Likewise.
42786         (_dl_check_map_versions): Likewise.
42787         * elf/rtld.c (dl_main): Likewise.
42788         (print_unresolved): Use RTLD_PROGNAME.
42789         (print_missing_version): Likewise.
42790         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
42791         (elf_machine_rela): Likewise.
42792         * sysdeps/powerpc/powerpc32/dl-machine.c
42793         (__process_machine_rela): Likewise.
42794         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42795         Likewise.
42796         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42797         Likewise.
42798         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42799         Likewise.
42800         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42801         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
42802         Likewise.
42803         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
42804         Likewise.
42805         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42807 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
42809         * po/be.po: Add descriptive title.
42810         * po/zh_CN.po: Likewise.
42811         * po/header.pot: Likewise.
42813 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
42815         * locale/programs/locarchive.c (create_archive): Inlucde fname in
42816         error message.
42817         (enlarge_archive): Likewise.
42819 2013-05-28  Ben North  <ben@redfrontdoor.org>
42821         * manual/arith.texi (frexp): It is the magnitude of the return
42822         value which lies in [0.5, 1), not the return value itself.
42824 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42828 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
42830         * stdio-common/bug26.c (main): Correct fscanf template.
42832         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
42833         declare _dl_skip_args.
42835         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
42836         Don't declare.
42838         * manual/platform.texi: Add missing @end deftypefun.
42840 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42842         [BZ #15529]
42843         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
42844         bit of mantissa of 2^16382.
42845         * math/libm-test.inc (hypot_test_data): Add more tests.
42847         * math/libm-test.inc: Add drem and pow10 to list of tested
42848         functions.
42849         (pow10_test): New function.
42850         (drem_test): Likewise.
42851         (drem_test_tonearest): Likewise.
42852         (drem_test_towardzero): Likewise.
42853         (drem_test_downward): Likewise.
42854         (drem_test_upward): Likewise.
42855         (main): Call the new functions.
42857         * math/libm-test.inc (finite_test_data): Remove.
42858         (finite_test): Run tests from isfinite_test_data.
42859         (gamma_test_data): Remove.
42860         (gamma_test): Run tests from lgamma_test_data.
42861         * sysdeps/i386/fpu/libm-test-ulps: Update.
42862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42864 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42866         * manual/platform.texi: Add PowerPC PPR function set documentation.
42867         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
42868         implementation.
42870 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
42872         * math/libm-test.inc (MAX_EXP): Define.
42873         (ULPDIFF): Define.
42874         (ulp): New function.
42875         (check_float_internal): Use ULPDIFF.
42876         (cpow_test): Disable failing test.
42877         (check_ulp): Test ulp() implemetnation.
42878         (main): Call check_ulp before starting tests.
42880 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42882         * math/gen-libm-test.pl (generate_testfile): Do not handle
42883         START_DATA and END_DATA.
42884         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
42885         END_DATA.
42886         (acos_tonearest_test_data): Likewise.
42887         (acos_towardzero_test_data): Likewise.
42888         (acos_downward_test_data): Likewise.
42889         (acos_upward_test_data): Likewise.
42890         (acosh_test_data): Likewise.
42891         (asin_test_data): Likewise.
42892         (asin_tonearest_test_data): Likewise.
42893         (asin_towardzero_test_data): Likewise.
42894         (asin_downward_test_data): Likewise.
42895         (asin_upward_test_data): Likewise.
42896         (asinh_test_data): Likewise.
42897         (atan_test_data): Likewise.
42898         (atanh_test_data): Likewise.
42899         (atan2_test_data): Likewise.
42900         (cabs_test_data): Likewise.
42901         (cacos_test_data): Likewise.
42902         (cacosh_test_data): Likewise.
42903         (carg_test_data): Likewise.
42904         (casin_test_data): Likewise.
42905         (casinh_test_data): Likewise.
42906         (catan_test_data): Likewise.
42907         (catanh_test_data): Likewise.
42908         (cbrt_test_data): Likewise.
42909         (ccos_test_data): Likewise.
42910         (ccosh_test_data): Likewise.
42911         (ceil_test_data): Likewise.
42912         (cexp_test_data): Likewise.
42913         (cimag_test_data): Likewise.
42914         (clog_test_data): Likewise.
42915         (clog10_test_data): Likewise.
42916         (conj_test_data): Likewise.
42917         (copysign_test_data): Likewise.
42918         (cos_test_data): Likewise.
42919         (cos_tonearest_test_data): Likewise.
42920         (cos_towardzero_test_data): Likewise.
42921         (cos_downward_test_data): Likewise.
42922         (cos_upward_test_data): Likewise.
42923         (cosh_test_data): Likewise.
42924         (cosh_tonearest_test_data): Likewise.
42925         (cosh_towardzero_test_data): Likewise.
42926         (cosh_downward_test_data): Likewise.
42927         (cosh_upward_test_data): Likewise.
42928         (cpow_test_data): Likewise.
42929         (cproj_test_data): Likewise.
42930         (creal_test_data): Likewise.
42931         (csin_test_data): Likewise.
42932         (csinh_test_data): Likewise.
42933         (csqrt_test_data): Likewise.
42934         (ctan_test_data): Likewise.
42935         (ctan_tonearest_test_data): Likewise.
42936         (ctan_towardzero_test_data): Likewise.
42937         (ctan_downward_test_data): Likewise.
42938         (ctan_upward_test_data): Likewise.
42939         (ctanh_test_data): Likewise.
42940         (ctanh_tonearest_test_data): Likewise.
42941         (ctanh_towardzero_test_data): Likewise.
42942         (ctanh_downward_test_data): Likewise.
42943         (ctanh_upward_test_data): Likewise.
42944         (erf_test_data): Likewise.
42945         (erfc_test_data): Likewise.
42946         (exp_test_data): Likewise.
42947         (exp_tonearest_test_data): Likewise.
42948         (exp_towardzero_test_data): Likewise.
42949         (exp_downward_test_data): Likewise.
42950         (exp_upward_test_data): Likewise.
42951         (exp10_test_data): Likewise.
42952         (exp2_test_data): Likewise.
42953         (expm1_test_data): Likewise.
42954         (fabs_test_data): Likewise.
42955         (fdim_test_data): Likewise.
42956         (finite_test_data): Likewise.
42957         (floor_test_data): Likewise.
42958         (fma_test_data): Likewise.
42959         (fma_towardzero_test_data): Likewise.
42960         (fma_downward_test_data): Likewise.
42961         (fma_upward_test_data): Likewise.
42962         (fmax_test_data): Likewise.
42963         (fmin_test_data): Likewise.
42964         (fmod_test_data): Likewise.
42965         (fpclassify_test_data): Likewise.
42966         (frexp_test_data): Likewise.
42967         (gamma_test_data): Likewise.
42968         (hypot_test_data): Likewise.
42969         (ilogb_test_data): Likewise.
42970         (isfinite_test_data): Likewise.
42971         (isgreater_test_data): Likewise.
42972         (isgreaterequal_test_data): Likewise.
42973         (isinf_test_data): Likewise.
42974         (isless_test_data): Likewise.
42975         (islessequal_test_data): Likewise.
42976         (islessgreater_test_data): Likewise.
42977         (isnan_test_data): Likewise.
42978         (isnormal_test_data): Likewise.
42979         (issignaling_test_data): Likewise.
42980         (isunordered_test_data): Likewise.
42981         (j0_test_data): Likewise.
42982         (j1_test_data): Likewise.
42983         (jn_test_data): Likewise.
42984         (ldexp_test_data): Likewise.
42985         (lgamma_test_data): Likewise.
42986         (lrint_test_data): Likewise.
42987         (lrint_tonearest_test_data): Likewise.
42988         (lrint_towardzero_test_data): Likewise.
42989         (lrint_downward_test_data): Likewise.
42990         (lrint_upward_test_data): Likewise.
42991         (llrint_test_data): Likewise.
42992         (llrint_tonearest_test_data): Likewise.
42993         (llrint_towardzero_test_data): Likewise.
42994         (llrint_downward_test_data): Likewise.
42995         (llrint_upward_test_data): Likewise.
42996         (log_test_data): Likewise.
42997         (log10_test_data): Likewise.
42998         (log1p_test_data): Likewise.
42999         (log2_test_data): Likewise.
43000         (logb_test_data): Likewise.
43001         (logb_downward_test_data): Likewise.
43002         (lround_test_data): Likewise.
43003         (llround_test_data): Likewise.
43004         (modf_test_data): Likewise.
43005         (nearbyint_test_data): Likewise.
43006         (nextafter_test_data): Likewise.
43007         (nexttoward_test_data): Likewise.
43008         (pow_test_data): Likewise.
43009         (pow_tonearest_test_data): Likewise.
43010         (pow_towardzero_test_data): Likewise.
43011         (pow_downward_test_data): Likewise.
43012         (pow_upward_test_data): Likewise.
43013         (remainder_test_data): Likewise.
43014         (remainder_tonearest_test_data): Likewise.
43015         (remainder_towardzero_test_data): Likewise.
43016         (remainder_downward_test_data): Likewise.
43017         (remainder_upward_test_data): Likewise.
43018         (remquo_test_data): Likewise.
43019         (rint_test_data): Likewise.
43020         (rint_tonearest_test_data): Likewise.
43021         (rint_towardzero_test_data): Likewise.
43022         (rint_downward_test_data): Likewise.
43023         (rint_upward_test_data): Likewise.
43024         (round_test_data): Likewise.
43025         (scalb_test_data): Likewise.
43026         (scalbn_test_data): Likewise.
43027         (scalbln_test_data): Likewise.
43028         (signbit_test_data): Likewise.
43029         (sin_test_data): Likewise.
43030         (sin_tonearest_test_data): Likewise.
43031         (sin_towardzero_test_data): Likewise.
43032         (sin_downward_test_data): Likewise.
43033         (sin_upward_test_data): Likewise.
43034         (sincos_test_data): Likewise.
43035         (sinh_test_data): Likewise.
43036         (sinh_tonearest_test_data): Likewise.
43037         (sinh_towardzero_test_data): Likewise.
43038         (sinh_downward_test_data): Likewise.
43039         (sinh_upward_test_data): Likewise.
43040         (sqrt_test_data): Likewise.
43041         (tan_test_data): Likewise.
43042         (tan_tonearest_test_data): Likewise.
43043         (tan_towardzero_test_data): Likewise.
43044         (tan_downward_test_data): Likewise.
43045         (tan_upward_test_data): Likewise.
43046         (tanh_test_data): Likewise.
43047         (tgamma_test_data): Likewise.
43048         (trunc_test_data): Likewise.
43049         (y0_test_data): Likewise.
43050         (y1_test_data): Likewise.
43051         (yn_test_data): Likewise.
43052         (significand_test_data): Likewise.
43054         * math/gen-libm-test.pl (@functions): Remove variable.
43055         (generate_testfile): Don't handle START and END lines.
43056         * math/libm-test.inc (START): New macro.
43057         (END): Likewise.
43058         (END_COMPLEX): Likewise.
43059         (acos_test): Use END macro without arguments.
43060         (acos_test_tonearest): Likewise.
43061         (acos_test_towardzero): Likewise.
43062         (acos_test_downward): Likewise.
43063         (acos_test_upward): Likewise.
43064         (acosh_test): Likewise.
43065         (asin_test): Likewise.
43066         (asin_test_tonearest): Likewise.
43067         (asin_test_towardzero): Likewise.
43068         (asin_test_downward): Likewise.
43069         (asin_test_upward): Likewise.
43070         (asinh_test): Likewise.
43071         (atan_test): Likewise.
43072         (atanh_test): Likewise.
43073         (atan2_test): Likewise.
43074         (cabs_test): Likewise.
43075         (cacos_test): Use END_COMPLEX macro without arguments.
43076         (cacosh_test): Likewise.
43077         (carg_test): Use END macro without arguments.
43078         (casin_test): Use END_COMPLEX macro without arguments.
43079         (casinh_test): Likewise.
43080         (catan_test): Likewise.
43081         (catanh_test): Likewise.
43082         (cbrt_test): Use END macro without arguments.
43083         (ccos_test): Use END_COMPLEX macro without arguments.
43084         (ccosh_test): Likewise.
43085         (ceil_test): Use END macro without arguments.
43086         (cexp_test): Use END_COMPLEX macro without arguments.
43087         (cimag_test): Use END macro without arguments.
43088         (clog_test): Use END_COMPLEX macro without arguments.
43089         (clog10_test): Likewise.
43090         (conj_test): Likewise.
43091         (copysign_test): Use END macro without arguments.
43092         (cos_test): Likewise.
43093         (cos_test_tonearest): Likewise.
43094         (cos_test_towardzero): Likewise.
43095         (cos_test_downward): Likewise.
43096         (cos_test_upward): Likewise.
43097         (cosh_test): Likewise.
43098         (cosh_test_tonearest): Likewise.
43099         (cosh_test_towardzero): Likewise.
43100         (cosh_test_downward): Likewise.
43101         (cosh_test_upward): Likewise.
43102         (cpow_test): Use END_COMPLEX macro without arguments.
43103         (cproj_test): Likewise.
43104         (creal_test): Use END macro without arguments.
43105         (csin_test): Use END_COMPLEX macro without arguments.
43106         (csinh_test): Likewise.
43107         (csqrt_test): Likewise.
43108         (ctan_test): Likewise.
43109         (ctan_test_tonearest): Likewise.
43110         (ctan_test_towardzero): Likewise.
43111         (ctan_test_downward): Likewise.
43112         (ctan_test_upward): Likewise.
43113         (ctanh_test): Likewise.
43114         (ctanh_test_tonearest): Likewise.
43115         (ctanh_test_towardzero): Likewise.
43116         (ctanh_test_downward): Likewise.
43117         (ctanh_test_upward): Likewise.
43118         (erf_test): Use END macro without arguments.
43119         (erfc_test): Likewise.
43120         (exp_test): Likewise.
43121         (exp_test_tonearest): Likewise.
43122         (exp_test_towardzero): Likewise.
43123         (exp_test_downward): Likewise.
43124         (exp_test_upward): Likewise.
43125         (exp10_test): Likewise.
43126         (exp2_test): Likewise.
43127         (expm1_test): Likewise.
43128         (fabs_test): Likewise.
43129         (fdim_test): Likewise.
43130         (finite_test): Likewise.
43131         (floor_test): Likewise.
43132         (fma_test): Likewise.
43133         (fma_test_towardzero): Likewise.
43134         (fma_test_downward): Likewise.
43135         (fma_test_upward): Likewise.
43136         (fmax_test): Likewise.
43137         (fmin_test): Likewise.
43138         (fmod_test): Likewise.
43139         (fpclassify_test): Likewise.
43140         (frexp_test): Likewise.
43141         (gamma_test): Likewise.
43142         (hypot_test): Likewise.
43143         (ilogb_test): Likewise.
43144         (isfinite_test): Likewise.
43145         (isgreater_test): Likewise.
43146         (isgreaterequal_test): Likewise.
43147         (isinf_test): Likewise.
43148         (isless_test): Likewise.
43149         (islessequal_test): Likewise.
43150         (islessgreater_test): Likewise.
43151         (isnan_test): Likewise.
43152         (isnormal_test): Likewise.
43153         (issignaling_test): Likewise.
43154         (isunordered_test): Likewise.
43155         (j0_test): Likewise.
43156         (j1_test): Likewise.
43157         (jn_test): Likewise.
43158         (ldexp_test): Likewise.
43159         (lgamma_test): Likewise.
43160         (lrint_test): Likewise.
43161         (lrint_test_tonearest): Likewise.
43162         (lrint_test_towardzero): Likewise.
43163         (lrint_test_downward): Likewise.
43164         (lrint_test_upward): Likewise.
43165         (llrint_test): Likewise.
43166         (llrint_test_tonearest): Likewise.
43167         (llrint_test_towardzero): Likewise.
43168         (llrint_test_downward): Likewise.
43169         (llrint_test_upward): Likewise.
43170         (log_test): Likewise.
43171         (log10_test): Likewise.
43172         (log1p_test): Likewise.
43173         (log2_test): Likewise.
43174         (logb_test): Likewise.
43175         (logb_test_downward): Likewise.
43176         (lround_test): Likewise.
43177         (llround_test): Likewise.
43178         (modf_test): Likewise.
43179         (nearbyint_test): Likewise.
43180         (nextafter_test): Likewise.
43181         (nexttoward_test): Likewise.
43182         (pow_test): Likewise.
43183         (pow_test_tonearest): Likewise.
43184         (pow_test_towardzero): Likewise.
43185         (pow_test_downward): Likewise.
43186         (pow_test_upward): Likewise.
43187         (remainder_test): Likewise.
43188         (remainder_test_tonearest): Likewise.
43189         (remainder_test_towardzero): Likewise.
43190         (remainder_test_downward): Likewise.
43191         (remainder_test_upward): Likewise.
43192         (remquo_test): Likewise.
43193         (rint_test): Likewise.
43194         (rint_test_tonearest): Likewise.
43195         (rint_test_towardzero): Likewise.
43196         (rint_test_downward): Likewise.
43197         (rint_test_upward): Likewise.
43198         (round_test): Likewise.
43199         (scalb_test): Likewise.
43200         (scalbn_test): Likewise.
43201         (scalbln_test): Likewise.
43202         (signbit_test): Likewise.
43203         (sin_test): Likewise.
43204         (sin_test_tonearest): Likewise.
43205         (sin_test_towardzero): Likewise.
43206         (sin_test_downward): Likewise.
43207         (sin_test_upward): Likewise.
43208         (sincos_test): Likewise.
43209         (sinh_test): Likewise.
43210         (sinh_test_tonearest): Likewise.
43211         (sinh_test_towardzero): Likewise.
43212         (sinh_test_downward): Likewise.
43213         (sinh_test_upward): Likewise.
43214         (sqrt_test): Likewise.
43215         (tan_test): Likewise.
43216         (tan_test_tonearest): Likewise.
43217         (tan_test_towardzero): Likewise.
43218         (tan_test_downward): Likewise.
43219         (tan_test_upward): Likewise.
43220         (tanh_test): Likewise.
43221         (tgamma_test): Likewise.
43222         (trunc_test): Likewise.
43223         (y0_test): Likewise.
43224         (y1_test): Likewise.
43225         (yn_test): Likewise.
43226         (significand_test): Likewise.
43228 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
43230         [BZ #15381]
43231         * libio/genops.c (_IO_no_init): Initialize wide struct info.
43233 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43235         [BZ #14894]
43236         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
43237         __ppc_mdoio and __ppc_mdoom.
43238         * manual/platform.texi: Document new functions __ppc_yield,
43239         __ppc_mdoio and __ppc_mdoom.
43241 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
43243         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
43244         (main): Mention "tls" pseudo-hwcap is legacy.
43245         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
43247 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43249         * math/gen-libm-test.pl (parse_args): Output only string of
43250         arguments as text for test name, not full call or descriptions of
43251         tests for extra outputs.
43252         (generate_testfile): Do not pass function name to parse_args.
43253         Generate this_func variable from START.
43254         * math/libm-test.inc (struct test_f_f_data): Rename test_name
43255         field to arg_str.
43256         (struct test_ff_f_data): Likewise.
43257         (test_ff_f_data_nexttoward): Likewise.
43258         (struct test_fi_f_data): Likewise.
43259         (struct test_fl_f_data): Likewise.
43260         (struct test_if_f_data): Likewise.
43261         (struct test_fff_f_data): Likewise.
43262         (struct test_c_f_data): Likewise.
43263         (struct test_f_f1_data): Likewise.  Remove field extra_name.
43264         (struct test_fF_f1_data): Likewise.
43265         (struct test_ffI_f1_data): Likewise.
43266         (struct test_c_c_data): Rename test_name field to arg_str.
43267         (struct test_cc_c_data): Likewise.
43268         (struct test_f_i_data): Likewise.
43269         (struct test_ff_i_data): Likewise.
43270         (struct test_f_l_data): Likewise.
43271         (struct test_f_L_data): Likewise.
43272         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
43273         and extra2_name.
43274         (COMMON_TEST_SETUP): New macro.
43275         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
43276         (COMMON_TEST_CLEANUP): Likewise.
43277         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
43278         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
43279         macros.
43280         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
43281         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
43282         macros.
43283         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
43284         (RUN_TEST_fff_f): Take argument string.  Call new setup and
43285         cleanup macros.
43286         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
43287         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
43288         macros.
43289         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
43290         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
43291         macros.
43292         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43293         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
43294         cleanup macros.
43295         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43296         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
43297         cleanup macros.
43298         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43299         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
43300         cleanup macros.
43301         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43302         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
43303         macros.
43304         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
43305         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
43306         macros.
43307         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
43308         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
43309         macros.
43310         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
43311         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
43312         cleanup macros.
43313         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
43314         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
43315         cleanup macros.
43316         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
43317         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
43318         macros.
43319         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
43320         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
43321         cleanup macros.
43322         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
43323         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
43324         macros.
43325         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
43326         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
43327         macros.
43328         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
43329         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
43330         cleanup macros.
43331         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
43333 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
43335         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
43336         to _sifields.sigfault.
43337         (si_addr_lsb): Define new macro.
43338         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43339         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43340         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
43342 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
43344         [BZ #15441]
43345         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
43346         returns -1.
43347         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
43348         null return -1.
43349         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
43350         loading the domain.
43352 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43354         * math/gen-libm-test.pl (parse_args): Do not include expected
43355         result in test name.
43356         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
43357         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43358         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43359         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43360         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43363 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43365         * benchtests/Makefile: Sort function entries.
43367         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
43368         tanh, asinh, acosh, atanh.
43369         * benchtests/acos-inputs: New file.
43370         * benchtests/acosh-inputs: New file.
43371         * benchtests/asin-inputs: New file.
43372         * benchtests/asinh-inputs: New file.
43373         * benchtests/atanh-inputs: New file.
43374         * benchtests/cosh-inputs: New file.
43375         * benchtests/log-inputs: New file.
43376         * benchtests/sinh-inputs: New file.
43377         * benchtests/tanh-inputs: New file.
43379 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
43381         [BZ #15339]
43382         * posix/tst-getaddrinfo4.c: New test.
43383         * posix/Makefile (tests): Add it.
43385 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43387         [BZ #15339]
43388         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
43389         when no services were used.
43390         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
43391         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
43393 2013-05-21  Andreas Schwab  <schwab@suse.de>
43395         [BZ #15014]
43396         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
43397         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
43398         successful.
43399         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
43400         redundant variable declarations and reallocation of buffer when
43401         parsing as IPv6 address.  Always set NSS status when called from
43402         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
43403         buffer too small.  Correct computation of needed size.
43404         * nss/Makefile (tests): Add test-digits-dots.
43405         * nss/test-digits-dots.c: New test.
43407 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43409         * benchtests/Makefile: Remove instructions for adding
43410         benchmark tests.
43411         * benchtests/README: New file to explain how to execute and
43412         enhance the benchmark tests.
43414 2013-05-21  Andreas Schwab  <schwab@suse.de>
43416         [BZ #15493]
43417         * setjmp/Makefile (tests): Add tst-sigsetjmp.
43418         * setjmp/tst-sigsetjmp.c: New test.
43420 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43422         * sysdeps/x86_64/memset.S (memset): New implementation.
43423         (__bzero): Likewise.
43424         (__memset_tail): New function.
43426 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43428         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
43429         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
43430         __memcpy_sse2_unaligned ifunc selection.
43431         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43432         Add memcpy-sse2-unaligned.S.
43433         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43434         Add: __memcpy_sse2_unaligned.
43436 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
43438         [BZ #15490]
43439         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43440         math_force_eval before restoring floating-point envrionment.
43441         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
43442         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
43443         Likewise.
43444         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
43445         <math_private.h>.
43446         (__nearbyintl): Use math_force_eval before restoring
43447         floating-point environment.
43448         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
43450         * math/gen-libm-test.pl (special_functions): Remove.
43451         (parse_args): Don't handle TEST_extra.  Handle functions with no
43452         return value.
43453         * math/libm-test.inc (struct test_sincos_data): Replace with
43454         struct test_fFF_11_data.
43455         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
43456         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
43457         (sincos_test_data): Change element type to struct
43458         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
43459         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
43460         RUN_TEST_LOOP_sincos.
43461         * math/README.libm-test: Don't mention special handling of
43462         individual functions.
43463         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
43464         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43465         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43466         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43467         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43470         * math/gen-libm-test.pl (get_variable): Remove function.
43471         (parse_args): Don't show pointer parameters to call in test
43472         names.  Use "extra output N" in test names for extra outputs
43473         rather than naming variables.
43475 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
43477         [BZ #15488]
43478         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
43479         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
43480         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
43481         double tests.
43482         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
43483         disable.
43484         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
43485         check_long_double.
43487         * math/gen-libm-test.pl (@tests): Remove variable.
43488         ($count): Likewise.
43489         (new_test): Remove function.
43490         (show_exceptions): New function.
43491         (special_functions): Use show_exceptions instead of new_test.
43492         (parse_args): Likewise.
43493         (generate_testfile): Pass only function name in generated call to
43494         print_max_error or print_complex_max_error.
43495         (get_ulps): Do not handle complex tests specially.
43496         (output_test): Rename to ...
43497         (get_all_ulps_for_test): ... this.  Return a string rather than
43498         printing to a file.  Require ulps to be present.
43499         (output_ulps): Generate arrays rather than #defines.
43500         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
43501         (struct ulp_data): New type.
43502         (BUILD_COMPLEX_ULP): Remove macro.
43503         (compare_ulp_data): New function.
43504         (find_ulps): Likewise.
43505         (find_test_ulps): Likewise.
43506         (find_function_ulps): Likewise.
43507         (find_complex_function_ulps): Likewise.
43508         (print_max_error): Determine allowed ulps using
43509         find_function_ulps.
43510         (print_complex_max_error): Determine allowed ulps using
43511         find_complex_function_ulps.
43512         (check_float_internal): Determine max ulps using find_test_ulps.
43513         (check_float): Do not take max_ulp parameter.  Update call to
43514         check_float_internal.
43515         (check_complex): Likewise.
43516         (check_int): Do not take max_ulp parameter.
43517         (check_long): Likewise.
43518         (check_bool): Likewise.
43519         (check_longlong): Likewise.
43520         (struct test_f_f_data): Remove max_ulp field.
43521         (struct test_ff_f_data): Likewise.
43522         (struct test_ff_f_data_nexttoward): Likewise.
43523         (struct test_fi_f_data): Likewise.
43524         (struct test_fl_f_data): Likewise.
43525         (struct test_if_f_data): Likewise.
43526         (struct test_fff_f_data): Likewise.
43527         (struct test_c_f_data): Likewise.
43528         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
43529         (struct test_fF_f1_data): Likewise.
43530         (struct test_ffI_f1_data): Likewise.
43531         (struct test_c_c_data): Remove max_ulp field.
43532         (struct test_cc_c_data): Likewise.
43533         (struct test_f_i_data): Likewise.
43534         (struct test_ff_i_data): Likewise.
43535         (struct test_f_l_data): Likewise.
43536         (struct test_f_L_data): Likewise.
43537         (struct test_sincos_data): Likewise.
43538         (RUN_TEST_f_f): Do not handle ulps.
43539         (RUN_TEST_LOOP_f_f): Likewise.
43540         (RUN_TEST_2_f): Likewise.
43541         (RUN_TEST_LOOP_2_f): Likewise.
43542         (RUN_TEST_fff_f): Likewise.
43543         (RUN_TEST_LOOP_fff_f): Likewise.
43544         (RUN_TEST_c_f): Likewise.
43545         (RUN_TEST_LOOP_c_f): Likewise.
43546         (RUN_TEST_f_f1): Likewise.
43547         (RUN_TEST_LOOP_f_f1): Likewise.
43548         (RUN_TEST_fF_f1): Likewise.
43549         (RUN_TEST_LOOP_fF_f1): Likewise.
43550         (RUN_TEST_fI_f1): Likewise.
43551         (RUN_TEST_LOOP_fI_f1): Likewise.
43552         (RUN_TEST_ffI_f1): Likewise.
43553         (RUN_TEST_LOOP_ffI_f1): Likewise.
43554         (RUN_TEST_c_c): Likewise.
43555         (RUN_TEST_LOOP_c_c): Likewise.
43556         (RUN_TEST_cc_c): Likewise.
43557         (RUN_TEST_LOOP_cc_c): Likewise.
43558         (RUN_TEST_f_i): Likewise.
43559         (RUN_TEST_LOOP_f_i): Likewise.
43560         (RUN_TEST_f_i_tg): Likewise.
43561         (RUN_TEST_LOOP_f_i_tg): Likewise.
43562         (RUN_TEST_ff_i_tg): Likewise.
43563         (RUN_TEST_LOOP_ff_i_tg): Likewise.
43564         (RUN_TEST_f_b): Likewise.
43565         (RUN_TEST_LOOP_f_b): Likewise.
43566         (RUN_TEST_f_b_tg): Likewise.
43567         (RUN_TEST_LOOP_f_b_tg): Likewise.
43568         (RUN_TEST_f_l): Likewise.
43569         (RUN_TEST_LOOP_f_l): Likewise.
43570         (RUN_TEST_f_L): Likewise.
43571         (RUN_TEST_LOOP_f_L): Likewise.
43572         (RUN_TEST_sincos): Likewise.
43573         (RUN_TEST_LOOP_sincos): Likewise.
43575 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
43577         [BZ #15480]
43578         [BZ #15485]
43579         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
43580         main case of finite arguments, set rounding mode to FE_TONEAREST
43581         and discard exceptions.
43582         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
43583         exceptions.
43584         (remainder_tonearest_test_data): New variable.
43585         (remainder_test_tonearest): New function.
43586         (remainder_towardzero_test_data): New variable.
43587         (remainder_test_towardzero): New function.
43588         (remainder_downward_test_data): New variable.
43589         (remainder_test_downward): New function.
43590         (remainder_upward_test_data): New variable.
43591         (remainder_test_upward): New function.
43592         (main): Call the new test functions.
43594         * math/libm-test.inc (struct test_f_f1_data): Remove field
43595         extra_init.
43596         (struct test_fF_f1_data): Likewise.
43597         (struct test_ffI_f1_data): Likewise.
43598         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
43599         based on value of EXTRA_EXPECTED.
43600         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43601         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
43602         EXTRA_VAR based on value of EXTRA_EXPECTED.
43603         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43604         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
43605         EXTRA_VAR based on value of EXTRA_EXPECTED.
43606         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43607         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
43608         EXTRA_VAR based on value of EXTRA_EXPECTED.
43609         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43610         * math/gen-libm-test.pl (parse_args): Don't output initializers
43611         for extra output values.
43613         * math/libm-test.inc (check_int): Expect result to be exactly
43614         equal to expected value and do not handle ulps.
43615         (check_long): Likewise.
43616         (check_longlong): Likewise.
43618         * math/libm-test.inc (ceil_test_data): Test for "inexact"
43619         exceptions.
43620         (cimag_test_data): Likewise.
43621         (conj_test_data): Likewise.
43622         (copysign_test_data): Likewise.
43623         (cproj_test_data): Likewise.
43624         (creal_test_data): Likewise.
43625         (fabs_test_data): Likewise.
43626         (fdim_test_data): Likewise.
43627         (finite_test_data): Likewise.
43628         (floor_test_data): Likewise.
43629         (fmax_test_data): Likewise.
43630         (fmin_test_data): Likewise.
43631         (fmod_test_data): Likewise.
43632         (fpclassify_test_data): Likewise.
43633         (frexp_test_data): Likewise.
43634         (ilogb_test_data): Likewise.
43635         (isfinite_test_data): Likewise.
43636         (isgreater_test_data): Likewise.
43637         (isgreaterequal_test_data): Likewise.
43638         (isinf_test_data): Likewise.
43639         (isless_test_data): Likewise.
43640         (islessequal_test_data): Likewise.
43641         (islessgreater_test_data): Likewise.
43642         (isnan_test_data): Likewise.
43643         (isnormal_test_data): Likewise.
43644         (issignaling_test_data): Likewise.
43645         (isunordered_test_data): Likewise.
43646         (ldexp_test_data): Likewise.
43647         (lrint_test_data): Likewise.
43648         (lrint_test_data) [TEST_FLOAT]: Disable one test.
43649         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43650         (lrint_tonearest_test_data): Test for "inexact" exceptions.
43651         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43652         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43653         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43654         test input.
43655         (lrint_towardzero_test_data): Test for "inexact" exceptions.
43656         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43657         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43658         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43659         that test input.
43660         (lrint_downward_test_data): Test for "inexact" exceptions.
43661         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43662         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43663         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43664         test input.
43665         (lrint_upward_test_data): Test for "inexact" exceptions.
43666         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43667         test input.
43668         (llrint_test_data): Test for "inexact" exceptions.
43669         (llrint_test_data) [TEST_FLOAT]: Disable one test.
43670         (llrint_tonearest_test_data): Test for "inexact" exceptions.
43671         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43672         (llrint_towardzero_test_data): Test for "inexact" exceptions.
43673         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43674         (llrint_downward_test_data): Test for "inexact" exceptions.
43675         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43676         (llrint_upward_test_data): Test for "inexact" exceptions.
43677         (logb_test_data): Likewise.
43678         (logb_downward_test_data): Likewise.
43679         (nextafter_test_data): Likewise.
43680         (nexttoward_test_data): Likewise.
43681         (remainder_test_data): Likewise.
43682         (remquo_test_data): Likewise.
43683         (scalbn_test_data): Likewise.
43684         (scalbln_test_data): Likewise.
43685         (signbit_test_data): Likewise.
43686         (sqrt_test_data): Likewise.
43687         (significand_test_data): Likewise.
43689 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43691         [BZ #15424]
43692         * benchtests/bench-modf.c (struct args): Mark arg0 as
43693         volatile.
43694         * scripts/bench.pl: Mark members of struct args as volatile.
43696 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43698         [BZ # 15497]
43699         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43700         negative infinity on POWER6 or lower.
43701         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43703 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43705         [BZ #15442]
43706         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43707         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43708         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43709         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43710         (_FP_SETQNAN): New macro.
43711         (_FP_SETQNAN_SEMIRAW): Likewise.
43712         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43713         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43714         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43715         (FP_EXTEND): Use _FP_FRAC_SNANP.
43716         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43717         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43718         into account.
43719         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43720         New macro.
43721         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43722         Likewise.
43724 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43726         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43727         with DIVIDE_BY_ZERO_EXCEPTION.
43728         (gamma_test_data): Likewise.
43729         (lgamma_test_data): Likewise.
43730         (log_test_data): Likewise.
43731         (log10_test_data): Likewise.
43732         (log2_test_data): Likewise.
43733         (tgamma_test_data): Likewise.
43735         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43736         (acos_test_tonearest): Likewise.
43737         (acos_test_towardzero): Likewise.
43738         (acos_test_downward): Likewise.
43739         (acos_test_upward): Likewise.
43740         (acosh_test): Likewise.
43741         (asin_test): Likewise.
43742         (asin_test_tonearest): Likewise.
43743         (asin_test_towardzero): Likewise.
43744         (asin_test_downward): Likewise.
43745         (asin_test_upward): Likewise.
43746         (asinh_test): Likewise.
43747         (atan_test): Likewise.
43748         (atanh_test): Likewise.
43749         (atan2_test): Likewise.
43750         (cabs_test): Likewise.
43751         (cacos_test): Likewise.
43752         (cacosh_test): Likewise.
43753         (casin_test): Likewise.
43754         (casinh_test): Likewise.
43755         (catan_test): Likewise.
43756         (catanh_test): Likewise.
43757         (cbrt_test): Likewise.
43758         (ccos_test): Likewise.
43759         (ccosh_test): Likewise.
43760         (cexp_test): Likewise.
43761         (clog_test): Likewise.
43762         (clog10_test): Likewise.
43763         (cos_test): Likewise.
43764         (cos_test_tonearest): Likewise.
43765         (cos_test_towardzero): Likewise.
43766         (cos_test_downward): Likewise.
43767         (cos_test_upward): Likewise.
43768         (cosh_test): Likewise.
43769         (cosh_test_tonearest): Likewise.
43770         (cosh_test_towardzero): Likewise.
43771         (cosh_test_downward): Likewise.
43772         (cosh_test_upward): Likewise.
43773         (cpow_test): Likewise.
43774         (csin_test): Likewise.
43775         (csinh_test): Likewise.
43776         (csqrt_test): Likewise.
43777         (ctan_test): Likewise.
43778         (ctan_test_tonearest): Likewise.
43779         (ctan_test_towardzero): Likewise.
43780         (ctan_test_downward): Likewise.
43781         (ctan_test_upward): Likewise.
43782         (ctanh_test): Likewise.
43783         (ctanh_test_tonearest): Likewise.
43784         (ctanh_test_towardzero): Likewise.
43785         (ctanh_test_downward): Likewise.
43786         (ctanh_test_upward): Likewise.
43787         (erf_test): Likewise.
43788         (erfc_test): Likewise.
43789         (exp_test): Likewise.
43790         (exp_test_tonearest): Likewise.
43791         (exp_test_towardzero): Likewise.
43792         (exp_test_downward): Likewise.
43793         (exp_test_upward): Likewise.
43794         (exp10_test): Likewise.
43795         (exp2_test): Likewise.
43796         (expm1_test): Likewise.
43797         (fmod_test): Likewise.
43798         (gamma_test): Likewise.
43799         (hypot_test): Likewise.
43800         (j0_test): Likewise.
43801         (j1_test): Likewise.
43802         (jn_test): Likewise.
43803         (lgamma_test): Likewise.
43804         (log_test): Likewise.
43805         (log10_test): Likewise.
43806         (log1p_test): Likewise.
43807         (log2_test): Likewise.
43808         (logb_test_downward): Likewise.
43809         (pow_test): Likewise.
43810         (pow_test_tonearest): Likewise.
43811         (pow_test_towardzero): Likewise.
43812         (pow_test_downward): Likewise.
43813         (pow_test_upward): Likewise.
43814         (remainder_test): Likewise.
43815         (remquo_test): Likewise.
43816         (sin_test): Likewise.
43817         (sin_test_tonearest): Likewise.
43818         (sin_test_towardzero): Likewise.
43819         (sin_test_downward): Likewise.
43820         (sin_test_upward): Likewise.
43821         (sincos_test): Likewise.
43822         (sinh_test): Likewise.
43823         (sinh_test_tonearest): Likewise.
43824         (sinh_test_towardzero): Likewise.
43825         (sinh_test_downward): Likewise.
43826         (sinh_test_upward): Likewise.
43827         (sqrt_test): Likewise.
43828         (tan_test): Likewise.
43829         (tan_test_tonearest): Likewise.
43830         (tan_test_towardzero): Likewise.
43831         (tan_test_downward): Likewise.
43832         (tan_test_upward): Likewise.
43833         (tanh_test): Likewise.
43834         (tgamma_test): Likewise.
43835         (y0_test): Likewise.
43836         (y1_test): Likewise.
43837         (yn_test): Likewise.
43839         * math/gen-libm-test.pl (adjust_arg): Remove function.
43840         (special_function): Remove argument $in_func.  Only handle
43841         generating output for tables of tests, not inside functions.
43842         (parse_args): Likewise.
43843         (generate_testfile): Remove variable $in_func.  Update call to
43844         parse_args.
43845         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
43846         (MINUS_ZERO_INIT): Rename macro to minus_zero.
43847         (PLUS_INFTY_INIT): Rename macro to plus_infty.
43848         (MINUS_INFTY_INIT): Rename macro to minus_infty.
43849         (QNAN_VALUE_INIT): Rename macro to qnan_value.
43850         (MAX_VALUE_INIT): Rename macro to max_value.
43851         (MIN_VALUE_INIT): Rename macro to min_value.
43852         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
43853         (plus_zero): Remove variable.
43854         (minus_zero): Likewise.
43855         (plus_infty): Likewise.
43856         (minus_infty): Likewise.
43857         (qnan_value): Likewise.
43858         (max_value): Likewise.
43859         (min_value): Likewise.
43860         (min_subnorm_value): Likewise.
43862 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43864         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
43865         uint64_t or uint32_t usage.
43866         * crypt/sha256-block.c: Likewise.
43867         * crypt/sha256-crypt.c: Likewise.
43868         * crypt/sha256.c: Likewise.
43869         * crypt/sha512-block.c: Likewise.
43870         * crypt/sha512-crypt.c: Likewise.
43871         * crypt/sha512.c: Likewise.
43872         * debug/backtrace-tst.c: Likewise.
43873         * debug/pcprofiledump.c: Likewise.
43874         * elf/cache.c: Likewise.
43875         * elf/dl-cache.c: Likewise.
43876         * elf/dl-misc.c: Likewise.
43877         * elf/dl-profile.c: Likewise.
43878         * elf/dl-support.c: Likewise.
43879         * elf/ldconfig.c: Likewise.
43880         * elf/sprof.c: Likewise.
43881         * iconv/dummy-repertoire.c: Likewise.
43882         * iconv/iconv_charmap.c: Likewise.
43883         * iconv/skeleton.c: Likewise.
43884         * iconvdata/8bit-generic.c: Likewise.
43885         * iconvdata/cp737.h: Likewise.
43886         * iconvdata/cp775.h: Likewise.
43887         * iconvdata/ibm1008.h: Likewise.
43888         * iconvdata/ibm1025.h: Likewise.
43889         * iconvdata/ibm1046.h: Likewise.
43890         * iconvdata/ibm1097.h: Likewise.
43891         * iconvdata/ibm1112.h: Likewise.
43892         * iconvdata/ibm1122.h: Likewise.
43893         * iconvdata/ibm1123.h: Likewise.
43894         * iconvdata/ibm1124.h: Likewise.
43895         * iconvdata/ibm1129.h: Likewise.
43896         * iconvdata/ibm1130.h: Likewise.
43897         * iconvdata/ibm1132.h: Likewise.
43898         * iconvdata/ibm1133.h: Likewise.
43899         * iconvdata/ibm1137.h: Likewise.
43900         * iconvdata/ibm1140.h: Likewise.
43901         * iconvdata/ibm1141.h: Likewise.
43902         * iconvdata/ibm1142.h: Likewise.
43903         * iconvdata/ibm1143.h: Likewise.
43904         * iconvdata/ibm1144.h: Likewise.
43905         * iconvdata/ibm1145.h: Likewise.
43906         * iconvdata/ibm1146.h: Likewise.
43907         * iconvdata/ibm1147.h: Likewise.
43908         * iconvdata/ibm1148.h: Likewise.
43909         * iconvdata/ibm1149.h: Likewise.
43910         * iconvdata/ibm1153.h: Likewise.
43911         * iconvdata/ibm1154.h: Likewise.
43912         * iconvdata/ibm1155.h: Likewise.
43913         * iconvdata/ibm1156.h: Likewise.
43914         * iconvdata/ibm1157.h: Likewise.
43915         * iconvdata/ibm1158.h: Likewise.
43916         * iconvdata/ibm1160.h: Likewise.
43917         * iconvdata/ibm1161.h: Likewise.
43918         * iconvdata/ibm1162.h: Likewise.
43919         * iconvdata/ibm1163.h: Likewise.
43920         * iconvdata/ibm1164.h: Likewise.
43921         * iconvdata/ibm1166.h: Likewise.
43922         * iconvdata/ibm1167.h: Likewise.
43923         * iconvdata/ibm12712.h: Likewise.
43924         * iconvdata/ibm1390.h: Likewise.
43925         * iconvdata/ibm1399.h: Likewise.
43926         * iconvdata/ibm16804.h: Likewise.
43927         * iconvdata/ibm4517.h: Likewise.
43928         * iconvdata/ibm4899.h: Likewise.
43929         * iconvdata/ibm4909.h: Likewise.
43930         * iconvdata/ibm4971.h: Likewise.
43931         * iconvdata/ibm5347.h: Likewise.
43932         * iconvdata/ibm803.h: Likewise.
43933         * iconvdata/ibm856.h: Likewise.
43934         * iconvdata/ibm901.h: Likewise.
43935         * iconvdata/ibm902.h: Likewise.
43936         * iconvdata/ibm9030.h: Likewise.
43937         * iconvdata/ibm9066.h: Likewise.
43938         * iconvdata/ibm921.h: Likewise.
43939         * iconvdata/ibm922.h: Likewise.
43940         * iconvdata/ibm9448.h: Likewise.
43941         * iconvdata/isiri-3342.h: Likewise.
43942         * iconvdata/jis0201.h: Likewise.
43943         * include/link.h: Likewise.
43944         * include/netdb.h: Likewise.
43945         * inet/check_native.c: Likewise.
43946         * inet/check_pf.c: Likewise.
43947         * inet/getipv4sourcefilter.c: Likewise.
43948         * inet/getnameinfo.c: Likewise.
43949         * inet/getsourcefilter.c: Likewise.
43950         * inet/htonl.c: Likewise.
43951         * inet/setipv4sourcefilter.c: Likewise.
43952         * inet/setsourcefilter.c: Likewise.
43953         * inet/test-inet6_opt.c: Likewise.
43954         * inet/tst-network.c: Likewise.
43955         * locale/C-collate.c: Likewise.
43956         * locale/C-ctype.c: Likewise.
43957         * locale/C-time.c: Likewise.
43958         * locale/C-translit.h: Likewise.
43959         * locale/loadarchive.c: Likewise.
43960         * locale/programs/3level.h: Likewise.
43961         * locale/programs/charmap.c: Likewise.
43962         * locale/programs/charmap.h: Likewise.
43963         * locale/programs/ld-address.c: Likewise.
43964         * locale/programs/ld-collate.c: Likewise.
43965         * locale/programs/ld-ctype.c: Likewise.
43966         * locale/programs/ld-identification.c: Likewise.
43967         * locale/programs/ld-measurement.c: Likewise.
43968         * locale/programs/ld-messages.c: Likewise.
43969         * locale/programs/ld-monetary.c: Likewise.
43970         * locale/programs/ld-name.c: Likewise.
43971         * locale/programs/ld-numeric.c: Likewise.
43972         * locale/programs/ld-paper.c: Likewise.
43973         * locale/programs/ld-telephone.c: Likewise.
43974         * locale/programs/ld-time.c: Likewise.
43975         * locale/programs/linereader.c: Likewise.
43976         * locale/programs/locale.c: Likewise.
43977         * locale/programs/locarchive.c: Likewise.
43978         * locale/programs/locfile.h: Likewise.
43979         * locale/programs/repertoire.c: Likewise.
43980         * locale/programs/simple-hash.c: Likewise.
43981         * locale/programs/simple-hash.h: Likewise.
43982         * malloc/memusage.c: Likewise.
43983         * malloc/memusagestat.c: Likewise.
43984         * nis/nis_defaults.c: Likewise.
43985         * nis/nis_hash.c: Likewise.
43986         * nis/nis_print.c: Likewise.
43987         * nis/nis_xdr.c: Likewise.
43988         * nscd/connections.c: Likewise.
43989         * nscd/hstcache.c: Likewise.
43990         * nscd/nscd_gethst_r.c: Likewise.
43991         * nscd/nscd_getserv_r.c: Likewise.
43992         * nscd/nscd_helper.c: Likewise.
43993         * nscd/servicescache.c: Likewise.
43994         * nss/makedb.c: Likewise.
43995         * nss/nss_db/db-XXX.c: Likewise.
43996         * nss/nss_db/db-initgroups.c: Likewise.
43997         * nss/nss_db/db-netgrp.c: Likewise.
43998         * nss/nss_files/files-network.c: Likewise.
43999         * nss/nss_files/files-parse.c: Likewise.
44000         * posix/bug-regex5.c: Likewise.
44001         * posix/fnmatch_loop.c: Likewise.
44002         * posix/regcomp.c: Likewise.
44003         * posix/regexec.c: Likewise.
44004         * posix/tst-rfc3484-2.c: Likewise.
44005         * posix/tst-rfc3484-3.c: Likewise.
44006         * posix/tst-rfc3484.c: Likewise.
44007         * resolv/nss_dns/dns-canon.c: Likewise.
44008         * resolv/nss_dns/dns-network.c: Likewise.
44009         * resolv/res_init.c: Likewise.
44010         * resolv/res_mkquery.c: Likewise.
44011         * resolv/tst-aton.c: Likewise.
44012         * stdlib/cxa_atexit.c: Likewise.
44013         * stdlib/cxa_finalize.c: Likewise.
44014         * stdlib/gen-fpioconst.c: Likewise.
44015         * stdlib/strtol_l.c: Likewise.
44016         * string/tst-endian.c: Likewise.
44017         * sunrpc/auth_des.c: Likewise.
44018         * sunrpc/clnt_udp.c: Likewise.
44019         * sunrpc/rtime.c: Likewise.
44020         * sunrpc/svcauth_des.c: Likewise.
44021         * sunrpc/xdr.c: Likewise.
44022         * sunrpc/xdr_intXX_t.c: Likewise.
44023         * sunrpc/xdr_rec.c: Likewise.
44024         * sysdeps/generic/ldconfig.h: Likewise.
44025         * sysdeps/generic/ldsodefs.h: Likewise.
44026         * sysdeps/generic/memusage.h: Likewise.
44027         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44028         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
44029         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
44030         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44031         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44032         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44033         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44034         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44035         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44036         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44037         * sysdeps/posix/getaddrinfo.c: Likewise.
44038         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44039         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44040         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44041         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44042         * sysdeps/powerpc/test-gettimebase.c: Likewise.
44043         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44044         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
44045         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
44046         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44047         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
44048         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44049         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44050         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
44051         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
44052         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
44053         * sysdeps/x86_64/dl-tls.h: Likewise.
44054         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
44055         * time/alt_digit.c: Likewise.
44056         * time/era.c: Likewise.
44057         * wcsmbs/tst-c16c32-1.c: Likewise.
44059 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44061         * math/libm-test.inc (struct test_sincos_data): New type.
44062         (RUN_TEST_LOOP_sincos): New macro.
44063         (sincos_test_data): New variable.
44064         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
44066 2013-05-16  Richard Henderson  <rth@redhat.com>
44068         * math/atest-exp2.c (LIMB64): New macro.
44069         (CONSTSZ): New macro.
44070         (mp_exp1, mp_exp_m1, mp_log2): New variables.
44071         (hexdig): Move ...
44072         (print_mpn_fp): ... to function scope.
44073         (read_mpn_hex): Remove.
44074         (get_log2): Remove.
44075         (exp2_mpn): Use mp_log2.
44076         (main): Use mp_exp1.
44078 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44080         * math/libm-test.inc: Remove comment about not testing "inexact"
44081         exceptions.
44082         (INEXACT_EXCEPTION): New macro.
44083         (NO_INEXACT_EXCEPTION): Likewise.
44084         (INVALID_EXCEPTION_OK): Update value.
44085         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44086         (OVERFLOW_EXCEPTION_OK): Likewise.
44087         (UNDERFLOW_EXCEPTION_OK): Likewise.
44088         (IGNORE_ZERO_INF_SIGN): Likewise.
44089         (ERRNO_UNCHANGED): Likewise.
44090         (ERRNO_EDOM): Likewise.
44091         (ERRNO_ERANGE): Likewise.
44092         (test_exceptions): Handle testing "inexact" exceptions.
44093         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
44094         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
44095         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
44096         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
44097         INEXACT_EXCEPTION.
44098         (rint_towardzero_test_data): Likewise.
44099         (rint_downward_test_data): Likewise.
44100         (rint_upward_test_data): Likewise.
44102         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
44103         with OVERFLOW_EXCEPTION.
44104         (exp10_test_data): Likewise.
44105         (exp2_test_data): Likewise.
44106         (expm1_test_data): Likewise.
44107         (lgamma_test_data): Likewise.
44108         (pow_test_data): Likewise.
44109         (tgamma_test_data): Likewise.
44110         (yn_test_data): Remove duplicate test of overflow.
44112         * math/libm-test.inc (struct test_cc_c_data): New type.
44113         (RUN_TEST_LOOP_cc_c): New macro.
44114         (cpow_test_data): New variable.
44115         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
44117         * math/libm-test.inc (struct test_f_L_data): New type.
44118         (RUN_TEST_LOOP_f_L): New macro.
44119         (llrint_test_data): New variable.
44120         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
44121         (llrint_tonearest_test_data): New variable.
44122         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
44123         (llrint_towardzero_test_data): New variable.
44124         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
44125         (llrint_downward_test_data): New variable.
44126         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
44127         (llrint_upward_test_data): New variable.
44128         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
44129         (llround_test_data): New variable.
44130         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
44132 2013-05-13  Peter Collingbourne  <pcc@google.com>
44134         * math/atest-exp2.c (get_log2): Remove const attribute.
44136 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44138         * math/libm-test.inc (struct test_f_l_data): New type.
44139         (RUN_TEST_LOOP_f_l): New macro.
44140         (lrint_test_data): New variable.
44141         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
44142         (lrint_tonearest_test_data): New variable.
44143         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
44144         (lrint_towardzero_test_data): New variable.
44145         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
44146         (lrint_downward_test_data): New variable.
44147         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
44148         (lrint_upward_test_data): New variable.
44149         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
44150         (lround_test_data): New variable.
44151         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
44153 2013-05-15  Peter Collingbourne  <pcc@google.com>
44155         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
44156         (EXTRACT_WORDS64) Use where appropriate.
44157         (INSERT_WORDS64) Likewise.
44159         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
44160         constraints with x constraints.
44161         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
44163         * malloc/obstack.c (_obstack_compat): Add initializer.
44165 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44167         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
44168         si_trapno and add si_addr_lsb to _sifields.sigfault.
44169         (si_trapno): Remove macro.
44170         (si_addr_lsb): Define new macro.
44171         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44173 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44175         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
44176         instead of TEST_f_l.
44177         (llrint_test_tonearest): Likewise.
44178         (llrint_test_towardzero): Likewise.
44179         (llrint_test_downward): Likewise.
44180         (llrint_test_upward): Likewise.
44181         (llround_test): Likewise.
44183         * math/libm-test.inc (struct test_f_i_data): Add comment.
44184         (RUN_TEST_LOOP_f_b): New macro.
44185         (RUN_TEST_LOOP_f_b_tg): Likewise.
44186         (finite_test_data): New variable.
44187         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
44188         (isfinite_test_data): New variable.
44189         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44190         (isinf_test_data): New variable.
44191         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44192         (isnan_test_data): New variable.
44193         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44194         (isnormal_test_data): New variable.
44195         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44196         (issignaling_test_data): New variable.
44197         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44198         (signbit_test_data): New variable.
44199         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44201         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
44202         with INVALID_EXCEPTION.
44203         (acosh_test_data): Likewise.
44204         (asin_test_data): Likewise.
44205         (atanh_test_data): Likewise.
44206         (fmod_test_data): Likewise.
44207         (log_test_data): Likewise.
44208         (log10_test_data): Likewise.
44209         (log2_test_data): Likewise.
44210         (pow_test_data): Likewise.
44211         (sqrt_test_data): Likewise.
44212         (y0_test_data): Likewise.
44213         (y1_test_data): Likewise.
44214         (yn_test_data): Likewise.
44216         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
44217         function contents.
44219         * math/libm-test.inc (struct test_ff_i_data): New type.
44220         (RUN_TEST_LOOP_ff_i_tg): New macro.
44221         (isgreater_test_data): New variable.
44222         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44223         (isgreaterequal_test_data): New variable.
44224         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44225         (isless_test_data): New variable.
44226         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44227         (islessequal_test_data): New variable.
44228         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44229         (islessgreater_test_data): New variable.
44230         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44231         (isunordered_test_data): New variable.
44232         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44234 2013-05-14  David S. Miller  <davem@davemloft.net>
44236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44238 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
44240         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
44242         * math/libm-test.inc (struct test_fF_f1_data): Change type of
44243         extra_test to int.
44244         (struct test_f_i_data): Change type of max_ulp to int.
44246         * math/libm-test.inc (test_ffI_f1_data): New type.
44247         (RUN_TEST_LOOP_ffI_f1): New macro.
44248         (remquo_test_data): New variable.
44249         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
44251         * setjmp/tst-setjmp-fp.c: New file.
44252         * setjmp/Makefile (tests): Add tst-setjmp-fp.
44253         (link-libm): New variable.
44254         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
44256         * math/libm-test.inc (struct test_f_i_data): New type.
44257         (RUN_TEST_LOOP_f_i): New macro.
44258         (RUN_TEST_LOOP_f_i_tg): Likewise.
44259         (fpclassify_test_data): New variable.
44260         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
44261         (ilogb_test_data): New variable.
44262         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
44264         * math/libm-test.inc (scalbln_test): Correct function name in END
44265         call.
44267         * math/libm-test.inc (struct test_f_f1_data): Add comment.
44268         (RUN_TEST_LOOP_fI_f1): New macro.
44269         (frexp_test_data): New variable.
44270         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
44272         * math/libm-test.inc (struct test_fF_f1_data): New type.
44273         (RUN_TEST_LOOP_fF_f1): New macro.
44274         (modf_test_data): New variable.
44275         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
44277         * math/libm-test.inc (struct test_f_f1_data): New type.
44278         (RUN_TEST_LOOP_f_f1): New macro.
44279         (gamma_test_data): New variable.
44280         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44281         (lgamma_test_data): New variable.
44282         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44284 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
44286         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
44287         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
44288         (main): Comment "tls" pseudo-hwcap.
44290 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
44292         * math/libm-test.inc (struct test_fl_f_data): New type.
44293         (RUN_TEST_LOOP_fl_f): New variable.
44294         (scalbln_test_data): New variable.
44295         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
44297         * math/libm-test.inc (struct test_fi_f_data): New type.
44298         (RUN_TEST_LOOP_fi_f): New macro.
44299         (ldexp_test_data): New variable.
44300         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
44301         (scalbn_test_data): New variable.
44302         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
44304         * math/libm-test.inc (struct test_c_f_data): New type.
44305         (RUN_TEST_LOOP_c_f): New macro.
44306         (cabs_test_data): New variable.
44307         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
44308         (carg_test_data): New variable.
44309         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
44310         (cimag_test_data): New variable.
44311         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
44312         (creal_test_data): New variable.
44313         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
44315         * math/libm-test.inc (struct test_if_f_data): New type.
44316         (RUN_TEST_LOOP_if_f): New macro.
44317         (jn_test_data): New variable.
44318         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
44319         (yn_test_data): New variable.
44320         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
44322         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
44324 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44326         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
44327         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
44329 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44331         * benchtests/Makefile (CPPFLAGS-nonlib): Add
44332         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
44333         (bench-deps): Add bench-timing.h.
44334         * benchtests-bench-skeleton.c: Include bench-timing.h.
44335         (main): Use TIMING_* macros instead of clock_gettime.
44336         * benchtests/bench-timing.h: New file.
44338         [BZ #14582]
44339         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
44340         Renamed from _LIB_VERSION.
44341         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
44343 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
44345         * math/libm-test.inc (struct test_fff_f_data): New type.
44346         (RUN_TEST_LOOP_fff_f): New macro.
44347         (fma_test_data): New variable.
44348         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
44349         (fma_towardzero_test_data): New variable.
44350         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
44351         (fma_downward_test_data): New variable.
44352         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
44353         (fma_upward_test_data): New variable.
44354         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
44356         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
44357         (struct test_c_c_data): New type.
44358         (RUN_TEST_LOOP_c_c): New macro.
44359         (cacos_test_data): New variable.
44360         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
44361         (cacosh_test_data): New variable.
44362         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
44363         (casin_test_data): New variable.
44364         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
44365         (casinh_test_data): New variable.
44366         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
44367         (catan_test_data): New variable.
44368         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
44369         (catanh_test_data): New variable.
44370         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
44371         (ccos_test_data): New variable.
44372         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
44373         (ccosh_test_data): New variable.
44374         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
44375         (cexp_test_data): New variable.
44376         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
44377         (clog_test_data): New variable.
44378         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
44379         (clog10_test_data): New variable.
44380         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
44381         (conj_test_data): New variable.
44382         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
44383         (cproj_test_data): New variable.
44384         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
44385         (csin_test_data): New variable.
44386         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
44387         (csinh_test_data): New variable.
44388         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
44389         (csqrt_test_data): New variable.
44390         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
44391         (ctan_test_data): New variable.
44392         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
44393         (ctan_tonearest_test_data): New variable.
44394         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44395         (ctan_towardzero_test_data): New variable.
44396         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44397         (ctan_downward_test_data): New variable.
44398         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44399         (ctan_upward_test_data): New variable.
44400         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44401         (ctanh_test_data): New variable.
44402         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
44403         (ctanh_tonearest_test_data): New variable.
44404         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44405         (ctanh_towardzero_test_data): New variable.
44406         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44407         (ctanh_downward_test_data): New variable.
44408         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44409         (ctanh_upward_test_data): New variable.
44410         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44411         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
44412         of BUILD_COMPLEX.
44414         * math/libm-test.inc (struct test_ff_f_data): New type.
44415         (struct test_ff_f_data_nexttoward): Likewise.
44416         (RUN_TEST_LOOP_2_f): New macro.
44417         (RUN_TEST_LOOP_ff_f): Likewise.
44418         (atan2_test_data): New variable.
44419         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
44420         (copysign_test_data): New variable.
44421         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
44422         (fdim_test_data): New variable.
44423         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
44424         (fmax_test_data): New variable.
44425         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
44426         (fmin_test_data): New variable.
44427         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
44428         (fmod_test_data): New variable.
44429         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
44430         (hypot_test_data): New variable.
44431         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
44432         (nextafter_test_data): New variable.
44433         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
44434         (nexttoward_test_data): New variable.
44435         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
44436         (pow_test_data): New variable.
44437         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
44438         (pow_tonearest_test_data): New variable.
44439         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
44440         (pow_towardzero_test_data): New variable.
44441         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
44442         (pow_downward_test_data): New variable.
44443         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
44444         (pow_upward_test_data): New variable.
44445         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
44446         (remainder_test_data): New variable.
44447         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
44448         (scalb_test_data): New variable.
44449         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
44450         * sysdeps/i386/fpu/libm-test-ulps: Update.
44452 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
44454         * math/libm-test.inc (fma_test): Use max_value instead of local
44455         variable fltmax.
44456         (nextafter_test): Likewise.
44458         * math/libm-test.inc (acos_towardzero_test_data): New variable.
44459         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44460         (acos_downward_test_data): New variable.
44461         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44462         (acos_upward_test_data): New variable.
44463         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44464         (acosh_test_data): New variable.
44465         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
44466         (asin_test_data): New variable.
44467         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
44468         (asin_tonearest_test_data): New variable.
44469         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44470         (asin_towardzero_test_data): New variable.
44471         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44472         (asin_downward_test_data): New variable.
44473         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44474         (asin_upward_test_data): New variable.
44475         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44476         (asinh_test_data): New variable.
44477         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
44478         (atan_test_data): New variable.
44479         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
44480         (atanh_test_data): New variable.
44481         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
44482         (cbrt_test_data): New variable.
44483         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
44484         (ceil_test_data): New variable.
44485         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
44486         (cos_test_data): New variable.
44487         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
44488         (cos_tonearest_test_data): New variable.
44489         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44490         (cos_towardzero_test_data): New variable.
44491         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44492         (cos_downward_test_data): New variable.
44493         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44494         (cos_upward_test_data): New variable.
44495         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44496         (cosh_test_data): New variable.
44497         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
44498         (cosh_tonearest_test_data): New variable.
44499         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44500         (cosh_towardzero_test_data): New variable.
44501         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44502         (cosh_downward_test_data): New variable.
44503         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44504         (cosh_upward_test_data): New variable.
44505         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44506         (erf_test_data): New variable.
44507         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
44508         (erfc_test_data): New variable.
44509         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
44510         (exp_test_data): New variable.
44511         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
44512         (exp_tonearest_test_data): New variable.
44513         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44514         (exp_towardzero_test_data): New variable.
44515         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44516         (exp_downward_test_data): New variable.
44517         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44518         (exp_upward_test_data): New variable.
44519         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44520         (exp10_test_data): New variable.
44521         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
44522         (exp2_test_data): New variable.
44523         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
44524         (expm1_test_data): New variable.
44525         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
44526         (fabs_test_data): New variable.
44527         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
44528         (floor_test_data): New variable.
44529         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
44530         (j0_test_data): New variable.
44531         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
44532         (j1_test_data): New variable.
44533         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
44534         (log_test_data): New variable.
44535         (log_test): Run tests with RUN_TEST_LOOP_f_f.
44536         (log10_test_data): New variable.
44537         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
44538         (log1p_test_data): New variable.
44539         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
44540         (log2_test_data): New variable.
44541         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
44542         (logb_test_data): New variable.
44543         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
44544         (logb_downward_test_data): New variable.
44545         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44546         (nearbyint_test_data): New variable.
44547         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
44548         (rint_test_data): New variable.
44549         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
44550         (rint_tonearest_test_data): New variable.
44551         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44552         (rint_towardzero_test_data): New variable.
44553         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44554         (rint_downward_test_data): New variable.
44555         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44556         (rint_upward_test_data): New variable.
44557         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44558         (round_test_data): New variable.
44559         (round_test): Run tests with RUN_TEST_LOOP_f_f.
44560         (sin_test_data): New variable.
44561         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
44562         (sin_tonearest_test_data): New variable.
44563         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44564         (sin_towardzero_test_data): New variable.
44565         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44566         (sin_downward_test_data): New variable.
44567         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44568         (sin_upward_test_data): New variable.
44569         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44570         (sinh_test_data): New variable.
44571         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
44572         (sinh_tonearest_test_data): New variable.
44573         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44574         (sinh_towardzero_test_data): New variable.
44575         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44576         (sinh_downward_test_data): New variable.
44577         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44578         (sinh_upward_test_data): New variable.
44579         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44580         (sqrt_test_data): New variable.
44581         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
44582         (tan_test_data): New variable.
44583         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
44584         (tan_tonearest_test_data): New variable.
44585         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44586         (tan_towardzero_test_data): New variable.
44587         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44588         (tan_downward_test_data): New variable.
44589         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44590         (tan_upward_test_data): New variable.
44591         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44592         (tanh_test_data): New variable.
44593         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
44594         (tgamma_test_data): New variable.
44595         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
44596         (trunc_test_data): New variable.
44597         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
44598         (y0_test_data): New variable.
44599         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
44600         (y1_test_data): New variable.
44601         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
44602         (significand_test_data): New variable.
44603         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
44605 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
44607         [BZ #12387]
44608         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
44610 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44612         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
44614 2013-05-10  Andreas Jaeger  <aj@suse.de>
44616         [BZ #15448]
44617         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
44618         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44620 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44622         * math/gen-libm-test.pl (adjust_arg): New function.
44623         (special_functions): Handle generating output in both functions
44624         and arrays.
44625         (parse_args): Likewise.
44626         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
44627         $in_func argument to parse_args.
44628         * math/libm-test.inc (struct test_f_f_data): New type.
44629         (IF_ROUND_INIT_): New macro.
44630         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44631         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44632         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44633         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44634         (ROUND_RESTORE_): Likewise.
44635         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44636         (ROUND_RESTORE_FE_TONEAREST): Likewise.
44637         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44638         (ROUND_RESTORE_FE_UPWARD): Likewise.
44639         (RUN_TEST_LOOP_f_f): New macro.
44640         (acos_test_data): New variable.
44641         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44642         (acos_tonearest_test_data): New variable.
44643         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44645 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44647         * benchtests/bench-skeleton.c (startup): Fix coding style.
44649 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44651         [BZ #6809]
44652         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44653         negative infinity argument.
44654         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44655         negative infinity argument.
44656         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44657         negative infinity argument.
44658         * math/libm-test.inc (tgamma_test): Expect errno to be set for
44659         domain errors.
44661 2013-05-10  Florian Weimer  <fweimer@redhat.com>
44663         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44664         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44665         * iconv/iconv_prog.c (main): Likewise.
44666         * locale/programs/charmap-dir.c (charmap_readdir)
44667         (fopen_uncompressed): Likewise.
44668         * locale/programs/locfile.c (siblings_uncached)
44669         (write_locale_data): Use lstat64 instead of lstat.
44670         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44671         stat.
44673 2013-05-10  Andreas Jaeger  <aj@suse.de>
44675         [BZ #15395]
44676         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44677         localization.
44678         Include <locale.h>.
44680 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
44682         * elf/dl-close.c (_dl_close_worker): Add comments.
44684 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
44686         [BZ #15359]
44687         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44688         high part of pi/2.
44689         (__ieee754_rem_pio2l): Update comments.
44691         [BZ #15429]
44692         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44693         high part of pi/2.
44694         (__ieee754_rem_pio2l): Update comments.
44696         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44697         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44699         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44700         M_PI_4l.
44702         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44703         (M_PI_34_LOG10El): Likewise.
44704         (M_PI2_LOG10El): Likewise.
44705         (M_PI4_LOG10El): Likewise.
44706         (M_PI_LOG10El): Likewise.
44708 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44712 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
44714         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44715         (MINUS_ZERO_INIT): Likewise.
44716         (PLUS_INFTY_INIT): Likewise.
44717         (MINUS_INFTY_INIT): Likewise.
44718         (QNAN_VALUE_INIT): Likewise.
44719         (MAX_VALUE_INIT): Likewise.
44720         (MIN_VALUE_INIT): Likewise.
44721         (MIN_SUBNORM_VALUE_INIT): Likewise.
44722         (plus_zero): Initialize with PLUS_ZERO_INIT.
44723         (minus_zero): Initialize with MINUS_ZERO_INIT.
44724         (plus_infty): Initialize with PLUS_INFTY_INIT.
44725         (minus_infty): Initialize with MINUS_INFTY_INIT.
44726         (qnan_value): Initialize with QNAN_VALUE_INIT.
44727         (max_value): Initialize with MAX_VALUE_INIT.
44728         (min_value): Initialize with MIN_VALUE_INIT.
44729         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44731         * math/libm-test.inc (RUN_TEST_if_f): New macro.
44732         (jn_test): Use TEST_if_f instead of TEST_ff_f.
44733         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44734         (yn_test): Use TEST_if_f instead of TEST_ff_f.
44736         * math/libm-test.inc (RUN_TEST_f_f): New macro.
44737         (RUN_TEST_2_f): Likewise.
44738         (RUN_TEST_ff_f): Likewise.
44739         (RUN_TEST_fi_f): Likewise.
44740         (RUN_TEST_fl_f): Likewise.
44741         (RUN_TEST_fff_f): Likewise.
44742         (RUN_TEST_c_f): Likewise.
44743         (RUN_TEST_f_f1): Likewise.
44744         (RUN_TEST_fF_f1): Likewise.
44745         (RUN_TEST_fI_f1): Likewise.
44746         (RUN_TEST_ffI_f1): Likewise.
44747         (RUN_TEST_c_c): Likewise.
44748         (RUN_TEST_cc_c): Likewise.
44749         (RUN_TEST_f_i): Likewise.
44750         (RUN_TEST_f_i_tg): Likewise.
44751         (RUN_TEST_ff_i_tg): Likewise.
44752         (RUN_TEST_f_b): Likewise.
44753         (RUN_TEST_f_b_tg): Likewise.
44754         (RUN_TEST_f_l): Likewise.
44755         (RUN_TEST_f_L): Likewise.
44756         (RUN_TEST_sincos): Likewise.
44757         * math/gen-libm-test.pl (new_test): Take new argument to indicate
44758         whether to show exceptions.  Do not include ");\n" in return
44759         value.
44760         (special_functions): Output call to RUN_TEST_sincos instead of
44761         check_float calls.  Update calls to new_test.
44762         (parse_args): Output call to single RUN_TEST_* macro instead of
44763         check_* calls and other assignments.  Update calls to new_test.
44765         [BZ #2546]
44766         [BZ #2560]
44767         [BZ #5159]
44768         [BZ #15426]
44769         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44770         input to result for tgamma overflow.
44771         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44772         (gamma_coeff): New variable.
44773         (NCOEFF): New macro.
44774         (gamma_positive): New function.
44775         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
44776         underflow here.  Use gamma_positive instead of exp (lgamma) for
44777         other arguments.
44778         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
44779         (gamma_coeff): New variable.
44780         (NCOEFF): New macro.
44781         (gammaf_positive): New function.
44782         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
44783         underflow here.  Use gamma_positive instead of exp (lgamma) for
44784         other arguments.
44785         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
44786         (gamma_coeff): New variable.
44787         (NCOEFF): New macro.
44788         (gammal_positive): New function.
44789         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
44790         underflow here.  Use gamma_positive instead of exp (lgamma) for
44791         other arguments.
44792         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
44793         (gamma_coeff): New variable.
44794         (NCOEFF): New macro.
44795         (gammal_positive): New function.
44796         (__ieee754_gammal_r): Handle positive infinity, overflow and
44797         underflow here.  Handle NaN the same as positive infinity.  Remove
44798         check x < 0xffffffff for negative integers.  Use gamma_positive
44799         instead of exp (lgamma) for other arguments.
44800         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
44801         (gamma_coeff): New variable.
44802         (NCOEFF): New macro.
44803         (gammal_positive): New function.
44804         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
44805         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44806         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
44807         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
44808         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
44809         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
44810         * sysdeps/generic/math_private.h (__gamma_productf): New
44811         prototype.
44812         (__gamma_product): Likewise.
44813         (__gamma_productl): Likewise.
44814         * math/Makefile (libm-calls): Add gamma_product.
44815         * math/libm-test.inc (tgamma_test): Add more tests.
44816         * sysdeps/i386/fpu/libm-test-ulps: Update.
44817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44819 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
44821         * benchtests/bench-skeleton.c (main): Preheat CPU.
44823 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
44825         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
44827 2013-05-07  Roland McGrath  <roland@hack.frob.com>
44829         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
44830         and _dl_skip_args_internal.
44832 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
44834         * manual/message.texi (Message Translation): Talk about users.
44835         Message to key mapping impacts design.
44837 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44839         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
44841         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
44843         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
44844         * sysdeps/wordsize-64/glob64.c: ... here.
44846         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
44847         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
44848         New macros.
44850         * debug/getlogin_r_chk.c: Moved to ...
44851         * login/getlogin_r_chk.c: ... here.
44852         * debug/Makefile (routines): Move getlogin_r_chk to ...
44853         * login/Makefile (routines): ... here.
44854         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
44855         * login/Versions (libc: GLIBC_2.4): ... here.
44857         * io/poll.c (__poll): Renamed from poll.
44858         Add libc_hidden_def.
44859         (poll): Define as weak alias.
44861         * debug/ptsname_r_chk.c: Moved to ...
44862         * login/ptsname_r_chk.c: ... here.
44863         * debug/Makefile (routines): Move ptsname_r_chk to ...
44864         * login/Makefile (routines): ... here.
44865         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
44866         * login/Versions (libc: GLIBC_2.4): ... here.
44868         * posix/getlogin.c: Moved to ...
44869         * login/getlogin.c: ... here.
44870         * posix/getlogin_r.c: Moved to ...
44871         * login/getlogin_r.c: ... here.
44872         * posix/getlogin_r.c: Moved to ...
44873         * login/getlogin_r.c: ... here.
44874         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
44875         * login/Makefile (routines): ... here.
44876         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
44877         * login/Versions (libc: GLIBC_2.0): ... here.
44879         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
44880         (setrlimit): Define as weak alias.
44882         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
44883         Call __ names for open, ftruncate, and close.
44884         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
44885         (truncate): Define as weak alias.
44887 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
44889         * math/gen-libm-test.pl (parse_args): Initialize x before each
44890         test of frexp, modf and remquo.
44892         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
44893         test signgam value.
44895 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44897         [BZ #15418]
44898         [BZ #15419]
44899         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
44900         internal tests.
44901         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44903 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44905         * elf/dl-writev.h: New file.
44906         * elf/dl-misc.c: Include it.
44907         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
44908         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
44910 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
44912         * math/libm-test.inc (noXFails): Remove variable.
44913         (noXPasses): Likewise.
44914         (BUILD_COMPLEX_INT): Remove macro.
44915         (print_screen): Remove xfail argument.
44916         (print_screen_max_error): Likewise.
44917         (update_stats): Likewise.
44918         (print_max_error): Likewise.  Update calls to other affected
44919         functions.
44920         (print_complex_max_error): Likewise.
44921         (test_single_exception): Update calls to print_screen.
44922         (test_single_errno): Likewise.
44923         (check_float_internal): Remove xfail argument.  Update calls to
44924         other affected functions.
44925         (check_float): Likewise.
44926         (check_complex): Likewise.
44927         (check_int): Likewise.
44928         (check_long): Likewise.
44929         (check_bool): Likewise.
44930         (check_longlong): Likewise.
44931         (main): Don't print noXFails and noXPasses.
44932         * math/gen-libm-test.pl (top level): Don't mention expected
44933         failure handling in comment.
44934         (new_test): Don't handle expected failures.
44935         (parse_args): Don't mention expected failure handling in comment.
44936         (generate_testfile): Don't handle expected failures.
44937         (parse_ulps): Likewise.
44938         (print_ulps_file): Likewise.
44939         (get_failure): Remove function.
44940         (output_test): Don't handle expected failures.
44941         * make/README.libm-test: Don't mention expected failure handling.
44943         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
44944         (minus_zero): Likewise.
44945         (plus_infty): Likewise.
44946         (minus_infty): Likewise.
44947         (qnan_value): Likewise.
44948         (max_value): Likewise.
44949         (min_value): Likewise.
44950         (min_subnorm_value): Likewise.
44951         (initialize): Do not initialize those variables dynamically.
44953 2013-05-03  Roland McGrath  <roland@hack.frob.com>
44955         * io/open.c (__open_2): Moved to ...
44956         * io/open_2.c: ... this new file.
44957         * io/open64.c (__open64_2): Moved to ...
44958         * io/open64_2.c: ... this new file.
44959         * io/openat.c (__openat_2): Moved to ...
44960         * io/openat_2.c: ... this new file.
44961         * io/openat64.c (__openat64_2): Moved to ...
44962         * io/openat64_2.c: ... this new file.
44963         * io/Makefile (routines): Add them.
44964         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
44965         * sysdeps/unix/sysv/linux/open_2.c: File removed.
44966         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
44967         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
44968         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
44969         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
44970         (__openat64): Add hidden_ver.
44971         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
44972         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
44974         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
44975         Separately conditionalize setting of GLRO(dl_sysinfo) so
44976         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
44977         as well, but the actual setting is only under [NEED_DL_SYSINFO].
44979 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44981         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
44982         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
44983         definition.
44984         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
44985         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44986         (_libc_vdso_platform_setup): Add __vdso_time initialization.
44987         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
44988         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
44990 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
44992         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
44993         test signgam value.
44995         * math/libm-test.inc (hypot_test): Do not use
44996         IGNORE_ZERO_INF_SIGN.
44998 2013-05-03  Andreas Jaeger  <aj@suse.de>
45000         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
45001         Linux 3.9.
45002         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
45003         (PF_MAX): Adjust for VSOCK change.
45005 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45009 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
45011         [BZ #15264]
45012         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
45013         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
45014         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
45016 2013-05-02  David S. Miller  <davem@davemloft.net>
45018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45020 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
45022         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
45024 2013-05-01  Roland McGrath  <roland@hack.frob.com>
45026         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
45028 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
45030         [BZ #14952]
45031         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
45032         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45033         Use __attribute__ ((__gnu_inline__)).
45034         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45035         Don't use __attribute__ ((__gnu_inline__)).
45037 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
45039         [BZ #15423]
45040         * math/s_catan.c (__catan): Handle small real or imaginary part of
45041         input specially to avoid spurious underflow.
45042         * math/s_catanf.c (__catanf): Likewise.
45043         * math/s_catanh.c (__catanh): Likewise.
45044         * math/s_catanhf.c (__catanhf): Likewise.
45045         * math/s_catanhl.c (__catanhl): Likewise.
45046         * math/s_catanl.c (__catanl): Likewise.
45047         * math/libm-test.inc (catan_test): Add more tests.
45048         (catanh_test): Likewise.
45049         * sysdeps/i386/fpu/libm-test-ulps: Update.
45050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45052 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45056 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
45058         [BZ #15416]
45059         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
45060         accurately for denominator in atan2.
45061         * math/s_catanf.c (__catanf): Likewise.
45062         * math/s_catanh.c (__catanh): Likewise.
45063         * math/s_catanhf.c (__catanhf): Likewise.
45064         * math/s_catanhl.c (__catanhl): Likewise.
45065         * math/s_catanl.c (__catanl): Likewise.
45066         * math/libm-test.inc (catan_test): Add more tests.
45067         (catanh_test): Likewise.
45068         * sysdeps/i386/fpu/libm-test-ulps: Update.
45069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45071 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45073         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
45075         * benchtests/Makefile (bench): Remove slow benchmarks.
45076         * benchtests/atan-inputs: Add slow benchmark inputs.
45077         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
45078         (BENCH_FUNC): Accept variant offset.
45079         (VARIANT): Define.
45080         * benchtests/bench-skeleton.c (main): Run benchmark for each
45081         variant.
45082         * benchtests/cos-inputs: Add slow benchmark inputs.
45083         * benchtests/exp-inputs: Likewise.
45084         * benchtests/pow-inputs: Likewise.
45085         * benchtests/sin-inputs: Likewise.
45086         * benchtests/slowatan-inputs: Remove.
45087         * benchtests/slowatan.c: Remove.
45088         * benchtests/slowcos-inputs: Remove.
45089         * benchtests/slowcos.c: Remove.
45090         * benchtests/slowexp-inputs: Remove.
45091         * benchtests/slowexp.c: Remove.
45092         * benchtests/slowpow-inputs: Remove.
45093         * benchtests/slowpow.c: Remove.
45094         * benchtests/slowsin-inputs: Remove.
45095         * benchtests/slowsin.c: Remove.
45096         * benchtests/slowtan-inputs: Remove.
45097         * benchtests/slowtan.c: Remove.
45098         * benchtests/tan-inputs: Add slow benchmark inputs.
45099         * scripts/bench.pl: Parse comments and directives.
45101         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
45102         in CPPFLAGS.
45103         ($(objpfx)bench-%.c): Remove *-ITER.
45104         * benchtests/bench-modf.c: Remove definition of ITER.
45105         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
45106         (main): Loop for DURATION seconds instead of fixed number of
45107         iterations.
45108         * scripts/bench.pl: Don't expect iterations in parameters.
45110 2013-04-29  Roland McGrath  <roland@hack.frob.com>
45112         * io/fchdir.c (__fchdir): Renamed from fchdir.
45113         (fchdir): Define as weak alias.
45115 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45117         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
45118         (ERRNO_EDOM): Likewise.
45119         (ERRNO_ERANGE): Likewise.
45120         (noErrnoTests): New variable.
45121         (init_max_error): Set errno to 0.
45122         (test_single_errno): New function.
45123         (test_errno): Likewise.
45124         (check_float_internal): Call test_errno.  Set errno to 0.
45125         (check_complex): Refer to errno tests in comment.
45126         (check_int): Call test_errno.  Set errno to 0.
45127         (check_long): Likewise.
45128         (check_bool): Likewise.
45129         (check_longlong): Likewise.
45130         (cos_test): Use ERRNO_* flags for errno tests instead of
45131         check_int.
45132         (expm1_test): Likewise.
45133         (fmod_test): Likewise.
45134         (ilogb_test): Likewise.
45135         (lgamma_test): Likewise.
45136         (pow_test): Likewise.
45137         (remainder_test): Likewise.
45138         (sin_test): Likewise.
45139         (tan_test): Likewise.
45140         (yn_test): Likewise.
45141         (initialize): Set errno to 0.
45142         (main): Print number of errno tests.
45143         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
45145 2013-04-29  Andreas Jaeger  <aj@suse.de>
45147         [BZ #15084]
45148         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
45149         and RES_USEVC.
45151         [BZ #15085]
45152         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
45153         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
45154         unimplemented.
45156         [BZ #15380]
45157         * stdlib/random.c (__initstate): Return NULL if
45158         __initstate fails.
45160         [BZ #15086]
45161         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
45162         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
45163         RES_SNGLKUPREOP.
45165 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45169 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45171         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
45172         of individual tests.
45173         (casin_test): Likewise.
45174         (casinh_test): Likewise.
45176 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
45178         [BZ #15409]
45179         * math/s_catan.c (__catan): Handle arguments with large real or
45180         imaginary part separately without squaring.
45181         * math/s_catanf.c (__catanf): Likewise.
45182         * math/s_catanh.c (__catanh): Likewise.
45183         * math/s_catanhf.c (__catanhf): Likewise.
45184         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45185         and redefine.
45186         (__catanhl): Handle arguments with large real or imaginary part
45187         separately without squaring.
45188         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45189         and redefine.
45190         (__catanl): Handle arguments with large real or imaginary part
45191         separately without squaring.
45192         * math/libm-test.inc (catan_test): Add more tests.
45193         (catanh_test): Likewise.
45194         * sysdeps/i386/fpu/libm-test-ulps: Update.
45195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45197 2013-04-27  Andreas Jaeger  <aj@suse.de>
45199         [BZ #15007]
45200         * stdlib/stdlib.h: Update guards for qecvt.
45201         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
45202         <stdlib.h>.
45204 2013-04-27  Allan McRae  <allan@archlinux.org>
45206         * sysdeps/i386/fpu/libm-test-ulps: Update.
45208 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
45210         [BZ #15406]
45211         * math/s_catan.c: Include <float.h>.
45212         (__catan): Ensure underflow exception occurs for underflowed
45213         result.
45214         * math/s_catanf.c: Include <float.h>.
45215         (__catanf): Ensure underflow exception occurs for underflowed
45216         result.
45217         * math/s_catanh.c: Include <float.h>.
45218         (__catanh): Ensure underflow exception occurs for underflowed
45219         result.
45220         * math/s_catanhf.c: Include <float.h>.
45221         (__catanhf): Ensure underflow exception occurs for underflowed
45222         result.
45223         * math/s_catanhl.c: Include <float.h>.
45224         (__catanhl): Ensure underflow exception occurs for underflowed
45225         result.
45226         * math/s_catanl.c: Include <float.h>.
45227         (__catanl): Ensure underflow exception occurs for underflowed
45228         result.
45229         * math/libm-test.inc (catan_test): Add more tests.
45230         (catanh_test): Likewise.
45232         [BZ #15405]
45233         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
45234         underflowed result.
45235         * math/s_ccoshf.c (__ccoshf): Likewise.
45236         * math/s_ccoshl.c (__ccoshl): Likewise.
45237         * math/s_csin.c (__csin): Likewise.
45238         * math/s_csinf.c (__csinf): Likewise.
45239         * math/s_csinh.c (__csinh): Likewise.
45240         * math/s_csinhf.c (__csinhf): Likewise.
45241         * math/s_csinhl.c (__csinhl): Likewise.
45242         * math/s_csinl.c (__csinl): Likewise.
45243         * math/libm-test.inc (ccos_test): Add more tests.
45244         (ccosh_test): Likewise.
45245         (csin_test): Likewise.
45246         (csinh_test): Likewise.
45248 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45250         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
45251         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
45252         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
45253         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
45254         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
45255         powerpc/power5+/fpu folders.
45256         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
45259 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
45261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45263 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
45265         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
45266         additions to variable.
45267         [$(config-machine) = x86_64] (modules-names): Likewise.
45268         ($(objpfx)tst-audit3): Remove dependency.
45269         ($(objpfx)tst-audit3.out): Likewise.
45270         ($(objpfx)tst-audit4): Likewise.
45271         ($(objpfx)tst-audit4.out): Likewise.
45272         ($(objpfx)tst-audit5): Likewise.
45273         ($(objpfx)tst-audit5.out): Likewise.
45274         ($(objpfx)tst-audit6): Likewise.
45275         ($(objpfx)tst-audit6.out): Likewise.
45276         ($(objpfx)tst-audit7): Likewise.
45277         ($(objpfx)tst-audit7.out): Likewise.
45278         (tst-audit3-ENV): Remove variable.
45279         (tst-audit4-ENV): Likewise.
45280         (tst-audit5-ENV): Likewise.
45281         (tst-audit6-ENV): Likewise.
45282         (tst-audit7-ENV): Likewise.
45283         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
45284         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
45285         addition to variable.
45286         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
45287         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
45288         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
45289         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
45290         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
45291         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
45292         tst-audit3, tst-audit4 and tst-audit5.
45293         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
45294         tst-audit6 and tst-audit7.
45295         [$(subdir) = elf] (modules-names): Add audit modules for those
45296         tests.
45297         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
45298         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
45299         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
45300         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
45301         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
45302         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
45303         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
45304         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
45305         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
45306         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
45307         [$(subdir) = elf] (tst-audit3-ENV): New variable.
45308         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
45309         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
45310         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
45311         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
45312         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
45313         Likewise.
45314         [$(subdir) = elf && $(config-cflags-avx) = yes]
45315         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
45316         [$(subdir) = elf && $(config-cflags-avx) = yes]
45317         (CFLAGS-tst-auditmod4a.c): Likewise.
45318         [$(subdir) = elf && $(config-cflags-avx) = yes]
45319         (CFLAGS-tst-auditmod4b.c): Likewise.
45320         [$(subdir) = elf && $(config-cflags-avx) = yes]
45321         (CFLAGS-tst-auditmod6b.c): Likewise.
45322         [$(subdir) = elf && $(config-cflags-avx) = yes]
45323         (CFLAGS-tst-auditmod6c.c): Likewise.
45324         [$(subdir) = elf && $(config-cflags-avx) = yes]
45325         (CFLAGS-tst-auditmod7b.c): Likewise.
45326         * elf/tst-audit3.c: Move to ...
45327         * sysdeps/x86_64/tst-audit3.c: ... here.
45328         * elf/tst-audit4.c: Move to ...
45329         * sysdeps/x86_64/tst-audit4.c: ... here.
45330         * elf/tst-audit5.c: Move to ...
45331         * sysdeps/x86_64/tst-audit5.c: ... here.
45332         * elf/tst-audit6.c: Move to ...
45333         * sysdeps/x86_64/tst-audit6.c: ... here.
45334         * elf/tst-audit7.c: Move to ...
45335         * sysdeps/x86_64/tst-audit7.c: ... here.
45336         * elf/tst-auditmod3a.c: Move to ...
45337         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
45338         * elf/tst-auditmod3b.c: Move to ...
45339         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
45340         * elf/tst-auditmod4a.c: Move to ...
45341         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
45342         * elf/tst-auditmod4b.c: Move to ...
45343         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
45344         * elf/tst-auditmod5a.c: Move to ...
45345         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
45346         * elf/tst-auditmod5b.c: Move to ...
45347         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
45348         * elf/tst-auditmod6a.c: Move to ...
45349         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
45350         * elf/tst-auditmod6b.c: Move to ...
45351         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
45352         * elf/tst-auditmod6c.c: Move to ...
45353         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
45354         * elf/tst-auditmod7a.c: Move to ...
45355         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
45356         * elf/tst-auditmod7b.c: Move to ...
45357         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
45359 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
45361         [BZ #15366]
45362         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
45363         define unconditionally.
45364         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
45365         define unconditionally.
45366         (INT8_C, INT16_C, etc.): Likewise.
45368 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
45370         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
45371         __ehdr_start with hidden visibility.
45373         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
45375 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
45377         * math/libm-test.inc (cos_test): Use accurate hex constants.
45378         (sincost_test): Likewise.
45380 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
45382         * math/libm-test.inc (catan_test): Add more tests.
45383         (catanh_test): Likewise.
45385         * math/s_catanf.c (__catanf): Use suffixed floating-point
45386         constants.
45387         * math/s_catanhf.c (__catanhf): Likewise.
45388         * math/s_catanhl.c (__catanhl): Likewise.
45389         * math/s_catanl.c (__catanl): Likewise.
45391         [BZ #15394]
45392         * math/s_catan.c (__catan): Calculate imaginary part of result
45393         with log1p not log unless computing log of number close to 0.
45394         * math/s_catanf.c (__catanf): Likewise.
45395         * math/s_catanl.c (__catanl): Likewise.
45396         * math/s_catanh.c (__catanh): Calculate real part of result with
45397         log1p not log unless computing log of number close to 0.
45398         * math/s_catanhf.c (__catanhf): Likewise.
45399         * math/s_catanhl.c (__catanhl): Likewise.
45400         * math/libm-test.inc (catan_test): Add more tests.
45401         (catanh_test): Likewise.
45402         * sysdeps/i386/fpu/libm-test-ulps: Update.
45403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45405 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45407         * benchtests/Makefile: Mention files in which fast and slow
45408         paths of math functions are implemented.
45410 2013-04-23  Roland McGrath  <roland@hack.frob.com>
45412         * sysdeps/posix/timespec_get.c: New file.
45414 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45416         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
45417         POWER.
45418         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
45419         for POWER.
45420         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
45421         powerpc/power5/fpu folders.
45422         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
45423         * benchtests/Makefile: Add modf testcase.
45424         * benchtests/bench-modf.c: New file: Benchmark test for mo
45426 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45428         [BZ #14888]
45429         * time/Makefile (tests): Add tst-strptime-whitespace.
45430         * time/strptime_l.c (get_number): Use ISSPACE.
45431         (__strptime_internal): Likewise.
45432         * time/tst-strptime-whitespace.c: New test case.
45434 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
45436         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
45437         member.
45438         (_nss_files_init): Set it here.
45440 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
45442         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
45443         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
45444         unsigned.
45446 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
45448         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
45450 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45452         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
45453         size just once.
45455 2013-04-21  David S. Miller  <davem@davemloft.net>
45457         * po/ru.po: Update Russion translation from translation project.
45459 2013-04-17  Adam Conrad  <adconrad@0c3.net>
45461         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
45462         and setfsgid.
45464 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
45466         * configure.in: Remove i386 configure warning. Remove i386 case.
45467         * configure: Regenerate.
45468         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
45469         Add example to error message.
45470         * sysdeps/i386/configure: Regenerate.
45472 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45474         * benchtests/Makefile (bench): Add cos, tan, slowcos and
45475         slowtan.
45476         * benchtests/cos-inputs: New file.
45477         * benchtests/slowcos-inputs: New file.
45478         * benchtests/slowcos.c: New file.
45479         * benchtests/slowtan-inputs: New file.
45480         * benchtests/slowtan.c: New file.
45481         * benchtests/tan-inputs: New file.
45483 2013-04-16  Roland McGrath  <roland@hack.frob.com>
45485         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
45486         considered kosher.
45488 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45490         * benchtests/Makefile: Include cppflags-iterator.mk to add
45491         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
45493         * Makefile.in (bench-clean): New target.
45494         * benchtests/Makefile (bench-clean): Likewise.
45496 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
45498         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
45500 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
45502         * stdio-common/tstdiomisc.c: Fix coding-style violation.
45504 2013-04-15  Andreas Schwab  <schwab@suse.de>
45506         * nscd/grpcache.c (cache_addgr): Properly check for short write.
45507         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45508         * nscd/pwdcache.c (cache_addpw): Likewise.
45509         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
45510         more than recsize.
45512 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45514         * benchtests/Makefile (bench): Write all output to
45515         bench-out.tmp together.
45517 2013-04-15  Andreas Schwab  <schwab@suse.de>
45519         * nscd/nscd.c (main): Don't fork again after closing files.
45521 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45523         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
45525         * benchtests/Rules (bench-deps): Collect dependencies into a
45526         single variable.  Add Makefile to dependencies.
45527         ($(objpfx)bench-%.c): Depend on bench-deps.
45529 2013-04-12  Roland McGrath  <roland@hack.frob.com>
45530             Xavier Roche  <roche+kml2@exalead.com>
45532         [BZ #15361]
45533         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
45534         just that it's a file descriptor.
45535         * manual/llio.texi (Synchronizing AIO Operations): Update description
45536         for EBADF error from aio_fsync.
45538 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45540         * Rules (bench): Move target definition...
45541         * benchtests/Makefile: ... here.
45543 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
45545         * math/libm-test.inc (cos_test): Fix PI/2 test.
45546         (sincos_test): Likewise.
45547         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45548         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
45550 2013-04-11  Andreas Schwab  <schwab@suse.de>
45552         [BZ #13988]
45553         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
45554         accept exponent character only when digits were seen.
45555         * stdio-common/Makefile (tests): Add bug26.
45556         * stdio-common/bug26.c: New file.
45558         [BZ #14293]
45559         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
45560         non-freeable.
45562 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45564         * Makeconfig (rtld-prefix): Define built linker prefix.
45565         * Rules (run-bench): Use it.
45566         * math/Makefile (run-regen-ulps): Likewise.
45568         * Rules (bench): Remove eval.
45570 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45571             Roland McGrath  <roland@hack.frob.com>
45572             Ondrej Bilka  <neleai@seznam.cz>
45574         [BZ #15346]
45575         * time/getdate.c: Include ctype.h and alloca.h.
45576         (__getdate_r): Trim leading and trailing spaces of input.
45577         * time/tst-getdate.c (tests): Add tests with leading and
45578         trailing spaces.
45580 2013-04-08  Roland McGrath  <roland@hack.frob.com>
45582         [BZ #14280]
45583         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
45584         when computing value.
45586 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45588         * math/README.libm-test (How can I generate "libm-test-ulps"?):
45589         Use testrun.sh to run libm tests.
45591         [BZ #15309]
45592         * elf/dl-open.c (dl_open_worker): memset all of seen array.
45594 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
45596         [BZ #15264]
45597         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
45599 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45601         * Makefile.in (regen-ulps): New target.
45602         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
45603         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
45604         [ifneq (no,$(PERL)] (regen-ulps): New target.
45605         [ifeq (no,$(PERL)] (regen-ulps): New target.
45606         * math/libm-test.inc (ulps_file_name): Define.
45607         (output_dir): New variable.
45608         (options): Add "output-dir" option.
45609         (parse_opt): Handle 'o' case.
45610         (main): If output_dir is non-NULL use it as a prefix
45611         otherwise use "".
45612         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
45614 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45616         [BZ #10060, #10062]
45617         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
45618         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45619         fail configure if __sync_val_compare_and_swap is not inlined.
45620         * sysdeps/i386/configure: Regenerate.
45621         * configure.in: Build for i686 when configured for i386.
45622         * configure: Regenerate.
45623         * README: Remove i386 reference.
45625 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45627         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45628         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45630 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45632         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45633         (lmsnanval): New variables.
45634         (F): Add conversion tests.
45635         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45636         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45638         * stdio-common/tstdiomisc.c (F): Properly collect individual
45639         tests' results.
45641         [BZ #14686, #15336]
45642         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45643         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45644         Instead, use input NaN values or generate a qNaN by arithmetic
45645         operation.  Also fix bugs to comply with the standard.
45646         * math/libm-test.inc (remainder_test): Add more tests.
45648         [BZ #15335, #15342]
45649         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45650         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45651         input NaN values or generate a qNaN by arithmetic operation.
45653         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45654         unreachable code.
45656         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45657         definitions.
45659 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
45661         [BZ #14478]
45662         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45663         underflowed result.
45664         * math/s_cexpf.c (__cexpf): Likewise.
45665         * math/s_cexpl.c (__cexpl): Likewise.
45666         * math/libm-test.inc (cexp_test): Add more tests.
45668 2013-04-03  Andreas Schwab  <schwab@suse.de>
45670         [BZ #15330]
45671         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45672         order arrays from heap if bigger than alloca cutoff.
45674 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
45676         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45677         (SNAN_TESTS_double): Refer to GCC PR56831.
45678         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45679         GCC PR56828.
45681 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45683         * Rules (bench): Move bench.out after the run is complete.
45685         * Rules (bench): Echo currently running benchmark.
45687         * benchtests/Makefile (bench): Add atan and slowatan.
45688         * benchtests/atan-inputs: New file.
45689         * benchtests/slowatan-inputs: New file.
45690         * benchtests/slowatan.c: New file.
45692         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45693         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45694         its value.
45696         [BZ #15305]
45697         * sysdeps/unix/sysv/linux/kernel-features.h
45698         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45699         __ASSUME_XFS_RESTRICTED_CHOWN.
45700         * sysdeps/unix/sysv/linux/pathconf.c
45701         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45702         Save and restore errno.
45704 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
45706         [BZ #15327]
45707         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45708         arguments using __kernel_casinh.
45709         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45710         arguments using __kernel_casinhf.
45711         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45712         arguments using __kernel_casinhl.
45713         * math/libm-test.inc (cacosh_test): Add more tests.
45714         * sysdeps/i386/fpu/libm-test-ulps: Update.
45715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45717 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45719         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45720         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45722         * bench/Makefile (bench): Add sin and slowsin.
45723         * benchtests/sin-inputs: New file.
45724         * benchtests/slowsin-inputs: New file.
45725         * benchtests/slowsin.c: New file.
45727         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45728         (bench): Add slowexp and slowpow.
45729         (exp-ITER): Increase iterations.
45730         (pow-ITER): Likewise.
45731         * benchtests/exp-inputs: Change input.
45732         * benchtests/pow-inputs: Likewise.
45733         * benchtests/slowexp-inputs: New file.
45734         * benchtests/slowexp.c: New file.
45735         * benchtests/slowpow-inputs: New file.
45736         * benchtests/slowpow.c: New file.
45738 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45740         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45741         instructions.
45742         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45743         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45744         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45745         * benchtests/Makefile: Add rint benchtest.
45746         * benchtests/rint-inputs: Input for rint benchtest.
45748 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45750         * Versions.def (libm): Add GLIBC_2.18.
45751         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45752         hidden libm prototypes.
45753         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45754         * math/Makefile (libm-calls): Add s_issignaling.
45755         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45756         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
45757         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45758         declaration.
45759         * math/math.h [__USE_GNU] (issignaling): New macro.
45760         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45761         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45762         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45763         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45764         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45765         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45766         * manual/arith.texi (issignaling): New section.
45767         * manual/libm-err-tab.pl (@all_functions): Update comment.
45768         * math/gen-libm-test.pl (parse_args): Apply special handling for
45769         issignaling.
45770         * math/libm-test.inc (print_float, issignaling_test): New
45771         functions.
45772         (check_float_internal): Add issignaling checks.
45773         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
45774         default definition.
45775         * sysdeps/powerpc/math-tests.h: New file.
45776         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
45777         tests.
45778         * math/test-snan.c (TEST_FUNC): Likewise.
45780 2013-03-30  David S. Miller  <davem@davemloft.net>
45782         * po/de.po: Update from translation team.
45784 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
45786         [BZ #10357]
45787         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45788         imaginary part less than 1.0 and real part less than 0.5
45789         specially.
45790         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45791         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45792         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
45793         (cacos_test): Add more tests.
45794         (casin_test): Likewise.
45795         (casinh_test): Likewise.
45796         * sysdeps/i386/fpu/libm-test-ulps: Update.
45797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45799 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45801         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
45802         ONE with its value.
45804         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
45805         (__pow_mp): Replace ONE and MONE with their values.
45806         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45807         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
45808         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45809         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
45810         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45811         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45813         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
45815         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
45816         (__pow_mp): Replace ZERO and MZERO with their values.
45817         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45818         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45819         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45821         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45822         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
45823         (__sqr): Likewise.
45825         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
45827         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45829 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45831         * include/stdlib.h [!SHARED] (__call_tls_dtors):
45832         Declare with __attribute__ ((weak)).
45833         * stdlib/exit.c (__libc_atexit) [!SHARED]:
45834         Call __call_tls_dtors only if it's not NULL.
45836 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45838         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
45839         didn't do it already, then set _dl_phdr and _dl_phnum based on the
45840         magic __ehdr_start linker symbol if it's defined.
45841         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
45842         them up here if it was already done.
45844         * elf/dl-support.c (_dl_phdr): Make pointer to const.
45845         (_dl_aux_init): Use const in cast when setting it.
45846         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
45847         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
45848         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
45850         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
45851         Declare them here.
45852         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
45853         * csu/libc-tls.c: Nor here.
45854         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
45856         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
45857         (__libc_message): Never call vsyslog.
45859 2013-03-28  Alan Modra  <amodra@gmail.com>
45861         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
45862         Define as empty.
45863         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
45864         Likewise.
45866 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45868         [BZ #15214]
45869         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
45870         underflow.
45871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45873 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45875         [BZ #15304]
45876         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45877         Don't add gid passed as argument.
45879         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
45881 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
45883         [BZ #15307]
45884         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45885         imaginary part between 1.0 and 1.5 and real part less than 0.5
45886         specially.
45887         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45888         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45889         * math/libm-test.inc (cacos_test): Add more tests.
45890         (casin_test): Likewise.
45891         (casinh_test): Likewise.
45892         * sysdeps/i386/fpu/libm-test-ulps: Update.
45893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45895 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45897         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
45898         constants.
45899         (norm): Likewise.
45900         (denorm): Likewise.
45901         (__dbl_mp): Likewise.
45902         (add_magnitudes): Likewise.
45903         (sub_magnitudes): Likewise.
45904         (__add): Likewise.
45905         (__sub): Likewise.
45906         (__mul): Likewise.
45907         (__sqr): Likewise.
45908         (__inv): Likewise.
45909         (__dvd): Likewise.
45911         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
45912         commented code.
45913         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
45914         (__dubcos): Likewise.
45915         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
45916         (__ieee754_acos): Likewise.
45917         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45918         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
45919         (__exp1): Likewise.
45920         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45921         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45922         (log1): Likewise.
45923         (my_log2): Likewise.
45924         (checkint): Likewise.
45925         * sysdeps/ieee754/dbl-64/e_remainder.c
45926         (__ieee754_remainder): Likewise.
45927         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45928         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
45929         (bsloww): Likewise.
45930         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45932         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45933         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
45934         MANTISSA_STORE_T to store computations on mantissa.  Use
45935         macros for rounding and division.
45936         (denorm): Likewise.
45937         (__dbl_mp): Likewise.
45938         (add_magnitudes): Likewise.
45939         (sub_magnitudes): Likewise.
45940         (__mul): Likewise.
45941         (__sqr): Likewise.
45942         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45943         powers of two in terms of TWOPOW macro.
45944         (mp_no): Make type of mantissa as MANTISSA_T.
45945         [!RADIXI]: Define RADIXI.
45946         [!TWO52]: Define TWO52.
45947         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45949 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45951         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
45952         llroundl symbol when building for PPC32.
45954 2013-03-24  Mark H Weaver  <mhw@netris.org>
45956         * manual/arith.texi (Normalization Functions): Fix prototypes for
45957         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
45959 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45961         [BZ #13889]
45962         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
45963         high value to check if expl overflow.
45964         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
45965         to check for underflow and overflow.
45966         * math/libm-test.inc: Add exp test.
45968 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
45970         [BZ #11120]
45971         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
45972         with NOT_IN_libc.
45974 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45976         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
45977         symbol.
45979 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45981         * math/gen-libm-test.pl (parse_args, special_functions): Properly
45982         wrap blocks consisting of several statements.
45984         * sysdeps/generic/math-tests.h: New file.
45985         * sysdeps/i386/fpu/math-tests.h: Likewise.
45986         * math/test-snan.c: Include it.
45987         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
45989 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45991         [BZ #15285]
45992         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
45993         (__ieee754_j0l): Do not improve calculations using cos of twice
45994         input for inputs above LDBL_MAX / 2.0L.
45995         (__ieee754_y0l): Likewise.
45996         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
45997         (__ieee754_j1l): Do not improve calculations using cos of twice
45998         input for inputs above LDBL_MAX / 2.0L.
45999         (__ieee754_y1l): Likewise.
46000         * math/libm-test.inc (j0_test): Add another test.
46001         (j1_test): Likewise.
46002         (y0_test): Likewise.
46003         (y1_test): Likewise.
46004         * sysdeps/i386/fpu/libm-test-ulps: Update.
46006 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46008         * Rules ($(objpfx)bench-%.c): Include code from a C source
46009         file.
46011 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46013         [BZ #15287]
46014         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46015         imaginary part 1.0 and real part less than 0.5 specially.
46016         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46017         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46018         * math/libm-test.inc (cacos_test): Add more tests.
46019         (casin_test): Likewise.
46020         (casinh_test): Likewise.
46021         * sysdeps/i386/fpu/libm-test-ulps: Update.
46022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46024 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46026         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
46027         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
46029 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
46031         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
46032         * config.make.in (config-cflags-sse4): Remove variable.
46033         (config-cflags-avx): Likewise.
46034         (config-cflags-sse2avx): Likewise.
46035         (config-cflags-novzeroupper): Likewise.
46036         (config-asflags-i686): Likewise.
46037         (have-mfma4): Likewise.
46038         (have-as-vis3): Likewise.
46039         (MIG): Likewise.
46040         * configure.in (MIG): Do not AC_SUBST.
46041         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
46042         (libc_cv_cc_sse4): Do not AC_SUBST.
46043         (libc_cv_cc_avx): Likewise.
46044         (libc_cv_cc_sse2avx): Likewise.
46045         (libc_cv_cc_novzeroupper): Likewise.
46046         (libc_cv_cc_fma4): Likewise.
46047         (libc_cv_as_i686): Likewise.
46048         (libc_cv_sparc_as_vis3): Likewise.
46049         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
46050         LIBC_CONFIG_VAR.
46051         (config-asflags-i686): Likewise.
46052         (config-cflags-avx): Likewise.
46053         (config-cflags-sse2avx): Likewise.
46054         (have-mfma4): Likewise.
46055         (config-cflags-novzeroupper): Likewise.
46056         * sysdeps/mach/configure.in (MIG): Likewise.
46057         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
46058         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
46059         LIBC_CONFIG_VAR.
46060         (config-cflags-avx): Likewise.
46061         (config-cflags-sse2avx): Likewise.
46062         (have-mfma4): Likewise.
46063         (config-cflags-novzeroupper): Likewise.
46064         * configure: Regenerated.
46065         * sysdeps/i386/configure: Likewise.
46066         * sysdeps/mach/configure: Likewise.
46067         * sysdeps/sparc/configure: Likewise.
46068         * sysdeps/x86_64/configure: Likewise.
46070 2013-03-20  Roland McGrath  <roland@hack.frob.com>
46072         [BZ #14812]
46073         * locale/programs/localedef.c (options): Put N_ translation marker
46074         on argument names, not just descriptions.
46076 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46078         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
46080 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
46082         [BZ #14176]
46083         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
46085 2013-03-19  Roland McGrath  <roland@hack.frob.com>
46087         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
46088         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
46089         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
46090         [!BEFORE_ABORT] (before_abort): New function.
46091         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
46092         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
46093         (writev_for_fatal): New function.
46094         (WRITEV_FOR_FATAL): New macro; call that.
46095         (backtrace_and_maps): New function.
46096         (BEFORE_ABORT): New macro; call that.
46097         (struct str_list): Type removed.
46098         (__libc_message, __libc_fatal): Functions removed.
46099         Include <sysdeps/posix/libc_fatal.c> instead.
46101 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
46103         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
46104         constants.
46105         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
46106         double constants.
46108 2013-03-19  Andreas Schwab  <schwab@suse.de>
46110         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
46111         * sysdeps/gnu/configure: Regenerate.
46113         * configure.in: Substitute libc_cv_rtlddir.
46114         * configure: Regenerate.
46115         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
46116         * Makeconfig (rtlddir, inst_rtlddir): New variables.
46117         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
46118         * elf/Makefile (install-others, CFLAGS-interp.c)
46119         (ldso_install, common-ldd-rewrite): Likewise.
46120         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
46121         $(inst_slibdir)/$(rtld-installed-name).
46122         * scripts/rellns-sh: Add -p option.
46123         * Makerules (make-shlib-link): Use rellns-sh to get relative name
46124         for source.
46126 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46128         * manual/nptl.texi: Renamed to ...
46129         * manual/threads.texi: ... this.
46130         * manual/Makefile (chapters): Update.
46132 2013-03-18  Roland McGrath  <roland@hack.frob.com>
46134         [BZ #14812]
46135         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
46136         on argument names, not just descriptions.
46137         * malloc/memusagestat.c (options): Likewise.
46138         * nss/getent.c (options): Likewise.
46140 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
46142         [BZ #14812]
46143         * iconv/iconv_prog.c (options): Put N_ translation marker
46144         on argument names, not just descriptions.
46145         * iconv/iconvconfig.c (options): Likewise.
46147 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
46149         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
46150         implementation which is faster on all x86_64 architectures.
46151         Tested on AMD, Intel Nehalem, SNB, IVB.
46152         * sysdeps/x86_64/strnlen.S: Likewise.
46154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46155         Remove all multiarch strlen and strnlen versions.
46156         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46157         Remove strlen and strnlen related parts.
46159         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
46160         Inline strlen part.
46161         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
46163         * sysdeps/x86_64/multiarch/strlen.S: Remove.
46164         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
46165         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
46166         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
46167         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46168         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
46170 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
46172         * manual/memory.texi (Malloc Tunable Parameters):
46173         Sort parameters alphabetically. Add comments for missing entries.
46175 2013-03-17  David S. Miller  <davem@davemloft.net>
46177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46179 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
46181         [BZ #15283]
46182         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
46183         for arguments at most half maximum finite value.
46184         * math/libm-test.inc (j0_test): Add more tests.
46185         (j1_test): Likewise.
46186         (y0_test): Likewise.
46187         (y1_test): Likewise.
46188         * sysdeps/i386/fpu/libm-test-ulps: Update.
46189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46191         [BZ #14155]
46192         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
46193         1 / x and functions P and Q for arguments above 0x1p256L.
46194         (__ieee754_y0l): Likewise.
46195         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
46196         (__ieee754_y1l): Likewise.
46197         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
46198         (j1_test): Likewise.
46199         (y0_test): Likewise.
46200         (y1_test): Likewise.
46202 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
46204         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
46205         variable.
46207 2013-03-15  Roland McGrath  <roland@hack.frob.com>
46209         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
46210         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
46211         zero since it's initialized to EXEC_PAGESIZE.
46213         * sysdeps/unix/sysv/linux/ldsodefs.h
46214         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
46215         * sysdeps/generic/ldsodefs.h: ... here.
46217 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
46219         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
46221         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
46222         math/test-snan.c.
46223         * math/test-snan.c: Renamed from
46224         sysdeps/powerpc/fpu/test-powerpc-snan.c.
46225         * math/Makefile (tests): Add test-snan.
46226         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
46227         test-powerpc-snan.
46229         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
46230         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
46231         functions.
46232         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
46233         __builtin_nan family of functions.
46234         * math/libm-test.inc (initialize): Initialize qnan_value with
46235         __builtin_nan family of functions.
46236         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
46237         Remove variables.
46238         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
46239         Remove functions.
46240         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
46241         storage class.  Initialize qNaN_var and sNaN_var with
46242         __builtin_nan and __builtin_nans families of functions,
46243         respectively.
46245         * math/libm-test.inc (acosh_test): Also test with qNaN input.
46246         (sqrt_test): Remove duplicate test with qNaN input.
46247         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
46248         (round_test, signbit_test, significand_test): Note missing +/-Inf
46249         as well as qNaN tests.
46251         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
46252         qNaN_var.  Fix a few strings, too.
46253         * math/libm-test.inc (nan_value): Rename to qnan_value.
46254         * math/gen-libm-test.pl (%beautify): Adjust to that.
46255         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
46256         * math/test-misc.c (main): Likewise.
46257         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
46258         to __qnan_bytes, and __qnan_union, respectively.
46259         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
46260         Likewise.
46261         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
46262         and lqnanval, respectively.
46263         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
46264         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
46265         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
46266         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
46268         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
46269         * math/test-misc.c (main) [__x86_64__]: Enable test for long
46270         doubles.
46272         * math/test-misc.c (main): Fix copy'n'pastos.
46273         * misc/tst-efgcvt.c (special): Likewise.
46275         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
46276         Remove declarations.
46278 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46280         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
46281         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
46282         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
46283         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
46285 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46287         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
46288         macro to return vdso values correctly in IFUNC implementations.
46289         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46290         Optimization by using IFUNC.
46292 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46293             Richard Henderson  <rth@redhat.com>
46294             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46296         * Makefile.in (bench): New target.
46297         * NEWS: Mention the benchmark framework.
46298         * Rules (bench): Likewise.
46299         (binaries-bench): Generate binaries for functions to
46300         benchmark.
46301         * benchtests/Makefile: New makefile for benchmark tests.
46302         * benchtests/bench-skeleton.c: New skeleton file for benchmark
46303         programs.
46304         * benchtests/exp-inputs: New input file for EXP function.
46305         * benchtests/pow-inputs: New input file for POW function.
46306         * scripts/bench.pl: New script to generate source files for
46307         benchmark programs.
46309 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46311         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46312         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
46313         computations on mantissa.  Use macros for rounding and
46314         division.
46315         (denorm): Likewise.
46316         (__dbl_mp): Likewise.
46317         (add_magnitudes): Likewise.
46318         (sub_magnitudes): Likewise.
46319         (__mul): Likewise.
46320         (__sqr): Likewise.
46321         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46322         powers of two in terms of TWOPOW macro.
46323         (mp_no): Make type of mantissa as MANTISSA_T.
46324         [!RADIXI]: Define RADIXI.
46325         [!TWO52]: Define TWO52.
46326         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46328         * manual/nptl.texi (cindex): Modify threads to pthreads.
46330 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
46332         * sysdeps/x86_64/preconfigure: Regenerated.
46334 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
46336         [BZ #14155]
46337         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
46338         0x1p28 and above.
46339         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
46340         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
46341         0x1p28 and above.
46342         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
46343         * math/libm-test.inc (j0_test): Do not allow one spurious
46344         underflow exception.
46345         (y1_test): Likewise.
46347 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46349         * manual/Makefile (chapters): Add nptl.
46350         * manual/debug.texi (Debugging Support): Add link to Threads
46351         chapter.
46352         * manual/nptl.texi: New file.
46354         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
46356 2013-03-14  Petr Baudis  <pasky@ucw.cz>
46358         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
46359         for non-NULL pointer before the memory validity test. Pointed
46360         out by Holger Brunck <holger.brunck@keymile.com>.
46362 2013-03-13  Andreas Schwab  <schwab@suse.de>
46364         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
46365         instead of .os.
46367 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
46369         * timezone/zic.c: Update from tzcode 2013b.
46371 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
46373         * manual/install.texi (Configuring and compiling):
46374         Mention i686 and i586.
46375         * INSTALL: Regenerate.
46377 2013-03-12  Roland McGrath  <roland@hack.frob.com>
46379         * sysdeps/init_array/elf-init.c: New file.
46380         * csu/elf-init.c
46381         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
46382         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
46384         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
46385         __gmon_start__ as global, but as static with a .preinit_array pointer.
46386         * sysdeps/init_array/gmon-start.c: New file.  Use that.
46387         * sysdeps/init_array/crti.S: New file, empty except for comments.
46388         * sysdeps/init_array/crtn.S: Likewise.
46390 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
46392         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
46393         definining bcopy.
46394         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46395         Remove Prefer_SSE_for_memop.
46396         * sysdeps/x86_64/multiarch/init-arch.h: Remove
46397         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
46398         HAS_PREFER_SSE_FOR_MEMOP.
46399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
46400         memset-x86-64.
46401         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46402         Remove bzero, memset ifunc support.
46403         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
46404         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
46405         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46406         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46408 2013-03-11  Andreas Schwab  <schwab@suse.de>
46410         [BZ #15234]
46411         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
46412         by SHLIB_COMPAT.
46413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
46414         (GLIBC_2.16): Remove pthread_atfork.
46416 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
46418         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
46419         (ptestcases.h): Likewise.
46421 2013-03-08  Roland McGrath  <roland@hack.frob.com>
46423         * Makeconfig ($(common-objpfx)config.status): Depend on
46424         sysdeps/*/preconfigure{,.in} too.
46426 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
46428         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
46429         (__free_hook): Use void * instead of __malloc_ptr_t.
46430         (__malloc_hook): Likewise.
46431         (__realloc_hook): Likewise.
46432         (__memalign_hook): Likewise.
46433         (__after_morecore_hook): Likewise.
46434         * malloc/arena.c (save_malloc_hook): Likewise.
46435         (save_free_hook): Likewise.
46436         * malloc/hooks.c (malloc_hook_ini): Likewise.
46437         (realloc_hook_ini): Likewise.
46438         (memalign_hook_ini): Likewise.
46439         * malloc/malloc.c (malloc_hook_ini): Likewise.
46440         (realloc_hook_ini): Likewise.
46441         (memalign_hook_ini): Likewise.
46442         (__free_hook): Likewise.
46443         (__malloc_hook): Likewise.
46444         (__realloc_hook): Likewise.
46445         (__memalign_hook): Likewise.
46446         (__libc_malloc): Likewise.
46447         (__libc_free): Likewise.
46448         (__libc_realloc): Likewise.
46449         (__libc_memalign): Likewise.
46450         (__libc_valloc): Likewise.
46451         (__libc_pvalloc): Likewise.
46452         (__libc_calloc): Likewise.
46453         (__posix_memalign): Likewise.
46454         * malloc/morecore.c (__sbrk): Likewise.
46455         (__default_morecore): Likewise.
46457         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
46459         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
46460         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
46461         __malloc_ptrdiff_t.
46463         * malloc/malloc.h (__malloc_size_t): Remove macro.
46464         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
46465         __malloc_size_t.
46466         (old_memalign_hook): Likewise.
46467         (old_realloc_hook): Likewise.
46468         (struct hdr): Likewise.
46469         (flood): Likewise.
46470         (mallochook): Likewise.
46471         (memalignhook): Likewise.
46472         (reallochook): Likewise.
46473         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
46474         (tr_old_realloc_hook): Likewise.
46475         (tr_old_memalign_hook): Likewise.
46476         (tr_mallochook): Likewise.
46477         (tr_reallochook): Likewise.
46478         (tr_memalignhook): Likewise.
46480 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46482         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
46483         default_ldbl_pack and using as default implementation.
46484         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
46485         implementation.
46486         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
46487         redundant definition.
46488         (ldbl_insert_mantissa): Likewise.
46489         (ldbl_canonicalize): Likewise.
46490         (ldbl_nearbyint): Likewise.
46491         (ldbl_pack): Rename to ldbl_pack_ppc.
46492         (ldbl_unpack): Rename to ldbl_unpack_ppc.
46493         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
46494         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
46496 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46498         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
46499         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
46500         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
46501         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
46502         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
46503         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
46504         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
46505         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
46507 2013-03-07  Andreas Jaeger  <aj@suse.de>
46509         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46510         bits/mman-linux.h.
46512 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46514         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
46515         Include mpa.h and declare __MPEXP.
46516         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
46517         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46518         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46519         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
46520         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46521         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46522         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
46524         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
46525         (__slowpow): Use long double EXPL and LOGL functions to
46526         compute POW.
46527         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46528         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46529         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
46530         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46531         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46532         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
46534         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
46535         intermediate variable to calculate exponent.
46536         (__sqr): Likewise.
46537         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46538         Likewise.
46539         (__sqr): Likewise.
46541         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
46542         [!NO__SQR]: Define __sqr.
46543         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
46544         and NO__SQR.  Remove all code except __mul and __sqr.  Include
46545         sysdeps/ieee754/dbl-64/mpa.c.
46546         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46548         [BZ #12723]
46549         * posix/Makefile (tests): Add tst-pathconf.
46550         * posix/tst-pathconf.c: New test case.
46551         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
46552         _PC_PIPE_BUF.
46553         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
46555 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
46557         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
46559 2013-03-06  Andreas Jaeger  <aj@suse.de>
46561         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
46562         definition via __MAP_ANONYMOUS.
46564         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
46565         it's not part of Linux headers.
46567         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
46568         (MAP_HUGE_MASK): Define.
46570         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46571         Define.
46572         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46573         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46574         Define.
46575         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46576         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46577         Define.
46578         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46579         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
46580         Define.
46581         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46583         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
46584         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
46585         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
46586         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
46587         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
46588         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
46590         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46591         Handle f2fs.
46593         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46594         Handle f2fs and efivarfs.
46596         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
46597         f2fs.
46599         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
46600         (EFIVARFS_MAGIC): Add.
46601         (F2FS_LINK_MAX): Add.
46603 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46605         * stdio-common/vfprintf.c: Replace __builtin_expect with
46606         __glibc_unlikely.
46608 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
46610         [BZ #13550]
46611         * sysdeps/generic/bp-sym.h: Remove file.
46612         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
46613         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
46614         <bp-sym.h> and <bp-asm.h>.
46615         (__longjmp): Don't use BP_SYM.
46616         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
46617         and <bp-asm.h>.
46618         (memcpy): Don't use BP_SYM.
46619         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46620         <bp-sym.h> and <bp-asm.h>.
46621         (memcpy): Don't use BP_SYM.
46622         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46623         <bp-asm.h>.
46624         (memcpy): Don't use BP_SYM.
46625         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46626         <bp-asm.h>.
46627         (memset): Don't use BP_SYM.
46628         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46629         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46630         (__bzero): Don't use BP_SYM.
46631         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46632         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46633         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46634         <bp-sym.h> and <bp-asm.h>.
46635         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46636         pointers.
46637         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46638         <bp-sym.h> and <bp-asm.h>.
46639         (memcpy): Don't use BP_SYM.
46640         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46641         <bp-sym.h> and <bp-asm.h>.
46642         (memset): Don't use BP_SYM.
46643         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46644         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46645         (__bzero): Don't use BP_SYM.
46646         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46647         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46648         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46649         <bp-sym.h> and <bp-asm.h>.
46650         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46651         pointers.
46652         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46653         <bp-sym.h> and <bp-asm.h>.
46654         (memcpy): Don't use BP_SYM.
46655         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46656         <bp-sym.h> and <bp-asm.h>.
46657         (memset): Don't use BP_SYM.
46658         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46659         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46660         (__bzero): Don't use BP_SYM.
46661         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46662         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46663         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46664         <bp-sym.h> and <bp-asm.h>.
46665         (__memchr): Don't use BP_SYM.
46666         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46667         <bp-sym.h> and <bp-asm.h>.
46668         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46669         pointers.
46670         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46671         <bp-sym.h> and <bp-asm.h>.
46672         (memcpy): Don't use BP_SYM.
46673         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46674         <bp-sym.h> and <bp-asm.h>.
46675         (__mempcpy): Don't use BP_SYM.
46676         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46677         <bp-sym.h> and <bp-asm.h>.
46678         (__memrchr): Don't use BP_SYM.
46679         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46680         <bp-sym.h> and <bp-asm.h>.
46681         (memset): Don't use BP_SYM.
46682         (__bzero): Likewise.
46683         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46684         <bp-sym.h> and <bp-asm.h>.
46685         (__rawmemchr): Don't use BP_SYM.
46686         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46687         <bp-sym.h> and <bp-asm.h>.
46688         (__STRCMP): Don't use BP_SYM.
46689         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46690         <bp-sym.h> and <bp-asm.h>.
46691         (strchr): Don't use BP_SYM.
46692         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46693         <bp-sym.h> and <bp-asm.h>.
46694         (__strchrnul): Don't use BP_SYM.
46695         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46696         <bp-sym.h> and <bp-asm.h>.
46697         (strlen): Don't use BP_SYM.
46698         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46699         <bp-sym.h> and <bp-asm.h>.
46700         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46701         pointers.
46702         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46703         <bp-sym.h> and <bp-asm.h>.
46704         (__strnlen): Don't use BP_SYM.
46705         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46706         <bp-sym.h> and <bp-asm.h>.
46707         (__GI__setjmp): Don't use BP_SYM.
46708         (_setjmp): Likewise.
46709         (__sigsetjmp): Likewise.
46710         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46711         (L(start_addresses)): Don't use BP_SYM.
46712         (_start): Likewise.
46713         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46714         <bp-asm.h>.
46715         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46716         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46717         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46718         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46719         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46720         <bp-asm.h>.
46721         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46722         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
46723         about bounded pointers.
46724         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46725         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46726         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46727         <bp-asm.h>.
46728         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46729         about bounded pointers.  Remove GKM FIXME comments.
46730         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46731         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46732         <bp-asm.h>.
46733         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46734         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
46735         Remove GKM FIXME comments.
46736         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46737         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46738         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46739         <bp-asm.h>.
46740         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46741         about bounded pointers.  Remove GKM FIXME comment.
46742         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46743         and <bp-asm.h>.
46744         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46745         pointers.
46746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46747         <bp-sym.h> and <bp-asm.h>.
46748         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46750         <bp-sym.h> and <bp-asm.h>.
46751         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46752         comment.
46754 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46756         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46757         call free(NULL).
46759 2013-03-05  David S. Miller  <davem@davemloft.net>
46761         * po/es.po: Update from translation team.
46763 2013-03-05  Andreas Jaeger  <aj@suse.de>
46765         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46766         <bits/mman-linux.h>.
46767         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46768         is fine.
46769         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46770         <bits/mman-linux.h> to end of file.
46771         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46772         is fine.
46773         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
46774         <bits/mman-linux.h> to end of file.
46775         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46776         is fine.
46777         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
46778         <bits/mman-linux.h> to end of file.
46780         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
46781         (MCL_CURRENT, MCL_FUTURE): Define here.
46783 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46785         [BZ #15232]
46786         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
46787         attribute_hidden.
46788         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46790 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46792         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
46793         fourth parameter needed for rt_sigprocmask syscall.
46794         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46795         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46796         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
46797         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46798         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46799         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46801 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
46803         [BZ #13550]
46804         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46805         comment about bounded pointers.
46806         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
46807         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
46809 2013-03-04  Andreas Jaeger  <aj@suse.de>
46811         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
46812         common definitions.
46814         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
46815         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
46816         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
46817         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46818         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46819         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46821 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46823         [BZ #15055]
46824         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
46825         __ieee754_sqrl instead of __sqrl.
46827 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
46829         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
46830         * sysdeps/powerpc/fpu_control.h: ... here.
46831         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
46832         * sysdeps/powerpc/bits/fenvinline.h: ... here.
46833         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
46834         * sysdeps/powerpc/bits/mathinline.h: ... here.
46836 2013-03-01  Roland McGrath  <roland@hack.frob.com>
46838         * elf/dl-hwcaps.c (_dl_important_hwcaps):
46839         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
46840         to just [NEED_DL_SYSINFO_DSO].
46841         * elf/dl-support.c: Likewise.
46842         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
46843         * elf/rtld.c (dl_main): Likewise.
46844         * elf/setup-vdso.h (setup_vdso): Likewise.
46845         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
46846         * sysdeps/unix/sysv/linux/dl-sysdep.c
46847         (_dl_discover_osversion): Likewise.
46849 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
46851         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
46852         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46854 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46856         * NEWS: Mention libm performance improvements and non-x86 PI
46857         futex support.
46859         * csu/libc-start.c (__pthread_initialize_minimal): Change
46860         function arguments.
46861         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46863 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
46865         [BZ #13550]
46866         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
46867         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
46868         <bp-sym.h> and <bp-asm.h>.
46869         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46870         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46871         and <bp-asm.h>.
46872         (memcpy): Don't use BP_SYM.
46873         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
46874         <bp-asm.h>.
46875         (__mpn_add_n): Don't use BP_SYM.
46876         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
46877         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
46878         and <bp-asm.h>.
46879         (__mpn_addmul_1): Don't use BP_SYM.
46880         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46881         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
46882         <bp-sym.h>.
46883         (_setjmp): Don't use BP_SYM.
46884         (__novmx_setjmp): Likewise.
46885         (__GI__setjmp): Likewise.
46886         (__vmx_setjmp): Likewise.
46887         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
46888         <bp-sym.h>.
46889         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
46890         (__bzero): Don't use BP_SYM.
46891         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46892         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46893         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
46894         <bp-sym.h> and <bp-asm.h>.
46895         (memcpy): Don't use BP_SYM.
46896         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
46897         <bp-sym.h> and <bp-asm.h>.
46898         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46899         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
46900         <bp-sym.h> and <bp-asm.h>.
46901         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46902         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
46903         <bp-asm.h>.
46904         (__mpn_lshift): Don't use BP_SYM.
46905         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46906         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
46907         <bp-asm.h>.
46908         (memset): Don't use BP_SYM.
46909         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46910         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46911         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
46912         <bp-asm.h>.
46913         (__mpn_mul_1): Don't use BP_SYM.
46914         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46915         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
46916         <bp-sym.h> and <bp-asm.h>.
46917         (memcmp): Don't use BP_SYM.
46918         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
46919         <bp-sym.h> and <bp-asm.h>.
46920         (memcpy): Don't use BP_SYM.
46921         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
46922         <bp-sym.h> and <bp-asm.h>.
46923         (memset): Don't use BP_SYM.
46924         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
46925         <bp-sym.h> and <bp-asm.h>.
46926         (strncmp): Don't use BP_SYM.
46927         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
46928         <bp-sym.h> and <bp-asm.h>.
46929         (memcpy): Don't use BP_SYM.
46930         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
46931         <bp-sym.h> and <bp-asm.h>.
46932         (memset): Don't use BP_SYM.
46933         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
46934         <bp-sym.h> and <bp-asm.h>.
46935         (__memchr): Don't use BP_SYM.
46936         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
46937         <bp-sym.h> and <bp-asm.h>.
46938         (memcmp): Don't use BP_SYM.
46939         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
46940         <bp-sym.h> and <bp-asm.h>.
46941         (memcpy): Don't use BP_SYM.
46942         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
46943         <bp-sym.h> and <bp-asm.h>.
46944         (__mempcpy): Don't use BP_SYM.
46945         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
46946         <bp-sym.h> and <bp-asm.h>.
46947         (__memrchr): Don't use BP_SYM.
46948         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
46949         <bp-sym.h> and <bp-asm.h>.
46950         (memset): Don't use BP_SYM.
46951         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
46952         <bp-sym.h> and <bp-asm.h>.
46953         (__rawmemchr): Don't use BP_SYM.
46954         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
46955         <bp-sym.h> and <bp-asm.h>.
46956         (__STRCMP): Don't use BP_SYM.
46957         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
46958         <bp-sym.h> and <bp-asm.h>.
46959         (strchr): Don't use BP_SYM.
46960         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
46961         <bp-sym.h> and <bp-asm.h>.
46962         (__strchrnul): Don't use BP_SYM.
46963         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
46964         <bp-sym.h> and <bp-asm.h>.
46965         (strlen): Don't use BP_SYM.
46966         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
46967         <bp-sym.h> and <bp-asm.h>.
46968         (strncmp): Don't use BP_SYM.
46969         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
46970         <bp-sym.h> and <bp-asm.h>.
46971         (__strnlen): Don't use BP_SYM.
46972         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
46973         <bp-asm.h>.
46974         (__mpn_rshift): Don't use BP_SYM.
46975         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46976         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
46977         <bp-sym.h> and <bp-asm.h>.
46978         (__sigsetjmp): Don't use BP_SYM.
46979         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
46980         (L(start_addresses)): Don't use BP_SYM.
46981         (_start): Likewise.
46982         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
46983         <bp-asm.h>.
46984         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
46985         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46986         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46987         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
46988         <bp-asm.h>.
46989         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
46990         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46991         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46992         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
46993         <bp-asm.h>.
46994         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46995         comments.
46996         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46997         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
46998         <bp-asm.h>.
46999         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
47000         FIXME comments.
47001         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47002         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47003         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
47004         <bp-asm.h>.
47005         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47006         comment.
47007         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
47008         and <bp-asm.h>.
47009         (strncmp): Don't use BP_SYM,
47010         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
47011         <bp-asm.h>.
47012         (__mpn_sub_n): Don't use BP_SYM.
47013         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47014         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
47015         and <bp-asm.h>.
47016         (__mpn_submul_1): Don't use BP_SYM.
47017         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
47019         <bp-sym.h> and <bp-asm.h>.
47020         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
47022         <bp-sym.h> and <bp-asm.h>.
47023         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47024         comment.
47026 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47028         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
47029         Use ZK to minimize writes to Z.
47030         (sub_magnitudes): Simplify code a bit.
47031         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
47032         Use ZK to minimize writes to Z.
47033         (sub_magnitudes): Simplify code a bit.
47035 2013-02-27  Roland McGrath  <roland@hack.frob.com>
47037         * csu/gmon-start.c: Add special exception to license text.
47039 2013-02-27  Richard Henderson  <rth@redhat.com>
47041         * scripts/config.guess: Update from config.git.
47042         * scripts/config.sub: Likewise.
47044 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47046         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
47048         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
47050         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
47052         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
47054         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
47056 2013-02-26  Roland McGrath  <roland@hack.frob.com>
47058         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
47059         [$(build-shared = yes].
47061 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47063         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
47064         (__mul): Reduce iterations for calculating mantissa.
47066         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
47067         MPTWO.
47068         (__mpranred): Likewise.
47070         [BZ #15160]
47071         * malloc/memusagestat.c (main): Draw graphs for heap and stack
47072         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
47074 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
47076         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
47077         Define __attribute__.
47079 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47081         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
47082         unused.
47083         * posix/regex_internal.h (__attribute): Remove.
47084         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
47085         (re_string_context_at): Likewise.
47086         (bitset_not): Use __attribute__ and mark function as possibly
47087         unused.
47088         (bitset_merge): Likewise.
47089         (bitset_mask): Likewise.
47090         (re_string_char_size_at): Likewise.
47091         (re_string_wchar_at): Likewise.
47092         (re_string_elem_size_at): Likewise.
47094 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47096         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
47097         code.
47098         (cc32): Likewise.
47100         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
47101         (__acr): Likewise.
47102         (__cpy): Likewise.
47103         (norm): Likewise.
47104         (denorm): Likewise.
47105         (__dbl_mp): Likewise.
47106         (add_magnitudes): Likewise.
47107         (sub_magnitudes): Likewise.
47108         (__mul): Likewise.
47109         (__inv): Likewise.
47111         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
47112         style.
47114         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
47115         style.
47117         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
47118         code.
47120         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
47121         up changes with default code.
47122         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
47123         Likewise.
47125 2013-02-24  Allan McRae  <allan@archlinux.org>
47127         * manual/socket.texi (The Internet Namespace): Order menu items
47128         to match that in the file.
47130         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
47131         node listing of the info page menu.
47133 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
47135         [BZ #13550]
47136         * sysdeps/i386/bp-asm.h: Remove file.
47137         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47138         (PARMS): Do not use macros from bp-asm.h.
47139         (S1): Likewise.
47140         (S2): Likewise.
47141         (SIZE): Likewise.
47142         (__mpn_add_n): Do not use BP_SYM
47143         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
47144         "bp-asm.h".
47145         (PARMS): Do not use macros from bp-asm.h.
47146         (S1): Likewise.
47147         (SIZE): Likewise.
47148         (__mpn_addmul_1): Do not use BP_SYM
47149         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
47150         "bp-asm.h".
47151         (PARMS): Do not use macros from bp-asm.h.
47152         (SIGMSK): Likewise.
47153         (_setjmp): Likewise.  Do not use BP_SYM.
47154         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
47155         "bp-asm.h".
47156         (PARMS): Do not use macros from bp-asm.h.
47157         (SIGMSK): Likewise.
47158         (setjmp): Likewise.  Do not use BP_SYM.
47159         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
47160         "bp-asm.h".
47161         (PARMS): Do not use macros from bp-asm.h.
47162         (__frexp): Do not use BP_SYM.
47163         (frexp): Likewise.
47164         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
47165         "bp-asm.h".
47166         (PARMS): Do not use macros from bp-asm.h.
47167         (__frexpf): Do not use BP_SYM.
47168         (frexpf): Likewise.
47169         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
47170         "bp-asm.h".
47171         (PARMS): Do not use macros from bp-asm.h.
47172         (__frexpl): Do not use BP_SYM.
47173         (frexpl): Likewise.
47174         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
47175         "bp-asm.h".
47176         (PARMS): Do not use macros from bp-asm.h.
47177         (__remquo): Do not use BP_SYM.
47178         (remquo): Likewise.
47179         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
47180         "bp-asm.h".
47181         (PARMS): Do not use macros from bp-asm.h.
47182         (__remquof): Do not use BP_SYM.
47183         (remquof): Likewise.
47184         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
47185         "bp-asm.h".
47186         (PARMS): Do not use macros from bp-asm.h.
47187         (__remquol): Do not use BP_SYM.
47188         (remquol): Likewise.
47189         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
47190         "bp-asm.h".
47191         (PARMS): Do not use macros from bp-asm.h.
47192         (DEST): Likewise.
47193         (SRC): Likewise.
47194         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
47195         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
47196         "bp-asm.h".
47197         (PARMS): Do not use macros from bp-asm.h.
47198         (strlen): Do not use BP_SYM.
47199         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
47200         "bp-asm.h".
47201         (PARMS): Do not use macros from bp-asm.h.
47202         (S1): Likewise.
47203         (S2): Likewise.
47204         (SIZE): Likewise.
47205         (__mpn_add_n): Do not use BP_SYM.
47206         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
47207         "bp-asm.h".
47208         (PARMS): Do not use macros from bp-asm.h.
47209         (S1): Likewise.
47210         (SIZE): Likewise.
47211         (__mpn_addmul_1): Do not use BP_SYM.
47212         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
47213         weak_alias.
47214         (bzero): Likewise.
47215         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
47216         "bp-asm.h".
47217         (PARMS): Do not use macros from bp-asm.h.
47218         (S): Likewise.
47219         (SIZE): Likewise.
47220         (__mpn_lshift): Do not use BP_SYM.
47221         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
47222         "bp-asm.h".
47223         (PARMS): Do not use macros from bp-asm.h.
47224         (DEST): Likewise.
47225         (SRC): Likewise.
47226         (LEN): Likewise.
47227         (memcpy): Likewise.  Do not use BP_SYM.
47228         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
47229         libc_hidden_def and weak_alias.
47230         (mempcpy): Do not use BP_SYM in weak_alias.
47231         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
47232         "bp-asm.h".
47233         (PARMS): Do not use macros from bp-asm.h.
47234         (DEST): Likewise.
47235         (LEN): Likewise.
47236         [!BZERO_P] (CHR): Likewise.
47237         (memset): Likewise.  Do not use BP_SYM.
47238         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
47239         "bp-asm.h".
47240         (PARMS): Do not use macros from bp-asm.h.
47241         (S1): Likewise.
47242         (SIZE): Likewise.
47243         (__mpn_mul_1): Do not use BP_SYM.
47244         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
47245         "bp-asm.h".
47246         (PARMS): Do not use macros from bp-asm.h.
47247         (S): Likewise.
47248         (SIZE): Likewise.
47249         (__mpn_rshift): Do not use BP_SYM.
47250         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
47251         "bp-asm.h".
47252         (PARMS): Do not use macros from bp-asm.h.
47253         (STR): Likewise.
47254         (CHR): Likewise.
47255         (strchr): Likewise.  Do not use BP_SYM.
47256         (index): Do not use BP_SYM in weak_alias.
47257         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
47258         "bp-asm.h".
47259         (PARMS): Do not use macros from bp-asm.h.
47260         (DEST): Likewise.
47261         (SRC): Likewise.
47262         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
47263         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
47264         "bp-asm.h".
47265         (PARMS): Do not use macros from bp-asm.h.
47266         (strlen): Do not use BP_SYM.
47267         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
47268         "bp-asm.h".
47269         (PARMS): Do not use macros from bp-asm.h.
47270         (S1): Likewise.
47271         (S2): Likewise.
47272         (SIZE): Likewise.
47273         (__mpn_sub_n): Do not use BP_SYM.
47274         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
47275         "bp-asm.h".
47276         (PARMS): Do not use macros from bp-asm.h.
47277         (S1): Likewise.
47278         (SIZE): Likewise.
47279         (__mpn_submul_1): Do not use BP_SYM.
47280         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
47281         "bp-asm.h".
47282         (PARMS): Do not use macros from bp-asm.h.
47283         (S1): Likewise.
47284         (S2): Likewise.
47285         (SIZE): Likewise.
47286         (__mpn_add_n): Do not use BP_SYM.
47287         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
47288         weak_alias.
47289         (bzero): Likewise.
47290         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
47291         "bp-asm.h".
47292         (PARMS): Do not use macros from bp-asm.h.
47293         (BLK2): Likewise.
47294         (LEN): Likewise.
47295         (memcmp): Do not use BP_SYM.
47296         (bcmp): Do not use BP_SYM in weak_alias.
47297         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
47298         "bp-asm.h".
47299         (PARMS): Do not use macros from bp-asm.h.
47300         (DEST): Likewise.
47301         (SRC): Likewise.
47302         (LEN): Likewise.
47303         (memcpy): Likewise.  Do not use BP_SYM.
47304         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
47305         "bp-asm.h".
47306         (PARMS): Do not use macros from bp-asm.h.
47307         (DEST): Likewise.
47308         (SRC): Likewise.
47309         (LEN): Likewise.
47310         (memmove): Likewise.  Do not use BP_SYM.
47311         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
47312         "bp-asm.h".
47313         (PARMS): Do not use macros from bp-asm.h.
47314         (DEST): Likewise.
47315         (SRC): Likewise.
47316         (LEN): Likewise.
47317         (__mempcpy): Likewise.  Do not use BP_SYM.
47318         (mempcpy): Do not use BP_SYM in weak_alias.
47319         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
47320         "bp-asm.h".
47321         (PARMS): Do not use macros from bp-asm.h.
47322         (DEST): Likewise.
47323         (LEN): Likewise.
47324         [!BZERO_P] (CHR): Likewise.
47325         (memset): Likewise.  Do not use BP_SYM.
47326         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
47327         "bp-asm.h".
47328         (PARMS): Do not use macros from bp-asm.h.
47329         (STR2): Likewise.
47330         (strcmp): Do not use BP_SYM.
47331         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
47332         "bp-asm.h".
47333         (PARMS): Do not use macros from bp-asm.h.
47334         (STR): Likewise.
47335         (DELIM): Likewise.
47336         [USE_AS_STRTOK_R] (SAVE): Likewise.
47337         (FUNCTION): Likewise.  Do not use BP_SYM.
47338         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
47339         aliases.
47340         (strtok_r): Likewise.
47341         (__GI___strtok_r): Likewise.
47342         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47343         (PARMS): Do not use macros from bp-asm.h.
47344         (S): Likewise.
47345         (SIZE): Likewise.
47346         (__mpn_lshift): Do not use BP_SYM.
47347         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47348         (PARMS): Do not use macros from bp-asm.h.
47349         (STR): Likewise.
47350         (CHR): Likewise.
47351         (__memchr): Do not use BP_SYM.
47352         (memchr): Do not use BP_SYM in weak_alias.
47353         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47354         (PARMS): Do not use macros from bp-asm.h.
47355         (BLK2): Likewise.
47356         (LEN): Likewise.
47357         (memcmp): Do not use BP_SYM.
47358         (bcmp): Do not use BP_SYM in weak_alias.
47359         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
47360         (PARMS): Do not use macros from bp-asm.h.
47361         (S1): Likewise.
47362         (SIZE): Likewise.
47363         (__mpn_mul_1): Do not use BP_SYM.
47364         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
47365         "bp-asm.h".
47366         (PARMS): Do not use macros from bp-asm.h.
47367         (STR): Likewise.
47368         (CHR): Likewise.
47369         (__rawmemchr): Do not use BP_SYM.
47370         (rawmemchr): Do not use BP_SYM in weak_alias.
47371         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47372         (PARMS): Do not use macros from bp-asm.h.
47373         (S): Likewise.
47374         (SIZE): Likewise.
47375         (__mpn_rshift): Do not use BP_SYM.
47376         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47377         (PARMS): Do not use macros from bp-asm.h.
47378         (SIGMSK): Likewise.
47379         (__sigsetjmp): Likewise.  Do not use BP_SYM.
47380         * sysdeps/i386/start.S: Do not include "bp-sym.h".
47381         (_start): Do not use BP_SYM.
47382         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
47383         (PARMS): Do not use macros from bp-asm.h.
47384         (DEST): Likewise.
47385         (SRC): Likewise.
47386         (__stpcpy): Likewise.  Do not use BP_SYM.
47387         (stpcpy): Do not use BP_SYM in weak_alias.
47388         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
47389         "bp-asm.h".
47390         (PARMS): Do not use macros from bp-asm.h.
47391         (DEST): Likewise.
47392         (SRC): Likewise.
47393         (LEN): Likewise.
47394         (__stpncpy): Likewise.  Do not use BP_SYM.
47395         (stpncpy): Do not use BP_SYM in weak_alias.
47396         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47397         (PARMS): Do not use macros from bp-asm.h.
47398         (STR): Likewise.
47399         (CHR): Likewise.
47400         (strchr): Likewise.  Do not use BP_SYM.
47401         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
47402         "bp-asm.h".
47403         (PARMS): Do not use macros from bp-asm.h.
47404         (STR): Likewise.
47405         (CHR): Likewise.
47406         (__strchrnul): Likewise.  Do not use BP_SYM.
47407         (strchrnul): Do not use BP_SYM in weak_alias.
47408         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
47409         "bp-asm.h".
47410         (PARMS): Do not use macros from bp-asm.h.
47411         (STOP): Likewise.
47412         (strcspn): Do not use BP_SYM.
47413         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
47414         "bp-asm.h".
47415         (PARMS): Do not use macros from bp-asm.h.
47416         (STR): Likewise.
47417         (STOP): Likewise.
47418         (strpbrk): Likewise.  Do not use BP_SYM.
47419         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
47420         "bp-asm.h".
47421         (PARMS): Do not use macros from bp-asm.h.
47422         (STR): Likewise.
47423         (CHR): Likewise.
47424         (strrchr): Likewise.  Do not use BP_SYM.
47425         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
47426         (PARMS): Do not use macros from bp-asm.h.
47427         (SKIP): Likewise.
47428         (strspn): Do not use BP_SYM.
47429         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
47430         (PARMS): Do not use macros from bp-asm.h.
47431         (STR): Likewise.
47432         (DELIM): Likewise.
47433         (SAVE): Likewise.
47434         (FUNCTION): Likewise.  Do not use BP_SYM.
47435         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
47436         aliases.
47437         (strtok_r): Likewise.
47438         (__GI___strtok_r): Likewise.
47439         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47440         (PARMS): Do not use macros from bp-asm.h.
47441         (S1): Likewise.
47442         (S2): Likewise.
47443         (SIZE): Likewise.
47444         (__mpn_sub_n): Do not use BP_SYM.
47445         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
47446         "bp-asm.h".
47447         (PARMS): Do not use macros from bp-asm.h.
47448         (S1): Likewise.
47449         (SIZE): Likewise.
47450         (__mpn_submul_1): Do not use BP_SYM.
47451         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
47452         <bp-sym.h>.
47453         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
47454         and <bp-asm.h>.
47455         (PARMS): Do not use macros from bp-asm.h.
47456         (FLAGS): Likewise.
47457         (PTID): Likewise.
47458         (TLS): Likewise.
47459         (CTID): Likewise.
47460         (__clone): Do not use BP_SYM.
47461         (clone): Do not use BP_SYM in weak_alias.
47462         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
47463         and <bp-asm.h>.
47464         (PARMS): Do not use macros from bp-asm.h.
47465         (LEN): Likewise.
47466         (__mmap64): Do not use BP_SYM.
47467         (mmap64): Do not use BP_SYM in weak_alias.
47468         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47469         <bp-sym.h> and <bp-asm.h>.
47470         (PARMS): Do not use macros from bp-asm.h.
47471         (__posix_fadvise64_l64): Do not use BP_SYM.
47472         * sysdeps/unix/sysv/linux/i386/semtimedop.S
47473         (PARMS): Do not use macros from bp-asm.h.
47474         (NSOPS): Likewise.
47475         (semtimedop): Do not use BP_SYM.
47476         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
47477         and <bp-asm.h>.
47479 2013-02-21  Allan McRae  <allan@archlinux.org>
47481         * manual/message.texi (Charset conversion in gettext):
47482         Move @end statement to beginning of line.
47484 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47486         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
47487         static.
47488         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47489         Likewise.
47491         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
47492         (denorm): Likewise.
47493         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
47494         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
47496 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47498         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
47499         tail-call to the resolved function if pltexit isn't needed.
47501 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
47504         or Y being zero as being unlikely.
47505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47506         Likewise.
47508 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
47510         * manual/nss.texi (System Databases and Name Service Switch):
47511         Remove frobnicate @pxref.
47513 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47515         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47516         __attribute__ ((unused)) to __attribute__ ((__unused__)).
47518 2013-02-20  Petr Machata  <pmachata@redhat.com>
47520         * elf/elf.h (R_ARM_TARGET1): New macro.
47521         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
47522         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
47523         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
47524         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
47525         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
47526         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
47527         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
47528         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
47529         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
47530         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
47531         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
47532         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
47533         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
47534         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
47535         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
47536         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
47537         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
47538         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
47539         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
47540         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
47541         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
47542         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
47543         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
47544         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
47545         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
47546         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
47547         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
47548         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
47549         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
47550         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
47551         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
47552         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
47553         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
47554         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
47555         (R_ARM_THM_GOT_BREL12): Likewise.
47556         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
47557         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
47558         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
47559         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
47560         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
47561         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
47562         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
47563         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47564         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
47566 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47568         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47569         __attribute_used__ to __attribute__ ((unused)).
47571 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47573         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
47574         powerpc mpa.c.
47575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
47576         comment formatting.
47577         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
47579 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
47581         [BZ #13550]
47582         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
47583         Remove macro.
47584         (ENTER): Remove both macro definitions.
47585         (LEAVE): Likewise.
47586         (CHECK_BOUNDS_LOW): Likewise.
47587         (CHECK_BOUNDS_HIGH): Likewise.
47588         (CHECK_BOUNDS_BOTH): Likewise.
47589         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
47590         (RETURN_BOUNDED_POINTER): Likewise.
47591         (RETURN_NULL_BOUNDED_POINTER): Likewise.
47592         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
47593         (POP_ERRNO_LOCATION_RETURN): Likewise.
47594         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
47595         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47596         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
47597         macros.
47598         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47599         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
47600         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
47601         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
47602         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
47603         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
47604         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
47605         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
47606         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
47607         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
47608         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
47609         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
47610         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47611         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
47612         removed macros.
47613         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47614         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
47615         macros.
47616         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47617         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
47618         * sysdeps/i386/i586/memset.S (memset): Likewise.
47619         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47620         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47621         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47622         macros.
47623         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47624         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47625         Change uses of L(2) to L(out).
47626         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47627         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47628         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47629         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47630         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47631         removed macros.
47632         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47633         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47634         macros.
47635         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47636         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47637         (RETURN): Do not use macro LEAVE.
47638         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47639         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47640         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47641         * sysdeps/i386/i686/memset.S (memset): Likewise.
47642         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47643         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47644         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47645         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47646         Likewise.
47647         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47648         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
47649         L(1_2) and L(1_3) into L(1).
47650         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47651         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47652         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47653         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47654         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47655         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47656         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47657         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47658         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47659         macros.
47660         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47661         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47662         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47663         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47664         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47665         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47666         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47667         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47668         * sysdeps/i386/strcspn.S (strcspn): Likewise.
47669         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47670         * sysdeps/i386/strrchr.S (strrchr): Likewise.
47671         * sysdeps/i386/strspn.S (strspn): Likewise.
47672         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47673         conditional code.
47674         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47675         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47676         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47677         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
47678         L(1_3) into L(1_1).
47679         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47680         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47681         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47682         macros.
47683         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47685 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
47687         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47688         macro.
47690 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47692         * math/atest-exp.c (exp_mpn): Remove ROUND.
47693         * math/atest-exp2.c (exp_mpn): Likewise.
47694         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47696         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47697         * stdlib/tst-tls-atexit-lib.c: Likewise.
47698         * stdlib/tst-tls-atexit.c: Likewise.
47700 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47702         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47703         and __attribute_alloc_size__.
47705 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47707         * include/programs/xmalloc.h: Change __attribute_alloc_size to
47708         __attribute_alloc_size__.
47709         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47710         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47712 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47714         * include/programs/xmalloc.h: New file.
47715         * catgets/gencat.c: Include it.
47716         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47717         * elf/pldd.c: Likewise.
47718         * iconv/iconv_charmap.c: Likewise.
47719         * iconv/iconvconfig.c: Likewise.
47720         * iconv/strtab.c: Likewise.
47721         * locale/programs/locale.c: Likewise.
47722         * locale/programs/localedef.h: Likewise.
47723         * locale/programs/simple-hash.c: Likewise.
47724         * nscd/nscd.h: Likewise.
47725         * nss/makedb.c: Likewise.
47726         * sysdeps/generic/ldconfig.h: Likewise.
47728 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47730         * Versions.def: Add GLIBC_2.18.
47731         * include/link.h (struct link_map): New member l_tls_dtor_count.
47732         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47733         (__call_tls_dtors): Likewise.
47734         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47735         __cxa_thread_atexit_impl.
47736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47737         Likewise.
47738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47739         Likewise.
47740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47741         Likewise.
47742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47743         Likewise.
47744         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47746         Likewise.
47747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47748         Likewise.
47749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47751         Likewise.
47752         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47753         (tests): Add test case tst-tls-atexit.
47754         (modules-names): Add shared library for tst-tls-atexit.
47755         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47756         (GLIBC_PRIVATE): Add __call_tls_dtors.
47757         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47758         for libstdc++.
47759         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47760         * stdlib/tst-tls-atexit.c: New test case.
47761         * stdlib/tst-tls-atexit-lib.c: New test case.
47763         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47765         * elf/Versions (ld): Add _dl_find_dso_for_object.
47766         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47767         * elf/dl-open.c (_dl_find_dso_for_object): New function.
47768         (dl_open_worker): Use _dl_find_dso_for_object.
47769         * elf/dl-sym.c (do_sym): Likewise.
47770         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47772 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47774         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
47775         Syntactic changes only.
47776         (_dl_runtime_profile): Do a tail-call to the resolved function.
47778 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
47780         [BZ #13550]
47781         * sysdeps/x86_64/bp-asm.h: Remove file.
47782         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
47783         <bp-sym.h> and <bp-asm.h>.
47784         (__clone): Do not use BP_SYM.
47785         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
47786         <bp-sym.h> and <bp-asm.h>.
47787         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47788         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
47789         "bp-asm.h".
47790         (_setjmp): Do not use BP_SYM.
47791         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
47792         "bp-asm.h".
47793         (setjmp): Do not use BP_SYM.
47794         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
47795         libc_hidden_def.
47796         (mempcpy): Do not use BP_SYM in weak_alias.
47797         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
47798         "bp-asm.h".
47799         (strchr): Do not use BP_SYM.
47800         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
47801         "bp-asm.h".
47802         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
47803         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
47804         (_start): Do not use BP_SYM.
47805         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
47806         "bp-asm.h".
47807         (strcat): Do not use BP_SYM.
47808         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47809         "bp-asm.h".
47810         (STRCMP): Do not use BP_SYM.
47811         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
47812         "bp-asm.h".
47813         (STRCPY): Do not use BP_SYM.
47814         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
47815         "bp-asm.h".
47816         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
47817         "bp-asm.h".
47818         (FUNCTION): Do not use BP_SYM.
47819         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
47820         weak_alias.
47821         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
47823 2013-02-17  Andreas Jaeger  <aj@suse.de>
47825         * time/Versions: Sort entries.
47826         * string/Versions: Likewise.
47827         * resolv/Versions: Likewise.
47828         * posix/Versions: Likewise.
47829         * iconv/Versions: Likewise.
47830         * elf/Versions: Likewise.
47831         * wcsmbs/Versions: Likewise.
47833 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47835         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
47836         loop termination condition.
47838         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
47839         variable to calculate EZ.
47840         (__sqr): Likewise.
47842         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
47843         the lower precision input.
47845 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
47847         [BZ #13550]
47848         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
47849         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
47850         (run-via-rtld-prefix): Do not handle %-bp tests.
47851         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
47852         (all-object-suffixes): Remove .ob.
47853         (bppfx): Remove variable.
47854         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
47855         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
47856         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
47857         [$(build-bounded) = yes] (libtype.ob): Likewise.
47858         * Makerules (elide-routines.ob): Remove variable.
47859         (do-tests-clean): Do not handle *-bp.out.
47860         (common-mostlyclean): Do not handle *-bp and *-bp.out.
47861         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
47862         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
47863         (tests): Do not include $(tests-bp.out).
47864         (xtests): Do not include $(xtests-bp.out).
47865         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
47866         [$(build-bounded) = yes] ($(addprefix
47867         $(objpfx),$(binaries-bounded))): Remove rule.
47868         ($(objpfx)%-bp.out): Remove rule.
47869         * config.make.in (build-bounded): Remove variable.
47870         * crypt/Makefile [$(build-bounded) = yes]
47871         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
47872         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
47873         append to variable.
47874         [$(build-bounded) = yes] (install-lib): Likewise.
47875         [$(build-bounded) = yes] (generated): Likewise.
47876         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
47877         Remove rule.
47878         * intl/Makefile [$(build-bounded) = yes]
47879         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
47880         * math/Makefile [$(build-bounded) = yes]
47881         ($(tests:%=$(objpfx)%-bp): Likewise.
47882         * misc/Makefile [$(build-bounded) = yes]
47883         ($(objpfx)tst-tsearch-bp): Likewise.
47884         * nptl/Makeconfig (bounded-thread-library): Remove variable.
47885         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
47886         Remove dependency.
47887         * string/Makefile (o-objects.ob): Remove variable.
47888         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
47889         (CFLAGS-.ob): Remove variable.
47890         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
47891         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
47892         both definitions of variable.
47893         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
47894         (ASFLAGS-.ob): Remove variable.
47896 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
47898         [BZ #13550]
47899         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
47900         Remove __BOUNDED_POINTERS__ from condition.
47901         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
47902         * string/bits/string2.h [!__NO_STRING_INLINES &&
47903         !__BOUNDED_POINTERS__]: Likewise.
47904         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
47905         Likewise.
47906         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
47907         Remove conditional code.
47908         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
47909         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
47910         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
47911         condition.
47913         [BZ #13550]
47914         * csu/libc-start.c: Do not include <bp-sym.h>.
47915         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
47916         * elf/dl-open.c: Do not include <bp-sym.h>.
47917         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
47918         * math/fegetenv.c: Do not include <bp-sym.h>.
47919         (fegetenv): Do not use BP_SYM in versioned symbols.
47920         * nptl/sysdeps/pthread/bits/libc-lockP.h
47921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
47922         <bp-sym.h>.
47923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47924         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
47925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47926         (__pthread_mutex_destroy): Likewise.
47927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47928         (__pthread_mutex_lock): Likewise.
47929         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47930         (__pthread_mutex_trylock): Likewise.
47931         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47932         (__pthread_mutex_unlock): Likewise.
47933         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47934         (__pthread_mutexattr_init): Likewise.
47935         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47936         (__pthread_mutexattr_destroy): Likewise.
47937         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47938         (__pthread_mutexattr_settype): Likewise.
47939         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47940         (__pthread_rwlock_init): Likewise.
47941         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47942         (__pthread_rwlock_destroy): Likewise.
47943         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47944         (__pthread_rwlock_rdlock): Likewise.
47945         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47946         (__pthread_rwlock_tryrdlock): Likewise.
47947         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47948         (__pthread_rwlock_wrlock): Likewise.
47949         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47950         (__pthread_rwlock_trywrlock): Likewise.
47951         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47952         (__pthread_rwlock_unlock): Likewise.
47953         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47954         (__pthread_key_create): Likewise.
47955         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47956         (__pthread_setspecific): Likewise.
47957         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47958         (__pthread_getspecific): Likewise.
47959         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
47960         Likewise.
47961         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47962         (_pthread_cleanup_push_defer): Likewise.
47963         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47964         (_pthread_cleanup_pop_restore): Likewise.
47965         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47966         (pthread_setcancelstate): Likewise.
47967         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
47968         <bp-sym.h>.
47969         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
47970         (memchr): Do not use BP_SYM in weak_alias.
47971         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
47972         (fegetenv): Do not use BP_SYM in versioned symbols.
47973         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
47974         (fesetenv): Do not use BP_SYM in versioned symbols.
47975         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47976         (feupdateenv): Do not use BP_SYM in versioned symbols.
47977         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47978         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47979         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
47980         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
47981         (open64): Do not use BP_SYM in weak_alias.
47982         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
47983         (fegetenv): Do not use BP_SYM in versioned symbols.
47984         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
47985         (fesetenv): Do not use BP_SYM in versioned symbols.
47986         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47987         (feupdateenv): Do not use BP_SYM in versioned symbols.
47988         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
47989         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
47990         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
47991         (feraiseexcept): Do not use BP_SYM in versioned symbols.
47992         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47993         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47994         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
47995         <bp-sym.h>.
47996         (__libc_start_main): Do not use BP_SYM.
47998 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48000         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
48001         redundant return line.
48002         (norm): Likewise.
48003         (denorm): Likewise.
48004         (dbl_mp): Likewise.
48005         (sub_magnitudes): Likewise.
48006         (__add): Likewise.
48007         (__sub): Likewise.
48008         (__mul): Likewise.
48009         (__inv): Likewise.
48010         (__dvd): Likewise.
48011         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
48012         (norm): Likewise.
48013         (denorm): Likewise.
48014         (dbl_mp): Likewise.
48015         (sub_magnitudes): Likewise.
48016         (__add): Likewise.
48017         (__sub): Likewise.
48018         (__mul): Likewise.
48019         (__inv): Likewise.
48020         (__dvd): Likewise.
48022         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
48023         instead of __mul.
48024         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48025         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
48026         (cc32): Likewise.
48028         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
48029         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
48030         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
48031         of __mul for squares.
48032         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
48033         function
48034         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
48035         Likewise.
48036         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
48037         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48039 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
48041         [BZ #13550]
48042         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
48043         code.
48044         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
48045         prototype or function definition.  Rename ubp_* variables and
48046         parameters.  Remove argv definitions conditional on
48047         [__BOUNDED_POINTERS__].
48048         * debug/backtrace.c (__backtrace): Do not use __unbounded.
48049         * elf/dl-runtime.c (_dl_fixup): Likewise.
48050         * include/set-hooks.h (RUN_HOOK): Likewise.
48051         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
48052         definition.
48053         * string/strcpy.c (strcpy): Do not use __unbounded.
48054         * sysdeps/generic/frame.h (struct layout): Likewise.
48055         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
48056         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
48057         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
48058         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
48059         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
48060         (__backtrace): Likewise.
48061         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
48062         use __ptrvalue.
48063         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
48064         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48065         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
48066         Likewise.
48067         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
48068         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
48069         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48070         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48071         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
48072         Do not use __unbounded.
48073         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
48074         Rename __unboundedrlimits parameter to rlimits in prototype.
48075         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
48076         Do not use __unbounded.
48077         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
48078         not use __ptrvalue.
48079         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48080         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
48081         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48082         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
48083         __ptrvalue or __unbounded.
48084         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
48085         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
48086         use __unbounded.
48087         (__new_msgctl): Do not use __ptrvalue.
48088         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
48089         __unbounded.
48090         (__libc_msgrcv): Do not use __ptrvalue.
48091         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
48092         startup_info): Do not use __unbounded.
48093         (__libc_start_main): Likewise.  Rename ubp_* variables and
48094         parameters.  Remove argv definitions conditional on
48095         [__BOUNDED_POINTERS__].
48096         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
48097         __ptrvalue.
48098         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
48099         use __unbounded.
48100         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
48101         or __ptrvalue.
48102         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
48103         use __unbounded.
48104         (__new_shmctl): Do not use __ptrvalue.
48105         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
48106         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
48107         Likewise.
48108         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
48109         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
48110         (__libc_sigaction): Likewise.
48111         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
48112         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
48113         Likewise.
48114         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48116 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
48118         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
48120         * string/mempcpy.c: Implement by calling memcpy.
48122 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48124         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
48126         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
48127         evaluation.
48129         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
48130         values in the mantissa.
48132         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
48133         minimize writes to Z.
48134         (sub_magnitudes): Simplify code a bit.
48136 2013-02-12  Roland McGrath  <roland@hack.frob.com>
48138         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
48139         from the message.  The linker prefixes all warnings with that already.
48141 2013-02-12  Andreas Schwab  <schwab@suse.de>
48143         [BZ #15078]
48144         * posix/regexec.c (extend_buffers): Add parameter min_len.
48145         (check_matching): Pass minimum needed length.
48146         (clean_state_log_if_needed): Likewise.
48147         (get_subexp): Likewise.
48148         * posix/Makefile (tests): Add bug-regex34.
48149         (bug-regex34-ENV): Define.
48150         * posix/bug-regex34.c: New file.
48152         [BZ #11561]
48153         * posix/regcomp.c (parse_bracket_exp): When looking up collating
48154         elements compare against the byte sequence of it, not its name.
48155         * posix/Makefile (tests): Add bug-regex35.
48156         (bug-regex35-ENV): Define.
48157         * posix/bug-regex35.c: New file.
48159 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48161         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
48162         comment.
48163         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
48164         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
48165         (CHECK_EOL): Add undef.
48167 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
48169         * bits/stdlib-bsearch.h: New file.
48170         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
48171         * stdlib/stdlib.h: Likewise.
48173 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48175         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
48176         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
48177         declaration.
48178         * manual/search.texi (Array Search Function): Add missing const in
48179         lfind prototype.
48180         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
48181         declaration to use rlim_t.
48182         (Basic Scheduling Functions): Remove erroneous const from
48183         sched_getparam prototype.  Remove erroneous * from
48184         sched_get_priority_max and sched_get_priority_min prototypes.
48185         (Resource Usage): Fix summary @comment on vtimes to refer to
48186         sys/vtimes.h rather than vtimes.h.
48187         Add missing *s in vtimes prototype.
48188         (Limits on Resources): Fix ulimit prototype to return long int.
48189         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
48190         prototypes to use long int rather than double.
48191         (BSD Random): Fix initstate and setstate to use char *, not void *.
48192         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
48193         prototype to make second argument 'struct aiocb64 *const[]'.
48194         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
48195         (Status of AIO Operations): Remove erroneous const in aio_return and
48196         aio_return64 prototypes.
48197         (Synchronizing I/O): Fix sync prototype to return void.
48198         * manual/startup.texi (Suboptions): Remove an erroneous const in
48199         getsubopt prototype.
48200         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
48201         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
48202         use size_t rather than int.
48203         (Scanning All Users): Likewise for getpwent_r.
48204         (Setting Groups): Add missing const to setgroups prototype.
48205         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
48206         * manual/socket.texi (Host Names): Fix gethostbyaddr and
48207         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
48208         'const void *' rather than 'const char *'.
48209         (Host Address Functions): Likewise for inet_ntop.
48210         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
48211         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
48212         ssize_t for return value.
48213         (Sending Data): Likewise for send, sendto, sendmsg.
48214         (Socket Option Functions): Add a missing const in setsockopt prototype.
48215         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
48216         use wchar_t for the argument.
48217         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
48218         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
48219         take no arguments.
48220         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
48221         double/float/long double for second argument.
48222         Fix return types of significand, significandf, significandl.
48223         * manual/filesys.texi (Setting Permissions): Use mode_t for second
48224         argument in fchmod prototype.
48225         (File Owner): Use uid_t and gid_t in fchown prototype.
48226         (File Times): Add const to utimes, futimes, and lutimes prototypes.
48227         (Making Special Files): Use mode_t and dev_t in mknod prototype.
48228         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
48229         use 'const struct dirent **' as argument types to CMP function pointer
48230         argument.
48231         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
48232         (File Times): Fix summary magic @comment for struct utimbuf and utime
48233         to refer to utime.h, not time.h.
48234         * manual/string.texi (Argz Functions): Add missing const in
48235         argz_extract and argz_next prototypes.
48236         (Finding Tokens in a String): Likewise for basename.
48237         (String/Array Comparison): Fix typo in wcscasecmp prototype.
48238         (Copying and Concatenation): Fix typo in wmemmove prototype.
48239         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
48240         (Signal Stack): Remove erroneous const in sigstack prototype.
48241         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
48242         prototype.
48243         (Simple Calendar Time): Likewise for stime.
48244         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
48245         prototype.
48246         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
48247         say sys/sysctl.h instead.
48248         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
48249         and vsyslog prototypes.
48251 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48253         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
48254         Remove.
48256 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48258         * misc/sys/mman.h: Fix typo in mremap comment.
48260 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48262         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
48263         the '\0' terminator.
48265 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48267         [BZ #13550]
48268         * debug/segfault.c: Don't include <bp-checks.h>.
48269         * sysdeps/generic/bp-checks.h: Remove file.
48270         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
48271         (__GETDENTS): Don't use CHECK_N.
48272         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
48273         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
48274         (__getgroups): Don't use CHECK_N.
48275         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
48276         (setgroups): Don't use CHECK_N.
48277         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
48278         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
48279         (__libc_msgrcv): Don't use CHECK_N.
48280         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
48281         (__libc_msgsnd): Don't use CHECK_N.
48282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
48283         <bp-checks.h>.
48284         (__libc_pread): Don't use CHECK_N.
48285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
48286         include <bp-checks.h>.
48287         (__libc_pread64): Don't use CHECK_N.
48288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
48289         include <bp-checks.h>.
48290         (__libc_pwrite): Don't use CHECK_N.
48291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
48292         include <bp-checks.h>.
48293         (__libc_pwrite64): Don't use CHECK_N.
48294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
48295         <bp-checks.h>.
48296         (__libc_pread): Don't use CHECK_N.
48297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
48298         include <bp-checks.h>.
48299         (__libc_pread64): Don't use CHECK_N.
48300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
48301         include <bp-checks.h>.
48302         (__libc_pwrite): Don't use CHECK_N.
48303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
48304         include <bp-checks.h>.
48305         (__libc_pwrite64): Don't use CHECK_N.
48306         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
48307         (do_pread): Don't use CHECK_N.
48308         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
48309         (do_pread64): Don't use CHECK_N.
48310         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
48311         (do_pwrite): Don't use CHECK_N.
48312         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
48313         (do_pwrite64): Don't use CHECK_N.
48314         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
48315         (__libc_readv): Don't use CHECK_N.
48316         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
48317         (semop): Don't use CHECK_N.
48318         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
48319         <bp-checks.h>.
48320         (semtimedop): Don't use CHECK_N.
48321         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
48322         (__libc_pread): Don't use CHECK_N.
48323         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
48324         <bp-checks.h>.
48325         (__libc_pread64): Don't use CHECK_N.
48326         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
48327         <bp-checks.h>.
48328         (__libc_pwrite): Don't use CHECK_N.
48329         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
48330         <bp-checks.h>.
48331         (__libc_pwrite64): Don't use CHECK_N.
48332         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
48333         <bp-checks.h>.
48334         (__libc_msgrcv): Don't use CHECK_N.
48335         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
48336         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
48337         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
48338         (__libc_writev): Don't use CHECK_N.
48340 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48342         * string/strcpy.c: Removed unused variable.
48344         * Makeconfig (+sysdep-includes): Define with := rather than =.
48345         Use an existing include/ subdir of each sysdeps dir before it.
48347 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48349         * nscd/connection.c (register_traced_file): Comment function.
48350         [HAVE_INOTIFY] (union __inev): Define.
48351         [HAVE_INOTIFY] (inotify_check_files): New function.
48352         [HAVE_INOTIFY] (clear_db_cache): Likewise.
48353         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
48354         clear_db_cache.
48355         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
48357 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48359         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
48360         loaded if not already and that a failure is permanent.
48362 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48364         [BZ #15006]
48365         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
48366         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
48368 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48370         [BZ #13550]
48371         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
48372         (CHECK_1_NULL_OK): Likewise.
48373         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
48374         (__fxstat): Do not use CHECK_1.
48375         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
48376         <bp-checks.h>.
48377         (___fxstat64): Do not use CHECK_1.
48378         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48379         <bp-checks.h>.
48380         (__fxstatat): Do not use CHECK_1.
48381         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48382         <bp-checks.h>.
48383         (__fxstatat64): Do not use CHECK_1.
48384         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
48385         <bp-checks.h>.
48386         (__fxstat): Do not use CHECK_1.
48387         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48388         <bp-checks.h>.
48389         (__fxstatat): Do not use CHECK_1.
48390         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48391         <bp-checks.h>.
48392         (__getresgid): Do not use CHECK_1.
48393         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48394         <bp-checks.h>.
48395         (__getresuid): Do not use CHECK_1.
48396         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
48397         <bp-checks.h>.
48398         (__lxstat): Do not use CHECK_1.
48399         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48400         <bp-checks.h>.
48401         (__old_msgctl): Do not use CHECK_1.
48402         (__new_msgctl): Likewise.
48403         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
48404         <bp-checks.h>.
48405         (__new_setrlimit): Do not use CHECK_1.
48406         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48407         <bp-checks.h>.
48408         (__old_shmctl): Do not use CHECK_1.
48409         (__new_shmctl): Likewise.
48410         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
48411         <bp-checks.h>.
48412         (__xstat): Do not use CHECK_1.
48413         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
48414         (__lxstat): Do not use CHECK_1.
48415         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
48416         <bp-checks.h>.
48417         (___lxstat64): Do not use CHECK_1.
48418         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
48419         (__old_msgctl): Do not use CHECK_1.
48420         (__new_msgctl): Likewise.
48421         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
48422         <bp-checks.h>.
48423         (__gettimeofday): Do not use CHECK_1.
48424         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
48425         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
48426         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
48427         <bp-checks.h>.
48428         (__gettimeofday): Do not use CHECK_1.
48429         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
48430         (__old_shmctl): Do not use CHECK_1_NULL_OK.
48431         (__new_shmctl): Do not use CHECK_1.
48432         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
48433         <bp-checks.h>.
48434         (do_sigtimedwait): Do not use CHECK_1.
48435         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
48436         <bp-checks.h>.
48437         (do_sigwaitinfo): Do not use CHECK_1.
48438         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
48439         <bp-checks.h>.
48440         (msgctl): Do not use CHECK_1.
48441         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
48442         <bp-checks.h>.
48443         (shmctl): Do not use CHECK_1.
48444         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
48445         (ustat): Do not use CHECK_1.
48446         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
48447         <bp-checks.h>.
48448         (__fxstat): Do not use CHECK_1.
48449         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48450         <bp-checks.h>.
48451         (__fxstatat): Do not use CHECK_1.
48452         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
48453         <bp-checks.h>.
48454         (__lxstat): Do not use CHECK_1.
48455         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
48456         <bp-checks.h>.
48457         (__xstat): Do not use CHECK_1.
48458         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
48459         (__xstat): Do not use CHECK_1.
48460         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
48461         (___xstat64): Do not use CHECK_1.
48463         [BZ #13550]
48464         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
48465         definitions.
48466         (CHECK_BOUNDS_HIGH): Likewise.
48467         * string/strcpy.c: Do not include <bp-checks.h>.
48468         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
48470 2013-02-07  Roland McGrath  <roland@hack.frob.com>
48472         * nscd/nscd-client.h (__nscd_drop_map_ref):
48473         Add __attribute__ ((unused)).
48474         * nis/nss-nisplus.h (niserr2nss): Likewise.
48476         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
48477         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
48479         * csu/libc-tls.c (init_static_tls, init_slotinfo):
48480         Remove inline keyword.
48481         * include/rounding-mode.h (round_away): Likewise.
48482         * libio/wfileops.c (adjust_wide_data): Likewise.
48483         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
48484         (__m128i_strloadu_tolower): Likewise.
48485         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
48486         (__m128i_strloadu_tolower): Likewise.
48487         * time/mktime.c (ydhms_diff): Likewise.
48488         * locale/elem-hash.h (elem_hash): Likewise.
48489         * locale/setlocale.c (setdata): Likewise.
48490         * posix/regex_internal.h (re_string_char_size_at): Likewise.
48491         (re_string_wchar_at): Likewise.
48492         (bitset_not, bitset_merge, bitset_mask): Likewise.
48493         [!(__GNUC__ > 3)] (inline): Remove macro.
48494         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
48495         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
48496         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
48497         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
48498         * string/memcmp.c (memcmp_bytes): Likewise.
48499         * locale/programs/locarchive.c (compute_hashval): Likewise.
48500         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
48501         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
48502         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
48503         * nss/getent.c (print_rpc, print_protocols): Likewise.
48504         (print_passwd, print_group, print_aliases): Likewise.
48505         * nis/nss-nisplus.h (niserr2nss): Likewise.
48506         * nscd/connections.c (restart_p): Likewise.
48507         Change return type to bool.
48509 2013-02-05  Roland McGrath  <roland@hack.frob.com>
48511         * Makeconfig (all-Depend-files): Add existing
48512         $(sorted-subdirs:=/Depend) files.
48513         (all-subdirs): Remove nss.
48514         * sysdeps/unix/inet/Subdirs: Add it here instead.
48515         * hesiod/Depend: New file.
48517         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
48518         instead of calling alloca.
48520         * io/lseek.c (__lseek): Rename to __libc_lseek.
48521         Define __lseek as an alias.
48523         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
48525 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
48527         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
48528         else clause and remove check for non-standard endianness.
48530 2013-02-04  David S. Miller  <davem@davemloft.net>
48532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48534 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
48536         [BZ #13550]
48537         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
48538         (__ubp_memchr): Remove prototype.
48539         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
48540         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48541         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
48542         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48543         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
48544         Remove alias.
48545         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
48546         (__ubp_memchr): Likewise.
48547         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
48548         (__ubp_memchr): Likewise.
48549         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
48550         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
48551         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
48552         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
48553         CHECK_STRING.
48554         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48555         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
48556         (__getcwd): Do not use CHECK_STRING.
48557         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48558         <bp-checks.h>.
48559         (__real_chown): Do not use CHECK_STRING.
48560         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
48561         <bp-checks.h>.
48562         (fchownat): Do not use CHECK_STRING.
48563         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
48564         CHECK_STRING.
48565         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48566         <bp-checks.h>.
48567         (__lchown): Do not use CHECK_STRING.
48568         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48569         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48570         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48571         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
48572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48573         include <bp-checks.h>.
48574         (truncate64): Do not use CHECK_STRING.
48575         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48576         <bp-checks.h>.
48577         (__real_chown): Do not use CHECK_STRING.
48578         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48579         <bp-checks.h>.
48580         (__lchown): Do not use CHECK_STRING.
48581         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48582         <bp-checks.h>.
48583         (__chown): Do not use CHECK_STRING.
48584         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
48585         <bp-checks.h>.
48586         (truncate64): Do not use CHECK_STRING.
48587         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
48588         Likewise.
48589         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
48590         (__xmknod): Do not use CHECK_STRING.
48591         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48592         <bp-checks.h>.
48593         (__xmknodat): Do not use CHECK_STRING.
48594         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48595         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
48597 2013-02-04  Andreas Schwab  <schwab@suse.de>
48599         [BZ #14142]
48600         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
48601         * include/netdb.h: Likewise for h_errno.
48602         * elf/tst-stackguard1.c: Include <tls.h>.
48604 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
48606         * elf/link.h (struct link_map): Extend the l_addr comment.
48607         * include/link.h (struct link_map): Likewise.
48609 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
48611         [BZ #13550]
48612         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
48613         (BOUNDED_1): Remove macro.
48614         * debug/backtrace.c: Don't include <bp-checks.h>.
48615         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
48616         (__backtrace): Likewise.
48617         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
48618         <bp-checks.h>.
48619         (__backtrace): Don't use BOUNDED_1.
48620         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48621         <bp-checks.h>.
48622         (__backtrace): Don't use BOUNDED_1.
48623         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48624         (__backtrace): Don't use BOUNDED_1.
48625         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48626         (shmat): Don't use BOUNDED_N.
48628 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
48630         [BZ #13550]
48631         * sysdeps/generic/bp-start.h: Remove file.
48632         * csu/libc-start.c: Don't include <bp-start.h>.
48633         (LIBC_START_MAIN): Set up __environ directly instead of using
48634         INIT_ARGV_and_ENVIRON.
48635         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48636         <bp-start.h>.
48638         [BZ #13550]
48639         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48640         definitions.
48641         (CHECK_FCNTL): Likewise.
48642         (CHECK_N_PAGES): Likewise.
48644         [BZ #13550]
48645         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48646         definitions.
48647         (CHECK_SIGSET_NULL_OK): Likewise.
48648         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48649         <bp-checks.h>.
48650         (sigpending): Don't use CHECK_SIGSET.
48651         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48652         <bp-checks.h>.
48653         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48654         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48655         <bp-checks.h>.
48656         (do_sigsuspend): Don't use CHECK_SIGSET.
48657         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48658         use CHECK_SIGSET.
48659         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48660         (do_sigwait): Don't use CHECK_SIGSET.
48661         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48662         use CHECK_SIGSET.
48663         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48664         include <bp-checks.h>.
48665         (sigpending): Don't use CHECK_SIGSET.
48666         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48667         include <bp-checks.h>.
48668         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48669         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48670         <bp-checks.h>.
48671         (sigpending): Don't use CHECK_SIGSET.
48672         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48673         <bp-checks.h>.
48674         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48676         [BZ #13550]
48677         * sysdeps/generic/bp-semctl.h: Remove file.
48678         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48679         <bp-checks.h> and <bp-semctl.h>.
48680         (__old_semctl): Don't use CHECK_SEMCTL.
48681         (__new_semctl): Likewise.
48682         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48683         and <bp-semctl.h>.
48684         (__old_semctl): Don't use CHECK_SEMCTL.
48685         (__new_semctl): Likewise.
48686         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48687         <bp-checks.h> and <bp-semctl.h>.
48688         (__old_semctl): Don't use CHECK_SEMCTL.
48689         (__new_semctl): Likewise.
48690         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48691         <bp-checks.h> and <bp-semctl.h>.
48692         (semctl): Don't use CHECK_SEMCTL.
48694         [BZ #13550]
48695         * Makerules (elide-bp-thunks): Remove variable.
48696         (elide-routines.oS): Don't use $(elide-bp-thunks).
48697         (elide-routines.os): Likewise.
48698         (elide-routines.o): Likewise.
48699         (elide-routines.op): Likewise.
48700         (elide-routines.og): Likewise.
48701         (objects): Don't use $(bp-thunks).
48702         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48703         include.
48704         (common-generated): Do not add s-proto-bp.d.
48705         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48706         (int): Likewise.
48707         (typ): Likewise.
48708         Do not generate makefile rules for bounded-pointer thunks.
48709         * sysdeps/generic/bp-thunks.h: Remove file.
48710         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48711         * sysdeps/unix/s-proto-bp.S: Likewise.
48713         [BZ #15062]
48714         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48715         parts of result separately when argument is not close to line from
48716         -i to i and one part of argument is small.
48717         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48718         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48719         * math/libm-test.inc (cacos_test): Add more tests.
48720         (casin_test): Likewise.
48721         (casinh_test): Likewise.
48722         * sysdeps/i386/fpu/libm-test-ulps: Update.
48723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48725 2013-01-31  David S. Miller  <davem@davemloft.net>
48727         * po/de.po: Update from translation team.
48729 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
48731         * time/tzfile.c: Include stdint.h for SIZE_MAX.
48733 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
48735         * configure.in (_AC_PROG_CC_C89): New definition.
48736         * configure: Regenerate.
48738         * configure.in (AC_PROG_CPP): New definition.
48739         * configure: Regenerate.
48741 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48743         * debug/tst-backtrace.h: New file.
48744         * debug/tst-backtrace2.c: Include tst-backtrace.h.
48745         (ret): Remove variable.
48746         (x): Likewise.
48747         (FAIL): Remove macro.
48748         (NO_INLINE): Likewise.
48749         (fn1): Use match function instead of strstr.
48750         * debug/tst-backtrace3.c: Include tst-backtrace.h.
48751         (ret): Remove variable.
48752         (x): Likewise.
48753         (FAIL): Remove macro.
48754         (NO_INLINE): Likewise.
48755         (fn): Use match function instead of strstr.
48756         * debug/tst-backtrace4.c: Include tst-backtrace.h.
48757         (ret): Remove variable.
48758         (x): Likewise.
48759         (FAIL): Remove macro.
48760         (NO_INLINE): Likewise.
48761         (handle_signal): Use match function instead of strstr.
48762         * debug/tst-backtrace5.c: Include tst-backtrace.h.
48763         (ret): Remove variable.
48764         (x): Likewise.
48765         (FAIL): Remove macro.
48766         (NO_INLINE): Likewise.
48767         (handle_signal): Use match function instead of strstr.
48769 2013-01-23  Roland McGrath  <roland@hack.frob.com>
48771         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48773 2013-01-23  David S. Miller  <davem@davemloft.net>
48775         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
48776         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
48777         argument of CAS if possible.
48778         * sysdeps/sparc/sparc64/bits/atomic.h
48779         (__arch_compare_and_exchange_val_32_acq): Likewise.
48780         (__arch_compare_and_exchange_val_64_acq): Likewise.
48782 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
48784         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
48785         * sysdeps/posix/ulimit.c: ... this.
48786         Include <limits.h>.
48787         * sysdeps/unix/bsd/ulimit.c: Remove file.
48789 2013-01-23  Adam Conrad  <adconrad@0c3.net>
48791         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
48792         (LDFLAGS-tst-array5): Likewise.
48794 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48796         [BZ #15036]
48797         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
48798         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
48799         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
48800         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
48802 2013-01-21  David S. Miller  <davem@davemloft.net>
48804         * sysdeps/sparc/backtrace.c: New file.
48805         * sysdeps/sparc/sparc32/backtrace.h: New file.
48806         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
48807         * sysdeps/sparc/sparc64/backtrace.h: New file.
48808         * sysdeps/sparc/sparc64/backtrace.c: Delete.
48809         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
48810         -funwind-tables.
48812 2013-01-21  Andreas Schwab  <schwab@suse.de>
48814         [BZ #15020]
48815         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
48816         closed its stdout.
48818 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
48820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
48821         "mpa2.h".
48822         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48824 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
48825             Mark Mitchell  <mark@codesourcery.com>
48826             Tom de Vries  <tom@codesourcery.com>
48827             Paul Pluzhnikov  <ppluzhnikov@google.com>
48829         * debug/tst-backtrace2.c: New file.
48830         * debug/tst-backtrace3.c: Likewise.
48831         * debug/tst-backtrace4.c: Likewise.
48832         * debug/tst-backtrace5.c: Likewise.
48833         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
48834         (CFLAGS-tst-backtrace3.c): Likewise.
48835         (CFLAGS-tst-backtrace4.c): Likewise.
48836         (CFLAGS-tst-backtrace5.c): Likewise.
48837         (LDFLAGS-tst-backtrace2): Likewise.
48838         (LDFLAGS-tst-backtrace3): Likewise.
48839         (LDFLAGS-tst-backtrace4): Likewise.
48840         (LDFLAGS-tst-backtrace5): Likewise.
48841         (tests): Add new tests tst-backtrace2, tst-backtrace3,
48842         tst-backtrace4 and tst-backtrace5.
48844 2013-01-18  Anton Blanchard  <anton@samba.org>
48845             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48847         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
48848         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48849         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
48850         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
48851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48852         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
48853         "+r" and remove output regs list as redundant.  Add explicit inline
48854         asm to specify register of return val to work around compiler codegen
48855         bug.  Remove (int) cast on return value.  Add return type parameter to
48856         use in macro so that this macro does not truncate return value for
48857         64-bit values.
48858         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48859         pass to INTERNAL_VSYSCALL_NCS.
48860         (INLINE_VSYSCALL): Add 'long int' as return type to
48861         INTERNAL_VSYSCALL_NCS macro invocation.
48862         (INTERNAL_VSYSCALL): Add 'long int' as return type to
48863         INTERNAL_VSYSCALL_NCS macro invocation.
48864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48866 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48868         [BZ #14496]
48869         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
48870         Fix application of SIMD FP exception mask.
48872         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
48873         mp_no from a power of two.
48874         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
48875         __mpexp_twomm1.  Use __pow_mp.
48877         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
48878         multiplication.
48880 2013-01-17  David S. Miller  <davem@davemloft.net>
48882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48884 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48886         [BZ #15023]
48887         * include/complex.h: Condition contents on [!_COMPLEX_H].
48888         (__kernel_casinhf): New prototype.
48889         (__kernel_casinh): Likewise.
48890         (__kernel_casinhl): Likewise.
48891         * math/Makefile (libm_calls): Add k_casinh.
48892         * math/k_casinh.c: New file.
48893         * math/k_casinhf.c: Likewise.
48894         * math/k_casinhl.c: Likewise.
48895         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
48896         finite nonzero arguments.
48897         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
48898         finite nonzero arguments.
48899         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
48900         finite nonzero arguments.
48901         * math/s_casinh.c: Do not include <float.h>.
48902         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
48903         * math/s_casinhf.c: Do not include <float.h>.
48904         (__casinhf): Move code for finite nonzero arguments to
48905         k_casinhf.c.
48906         * math/s_casinhl.c: Do not include <float.h>.
48907         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
48908         redefine.
48909         (__casinhl): Move code for finite nonzero arguments to
48910         k_casinhl.c.
48911         * math/libm-test.inc (cacos_test): Add more tests.
48912         * sysdeps/i386/fpu/libm-test-ulps: Update.
48913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48915 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
48917         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
48918         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
48919         [!HAVE_MREMAP]: Remove [defined linux] case.
48920         * malloc/arena.c: Do not include <malloc-sysdep.h>.
48922 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48924         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
48926 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
48928         * elf/elf.h (R_386_SIZE32): New relocation.
48929         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
48930         R_386_SIZE32.
48931         (elf_machine_rela): Likewise.
48932         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48933         R_X86_64_SIZE64 and R_X86_64_SIZE32.
48935 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48937         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
48938         (FP_FAST_FMA): Do not define.
48939         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
48940         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
48941         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
48942         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
48943         !_SOFT_FLOAT]: Likewise.
48944         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
48945         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
48946         value.
48947         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
48948         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
48949         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
48950         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
48951         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
48952         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
48953         file.
48955 2013-01-16  Andreas Schwab  <schwab@suse.de>
48957         [BZ #14327]
48958         * include/stdlib.h (__mktemp): Add declaration.
48959         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
48960         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
48962 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48964         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
48965         definitions.
48966         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48967         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
48968         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48969         definitions here.
48970         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
48971         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
48972         definitions.
48973         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
48974         and ONE.
48975         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
48976         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
48977         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
48978         definitions.
48979         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
48980         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
48981         definitions.
48982         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48984         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
48986 2013-01-15  David S. Miller  <davem@davemloft.net>
48988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48989         trunc{,f} to libm-sysdep_routes.
48990         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
48992         file.
48993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
48994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
48995         file.
48996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
48997         file.
48998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
48999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
49000         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
49001         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
49002         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
49003         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
49004         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
49005         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
49007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49008         nearbyint{,f} to libm-sysdep_routes.
49009         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
49011         New file.
49012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
49013         file.
49014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
49015         New file.
49016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
49017         file.
49018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
49019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
49020         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
49021         file.
49022         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
49023         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
49024         file.
49025         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
49026         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
49027         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
49029         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49030         libc_feholdexcept and libc_fesetenv.
49032 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
49034         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
49036 2013-01-14  David S. Miller  <davem@davemloft.net>
49038         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
49039         (SPARC_ASM_VIS2_IFUNC): Likewise.
49040         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
49041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
49042         use of 'siam' instruction.
49043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
49044         Likewise.
49045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
49046         Likewise.
49047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
49048         Likewise.
49049         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
49050         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
49051         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
49052         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
49053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
49054         file.
49055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
49056         file.
49057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
49058         file.
49059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
49060         file.
49061         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
49062         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
49063         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
49064         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
49065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
49066         new VIS2 routines.
49067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49070         Likewise.
49071         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49072         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49073         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49074         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
49076         routines to libm-sysdep_routines.
49077         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49080         fdim/fdimf to libm-sysdep_routines.
49081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
49082         file.
49083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
49084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
49085         file.
49086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
49087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
49088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
49089         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
49090         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
49091         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
49092         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
49094 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49096         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
49097         to optimize copies.
49099         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
49100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49103         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
49104         local variable MPTWO.
49105         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49106         Likewise.
49108 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49110         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
49111         GLOB_NOESCAPE.
49113 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49115         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
49117 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49119         * manual/pattern.texi (glob_t): Document gl_flags.
49120         (glob64_t): Likewise.
49122 2013-01-11  David S. Miller  <davem@davemloft.net>
49124         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
49125         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
49126         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
49127         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
49128         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
49129         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
49130         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
49131         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
49132         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
49133         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
49134         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
49135         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
49136         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
49138         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49139         sparc V9 rather than using V8 code.
49140         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49141         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49143         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49144         Move to...
49145         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
49146         Here.
49148 2013-01-11  Roland McGrath  <roland@hack.frob.com>
49150         [BZ #14941]
49151         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
49152         not in the main loop.
49153         * configure: Regenerated.
49155 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
49157         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
49158         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
49159         to just #else.
49160         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
49161         [!__GLIBC_HAVE_LONG_LONG] case.
49162         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
49163         condition to just #else.
49164         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
49165         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
49166         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
49167         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
49168         unconditional.
49169         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
49170         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49171         #elif condition to just #else.
49172         * sysdeps/unix/sysv/linux/sys/sysmacros.h
49173         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
49174         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49175         #elif condition to just #else.
49177 2013-01-11  Steve Ellcey  <sellcey@mips.com>
49179         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
49180         (EF_MIPS_ARCH_64): Fix value.
49181         (EF_MIPS_ARCH_32R2): New.
49182         (EF_MIPS_ARCH_64R2): New.
49184 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
49186         * Makeconfig (+link-pie-before-libc): New.
49187         (+link-pie-after-libc): Likewise.
49188         (+link-pie-tests): Likewise.
49189         (+link-pie): Rewritten.
49190         (link-before-libc): Remove $(config-LDFLAGS).
49191         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
49192         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
49193         (config-LDFLAGS): Renamed to ...
49194         (rtld-LDFLAGS): This.
49195         (rtld-tests-LDFLAGS): New macro.
49196         (link-libc-rpath-link): Likewise.
49197         (link-libc-tests-rpath-link): Likewise.
49198         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
49199         (link-libc): Prepand $(link-libc-rpath-link).
49200         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
49201         (test-program-prefix): New macro.
49202         (test-via-rtld-prefix): Likewise.
49203         (test-program-cmd): Likewise.
49204         (host-test-program-cmd): Likewise.
49205         * Makefile ($(common-objpfx)testrun.sh): Replace
49206         $(run-program-prefix) with $(test-program-prefix).
49207         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
49208         $(rtld-LDFLAGS).
49209         ($(common-objpfx)shlib.lds): Likewise.
49210         (build-module-helper): Likewise.
49211         ($(common-objpfx)format.lds): Likewise.
49212         * Rules (binaries-pie-tests): New.
49213         (binaries-pie-notests): Likewise.
49214         (binaries-pie): Rewritten.
49215         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
49216         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
49217         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
49218         (make-test-out): Replace $(host-built-program-cmd) with
49219         $(host-test-program-cmd).
49220         * config.make.in (build-hardcoded-path-in-tests): New variable.
49221         * configure.in (--enable-hardcoded-path-in-tests): New configure
49222         option.
49223         (hardcoded_path_in_tests): New AC_SUBST.
49224         * configure: Regenerated.
49225         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
49226         $(built-program-cmd) with $(test-program-cmd).
49227         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
49228         (test_program_cmd): This.
49229         * elf/Makefile ($(objpfx)order.out): Run test with
49230         $(test-program-prefix).
49231         ($(objpfx)order2.out): Likewise.
49232         ($(objpfx)tst-initorder.out): Likewise.
49233         ($(objpfx)tst-initorder2.out): Likewise.
49234         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
49235         $(test-program-cmd).
49236         ($(objpfx)tst-array1-static.out): Likewise.
49237         ($(objpfx)tst-array2.out): Likewise.
49238         ($(objpfx)tst-array3.out): Likewise.
49239         ($(objpfx)tst-array4.out): Likewise.
49240         ($(objpfx)tst-array5.out): Likewise.
49241         ($(objpfx)tst-array5-static.out): Likewise.
49242         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
49243         $(test-program-cmd).
49244         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
49245         $(run-program-prefix) with $(test-program-prefix).
49246         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
49247         (test_program_prefix): This.
49248         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
49249         $(run-program-prefix) with $(test-program-prefix).
49250         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
49251         (test_program_prefix): This.
49252         * iconvdata/tst-tables.sh: Likewise.
49253         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
49254         $(run-program-prefix) with $(test-program-prefix).
49255         ($(objpfx)tst-translit.out): Likewise.
49256         ($(objpfx)tst-gettext2.out): Likewise.
49257         ($(objpfx)tst-gettext4.out): Likewise.
49258         ($(objpfx)tst-gettext6.out): Likewise.
49259         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
49260         (test_program_prefix): This.
49261         * intl/tst-gettext2.sh: Likewise.
49262         * intl/tst-gettext4.sh  Likewise.
49263         * intl/tst-gettext6.sh: Likewise.
49264         * intl/tst-translit.sh: Likewise.
49265         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
49266         with $(test-program-cmd).
49267         * libio/Makefile ($(objpfx)test-freopen.out): Replace
49268         $(run-program-prefix) with $(test-program-prefix).
49269         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
49270         (test_program_prefix): This.
49271         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
49272         $(run-program-prefix) with $(test-program-prefix).
49273         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
49274         (test_program_prefix): This.
49275         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
49276         * posix/Makefile ($(objpfx)globtest.out): Replace
49277         $(run-via-rtld-prefix) and $(test-wrapper) with
49278         $(test-program-prefix) and $(test-via-rtld-prefix).
49279         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
49280         $(test-program-prefix).
49281         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
49282         $(host-test-program-cmd).
49283         (tst-spawn-ARGS): Likewise.
49284         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
49285         $(test-program-prefix).
49286         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
49287         (test_via_rtld_prefix): This.
49288         (test_wrapper): Renamed to ...
49289         (test_program_prefix): This.
49290         (run_program_prefix): Replaced by test_program_prefix.
49291         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
49292         (test_program_prefix): This.
49293         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
49294         with $(host-test-program-cmd).
49295         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
49296         $(run-program-prefix) with $(test-program-prefix).
49297         ($(objpfx)tst-printf.out): Likewise.
49298         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
49299         $(test-program-cmd).
49300         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
49301         (test_program_prefix): This.
49302         * stdio-common/tst-unbputc.sh: Likewise.
49303         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
49304         $(run-program-prefix) with $(test-program-prefix).
49305         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
49306         (test_program_prefix): This.
49307         * string/Makefile ($(objpfx)tst-svc.out):  Replace
49308         $(built-program-cmd) with $(test-program-cmd).
49310 2013-01-11  Andreas Jaeger  <aj@suse.de>
49312         [BZ #15003]
49313         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
49314         value. Sync with Linux 3.7.
49316 2013-01-10  David S. Miller  <davem@davemloft.net>
49318         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
49319         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49320         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49322 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49324         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
49325         never set.
49326         * configure: Regenerated.
49328 2013-01-10  David S. Miller  <davem@davemloft.net>
49330         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49331         sparc V9 rather than using V8 code.
49332         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49333         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49335 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49337         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
49338         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
49339         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
49340         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
49341         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
49342         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
49343         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
49344         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
49345         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
49346         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
49347         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
49348         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
49349         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
49350         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
49351         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
49352         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
49353         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
49354         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
49355         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
49356         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
49357         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
49358         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
49359         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
49360         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
49361         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
49362         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
49363         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
49365 2013-01-10  David S. Miller  <davem@davemloft.net>
49367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49369 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49371         * posix/Makefile (tests-static): New variable.
49372         (tests): Add $(tests-static).
49373         (tst-exec-static-ARGS): New variable.
49374         (tst-spawn-static-ARGS): Likewise.
49375         * posix/tst-exec-static.c: New file.
49376         * posix/tst-spawn-static.c: Likewise.
49377         * posix/tst-exec.c: Support run directly.
49378         * posix/tst-spawn.c: Likewise.
49380 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
49382         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
49383         long.
49384         * math/bits/mathcalls.h (llrint): Likewise.
49385         (llround): Likewise.
49386         * stdlib/stdlib.h (struct drand48_data): Likewise.
49387         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
49388         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
49389         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
49390         Likewise.
49391         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
49392         Likewise.
49393         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
49394         (elf_greg_t): Likewise.
49395         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
49396         (__jmp_buf): Likewise.
49397         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
49398         definitions.
49399         (llrint): Likewise, for all definitions.
49400         (llrintl): Likewise.
49402         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
49403         Remove [__GNUC__] condition.
49404         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
49405         condition to just [__USE_ISOC99].
49406         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
49408 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49410         [BZ #14200]
49411         * sysdeps/unix/sysv/linux/x86/bits/environments.h
49412         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
49413         defined.
49414         (_POSIX_V6_ILP32_OFF32): Likewise.
49415         (_XBS5_ILP32_OFF32): Likewise.
49416         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
49417         (__ILP32_OFFBIG_LDFLAGS): Likewise.
49419 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49421         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
49423         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
49424         doubles __mpexp_twomm1.  Adjust usage.
49425         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
49426         Remove.
49428 2013-01-10  Andreas Schwab  <schwab@suse.de>
49430         [BZ #14964]
49431         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
49432         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
49434 2013-01-09  David S. Miller  <davem@davemloft.net>
49436         [BZ #15003]
49437         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
49438         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
49439         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
49440         (TCP_FASTOPEN): Define.
49441         (tcp_repair_opt): New structure.
49442         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
49443         enum values.
49444         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
49445         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
49446         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
49447         (tcp_cookie_transactions): New structure.
49449 2013-01-09  Anton Blanchard  <anton@samba.org>
49451         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
49452         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
49453         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
49454         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
49456 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
49458         * include/features.h (__USE_ANSI): Remove.
49460 2013-01-09  Roland McGrath  <roland@hack.frob.com>
49462         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
49464         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
49466 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
49468         * sysdeps/s390/fpu/libm-test-ulps: Update.
49470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49472         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
49473         (__acr): Likewise.
49474         (__cpy): Likewise.
49475         (norm): Likewise.
49476         (denorm): Likewise.
49477         (__mp_dbl): Likewise.
49478         (__dbl_mp): Likewise.
49479         (add_magnitudes): Likewise.
49480         (sub_magnitudes): Likewise.
49481         (__add): Likewise.
49482         (__sub): Likewise.
49483         (__mul): Likewise.
49484         (__inv): Likewise.
49485         (__dvd): Likewise.
49486         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
49487         (__acr): Likewise.
49488         (__cpy): Likewise.
49489         (norm): Likewise.
49490         (denorm): Likewise.
49491         (__mp_dbl): Likewise.
49492         (__dbl_mp): Likewise.
49493         (add_magnitudes): Likewise.
49494         (sub_magnitudes): Likewise.
49495         (__add): Likewise.
49496         (__sub): Likewise.
49497         (__mul): Likewise.
49498         (__inv): Likewise.
49499         (__dvd): Likewise.
49500         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
49501         (__acr): Likewise.
49502         (__cpy): Likewise.
49503         (norm): Likewise.
49504         (denorm): Likewise.
49505         (__mp_dbl): Likewise.
49506         (__dbl_mp): Likewise.
49507         (add_magnitudes): Likewise.
49508         (sub_magnitudes): Likewise.
49509         (__add): Likewise.
49510         (__sub): Likewise.
49511         (__mul): Likewise.
49512         (__inv): Likewise.
49513         (__dvd): Likewise.
49515 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
49517         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
49518         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
49519         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
49520         2 && __USE_EXTERN_INLINES]: Likewise.
49522 2013-01-08  Andreas Jaeger  <aj@suse.de>
49524         [BZ# 14985]
49525         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
49526         Remove.
49527         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49528         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49530 2013-01-07  Anton Blanchard  <anton@samba.org>
49532         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
49533         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49534         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
49535         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49536         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49537         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49538         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
49539         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49541         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49542         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49543         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49544         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49545         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49546         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49547         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49548         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49549         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49550         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49551         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49552         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49553         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
49554         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49555         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49556         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
49557         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49558         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49559         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49560         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
49561         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49562         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49563         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49564         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49565         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49566         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49567         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49568         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49569         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49570         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
49571         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49572         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
49573         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49574         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49576 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
49578         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
49579         (__MALLOC_PMT): Likewise.
49580         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
49581         [__GNUC__], only on [_LIBC].
49582         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49583         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
49584         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49585         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
49586         forward declaration.
49587         (realloc_hook_ini): Likewise.
49588         (memalign_hook_ini): Likewise.
49589         (__libc_memalign): Do not use __MALLOC_PMT in variable
49590         declaration.
49591         (__libc_valloc): Likewise.
49592         (__libc_pvalloc): Likewise.
49593         (__libc_calloc): Likewise.
49594         (__posix_memalign): Likewise.
49596         [BZ #14996]
49597         * math/s_casinh.c: Include <float.h>.
49598         (__casinh): Do not do computation with squaring and square root
49599         for large arguments.
49600         * math/s_casinhf.c: Include <float.h>.
49601         (__casinhf): Do not do computation with squaring and square root
49602         for large arguments.
49603         * math/s_casinhl.c: Include <float.h>.
49604         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
49605         (__casinhl): Do not do computation with squaring and square root
49606         for large arguments.
49607         * math/libm-test.inc (casin_test): Add more tests.
49608         (casinh_test): Likewise.
49609         * sysdeps/i386/fpu/libm-test-ulps: Update.
49610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49612 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
49614         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
49615         (__x86_64_raw_data_cache_size): Likewise.
49616         (__x86_64_data_cache_size_half): Likewise.
49617         (__x86_64_raw_data_cache_size_half): Likewise.
49618         (__x86_64_shared_cache_size): Likewise.
49619         (__x86_64_raw_shared_cache_size): Likewise.
49620         (__x86_64_shared_cache_size_half): Likewise.
49621         (__x86_64_raw_shared_cache_size_half): Likewise.
49622         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49623         to ...
49624         (__x86_data_cache_size): This.
49625         (__x86_64_raw_data_cache_size): Renamed to ...
49626         (__x86_raw_data_cache_size): This.
49627         (__x86_64_data_cache_size_half): Renamed to ...
49628         (__x86_data_cache_size_half): This.
49629         (__x86_64_raw_data_cache_size_half): Renamed to ...
49630         (__x86_raw_data_cache_size_half): This.
49631         (__x86_64_shared_cache_size): Renamed to ...
49632         (__x86_shared_cache_size): This.
49633         (__x86_64_raw_shared_cache_size): Renamed to ...
49634         (__x86_raw_shared_cache_size): This.
49635         (__x86_64_shared_cache_size_half): Renamed to ...
49636         (__x86_shared_cache_size_half): This.
49637         (__x86_64_raw_shared_cache_size_half): Renamed to ...
49638         (__x86_raw_shared_cache_size_half): This.
49639         * sysdeps/x86_64/memcpy.S: Updated.
49640         * sysdeps/x86_64/memset.S: Likewise.
49641         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49642         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49643         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49645 2013-01-04  David S. Miller  <davem@davemloft.net>
49647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49649 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
49651         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49652         1 to avoid redefinition warning.
49653         (__USE_GNU): Don't define.
49654         (init_signaling_nan): Protoize.
49656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49658 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49660         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49661         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49662         (__cpymn): Likewise.
49663         (norm): Remove commented code.
49664         (denorm): Likewise.
49665         (__mp_dbl): Likewise.
49666         (__inv): Likewise.
49667         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49668         (__cpymn): Likewise.
49669         (norm): Remove commented code.
49670         (denorm): Likewise.
49671         (__mp_dbl): Likewise.
49672         (__inv): Likewise.
49674         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49675         mp_no value for 1.0 and 2.0.
49676         (norm): Use RADIXI instead of radixi.d.
49677         (denorm): Likewise.
49678         (__mul): Use 0.0 instead of zero.d.
49679         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49680         mp_no value for 1.0 and 2.0.
49681         (norm): Use RADIXI instead of radixi.d.
49682         (denorm): Likewise.
49683         (__mul): Use 0.0 instead of zero.d.
49685 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
49687         [BZ #14994]
49688         * math/s_casinh.c (__casinh): Reduce finite argument to first
49689         quadrant then set signs of results at the end.
49690         * math/s_casinhf.c (__casinhf): Likewise.
49691         * math/s_casinhl.c (__casinhl): Likewise.
49692         * math/libm-test.inc (casin_test): Add more tests.
49693         (casinh_test): Likewise.
49694         * sysdeps/i386/fpu/libm-test-ulps: Update.
49695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49697 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49699         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49701         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49703         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49704         declarations.
49705         (denorm): Likewise.
49706         (__mp_dbl): Likewise.
49707         (__inv): Likewise.
49709         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49710         and adjust the header comment.
49712         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49713         variable name from declaration.
49715 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
49717         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49718         Initialize COMMON_CPUID_INDEX_7 element.
49719         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49720         (CPUID_RTM): Likewise.
49721         (HAS_RTM): Likewise.
49722         (COMMON_CPUID_INDEX_7): New enum.
49724 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
49726         [BZ #14981]
49727         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49728         size is zero, record memory as freed.
49730 2013-01-03  Andreas Jaeger  <aj@suse.de>
49732         * po/ia.po: Add new Interlingua translation.
49734 2012-01-03  Allan McRae  <allan@archlinux.org>
49736         * locale/programs/localedef.c: Fix description of '--posix' flag.
49738 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
49740         * NEWS: Update dates in second copyright notice.
49741         * README: Update copyright dates in example.
49742         * manual/libc.texinfo: Update copyright dates.
49743         * scripts/test-installation.pl: Update copyright date in --version
49744         output.
49746         * hurd/ctty-input.c: Fix copyright notice formatting.
49747         * hurd/ctty-output.c: Likewise.
49748         * hurd/dtable.c: Likewise.
49749         * hurd/hurd-raise.c: Likewise.
49750         * hurd/hurdprio.c: Likewise.
49751         * hurd/msgportdemux.c: Likewise.
49752         * misc/sys/file.h: Likewise.
49753         * misc/sys/ioctl.h: Likewise.
49754         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49755         * sysdeps/mach/hurd/chdir.c: Likewise.
49756         * sysdeps/mach/hurd/fchdir.c: Likewise.
49757         * sysdeps/mach/hurd/rename.c: Likewise.
49758         * sysdeps/mach/hurd/rmdir.c: Likewise.
49759         * sysdeps/mach/hurd/seekdir.c: Likewise.
49760         * sysdeps/mach/hurd/setsid.c: Likewise.
49761         * sysdeps/posix/wait3.c: Likewise.
49763         * All files with FSF copyright notices: Update copyright dates
49764         using scripts/update-copyrights.
49765         * intl/plural.c: Regenerated.
49766         * locale/programs/charmap-kw.h: Likewise.
49767         * locale/programs/locfile-kw.h: Likewise.
49769 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49771         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
49772         four values.
49774         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
49775         calculation loop and add branch prediction.
49777         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
49778         check access beyond bounds of m1np.
49780         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49781         MPTWO.
49782         (__inv): Remove local variable MPTWO to use the global
49783         constant.
49784         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
49785         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49786         variable MPTWO.
49787         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
49788         MP3HALFS static const.
49790 2013-01-01  David S. Miller  <davem@davemloft.net>
49792         * po/ca.po: Update from translation team.
49794 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
49796         * scripts/update-copyrights: New file.
49797         * Makeconfig: Reformat copyright notice.
49798         * ctype/ctype.h: Likewise.
49799         * debug/swprintf_chk.c: Likewise.
49800         * elf/dl-cache.c: Likewise.
49801         * elf/dl-debug.c: Likewise.
49802         * elf/dl-object.c: Likewise.
49803         * grp/initgroups.c: Likewise.
49804         * hurd/Makefile: Likewise.
49805         * hurd/hurd/signal.h: Likewise.
49806         * hurd/hurdfault.c: Likewise.
49807         * hurd/hurdioctl.c: Likewise.
49808         * hurd/hurdlookup.c: Likewise.
49809         * hurd/intr-msg.c: Likewise.
49810         * iconv/gconv_open.c: Likewise.
49811         * libio/swprintf.c: Likewise.
49812         * locale/lc-ctype.c: Likewise.
49813         * locale/nl_langinfo.c: Likewise.
49814         * mach/Machrules: Likewise.
49815         * mach/Makefile: Likewise.
49816         * malloc/obstack.h: Likewise.
49817         * manual/Makefile: Likewise.
49818         * manual/tsort.awk: Likewise.
49819         * misc/bits/stab.def: Likewise.
49820         * nis/nis_print_group_entry.c: Likewise.
49821         * nis/nis_table.c: Likewise.
49822         * nis/nss_compat/compat-pwd.c: Likewise.
49823         * nis/nss_compat/compat-spwd.c: Likewise.
49824         * po/Makefile: Likewise.
49825         * posix/fnmatch.c: Likewise.
49826         * posix/regex.h: Likewise.
49827         * resolv/Makefile: Likewise.
49828         * resolv/nss_dns/dns-network.c: Likewise.
49829         * resolv/res_hconf.c: Likewise.
49830         * scripts/gen-sorted.awk: Likewise.
49831         * soft-fp/soft-fp.h: Likewise.
49832         * stdio-common/printf.h: Likewise.
49833         * stdlib/monetary.h: Likewise.
49834         * stdlib/random.c: Likewise.
49835         * stdlib/random_r.c: Likewise.
49836         * sysdeps/generic/Makefile: Likewise.
49837         * sysdeps/gnu/Makefile: Likewise.
49838         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49839         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49840         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49841         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49842         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49843         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49844         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49845         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49846         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49847         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49848         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49849         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49850         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49851         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49852         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
49853         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49854         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49855         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49856         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49857         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49858         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49859         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49860         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49861         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49862         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
49863         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49864         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49865         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
49866         * sysdeps/mach/hurd/errnos.awk: Likewise.
49867         * sysdeps/mach/hurd/fork.c: Likewise.
49868         * sysdeps/mach/hurd/getcwd.c: Likewise.
49869         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
49870         * sysdeps/mach/hurd/mmap.c: Likewise.
49871         * sysdeps/mach/hurd/utimes.c: Likewise.
49872         * sysdeps/mach/hurd/xmknod.c: Likewise.
49873         * sysdeps/posix/profil.c: Likewise.
49874         * sysdeps/posix/readdir_r.c: Likewise.
49875         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49876         * sysdeps/powerpc/bits/setjmp.h: Likewise.
49877         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
49878         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49879         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49880         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49881         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49882         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49883         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49884         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49885         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49886         * sysdeps/pthread/lio_listio.c: Likewise.
49887         * sysdeps/sparc/dl-procinfo.h: Likewise.
49888         * sysdeps/unix/i386/sysdep.S: Likewise.
49889         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
49890         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
49891         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
49892         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
49893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49894         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
49895         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
49896         * sysdeps/unix/sysv/linux/speed.c: Likewise.
49897         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49898         * sysdeps/wordsize-32/divdi3.c: Likewise.
49899         * time/sys/time.h: Likewise.
49900         * wcsmbs/Makefile: Likewise.
49902 2013-01-01  David S. Miller  <davem@davemloft.net>
49904         * po/fr.po: Update from translation team.
49906         * catgets/gencat.c: Update copyright year.
49907         * csu/version.c: Likewise.
49908         * debug/catchsegv.sh: Likewise.
49909         * debug/pcprofiledump.c: Likewise.
49910         * debug/xtrace.sh: Likewise.
49911         * elf/ldconfig.c: Likewise.
49912         * elf/ldd.bash.in: Likewise.
49913         * elf/pldd.c: Likewise.
49914         * elf/sotruss.ksh: Likewise.
49915         * elf/sprof.c: Likewise.
49916         * iconv/iconv_prog.c: Likewise.
49917         * iconv/iconvconfig.c: Likewise.
49918         * locale/programs/locale.c: Likewise.
49919         * locale/programs/localedef.c: Likewise.
49920         * login/programs/pt_chown.c: Likewise.
49921         * malloc/memusage.sh: Likewise.
49922         * malloc/memusagestat.c: Likewise.
49923         * malloc/mtrace.pl: Likewise.
49924         * nscd/nscd.c: Likewise.
49925         * nss/getent.c: Likewise.
49926         * nss/makedb.c: Likewise.
49927         * posix/getconf.c: Likewise.
49929 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49931         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
49932         numbers.
49934 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
49936         * math/bits/mathcalls.h (modf): Use __nonnull.
49938 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49940         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
49941         (split): Use macro CN instead of the bare value.
49942         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
49943         could be used.
49944         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
49945         instead of the bare value.
49946         (power1): Likewise.
49948 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49950         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
49951         __ATAN_TWOM.
49952         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49954         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
49955         their values.
49956         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49957         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49958         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
49959         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49961 2012-12-28  Andreas Jaeger  <aj@suse.de>
49963         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
49964         values are from Linux 3.7.
49966         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
49967         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
49969 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49971         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
49972         TRUE case.
49974         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
49975         (norm): Likewise.
49976         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
49977         variables with preprocessor constants.
49978         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49979         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49980         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49982 2012-12-27  Bruno Haible  <bruno@clisp.org>
49984         [BZ #14317]
49985         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
49986         only if needed.
49988 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49990         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
49991         and use variable directly.
49992         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
49994         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49995         MPONE.
49996         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
49997         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49998         variable MPONE.
49999         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50000         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50001         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
50002         include directive.  Remove local variable MPONE.
50003         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
50004         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
50005         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50007 2012-12-25  David S. Miller  <davem@davemloft.net>
50009         * version.h (RELEASE): Set to "development".
50010         (VERSION): Set to "2.17.90".
50011         * NEWS: Add 2.18 section.
50013 2012-12-21  David S. Miller  <davem@davemloft.net>
50015         * po/hr.po: Update from translation team.
50017 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50019         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
50021 2012-12-19  Steve Ellcey  <sellcey@mips.com>
50023         * NEWS:  Mention new memcpy for MIPS.
50025 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50027         * manual/contrib.texi (Contributors): Spelling correction.
50029 2012-12-15  David S. Miller  <davem@davemloft.net>
50031         * po/ru.po: Update from translation team.
50033 2012-12-13  David S. Miller  <davem@davemloft.net>
50035         * NEWS: Mention IFUNC testsuite enhancements.
50037         * po/pl.po: Update from translation team.
50038         * po/bg.po: Likewise.
50040         * manual/contrib.texi (Contributors): Update entries for Hongjiu
50041         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
50043 2012-12-11  David S. Miller  <davem@davemloft.net>
50045         * po/sv.po: Update from translation team.
50047         * po/vi.po: Update from translation team.
50049         * po/cs.po: Update from translation team.
50051         * po/de.po: Update from translation team.
50052         * po/eo.po: Likewise.
50053         * po/nl.po: Likewise.
50055 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50057         [BZ #14246]
50058         * manual/argp.texi (Argp Helper Functions): Move node to follow
50059         Argp Parsing State.
50061         [BZ #14872]
50062         * manual/conf.texi (Limits on File System Capacity): Mention if
50063         terminating null is included in the max size.
50065 2012-12-10  Andreas Jaeger  <aj@suse.de>
50067         * po/cs.po: Update from translation team.
50069 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50071         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
50072         void pointer and cast to uintptr_t.
50073         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
50074         path.
50075         * sysdeps/s390/s390-64/memcpy.S: Likewise.
50076         * sysdeps/s390/s390-64/memset.S: Likewise.
50078 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
50080         [BZ #14833]
50081         * menual/message.texi (Message Translation): Fix typos.
50082         (Helper programs for gettext): Likewise.
50084 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
50086         [BZ #14898]
50087         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
50088         Change to -1.
50090 2012-12-07  David S. Miller  <davem@davemloft.net>
50092         * po/libc.pot: Update.
50094 2012-12-07  Richard Henderson  <rth@redhat.com>
50096         [BZ #10114]
50097         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
50098         normal/normal case to before the switch.
50099         (_FP_DIV): Likewise.
50101 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
50102             Mike Frysinger  <vapier@gentoo.org>
50104         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
50105         check for __NR_fadvise64_64.
50107 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
50109         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
50110         0, not just to plain "0" as a statement.
50111         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
50112         with cw.
50114 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
50116         * NEWS: Use sourceware.org in Bugzilla URL.
50118 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
50121         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50123         * stdio-common/tst-put-error.c (do_test): Add newline to the
50124         padded test to ensure flush.
50126 2012-12-05  Jeff Law  <law@redhat.com>
50128         * sunrpc/etc.rpc (fedfs_admin): Add entry.
50130 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
50132         * README: Don't refer to ports add-on as distributed separately.
50133         Mention AArch64 in list of systems supported in the ports add-on.
50135         * LICENSES: Add more non-FSF copyright and license notices.
50137         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
50138         ((unused)).
50140         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
50142         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
50143         10000 as width of padded output.
50145 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50147         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
50149         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
50150         variable LX with __attribute__ ((unused)).
50151         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50152         Likewise.
50153         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50154         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50155         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
50156         with __attribute__ ((unused)).
50158 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
50160         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
50162 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50164         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
50165         (CFLAGS-nldbl-acos.c): New variable.
50166         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
50167         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
50168         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
50169         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
50170         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
50171         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
50172         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
50173         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
50174         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
50175         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
50176         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
50177         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
50178         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
50179         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
50180         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
50181         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
50182         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
50183         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
50184         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
50185         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
50186         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
50187         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
50188         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
50189         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
50190         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
50191         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
50192         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
50193         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
50194         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
50195         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
50196         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
50197         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
50198         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
50199         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
50200         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
50201         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
50202         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
50203         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
50204         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
50205         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
50206         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
50207         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
50208         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
50209         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
50210         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
50211         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
50212         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
50213         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
50214         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
50215         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
50216         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
50217         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
50218         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
50219         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
50220         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
50221         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
50222         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
50223         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
50224         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
50225         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
50226         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
50227         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
50228         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
50229         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
50230         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
50231         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
50232         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
50233         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
50234         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
50235         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
50236         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
50237         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
50238         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
50239         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
50240         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
50241         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
50242         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
50243         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
50244         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
50245         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
50246         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
50247         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
50248         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
50249         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
50250         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
50251         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
50252         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
50253         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
50254         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
50255         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
50256         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
50257         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
50258         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
50259         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
50260         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
50261         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
50262         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
50264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50265         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50267         [BZ #14914]
50268         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
50269         whole low double instead of just low 47 bits when splitting values
50270         into two parts.
50272 2012-12-03  Allan McRae  <allan@archlinux.org>
50274         * manual/stdio.texi (Predefined Printf Handlers): Remove
50275         @hsep and @vsep usage.
50277 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
50279         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
50280         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
50282 2012-12-03  Jeff Law  <law@redhat.com>
50284         * time/sys/time.h (settimeofday): Do not mark TV argument
50285         as __nonnull.
50287 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
50289         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
50290         when currently writing and seek to current position when not.
50291         * libio/Makefile (tests): Remove bug-fclose1.
50292         * libio/bug-fclose1.c: Delete.
50294 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
50296         * manual/arith.texi (feenableexcept): Fix typo.
50297         (fedisableexcept): Likewise.
50299 2012-11-30  Roland McGrath  <roland@hack.frob.com>
50301         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
50302         second, differently-typed declaration, rather than a cast.
50304 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50306         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
50307         * include/rpc/svc.h: ... here.
50309 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
50311         [BZ #13013]
50312         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
50313         depending n and resplen2 to catch cases where answer
50314         equals answerp2.
50316 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
50318         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
50319         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
50321 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
50323         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
50325 2012-11-29  Roland McGrath  <roland@hack.frob.com>
50327         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
50329 2012-11-28  Jeff Law  <law@redhat.com>
50331         [BZ #13761]
50332         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
50333         dataset_temporary.  Track alloca usage into alloca_used.
50334         If dataset is large allocate and release it via malloc/free.
50336 2012-06-04  Florian Weimer  <fweimer@redhat.com>
50338         [BZ #14197]
50339         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
50341 2012-11-28  David S. Miller  <davem@davemloft.net>
50343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50345 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50347         [BZ #14803]
50348         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
50349         of pi/2 rounded to nearest to 64 bits.
50350         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
50351         nearest to 64 bits.
50352         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
50353         bits.
50355 2012-11-28  Jeff Law <law@redhat.com>
50356             Martin Osvald <mosvald@redhat.com>
50358         [BZ #14889]
50359         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
50360         * sunrpc/svc.c: Include time.h.
50361         (__svc_accept_failed): New function.
50362         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
50363         any reason other than EINTR, call __svc_accept_failed.
50364         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
50365         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
50367 2012-11-28  Andreas Schwab  <schwab@suse.de>
50369         * scripts/abilist.awk: Also handle indirect functions in .opd
50370         section.
50372 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50374         [BZ #13881]
50375         * sysdeps/x86/fpu/powl_helper.c: New file.
50376         * sysdeps/x86/fpu/Makefile: Likewise.
50377         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
50378         (p3): New object.
50379         (__ieee754_powl): Use __powl_helper for finite arguments except
50380         integer exponents below 8.
50381         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
50382         (p3): New object.
50383         (__ieee754_powl): Use __powl_helper for finite arguments except
50384         integer exponents below 8.
50385         * math/libm-test.inc (pow_test): Add more tests and enable some
50386         previously disabled tests.
50387         * sysdeps/i386/fpu/libm-test-ulps: Update.
50388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50390 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50391             Carlos O'Donell  <carlos_odonell@mentor.com>
50393         * nss/makedb.c (is_prime): Assert that input is odd and greater
50394         than 4.  Note that fact in a comment too.
50395         (next_prime): Add 4 to input.
50397 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50399         [BZ #11741]
50400         * libio/Makefile (tests): Add test case tst-fwrite-error.
50401         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
50402         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
50403         * libio/tst-fwrite-error.c: New test case.
50405 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
50407         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
50408         before casting to void *.
50409         * include/libc-internal.h (__pointer_type): New macro.
50410         (__integer_if_pointer_type_sub): Likewise.
50411         (__integer_if_pointer_type): Likewise.
50412         (cast_to_integer): Likewise.
50413         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
50414         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
50415         before casting to atomic64_t.
50416         (atomic_exchange_acq): Likewise.
50417         (__arch_exchange_and_add_body): Likewise.
50418         (__arch_add_body): Likewise.
50419         (atomic_add_negative): Likewise.
50420         (atomic_add_zero): Likewise.
50422 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
50424         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
50425         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
50426         (add_fdes): Likewise.
50427         (linear_search_fdes): Likewise.
50428         (binary_search_unencoded_fdes): Likewise.
50430 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
50432         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
50434 2012-11-24  Adam Conrad  <adconrad@0c3.net>
50436         * configure.in: Autodetect C++ header directories.
50437         * configure: Regenerated.
50439 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
50441         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
50443 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
50445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50447 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
50449         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
50450         LDBL_MANT_DIG == 106]: Disable some tests.
50451         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50452         Likewise.
50453         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50454         Likewise.
50456         [BZ #14871]
50457         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
50458         input for small inputs.  Return +/- pi/2 for large inputs.
50459         * math/libm-test.inc (atan_test): Add more tests.
50461         * sysdeps/generic/unwind-dw2-fde-glibc.c
50462         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
50463         __attribute__ ((unused)).
50465         [BZ #14645]
50466         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
50467         x * y if x and y are nonzero and z is zero.
50469         [BZ #14811]
50470         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
50471         nonzero exponents with absolute value below 0x1p-117 to +/-
50472         0x1p-117.
50474         [BZ #14869]
50475         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
50476         up arguments below 2**-450, not just those below 2**-500.
50477         * math/libm-test.inc (hypot_test): Add another test.
50479         [BZ #14868]
50480         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
50481         Return a+b for ratio over 2**120, not 2**60.
50482         * math/libm-test.inc (hypot_test): Add another test.
50484         * math/libm-test.inc (clog_test): Use
50485         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
50486         (clog10_test): Likewise.
50488         [BZ #6778]
50489         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
50491 2012-11-22  Andreas Schwab  <schwab@suse.de>
50493         * sysdeps/i386/fpu/libm-test-ulps: Update.
50495 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
50497         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
50498         printf output with newline.
50500 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
50502         [BZ #14865]
50503         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
50504         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
50505         -z nodlopen, -z initfirst and -z execstack support.
50506         * configure: Regenerated.
50508         * elf/elf.h (DF_1_NODIRECT): New macro.
50509         (DF_1_IGNMULDEF): Likewise.
50510         (DF_1_NOKSYMS): Likewise.
50511         (DF_1_NOHDR): Likewise.
50512         (DF_1_EDITED): Likewise.
50513         (DF_1_NORELOC): Likewise.
50514         (DF_1_SYMINTPOSE): Likewise.
50515         (DF_1_GLOBAUDIT): Likewise.
50516         (DF_1_SINGLETON): Likewise.
50517         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
50518         DT_1_SUPPORTED_MASK bits.
50519         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
50521 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
50523         * sysdeps/unix/make-syscalls.sh: Document prefixes.
50525 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
50527         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
50528         macro.
50530         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
50531         (sendmmsg): Move declarations...
50532         * socket/sys/socket.h: ... here.
50533         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
50534         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
50535         include it from...
50536         * socket/recvmmsg.c: ... this new file.
50537         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
50538         (sendmmsg): Rename to __sendmmsg, create weak alias and make
50539         definition of __sendmmsg hidden.
50540         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
50541         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
50542         Move ENOSYS stub into and include it from...
50543         * socket/sendmmsg.c: ... this new file.
50544         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
50545         (sysdep_routines): Move recvmmsg and sendmmsg...
50546         * socket/Makefile (routines): ... here.
50547         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
50548         (GLIBC_PRIVATE): Add __sendmmsg.
50549         * include/sys/socket.h (__sendmmsg): Add declarations.
50550         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
50551         sendmmsg.
50553 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
50555         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
50556         variable I1 with __attribute__ ((unused)).
50557         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50559 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50561         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
50562         DUMMY variables with __attribute__ ((unused)).
50564         * bits/byteswap.h: Include <bits/types.h>.
50565         (__bswap_64): Use __uint64_t instead of unsigned long long int.
50567 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50569         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
50570         string_t.  Do not manually set errno.
50571         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
50572         length with __strnlen.  Make sure to both set errno and return it on
50573         failure.
50575 2012-11-19  David S. Miller  <davem@davemloft.net>
50577         With help from Joseph Myers.
50578         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
50579         very large arguments properly.
50580         * math/libm-test.inc (atan_test): New tests.
50581         (atan2_test): New tests.
50582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50585 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50587         [BZ #14856]
50588         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
50589         Define to 3.
50591         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
50592         [POSIX] (EADDRNOTAVAIL): Likewise.
50593         [POSIX] (EAFNOSUPPORT): Likewise.
50594         [POSIX] (EALREADY): Likewise.
50595         [POSIX] (ECONNABORTED): Likewise.
50596         [POSIX] (ECONNREFUSED): Likewise.
50597         [POSIX] (ECONNRESET): Likewise.
50598         [POSIX] (EDESTADDRREQ): Likewise.
50599         [POSIX] (EDQUOT): Likewise.
50600         [POSIX] (EHOSTUNREACH): Likewise.
50601         [POSIX] (EIDRM): Likewise.
50602         [POSIX] (EISCONN): Likewise.
50603         [POSIX] (ELOOP): Likewise.
50604         [POSIX] (EMULTIHOP): Likewise.
50605         [POSIX] (ENETDOWN): Likewise.
50606         [POSIX] (ENETUNREACH): Likewise.
50607         [POSIX] (ENOBUFS): Likewise.
50608         [POSIX] (ENODATA): Likewise.
50609         [POSIX] (ENOLINK): Likewise.
50610         [POSIX] (ENOMSG): Likewise.
50611         [POSIX] (ENOPROTOOPT): Likewise.
50612         [POSIX] (ENOSR): Likewise.
50613         [POSIX] (ENOSTR): Likewise.
50614         [POSIX] (ENOTCONN): Likewise.
50615         [POSIX] (ENOTSOCK): Likewise.
50616         [POSIX] (EOPNOTSUPP): Likewise.
50617         [POSIX] (EOVERFLOW): Likewise.
50618         [POSIX] (EPROTO): Likewise.
50619         [POSIX] (EPROTONOSUPPORT): Likewise.
50620         [POSIX] (EPROTOTYPE): Likewise.
50621         [POSIX] (ESTALE): Likewise.
50622         [POSIX] (ETIME): Likewise.
50623         [POSIX] (ETXTBSY): Likewise.
50624         [POSIX] (EWOULDBLOCK): Likewise.
50625         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50626         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50627         [POSIX] (SEEK_CUR): Likewise.
50628         [POSIX] (SEEK_END): Likewise.
50629         [POSIX || UNIX98] (mode_t): Do not require.
50630         [POSIX] (off_t): Likewise.
50631         [POSIX] (pid_t): Likewise.
50632         [POSIX] (sys/stat.h): Do not allow header.
50633         [POSIX] (unistd.h): Likewise.
50634         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50635         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50636         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50637         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50638         require.
50639         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50640         sigevent): Specify elements.
50641         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50642         entry.
50643         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50644         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50646         * conform/data/cpio.h-data [POSIX]: Disable whole file.
50647         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50648         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50649         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50650         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50651         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50652         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50653         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50654         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50655         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50656         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50657         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50658         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50659         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50660         Likewise.
50661         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50662         Likewise.
50663         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50664         Likewise.
50665         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50666         Likewise.
50667         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50668         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50669         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50670         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50671         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50672         Specify lower bound on value.
50673         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50674         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50675         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50676         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50677         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50678         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50679         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50680         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50681         value.
50682         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50683         as optional.
50684         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50685         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50686         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50687         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50688         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50689         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50690         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50691         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50692         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50693         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50694         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50695         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50696         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50697         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50698         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50699         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50700         entry.
50701         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50702         optional.
50703         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50704         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50705         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50706         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50707         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50708         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50709         Likewise.
50710         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50711         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50712         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50713         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50714         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
50715         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50716         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50717         as optional.
50718         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50719         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50720         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50721         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50722         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50723         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50724         specify as optional.
50725         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50726         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50727         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50728         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50729         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50730         [XPG3] (NL_LANGMAX): Likewise.
50731         [POSIX || XPG3] (NL_MSGMAX): Likewise.
50732         [POSIX || XPG3] (NL_NMAX): Likewise.
50733         [POSIX || XPG3] (NL_SETMAX): Likewise.
50734         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50735         [XPG3] (NZERO): Likewise.
50736         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50737         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50738         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50739         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50740         (REG_ERANGE): Expect.
50741         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50742         optional-constant.
50743         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50744         Use (void) in prototype.
50745         [POSIX] (*_t): Allow.
50746         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50747         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50748         (WRDE_BADVAL): Expect.
50750         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50751         expect.
50752         [XPG3 || XPG4] (O_RSYNC): Likewise.
50753         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50754         Likewise.
50755         [XPG3 || XPG4] (pthread_sigmask): Likewise.
50756         [XPG3 || XPG4] (sigqueue): Likewise.
50757         [XPG3 || XPG4] (sigtimedwait): Likewise.
50758         [XPG3 || XPG4] (sigwaitinfo): Likewise.
50759         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50760         [XPG3 || XPG4] (vsnprintf): Likewise.
50761         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50762         Likewise.
50763         [XPG3 || XPG4] (blksize_t): Likewise.
50764         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50765         Likewise.
50766         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50767         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50768         [XPG3 || XPG4] (struct itimerspec): Likewise.
50769         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50770         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50771         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50772         [XPG3 || XPG4] (clockid_t): Likewise.
50773         [XPG3 || XPG4] (timer_t): Likewise.
50774         [XPG3 || XPG4] (clock_getres): Likewise.
50775         [XPG3 || XPG4] (clock_gettime): Likewise.
50776         [XPG3 || XPG4] (clock_settime): Likewise.
50777         [XPG3 || XPG4] (nanosleep): Likewise.
50778         [XPG3 || XPG4] (timer_create): Likewise.
50779         [XPG3 || XPG4] (timer_delete): Likewise.
50780         [XPG3 || XPG4] (timer_gettime): Likewise.
50781         [XPG3 || XPG4] (timer_getoverrun): Likewise.
50782         [XPG3 || XPG4] (timer_settime): Likewise.
50783         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
50784         [XPG3 || XPG4] (getlogin_r): Likewise.
50785         [XPG3 || XPG4] (pread): Likewise.
50786         [XPG3 || XPG4] (pthread_atfork): Likewise.
50787         [XPG3 || XPG4] (pwrite): Likewise.
50789         [BZ #14835]
50790         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
50791         <bits/siginfo.h>.
50793 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50795         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
50796         finalizing MALLSTREAM.
50798         * sysdeps/mach/hurd/syncfs.c: New file.
50800 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50802         [BZ #14719]
50803         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
50804         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
50805         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
50806         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
50807         (_nss_dns_gethostbyname4_r): Likewise.
50808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
50809         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
50811 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
50813         [BZ #13763]
50814         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
50816 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
50818         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
50819         * elf/cache.c (print_entry): Print ",AArch64" for
50820         FLAG_AARCH64_LIB64
50822         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
50823         * elf/cache.c (print_entry): Print ",hard-float" for
50824         FLAG_ARM_LIBHF.
50826 2012-11-18  David S. Miller  <davem@davemloft.net>
50828         With help from Joseph Myers.
50829         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
50830         cutoff to 2**-13.
50831         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
50832         cutoff to 2**-25.
50833         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
50834         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50835         small.
50836         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
50837         * math/libm-test.inc (y0_test): New tests.
50838         (y1_test): New tests.
50839         * sysdeps/i386/fpu/libm-test-ulps: Update.
50840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50843 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
50845         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
50846         64-bit targets.
50847         * configure: Regenerated.
50849 2012-11-17  David S. Miller  <davem@davemloft.net>
50851         [BZ #14811]
50852         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
50853         nonzero exponents with absolute value below 0x1p-128 to +/-
50854         0x1p-128.
50856 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
50858         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
50860         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
50862         * posix/getconf-speclist.c: New file.
50863         * posix/posix-envs.def: Likewise.
50864         * posix/confstr.c (START_ENV_GROUP): New macro.
50865         (END_ENV_GROUP): Likewise.
50866         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50867         (KNOWN_PRESENT_ENV_STRING): Likewise.
50868         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50869         (UNKNOWN_ENVIRONMENT): Likewise.
50870         (confstr): Include posix-envs.def instead of handling
50871         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
50872         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
50873         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
50874         (END_ENV_GROUP): Likewise.
50875         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50876         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50877         (UNKNOWN_ENVIRONMENT): Likewise.
50878         (__sysconf): Include posix-envs.def instead of handling associated
50879         cases directly here.
50880         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
50881         preprocessing getconf-speclist.c rather than running getconf or
50882         generating empty file.
50884 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
50886         * scripts/check-local-headers.sh: Ignore 'mach' headers.
50888 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
50890         [BZ #14672]
50891         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
50893 2012-11-16  David S. Miller  <davem@davemloft.net>
50895         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
50896         smaller than LDBL_EPSILON/2.0L, just return xm1.
50898 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
50900         * elf/tst-array1.c (init): Set constructor priority to 1000.
50901         (fini): Set destructor priority to 1000.
50902         * elf/tst-array2dep.c: Likewise.
50904 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50906         [BZ #11741]
50907         * libio/fileops.c (_IO_new_file_write): Correctly return error.
50908         (_IO_new_file_xsputn): Also return EOF if none of the input
50909         data was written when overflow failed.
50910         * libio/iopadn.c (_IO_padn): Likewise.
50911         * libio/iowpadn.c (_IO_wpadn): Likewise.
50912         * stdio-common/tst-put-error.c: Add copyright notice.
50913         (do_test): Add case for printing padded string.
50914         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
50915         _IO_padn returned error.
50916         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
50917         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
50918         return EOF.
50920 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50922         * libio/libioP.h: Add comment note that the references to C++
50923         bits are now obsolete.
50925 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50927         * math/libm-test.inc (check_complex): Use asprintf.
50929 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
50931         * debug/pcprofiledump.c (print_version): Update copyright year.
50932         * malloc/memusagestat.c (print_version): Likewise.
50934 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
50936         [BZ #14831]
50937         * elf/Makefile (tests): Add tst-audit8.
50938         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
50939         ($(objpfx)tst-audit8.out): New target.
50940         (tst-audit8-ENV): New variable.
50941         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
50942         audit if l_reloc_result is NULL.
50943         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
50944         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
50945         * elf/tst-audit8.c: New file.
50947 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50949         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
50950         * misc/Makefile (CFLAGS-select.c): Define.
50951         * posix/Makefile (CFLAGS-pause.c): Define.
50953 2012-11-13  David S. Miller  <davem@davemloft.net>
50955         * crypt/Makefile: Move test targets after toplevel Rules
50956         inclusion.  Grab any necessary sysdep routines when linking.
50957         * crypt/md5.c (md5_process_block): Remove define, we will always
50958         name it __md5_process_block.
50959         (md5_finish_ctx): Update md5_process_block call.
50960         (md5_stream): Likewise.
50961         (md5_process_bytes): Likewise.
50962         (md5_process_block): Rename to __md5_process_block and move to ...
50963         * crypt/md5-block.c: ... here.
50964         * crypt/sha256.c (sha256_process_block): Move to ...
50965         * crypt/sha256-block.c: ... here.
50966         * crypt/sha512.c (sha512_process_block): Move to ...
50967         * crypt/sha512-block.c: ... here.
50968         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
50969         path.
50970         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
50971         * sysdeps/sparc/sparc64/multiarch/Makefile
50972         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
50973         crypt subdir.
50974         (localedef-aux): Add md5 crypto assembler when in locale subdir.
50975         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
50976         multiarch changes.
50977         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
50978         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
50979         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
50980         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
50981         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
50982         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
50983         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
50984         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
50985         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
50986         file.
50987         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
50988         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
50989         file.
50990         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
50992 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
50994         * timezone/tzselect.ksh: Update from tzcode git revision
50995         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
50996         * timezone/zdump.c: Likewise.
50997         * timezone/zic.c: Likewise.
50998         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
50999         in TZVERSION setting, not $(PKGVERSION).
51000         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
51001         REPORT_BUGS_TO settings.
51003         [BZ #14838]
51004         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
51005         macro.
51007 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51009         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
51010         detection to immediately after _FP_ROUND().
51011         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
51012         bits are 0.
51014 2012-11-11  David S. Miller  <davem@davemloft.net>
51016         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
51017         inttypes.h
51018         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
51019         __close rather than their public counterparts.
51021 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
51023         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
51024         file.
51025         [UNIX98] (sem_timedwait): Do not expect.
51026         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
51027         [XPG4 || UNIX98] (sockatmark): Do not expect.
51028         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
51029         (clock_getcpuclockid): Do not expect.
51030         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
51031         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
51032         Do not expect.
51033         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
51034         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
51035         [UNIX98] (vwscanf): Likewise.
51036         [UNIX98] (vswscanf): Likewise.
51038 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
51040         * timezone/version.h: Remove file.
51041         * timezone/README: Do not refer to version.h.
51042         * timezone/Makefile ($(objpfx)zic.o): New dependency on
51043         $(objpfx)version.h.
51044         ($(objpfx)zdump.o): Likewise.
51045         ($(objpfx)version.h): New target.
51047         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
51048         2012i.
51049         * timezone/README: Don't mention modification to tzselect.ksh.
51050         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
51051         work on unmodified tzselect.ksh.  Substitute version numbers in
51052         tzselect.ksh.
51054         * Makefile (format-me): Remove.
51055         (INSTALL): Adjust indentation.  Use commands directly instead of
51056         using $(format-me).
51058         * aclocal.m4 (ACX_PKGVERSION): New macro.
51059         (ACX_BUGURL): Likewise.
51060         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
51061         (PKGVERSION): New AC_DEFINE_UNQUOTED.
51062         (REPORT_BUGS_TO): Likewise.
51063         * configure: Regenerated.
51064         * config.h.in (PKGVERSION): New macro.
51065         (REPORT_BUGS_TO): Likewise.
51066         * config.make.in (PKGVERSION): New variable.
51067         (PKGVERSION_TEXI): Likewise.
51068         (REPORT_BUGS_TO): Likewise.
51069         (REPORT_BUGS_TEXI): Likewise.
51070         * Makefile (format-me): Use -I$(common-objpfx)manual.
51071         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
51072         ($(common-objpfx)manual/%): New target.
51073         (manual/%): Remove target.
51074         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
51075         (print_version): Use PKGVERSION.
51076         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
51077         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
51078         and REPORT_BUGS_TO.
51079         ($(objpfx)xtrace): Likewise.
51080         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
51081         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
51082         (print_version): Use PKGVERSION.
51083         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
51084         (do_version): Use PKGVERSION.
51085         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
51086         REPORT_BUGS_TO.
51087         (common-ldd-rewrite): Likewise.
51088         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
51089         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
51090         (print_version): Use PKGVERSION.
51091         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
51092         * elf/pldd.c (argp_program_bug_address): Remove variable.
51093         (more_help): New function.
51094         (argp): Use more_help.
51095         (print_version): Use PKGVERSION.
51096         * elf/sln.c (main): Use PKGVERSION.
51097         (usage): Use REPORT_BUGS_TO.
51098         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
51099         (top level): Use PKGVERSION.
51100         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
51101         (print_version): Use PKGVERSION.
51102         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
51103         (print_version): Use PKGVERSION.
51104         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
51105         (print_version): Use PKGVERSION.
51106         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
51107         (print_version): Use PKGVERSION.
51108         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
51109         (print_version): Use PKGVERSION.
51110         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
51111         (print_version): Use PKGVERSION.
51112         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
51113         and BUGURL.
51114         ($(objpfx)memusage): Likewise.
51115         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
51116         (do_version): Use PKGVERSION.
51117         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
51118         (print_version): Use PKGVERSION.
51119         * malloc/mtrace.pl ($PACKAGE): Remove variable.
51120         ($PKGVERSION): New variable.
51121         ($REPORT_BUGS_TO): Likewise.
51122         (usage): Use $REPORT_BUGS_TO.
51123         (top level): Use $PKGVERSION.
51124         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
51125         ($(objpfx)pkgvers.texi): New rule.
51126         ($(objpfx)stamp-pkgvers): Likewise.
51127         * manual/install.texi: Include pkgvers.texi.
51128         (--with-pkgversion): Document new configure option.
51129         (--with-bugurl): Likewise.
51130         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
51131         than necessarily for this particular distribution.  Use
51132         REPORT_BUGS_TO for where to report bugs.
51133         * INSTALL: Regenerated.
51134         * manual/libc.texinfo: Include pkgvers.texi.
51135         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
51136         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
51137         (print_version): Use PKGVERSION.
51138         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
51139         (print_version): Use PKGVERSION.
51140         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
51141         (print_version): Use PKGVERSION.
51142         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
51143         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
51144         macro.
51145         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
51146         (print_version): Use PKGVERSION.
51147         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
51148         (print_version): Use PKGVERSION.
51149         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
51150         and PKGVERSION.
51152         * timezone/checktab.awk: Update from tzcode 2012i.
51153         * timezone/ialloc.c: Likewise.
51154         * timezone/private.h: Likewise.
51155         * timezone/scheck.c: Likewise.
51156         * timezone/tzfile.h: Likewise.
51157         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
51158         (TZVERSION): Hardcode tzcode version number.
51159         * timezone/zdump.c: Update from tzcode 2012i.
51160         * timezone/zic.c: Likewise.
51161         * timezone/version.h: New file.
51162         * timezone/README: Describe version.h.  Update upstream location.
51164         [BZ #14824]
51165         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
51166         (mktemp): Enable declaration.
51167         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
51168         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
51169         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
51170         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
51171         Likewise.
51172         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
51173         Likewise.
51174         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
51175         Likewise.
51176         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
51177         Likewise.
51178         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
51179         Likewise.
51180         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
51181         Likewise.
51183         [BZ #14821]
51184         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
51185         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
51186         for copies of such integer values.
51187         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51188         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51190 2012-11-09  Andreas Jaeger  <aj@suse.de>
51192         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
51193         definitions and declarations that are provided by
51194         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51196 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51198         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
51199         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
51200         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
51201         definition.
51203 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51205         * elf/elf.h: Update comment before AArch64 relocations.
51207 2012-11-07  David S. Miller  <davem@davemloft.net>
51209         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
51210         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51211         (__start_context): Declare.
51212         (__makecontext_ret): Delete.
51213         (__makecontext): Hook up __start_context instead of
51214         __makecontext_ret.
51215         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
51216         (sysdep_routines): Add __start_context when in stdlib.
51218 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51220         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
51221         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
51222         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
51223         hardcoded "nm".
51224         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
51225         (READELF): New variable.  Use it instead of hardcoded "readelf".
51227 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51229         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
51230         * sysdeps/x86/Makefile: Here.
51231         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
51232         * sysdeps/x86/tst-xmmymm.sh: This.
51234 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51236         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
51237         expectations.
51238         [UNIX98] (pthread_barrier_t): Do not expect.
51239         [UNIX98] (pthread_barrierattr_t): Likewise.
51240         [UNIX98] (pthread_spinlock_t): Likewise.
51241         [UNIX98] (pthread_barrier_destroy): Likewise.
51242         [UNIX98] (pthread_barrier_init): Likewise.
51243         [UNIX98] (pthread_barrier_wait): Likewise.
51244         [UNIX98] (pthread_barrierattr_destroy): Likewise.
51245         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
51246         [UNIX98] (pthread_barrierattr_init): Likewise.
51247         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
51248         [UNIX98] (pthread_getcpuclockid): Likewise.
51249         [UNIX98] (pthread_mutex_timedlock): Likewise.
51250         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
51251         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
51252         [UNIX98] (pthread_sigmask): Likewise.
51253         [UNIX98] (pthread_spin_destroy): Likewise.
51254         [UNIX98] (pthread_spin_init): Likewise.
51255         [UNIX98] (pthread_spin_lock): Likewise.
51256         [UNIX98] (pthread_spin_trylock): Likewise.
51257         [UNIX98] (pthread_spin_unlock): Likewise.
51258         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
51259         Do not expect.
51260         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
51261         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
51262         [XPG3 || XPG4] (pthread_cond_t): Likewise.
51263         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
51264         [XPG3 || XPG4] (pthread_key_t): Likewise.
51265         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
51266         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
51267         [XPG3 || XPG4] (pthread_once_t): Likewise.
51268         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
51269         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
51270         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
51271         [XPG3 || XPG4] (pthread_t): Likewise.
51273         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
51274         not expect.
51275         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
51277         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
51278         Change function return type to int.
51280         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
51281         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
51282         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
51283         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
51284         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
51285         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
51286         [!POSIX] (posix_madvise): Likewise.
51287         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
51288         && !UNIX98].
51289         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
51290         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
51291         (mode_t): Likewise.
51292         (posix_mem_offset): Likewise.
51293         (posix_typed_mem_get_info): Likewise.
51294         (posix_typed_mem_open): Likewise.
51296         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
51297         Change condition to [XOPEN2K8].
51299         * conform/conformtest.pl: Preprocess allow-header data with -x c
51300         instead of from stdin.
51301         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
51302         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
51303         [C99-based standards] (cerfc): Likewise.
51304         [C99-based standards] (cexp2): Likewise.
51305         [C99-based standards] (cexpm1): Likewise.
51306         [C99-based standards] (clog10): Likewise.
51307         [C99-based standards] (clog1p): Likewise.
51308         [C99-based standards] (clog2): Likewise.
51309         [C99-based standards] (clgamma): Likewise.
51310         [C99-based standards] (ctgamma): Likewise.
51311         [C99-based standards] (cerff): Likewise.
51312         [C99-based standards] (cerfcf): Likewise.
51313         [C99-based standards] (cexp2f): Likewise.
51314         [C99-based standards] (cexpm1f): Likewise.
51315         [C99-based standards] (clog10f): Likewise.
51316         [C99-based standards] (clog1pf): Likewise.
51317         [C99-based standards] (clog2f): Likewise.
51318         [C99-based standards] (clgammaf): Likewise.
51319         [C99-based standards] (ctgammaf): Likewise.
51320         [C99-based standards] (cerfl): Likewise.
51321         [C99-based standards] (cerfcl): Likewise.
51322         [C99-based standards] (cexp2l): Likewise.
51323         [C99-based standards] (cexpm1l): Likewise.
51324         [C99-based standards] (clog10l): Likewise.
51325         [C99-based standards] (clog1pl): Likewise.
51326         [C99-based standards] (clog2l): Likewise.
51327         [C99-based standards] (clgammal): Likewise.
51328         [C99-based standards] (ctgammal): Likewise.
51329         * conform/data/inttypes.h-data [C99-based standards]: Include
51330         stdint.h-data.  Remove all expectations for stdint.h contents.
51331         [C99-based standards] (PRI*): Do not allow.
51332         [C99-based standards] (SCN*): Likewise.
51333         [C99-based standards] (*_t): Likewise.
51334         [C99-based-standards] (PRId8): Expect macro.
51335         [C99-based-standards] (PRIi8): Likewise.
51336         [C99-based-standards] (PRIo8): Likewise.
51337         [C99-based-standards] (PRIu8): Likewise.
51338         [C99-based-standards] (PRIx8): Likewise.
51339         [C99-based-standards] (PRIX8): Likewise.
51340         [C99-based-standards] (SCNd8): Likewise.
51341         [C99-based-standards] (SCNi8): Likewise.
51342         [C99-based-standards] (SCNo8): Likewise.
51343         [C99-based-standards] (SCNu8): Likewise.
51344         [C99-based-standards] (SCNx8): Likewise.
51345         [C99-based-standards] (PRIdLEAST8): Likewise.
51346         [C99-based-standards] (PRIiLEAST8): Likewise.
51347         [C99-based-standards] (PRIoLEAST8): Likewise.
51348         [C99-based-standards] (PRIuLEAST8): Likewise.
51349         [C99-based-standards] (PRIxLEAST8): Likewise.
51350         [C99-based-standards] (PRIXLEAST8): Likewise.
51351         [C99-based-standards] (SCNdLEAST8): Likewise.
51352         [C99-based-standards] (SCNiLEAST8): Likewise.
51353         [C99-based-standards] (SCNoLEAST8): Likewise.
51354         [C99-based-standards] (SCNuLEAST8): Likewise.
51355         [C99-based-standards] (SCNxLEAST8): Likewise.
51356         [C99-based-standards] (PRIdFAST8): Likewise.
51357         [C99-based-standards] (PRIiFAST8): Likewise.
51358         [C99-based-standards] (PRIoFAST8): Likewise.
51359         [C99-based-standards] (PRIuFAST8): Likewise.
51360         [C99-based-standards] (PRIxFAST8): Likewise.
51361         [C99-based-standards] (PRIXFAST8): Likewise.
51362         [C99-based-standards] (SCNdFAST8): Likewise.
51363         [C99-based-standards] (SCNiFAST8): Likewise.
51364         [C99-based-standards] (SCNoFAST8): Likewise.
51365         [C99-based-standards] (SCNuFAST8): Likewise.
51366         [C99-based-standards] (SCNxFAST8): Likewise.
51367         [C99-based-standards] (PRId16): Likewise.
51368         [C99-based-standards] (PRIi16): Likewise.
51369         [C99-based-standards] (PRIo16): Likewise.
51370         [C99-based-standards] (PRIu16): Likewise.
51371         [C99-based-standards] (PRIx16): Likewise.
51372         [C99-based-standards] (PRIX16): Likewise.
51373         [C99-based-standards] (SCNd16): Likewise.
51374         [C99-based-standards] (SCNi16): Likewise.
51375         [C99-based-standards] (SCNo16): Likewise.
51376         [C99-based-standards] (SCNu16): Likewise.
51377         [C99-based-standards] (SCNx16): Likewise.
51378         [C99-based-standards] (PRIdLEAST16): Likewise.
51379         [C99-based-standards] (PRIiLEAST16): Likewise.
51380         [C99-based-standards] (PRIoLEAST16): Likewise.
51381         [C99-based-standards] (PRIuLEAST16): Likewise.
51382         [C99-based-standards] (PRIxLEAST16): Likewise.
51383         [C99-based-standards] (PRIXLEAST16): Likewise.
51384         [C99-based-standards] (SCNdLEAST16): Likewise.
51385         [C99-based-standards] (SCNiLEAST16): Likewise.
51386         [C99-based-standards] (SCNoLEAST16): Likewise.
51387         [C99-based-standards] (SCNuLEAST16): Likewise.
51388         [C99-based-standards] (SCNxLEAST16): Likewise.
51389         [C99-based-standards] (PRIdFAST16): Likewise.
51390         [C99-based-standards] (PRIiFAST16): Likewise.
51391         [C99-based-standards] (PRIoFAST16): Likewise.
51392         [C99-based-standards] (PRIuFAST16): Likewise.
51393         [C99-based-standards] (PRIxFAST16): Likewise.
51394         [C99-based-standards] (PRIXFAST16): Likewise.
51395         [C99-based-standards] (SCNdFAST16): Likewise.
51396         [C99-based-standards] (SCNiFAST16): Likewise.
51397         [C99-based-standards] (SCNoFAST16): Likewise.
51398         [C99-based-standards] (SCNuFAST16): Likewise.
51399         [C99-based-standards] (SCNxFAST16): Likewise.
51400         [C99-based-standards] (PRId32): Likewise.
51401         [C99-based-standards] (PRIi32): Likewise.
51402         [C99-based-standards] (PRIo32): Likewise.
51403         [C99-based-standards] (PRIu32): Likewise.
51404         [C99-based-standards] (PRIx32): Likewise.
51405         [C99-based-standards] (PRIX32): Likewise.
51406         [C99-based-standards] (SCNd32): Likewise.
51407         [C99-based-standards] (SCNi32): Likewise.
51408         [C99-based-standards] (SCNo32): Likewise.
51409         [C99-based-standards] (SCNu32): Likewise.
51410         [C99-based-standards] (SCNx32): Likewise.
51411         [C99-based-standards] (PRIdLEAST32): Likewise.
51412         [C99-based-standards] (PRIiLEAST32): Likewise.
51413         [C99-based-standards] (PRIoLEAST32): Likewise.
51414         [C99-based-standards] (PRIuLEAST32): Likewise.
51415         [C99-based-standards] (PRIxLEAST32): Likewise.
51416         [C99-based-standards] (PRIXLEAST32): Likewise.
51417         [C99-based-standards] (SCNdLEAST32): Likewise.
51418         [C99-based-standards] (SCNiLEAST32): Likewise.
51419         [C99-based-standards] (SCNoLEAST32): Likewise.
51420         [C99-based-standards] (SCNuLEAST32): Likewise.
51421         [C99-based-standards] (SCNxLEAST32): Likewise.
51422         [C99-based-standards] (PRIdFAST32): Likewise.
51423         [C99-based-standards] (PRIiFAST32): Likewise.
51424         [C99-based-standards] (PRIoFAST32): Likewise.
51425         [C99-based-standards] (PRIuFAST32): Likewise.
51426         [C99-based-standards] (PRIxFAST32): Likewise.
51427         [C99-based-standards] (PRIXFAST32): Likewise.
51428         [C99-based-standards] (SCNdFAST32): Likewise.
51429         [C99-based-standards] (SCNiFAST32): Likewise.
51430         [C99-based-standards] (SCNoFAST32): Likewise.
51431         [C99-based-standards] (SCNuFAST32): Likewise.
51432         [C99-based-standards] (SCNxFAST32): Likewise.
51433         [C99-based-standards] (PRId64): Likewise.
51434         [C99-based-standards] (PRIi64): Likewise.
51435         [C99-based-standards] (PRIo64): Likewise.
51436         [C99-based-standards] (PRIu64): Likewise.
51437         [C99-based-standards] (PRIx64): Likewise.
51438         [C99-based-standards] (PRIX64): Likewise.
51439         [C99-based-standards] (SCNd64): Likewise.
51440         [C99-based-standards] (SCNi64): Likewise.
51441         [C99-based-standards] (SCNo64): Likewise.
51442         [C99-based-standards] (SCNu64): Likewise.
51443         [C99-based-standards] (SCNx64): Likewise.
51444         [C99-based-standards] (PRIdLEAST64): Likewise.
51445         [C99-based-standards] (PRIiLEAST64): Likewise.
51446         [C99-based-standards] (PRIoLEAST64): Likewise.
51447         [C99-based-standards] (PRIuLEAST64): Likewise.
51448         [C99-based-standards] (PRIxLEAST64): Likewise.
51449         [C99-based-standards] (PRIXLEAST64): Likewise.
51450         [C99-based-standards] (SCNdLEAST64): Likewise.
51451         [C99-based-standards] (SCNiLEAST64): Likewise.
51452         [C99-based-standards] (SCNoLEAST64): Likewise.
51453         [C99-based-standards] (SCNuLEAST64): Likewise.
51454         [C99-based-standards] (SCNxLEAST64): Likewise.
51455         [C99-based-standards] (PRIdFAST64): Likewise.
51456         [C99-based-standards] (PRIiFAST64): Likewise.
51457         [C99-based-standards] (PRIoFAST64): Likewise.
51458         [C99-based-standards] (PRIuFAST64): Likewise.
51459         [C99-based-standards] (PRIxFAST64): Likewise.
51460         [C99-based-standards] (PRIXFAST64): Likewise.
51461         [C99-based-standards] (SCNdFAST64): Likewise.
51462         [C99-based-standards] (SCNiFAST64): Likewise.
51463         [C99-based-standards] (SCNoFAST64): Likewise.
51464         [C99-based-standards] (SCNuFAST64): Likewise.
51465         [C99-based-standards] (SCNxFAST64): Likewise.
51466         [C99-based-standards] (PRIdMAX): Likewise.
51467         [C99-based-standards] (PRIiMAX): Likewise.
51468         [C99-based-standards] (PRIoMAX): Likewise.
51469         [C99-based-standards] (PRIuMAX): Likewise.
51470         [C99-based-standards] (PRIxMAX): Likewise.
51471         [C99-based-standards] (PRIXMAX): Likewise.
51472         [C99-based-standards] (SCNdMAX): Likewise.
51473         [C99-based-standards] (SCNiMAX): Likewise.
51474         [C99-based-standards] (SCNoMAX): Likewise.
51475         [C99-based-standards] (SCNuMAX): Likewise.
51476         [C99-based-standards] (SCNxMAX): Likewise.
51477         [C99-based-standards] (PRIdPTR): Likewise.
51478         [C99-based-standards] (PRIiPTR): Likewise.
51479         [C99-based-standards] (PRIoPTR): Likewise.
51480         [C99-based-standards] (PRIuPTR): Likewise.
51481         [C99-based-standards] (PRIxPTR): Likewise.
51482         [C99-based-standards] (PRIXPTR): Likewise.
51483         [C99-based-standards] (SCNdPTR): Likewise.
51484         [C99-based-standards] (SCNiPTR): Likewise.
51485         [C99-based-standards] (SCNoPTR): Likewise.
51486         [C99-based-standards] (SCNuPTR): Likewise.
51487         [C99-based-standards] (SCNxPTR): Likewise.
51488         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
51489         allow.
51490         * conform/data/stdint.h-data: Update comments to clarify
51491         requirements.
51492         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
51493         type.
51494         [C99-based standards] (INT8_MAX): Likewise.
51495         [C99-based standards] (INT16_MIN): Likewise.
51496         [C99-based standards] (INT16_MAX): Likewise.
51497         [C99-based standards] (INT32_MIN): Likewise.
51498         [C99-based standards] (INT32_MAX): Likewise.
51499         [C99-based standards] (INT64_MIN): Likewise.
51500         [C99-based standards] (INT64_MAX): Likewise.
51501         [C99-based standards] (UINT8_MAX): Likewise.
51502         [C99-based standards] (UINT16_MAX): Likewise.
51503         [C99-based standards] (UINT32_MAX): Likewise.
51504         [C99-based standards] (UINT64_MAX): Likewise.
51505         [C99-based standards] (INT_LEAST8_MIN): Likewise.
51506         [C99-based standards] (INT_LEAST8_MAX): Likewise.
51507         [C99-based standards] (INT_LEAST16_MIN): Likewise.
51508         [C99-based standards] (INT_LEAST16_MAX): Likewise.
51509         [C99-based standards] (INT_LEAST32_MIN): Likewise.
51510         [C99-based standards] (INT_LEAST32_MAX): Likewise.
51511         [C99-based standards] (INT_LEAST64_MIN): Likewise.
51512         [C99-based standards] (INT_LEAST64_MAX): Likewise.
51513         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
51514         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
51515         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
51516         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
51517         [C99-based standards] (INT_FAST8_MIN): Likewise.
51518         [C99-based standards] (INT_FAST8_MAX): Likewise.
51519         [C99-based standards] (INT_FAST16_MIN): Likewise.
51520         [C99-based standards] (INT_FAST16_MAX): Likewise.
51521         [C99-based standards] (INT_FAST32_MIN): Likewise.
51522         [C99-based standards] (INT_FAST32_MAX): Likewise.
51523         [C99-based standards] (INT_FAST64_MIN): Likewise.
51524         [C99-based standards] (INT_FAST64_MAX): Likewise.
51525         [C99-based standards] (UINT_FAST8_MAX): Likewise.
51526         [C99-based standards] (UINT_FAST16_MAX): Likewise.
51527         [C99-based standards] (UINT_FAST32_MAX): Likewise.
51528         [C99-based standards] (UINT_FAST64_MAX): Likewise.
51529         [C99-based standards] (INTPTR_MIN): Likewise.
51530         [C99-based standards] (INTPTR_MAX): Likewise.
51531         [C99-based standards] (UINTPTR_MAX): Likewise.
51532         [C99-based standards] (INTMAX_MIN): Likewise.
51533         [C99-based standards] (INTMAX_MAX): Likewise.
51534         [C99-based standards] (UINTMAX_MAX): Likewise.
51535         [C99-based standards] (PTRDIFF_MIN): Likewise.
51536         [C99-based standards] (PTRDIFF_MAX): Likewise.
51537         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
51538         [C99-based standards] (SIZE_MAX): Likewise.
51539         [C99-based standards] (WCHAR_MAX): Likewise.
51540         [C99-based standards] (WINT_MAX): Likewise.
51541         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
51542         constraint on value.
51543         [C99-based standards] (WCHAR_MIN): Likewise.
51544         [C99-based standards] (WINT_MIN): Likewise.
51545         [C99-based standards] (*_t): Allow.
51546         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
51547         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
51548         Include math.h-data and complex.h-data.  Remove all expectations
51549         of math.h and complex.h contents.
51550         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
51551         at end of line.
51552         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
51553         (struct tm): Expect tag.
51554         [C99-based-standards] (wcstof): Expect function.
51555         [C99-based-standards] (wcstold): Likewise.
51556         [C99-based-standards] (wcstoll): Likewise.
51557         [C99-based-standards] (wcstoull): Likewise.
51558         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
51559         macro-int-constant.  Specify type.
51560         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
51561         constraint on value.
51562         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51563         Specify type.
51564         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
51565         Specify value.
51566         [ISO C standards]: Do not allow headers.
51567         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
51568         wcs[abcdefghijklmnopqrstuvwxyz]*.
51569         [ISO C standards] (*_t): Do not allow.
51570         * conform/data/wctype.h-data [C99-based standards] (iswblank):
51571         Expect function.
51572         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
51573         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51574         Specify type.
51575         [ISO C standards]: Do not allow headers.
51576         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
51577         is[abcdefghijklmnopqrstuvwxyz]*.
51578         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
51579         to[abcdefghijklmnopqrstuvwxyz]*.
51580         [ISO C standards] (*_t): Do not allow.
51581         * conform/data/stdalign.h-data: New file.
51582         * conform/data/stdbool.h-data: Likewise.
51583         * conform/data/stdnoreturn.h-data: Likewise.
51585 2012-11-07  Roland McGrath  <roland@hack.frob.com>
51587         [BZ #14815]
51588         * manual/filesys.texi (Directory Entries): Typo fix.
51589         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
51591 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51593         * elf/elf.h (EM_AARCH64): New macro.
51594         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
51595         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
51596         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
51597         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
51598         (R_AARCH64_TLSDESC): Likewise.
51599         (NT_ARM_TLS): Likewise.
51600         (NT_ARM_HW_BREAK): Likewise.
51601         (NT_ARM_HW_WATCH): Likewise.
51603 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51605         [BZ #14811]
51606         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
51607         (__ieee754_powl): Saturate nonzero exponents with absolute value
51608         below 0x1p-79 to +/- 0x1p-79.
51609         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
51610         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
51611         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
51612         nonzero exponents with absolute value below 0x1p-32 to +/-
51613         0x1p-32.
51614         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
51615         (__ieee754_powl): Saturate nonzero exponents with absolute value
51616         below 0x1p-79 to +/- 0x1p-79.
51617         * math/libm-test.inc (pow_test): Add more tests.
51619 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51621         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51622         _dl_s390_cap_flags with kernel. Increase string length.
51623         (_dl_s390_platforms): Add z196 and zEC12.
51625 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51627         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51628         Change XOPEN21K to XOPEN2K.
51630 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
51632         * string/memmove.c: Use memcpy when possible.
51634 2012-11-06  Andreas Jaeger  <aj@suse.de>
51636         * po/eo.po: Update from translation team.
51638 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
51640         [BZ #14793]
51641         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51642         exponent and small x and y exponents, scale x or y up.  Increase
51643         by 2 the exponent used in scaling up.
51644         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51645         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51646         * math/libm-test.inc (fma_test): Add more tests.
51647         (fma_test_towardzero): Likewise.
51648         (fma_test_downward): Likewise.
51649         (fma_test_upward): Likewise.
51651 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
51653         [BZ #14805]
51654         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51655         fenv_t *.
51657         [BZ #14801]
51658         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51659         namespace for names of struct fields.
51660         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51661         fenv_t fields.
51662         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51663         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51665 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51667         [BZ #3665]
51668         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51670 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51672         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51673         PTR_DEMANGLE.
51675         [BZ #5246]
51676         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51677         PTR_DEMANGLE.
51679 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
51681         [BZ #14797]
51682         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51683         definitely overflow as x * y not x * y + z.
51684         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51685         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51686         * math/libm-test.inc (fma_test): Add more tests.
51687         (fma_test_towardzero): Likewise.
51688         (fma_test_downward): Likewise.
51689         (fma_test_upward): Likewise.
51691 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51693         [BZ #157]
51695         * include/stub-tag.h: Remove file.
51696         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51697         '#include' of it.
51698         * manual/maint.texi (Porting): Don't reference it.
51699         * Makerules ($(objpfx)stubs): Likewise.
51700         * dirent/closedir.c: Don't include <stub-tag.h>.
51701         * dirent/dirfd.c: Likewise.
51702         * dirent/fdopendir.c: Likewise.
51703         * dirent/getdents.c: Likewise.
51704         * dirent/getdents64.c: Likewise.
51705         * dirent/opendir.c: Likewise.
51706         * dirent/readdir.c: Likewise.
51707         * dirent/readdir64.c: Likewise.
51708         * dirent/readdir64_r.c: Likewise.
51709         * dirent/readdir_r.c: Likewise.
51710         * dirent/rewinddir.c: Likewise.
51711         * dirent/seekdir.c: Likewise.
51712         * dirent/telldir.c: Likewise.
51713         * gmon/profil.c: Likewise.
51714         * grp/setgroups.c: Likewise.
51715         * inet/if_index.c: Likewise.
51716         * io/access.c: Likewise.
51717         * io/chdir.c: Likewise.
51718         * io/chmod.c: Likewise.
51719         * io/chown.c: Likewise.
51720         * io/close.c: Likewise.
51721         * io/dup.c: Likewise.
51722         * io/dup2.c: Likewise.
51723         * io/dup3.c: Likewise.
51724         * io/euidaccess.c: Likewise.
51725         * io/faccessat.c: Likewise.
51726         * io/fchdir.c: Likewise.
51727         * io/fchmod.c: Likewise.
51728         * io/fchmodat.c: Likewise.
51729         * io/fchown.c: Likewise.
51730         * io/fchownat.c: Likewise.
51731         * io/fcntl.c: Likewise.
51732         * io/flock.c: Likewise.
51733         * io/fstatfs.c: Likewise.
51734         * io/fstatfs64.c: Likewise.
51735         * io/fstatvfs.c: Likewise.
51736         * io/fstatvfs64.c: Likewise.
51737         * io/futimens.c: Likewise.
51738         * io/fxstat.c: Likewise.
51739         * io/fxstat64.c: Likewise.
51740         * io/fxstatat.c: Likewise.
51741         * io/fxstatat64.c: Likewise.
51742         * io/getcwd.c: Likewise.
51743         * io/isatty.c: Likewise.
51744         * io/lchmod.c: Likewise.
51745         * io/lchown.c: Likewise.
51746         * io/link.c: Likewise.
51747         * io/linkat.c: Likewise.
51748         * io/lseek.c: Likewise.
51749         * io/lseek64.c: Likewise.
51750         * io/lxstat64.c: Likewise.
51751         * io/mkdir.c: Likewise.
51752         * io/mkdirat.c: Likewise.
51753         * io/mkfifo.c: Likewise.
51754         * io/mkfifoat.c: Likewise.
51755         * io/open.c: Likewise.
51756         * io/open64.c: Likewise.
51757         * io/openat.c: Likewise.
51758         * io/openat64.c: Likewise.
51759         * io/pipe.c: Likewise.
51760         * io/pipe2.c: Likewise.
51761         * io/poll.c: Likewise.
51762         * io/posix_fadvise.c: Likewise.
51763         * io/posix_fadvise64.c: Likewise.
51764         * io/posix_fallocate.c: Likewise.
51765         * io/posix_fallocate64.c: Likewise.
51766         * io/read.c: Likewise.
51767         * io/readlink.c: Likewise.
51768         * io/readlinkat.c: Likewise.
51769         * io/rmdir.c: Likewise.
51770         * io/sendfile.c: Likewise.
51771         * io/sendfile64.c: Likewise.
51772         * io/statfs.c: Likewise.
51773         * io/statfs64.c: Likewise.
51774         * io/statvfs.c: Likewise.
51775         * io/statvfs64.c: Likewise.
51776         * io/symlink.c: Likewise.
51777         * io/symlinkat.c: Likewise.
51778         * io/ttyname.c: Likewise.
51779         * io/ttyname_r.c: Likewise.
51780         * io/umask.c: Likewise.
51781         * io/unlink.c: Likewise.
51782         * io/unlinkat.c: Likewise.
51783         * io/utime.c: Likewise.
51784         * io/utimensat.c: Likewise.
51785         * io/write.c: Likewise.
51786         * io/xmknod.c: Likewise.
51787         * io/xmknodat.c: Likewise.
51788         * io/xstat.c: Likewise.
51789         * io/xstat64.c: Likewise.
51790         * login/getpt.c: Likewise.
51791         * login/grantpt.c: Likewise.
51792         * login/unlockpt.c: Likewise.
51793         * math/e_acoshl.c: Likewise.
51794         * math/e_acosl.c: Likewise.
51795         * math/e_asinl.c: Likewise.
51796         * math/e_atan2l.c: Likewise.
51797         * math/e_atanhl.c: Likewise.
51798         * math/e_coshl.c: Likewise.
51799         * math/e_expl.c: Likewise.
51800         * math/e_fmodl.c: Likewise.
51801         * math/e_gammal_r.c: Likewise.
51802         * math/e_hypotl.c: Likewise.
51803         * math/e_j0l.c: Likewise.
51804         * math/e_j1l.c: Likewise.
51805         * math/e_jnl.c: Likewise.
51806         * math/e_lgammal_r.c: Likewise.
51807         * math/e_log10l.c: Likewise.
51808         * math/e_log2l.c: Likewise.
51809         * math/e_logl.c: Likewise.
51810         * math/e_powl.c: Likewise.
51811         * math/e_rem_pio2l.c: Likewise.
51812         * math/e_sinhl.c: Likewise.
51813         * math/e_sqrtl.c: Likewise.
51814         * math/fclrexcpt.c: Likewise.
51815         * math/fedisblxcpt.c: Likewise.
51816         * math/feenablxcpt.c: Likewise.
51817         * math/fegetenv.c: Likewise.
51818         * math/fegetexcept.c: Likewise.
51819         * math/fegetround.c: Likewise.
51820         * math/feholdexcpt.c: Likewise.
51821         * math/fesetenv.c: Likewise.
51822         * math/fesetround.c: Likewise.
51823         * math/feupdateenv.c: Likewise.
51824         * math/fgetexcptflg.c: Likewise.
51825         * math/fraiseexcpt.c: Likewise.
51826         * math/fsetexcptflg.c: Likewise.
51827         * math/ftestexcept.c: Likewise.
51828         * math/k_cosl.c: Likewise.
51829         * math/k_rem_pio2l.c: Likewise.
51830         * math/k_sinl.c: Likewise.
51831         * math/k_tanl.c: Likewise.
51832         * math/s_asinhl.c: Likewise.
51833         * math/s_atanl.c: Likewise.
51834         * math/s_cbrtl.c: Likewise.
51835         * math/s_erfl.c: Likewise.
51836         * math/s_expm1l.c: Likewise.
51837         * math/s_log1pl.c: Likewise.
51838         * math/s_tanhl.c: Likewise.
51839         * misc/acct.c: Likewise.
51840         * misc/brk.c: Likewise.
51841         * misc/chflags.c: Likewise.
51842         * misc/chroot.c: Likewise.
51843         * misc/fchflags.c: Likewise.
51844         * misc/fgetxattr.c: Likewise.
51845         * misc/flistxattr.c: Likewise.
51846         * misc/fremovexattr.c: Likewise.
51847         * misc/fsetxattr.c: Likewise.
51848         * misc/fsync.c: Likewise.
51849         * misc/ftruncate.c: Likewise.
51850         * misc/futimes.c: Likewise.
51851         * misc/futimesat.c: Likewise.
51852         * misc/getdomain.c: Likewise.
51853         * misc/getdtsz.c: Likewise.
51854         * misc/gethostid.c: Likewise.
51855         * misc/gethostname.c: Likewise.
51856         * misc/getloadavg.c: Likewise.
51857         * misc/getpagesize.c: Likewise.
51858         * misc/getsysstats.c: Likewise.
51859         * misc/getxattr.c: Likewise.
51860         * misc/gtty.c: Likewise.
51861         * misc/ioctl.c: Likewise.
51862         * misc/lgetxattr.c: Likewise.
51863         * misc/listxattr.c: Likewise.
51864         * misc/llistxattr.c: Likewise.
51865         * misc/lremovexattr.c: Likewise.
51866         * misc/lsetxattr.c: Likewise.
51867         * misc/lutimes.c: Likewise.
51868         * misc/madvise.c: Likewise.
51869         * misc/mincore.c: Likewise.
51870         * misc/mlock.c: Likewise.
51871         * misc/mlockall.c: Likewise.
51872         * misc/mmap.c: Likewise.
51873         * misc/mprotect.c: Likewise.
51874         * misc/msync.c: Likewise.
51875         * misc/munlock.c: Likewise.
51876         * misc/munlockall.c: Likewise.
51877         * misc/munmap.c: Likewise.
51878         * misc/preadv.c: Likewise.
51879         * misc/preadv64.c: Likewise.
51880         * misc/ptrace.c: Likewise.
51881         * misc/pwritev.c: Likewise.
51882         * misc/pwritev64.c: Likewise.
51883         * misc/readv.c: Likewise.
51884         * misc/reboot.c: Likewise.
51885         * misc/remap_file_pages.c: Likewise.
51886         * misc/removexattr.c: Likewise.
51887         * misc/revoke.c: Likewise.
51888         * misc/select.c: Likewise.
51889         * misc/setdomain.c: Likewise.
51890         * misc/setegid.c: Likewise.
51891         * misc/seteuid.c: Likewise.
51892         * misc/sethostid.c: Likewise.
51893         * misc/sethostname.c: Likewise.
51894         * misc/setregid.c: Likewise.
51895         * misc/setreuid.c: Likewise.
51896         * misc/setxattr.c: Likewise.
51897         * misc/sstk.c: Likewise.
51898         * misc/stty.c: Likewise.
51899         * misc/swapoff.c: Likewise.
51900         * misc/swapon.c: Likewise.
51901         * misc/sync.c: Likewise.
51902         * misc/syncfs.c: Likewise.
51903         * misc/syscall.c: Likewise.
51904         * misc/truncate.c: Likewise.
51905         * misc/ualarm.c: Likewise.
51906         * misc/usleep.c: Likewise.
51907         * misc/ustat.c: Likewise.
51908         * misc/utimes.c: Likewise.
51909         * misc/vhangup.c: Likewise.
51910         * misc/writev.c: Likewise.
51911         * posix/_exit.c: Likewise.
51912         * posix/alarm.c: Likewise.
51913         * posix/execve.c: Likewise.
51914         * posix/fexecve.c: Likewise.
51915         * posix/fork.c: Likewise.
51916         * posix/fpathconf.c: Likewise.
51917         * posix/getaddrinfo.c: Likewise.
51918         * posix/getegid.c: Likewise.
51919         * posix/geteuid.c: Likewise.
51920         * posix/getgid.c: Likewise.
51921         * posix/getgroups.c: Likewise.
51922         * posix/getlogin.c: Likewise.
51923         * posix/getlogin_r.c: Likewise.
51924         * posix/getpgid.c: Likewise.
51925         * posix/getpid.c: Likewise.
51926         * posix/getppid.c: Likewise.
51927         * posix/getresgid.c: Likewise.
51928         * posix/getresuid.c: Likewise.
51929         * posix/getsid.c: Likewise.
51930         * posix/getuid.c: Likewise.
51931         * posix/glob64.c: Likewise.
51932         * posix/nanosleep.c: Likewise.
51933         * posix/pathconf.c: Likewise.
51934         * posix/pause.c: Likewise.
51935         * posix/posix_madvise.c: Likewise.
51936         * posix/pread.c: Likewise.
51937         * posix/pread64.c: Likewise.
51938         * posix/pwrite.c: Likewise.
51939         * posix/pwrite64.c: Likewise.
51940         * posix/sched_getaffinity.c: Likewise.
51941         * posix/sched_getp.c: Likewise.
51942         * posix/sched_gets.c: Likewise.
51943         * posix/sched_primax.c: Likewise.
51944         * posix/sched_primin.c: Likewise.
51945         * posix/sched_rr_gi.c: Likewise.
51946         * posix/sched_setaffinity.c: Likewise.
51947         * posix/sched_setp.c: Likewise.
51948         * posix/sched_sets.c: Likewise.
51949         * posix/sched_yield.c: Likewise.
51950         * posix/setgid.c: Likewise.
51951         * posix/setlogin.c: Likewise.
51952         * posix/setpgid.c: Likewise.
51953         * posix/setresgid.c: Likewise.
51954         * posix/setresuid.c: Likewise.
51955         * posix/setsid.c: Likewise.
51956         * posix/setuid.c: Likewise.
51957         * posix/sleep.c: Likewise.
51958         * posix/spawni.c: Likewise.
51959         * posix/sysconf.c: Likewise.
51960         * posix/times.c: Likewise.
51961         * posix/wait.c: Likewise.
51962         * posix/wait3.c: Likewise.
51963         * posix/wait4.c: Likewise.
51964         * posix/waitpid.c: Likewise.
51965         * resolv/gai_sigqueue.c: Likewise.
51966         * resource/getpriority.c: Likewise.
51967         * resource/getrlimit.c: Likewise.
51968         * resource/getrusage.c: Likewise.
51969         * resource/nice.c: Likewise.
51970         * resource/setpriority.c: Likewise.
51971         * resource/setrlimit.c: Likewise.
51972         * resource/ulimit.c: Likewise.
51973         * rt/aio_cancel.c: Likewise.
51974         * rt/aio_fsync.c: Likewise.
51975         * rt/aio_read.c: Likewise.
51976         * rt/aio_sigqueue.c: Likewise.
51977         * rt/aio_suspend.c: Likewise.
51978         * rt/aio_write.c: Likewise.
51979         * rt/clock_getres.c: Likewise.
51980         * rt/clock_gettime.c: Likewise.
51981         * rt/clock_nanosleep.c: Likewise.
51982         * rt/clock_settime.c: Likewise.
51983         * rt/lio_listio.c: Likewise.
51984         * rt/mq_close.c: Likewise.
51985         * rt/mq_getattr.c: Likewise.
51986         * rt/mq_notify.c: Likewise.
51987         * rt/mq_open.c: Likewise.
51988         * rt/mq_receive.c: Likewise.
51989         * rt/mq_send.c: Likewise.
51990         * rt/mq_setattr.c: Likewise.
51991         * rt/mq_timedreceive.c: Likewise.
51992         * rt/mq_timedsend.c: Likewise.
51993         * rt/mq_unlink.c: Likewise.
51994         * rt/shm_open.c: Likewise.
51995         * rt/shm_unlink.c: Likewise.
51996         * rt/timer_create.c: Likewise.
51997         * rt/timer_delete.c: Likewise.
51998         * rt/timer_getoverr.c: Likewise.
51999         * rt/timer_gettime.c: Likewise.
52000         * rt/timer_settime.c: Likewise.
52001         * setjmp/__longjmp.c: Likewise.
52002         * setjmp/setjmp.c: Likewise.
52003         * signal/kill.c: Likewise.
52004         * signal/killpg.c: Likewise.
52005         * signal/raise.c: Likewise.
52006         * signal/sigaction.c: Likewise.
52007         * signal/sigaltstack.c: Likewise.
52008         * signal/sigblock.c: Likewise.
52009         * signal/sigignore.c: Likewise.
52010         * signal/sigintr.c: Likewise.
52011         * signal/signal.c: Likewise.
52012         * signal/sigpause.c: Likewise.
52013         * signal/sigpending.c: Likewise.
52014         * signal/sigqueue.c: Likewise.
52015         * signal/sigreturn.c: Likewise.
52016         * signal/sigset.c: Likewise.
52017         * signal/sigsetmask.c: Likewise.
52018         * signal/sigstack.c: Likewise.
52019         * signal/sigsuspend.c: Likewise.
52020         * signal/sigtimedwait.c: Likewise.
52021         * signal/sigvec.c: Likewise.
52022         * signal/sigwait.c: Likewise.
52023         * signal/sigwaitinfo.c: Likewise.
52024         * signal/sysv_signal.c: Likewise.
52025         * socket/accept.c: Likewise.
52026         * socket/accept4.c: Likewise.
52027         * socket/bind.c: Likewise.
52028         * socket/connect.c: Likewise.
52029         * socket/getpeername.c: Likewise.
52030         * socket/getsockname.c: Likewise.
52031         * socket/getsockopt.c: Likewise.
52032         * socket/isfdtype.c: Likewise.
52033         * socket/listen.c: Likewise.
52034         * socket/recv.c: Likewise.
52035         * socket/recvfrom.c: Likewise.
52036         * socket/recvmsg.c: Likewise.
52037         * socket/send.c: Likewise.
52038         * socket/sendmsg.c: Likewise.
52039         * socket/sendto.c: Likewise.
52040         * socket/setsockopt.c: Likewise.
52041         * socket/shutdown.c: Likewise.
52042         * socket/sockatmark.c: Likewise.
52043         * socket/socket.c: Likewise.
52044         * socket/socketpair.c: Likewise.
52045         * stdio-common/ctermid.c: Likewise.
52046         * stdio-common/cuserid.c: Likewise.
52047         * stdio-common/remove.c: Likewise.
52048         * stdio-common/rename.c: Likewise.
52049         * stdio-common/renameat.c: Likewise.
52050         * stdio-common/tempname.c: Likewise.
52051         * stdlib/getcontext.c: Likewise.
52052         * stdlib/makecontext.c: Likewise.
52053         * stdlib/setcontext.c: Likewise.
52054         * stdlib/swapcontext.c: Likewise.
52055         * stdlib/system.c: Likewise.
52056         * streams/fattach.c: Likewise.
52057         * streams/fdetach.c: Likewise.
52058         * streams/getmsg.c: Likewise.
52059         * streams/getpmsg.c: Likewise.
52060         * streams/putmsg.c: Likewise.
52061         * streams/putpmsg.c: Likewise.
52062         * sysdeps/unix/bsd/getpt.c: Likewise.
52063         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
52064         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
52065         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52067         Likewise.
52068         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
52069         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52070         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
52071         * sysvipc/msgctl.c: Likewise.
52072         * sysvipc/msgget.c: Likewise.
52073         * sysvipc/msgrcv.c: Likewise.
52074         * sysvipc/msgsnd.c: Likewise.
52075         * sysvipc/semctl.c: Likewise.
52076         * sysvipc/semget.c: Likewise.
52077         * sysvipc/semop.c: Likewise.
52078         * sysvipc/semtimedop.c: Likewise.
52079         * sysvipc/shmat.c: Likewise.
52080         * sysvipc/shmctl.c: Likewise.
52081         * sysvipc/shmdt.c: Likewise.
52082         * sysvipc/shmget.c: Likewise.
52083         * termios/tcdrain.c: Likewise.
52084         * termios/tcflow.c: Likewise.
52085         * termios/tcflush.c: Likewise.
52086         * termios/tcgetattr.c: Likewise.
52087         * termios/tcgetpgrp.c: Likewise.
52088         * termios/tcsendbrk.c: Likewise.
52089         * termios/tcsetattr.c: Likewise.
52090         * termios/tcsetpgrp.c: Likewise.
52091         * time/adjtime.c: Likewise.
52092         * time/clock.c: Likewise.
52093         * time/getitimer.c: Likewise.
52094         * time/gettimeofday.c: Likewise.
52095         * time/setitimer.c: Likewise.
52096         * time/settimeofday.c: Likewise.
52097         * time/stime.c: Likewise.
52098         * time/time.c: Likewise.
52100 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
52102         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
52103         /usr/old/bin.
52105         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
52106         instead of spaces.
52107         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
52109 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
52111         [BZ #14796]
52112         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
52113         FE_TONEAREST before applying Dekker multiplication and Knuth
52114         addition.  Clear inexact exceptions and check for exact zero
52115         results afterwards.
52116         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52117         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52118         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52119         * math/libm-test.inc (fma_test): Add more tests.
52120         (fma_test_towardzero): Likewise.
52121         (fma_test_downward): Likewise.
52122         (fma_test_upward): Likewise.
52123         * sysdeps/generic/math_private.h (default_libc_fesetround): New
52124         function.
52125         (libc_fesetround): New macro.
52126         (libc_fesetroundf): Likewise.
52127         (libc_fesetroundl): Likewise.
52128         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
52129         function.
52130         (libc_fesetround_387): Likewise.
52131         (libc_fesetroundf): New macro.
52132         (libc_fesetround): Likewise.
52133         (libc_fesetroundl): Likewise.
52134         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
52135         function.
52136         (libc_fesetroundf): New macro.
52137         (libc_fesetround): Likewise.
52138         (libc_fesetroundl): Likewise.
52139         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
52140         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
52141         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
52142         libm_hidden_ver.
52143         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
52144         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
52145         libm_hidden_def.
52146         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
52147         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
52148         libm_hidden_ver.
52149         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
52150         libm_hidden_def.
52152         [BZ #3439]
52153         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
52154         integer constant usable in #if and use that to give value to enum
52155         constant.
52156         (FE_DIVBYZERO): Likewise.
52157         (FE_UNDERFLOW): Likewise.
52158         (FE_OVERFLOW): Likewise.
52159         (FE_INVALID): Likewise.
52160         (FE_INVALID_SNAN): Likewise.
52161         (FE_INVALID_ISI): Likewise.
52162         (FE_INVALID_IDI): Likewise.
52163         (FE_INVALID_ZDZ): Likewise.
52164         (FE_INVALID_IMZ): Likewise.
52165         (FE_INVALID_COMPARE): Likewise.
52166         (FE_INVALID_SOFTWARE): Likewise.
52167         (FE_INVALID_SQRT): Likewise.
52168         (FE_INVALID_INTEGER_CONVERSION): Likewise.
52169         (FE_TONEAREST): Likewise.
52170         (FE_TOWARDZERO): Likewise.
52171         (FE_UPWARD): Likewise.
52172         (FE_DOWNWARD): Likewise.
52173         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
52174         (FE_DIVBYZERO): Likewise.
52175         (FE_OVERFLOW): Likewise.
52176         (FE_UNDERFLOW): Likewise.
52177         (FE_INEXACT): Likewise.
52178         (FE_TONEAREST): Likewise.
52179         (FE_DOWNWARD): Likewise.
52180         (FE_UPWARD): Likewise.
52181         (FE_TOWARDZERO): Likewise.
52182         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
52183         (FE_UNDERFLOW): Likewise.
52184         (FE_OVERFLOW): Likewise.
52185         (FE_DIVBYZERO): Likewise.
52186         (FE_INVALID): Likewise.
52187         (FE_TONEAREST): Likewise.
52188         (FE_TOWARDZERO): Likewise.
52189         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
52190         (FE_OVERFLOW): Likewise.
52191         (FE_UNDERFLOW): Likewise.
52192         (FE_DIVBYZERO): Likewise.
52193         (FE_INEXACT): Likewise.
52194         (FE_TONEAREST): Likewise.
52195         (FE_TOWARDZERO): Likewise.
52196         (FE_UPWARD): Likewise.
52197         (FE_DOWNWARD): Likewise.
52198         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
52199         (FE_DIVBYZERO): Likewise.
52200         (FE_OVERFLOW): Likewise.
52201         (FE_UNDERFLOW): Likewise.
52202         (FE_INEXACT): Likewise.
52203         (FE_TONEAREST): Likewise.
52204         (FE_DOWNWARD): Likewise.
52205         (FE_UPWARD): Likewise.
52206         (FE_TOWARDZERO): Likewise.
52208 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
52210         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
52212 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
52214         * scripts/cross-test-ssh.sh (command): Use newlines to separate
52215         commands.  Quote $PWD.
52216         (blacklist_exports): Don't use remove_newlines.  Replace "declare
52217         -x" by "export".
52218         (remove_newlines): Remove.
52220 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
52222         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
52223         * stdlib/stdlib.h (atof): Moved to ...
52224         * include/bits/stdlib-float.h: Here.  New file.
52225         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
52226         * stdlib/bits/stdlib-float.h: New file.
52227         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
52228         -mno-sse -mno-mmx.
52229         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
52230         <xmmintrin.h>.
52232 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52234         * conform/conformtest.pl (@headers): Add fenv.h.
52235         * conform/data/fenv.h-data: New file.
52236         * include/fenv.h [_ISOMAC]: Disable all contents of file except
52237         include of <math/fenv.h>.
52239         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
52240         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
52241         && !UNIX98].  Enables tests for XOPEN2K8.
52242         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
52243         POSIX2008]: Likewise.
52245         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
52246         (struct rusage): Do not expect type or its members.
52248         [BZ #3439]
52249         * math/math.h (FP_NAN): Define macro to integer constant usable in
52250         #if and use that to give value to enum constant.
52251         (FP_INFINITE): Likewise.
52252         (FP_ZERO): Likewise.
52253         (FP_SUBNORMAL): Likewise.
52254         (FP_NORMAL): Likewise.
52256 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
52258         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
52259         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
52260         arguments.
52262 2012-11-02  Roland McGrath  <roland@hack.frob.com>
52264         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
52265         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
52266         autoconf-time if not.
52267         * configure.in: Remove AC_PREREQ.
52269 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52271         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
52272         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
52273         of the internal implementation.
52275 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52277         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
52278         except include of <misc/sys/syslog.h>.
52280 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
52283         function returns with a NULL context exit with zero.
52285 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52287         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
52289 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
52291         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
52292         (run_program_cmd): This.
52293         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
52294         (tst_langinfo): New variable.  Use it.
52296 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
52298         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
52299         floating point opcodes.
52301 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52303         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
52304         variable.
52306         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
52308         * sysdeps/mach/hurd/powerpc: Remove directory.
52309         * sysdeps/mach/powerpc: Likewise.
52311 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52313         * scripts/check-local-headers.sh: Ignore c++ headers.
52315 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52317         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
52318         __libc_cleanup_region_start argument.
52320 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
52322         [BZ #14784]
52323         [BZ #14785]
52324         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
52325         x * y using scaling, not as x * y + z.
52326         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52327         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52328         * math/libm-test.inc (fma_test): Add more tests.
52329         (fma_test_towardzero): Likewise.
52330         (fma_test_downward): Likewise.
52331         (fma_test_upward): Likewise.
52333 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52335         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
52337 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52339         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
52340         New variable.
52342 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
52344         * rt/tst-shm.c (worker): Correct checking for mmap failure.
52346 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52349         Fix sort order.
52350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52351         Likewise.
52353 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52356         Fix the order of the list for glibc 2.17.
52357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52358         Likewise.
52360 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52364 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52366         [BZ #14610]
52367         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
52368         for low part of x being zero before using __atanl (y).
52369         * math/libm-test.inc (atan2_test): Add another test.
52371         * manual/install.texi (Configuring and compiling): Document
52372         general use of test-wrapper and test-wrapper-env.
52373         * INSTALL: Regenerated.
52375         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
52376         (__fma): Do not extract and scale down low bits on after-rounding
52377         systems when result rounded to normal precision would have normal
52378         exponent.
52379         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
52380         (__fmal): Do not extract and scale down low bits on after-rounding
52381         systems when result rounded to normal precision would have normal
52382         exponent.
52383         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
52384         (__fmal): Do not extract and scale down low bits on after-rounding
52385         systems when result rounded to normal precision would have normal
52386         exponent.
52387         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
52388         macro.
52389         (fma_test): Add more tests.
52390         (fma_test_towardzero): Likewise.
52391         (fma_test_downward): Likewise.
52392         (fma_test_upward): Likewise.
52394 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
52396         * sysdeps/i386/tininess.h: Renamed to ...
52397         * sysdeps/x86/tininess.h: This.
52398         * sysdeps/x86_64/tininess.h: Removed.
52400 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52402         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
52403         input.  Use $(build-program-cmd).
52404         ($(objpfx)tst-array1-static.out): Likewise.
52405         ($(objpfx)tst-array2.out): Likewise.
52406         ($(objpfx)tst-array3.out): Likewise.
52407         ($(objpfx)tst-array4.out): Likewise.
52408         ($(objpfx)tst-array5.out): Likewise.
52409         ($(objpfx)tst-array5-static.out): Likewise.
52411 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
52413         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
52414         if defined.
52416         * nss/nsswitch.h (nss_interface_function): Provide new
52417         macro for use with NSS functions.
52418         * grp/initgroups.c: Use new macro.
52419         * nss/getXXbyYY.c: Likewise.
52420         * nss/getXXbyYY_r.c: Likewise.
52421         * nss/getXXent.c: Likewise.
52422         * nss/getXXent_r.c: Likewise.
52423         * sysdeps/posix/getaddrinfo.c: Likewise.
52425 2012-10-30  Andreas Jaeger  <aj@suse.de>
52427         * po/ru.po: Update Russion translation from translation project.
52429 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52431         [BZ #14152]
52432         [BZ #14783]
52433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
52434         result and shift together with sticky bit instead of replicating
52435         round-to-nearest rounding.
52436         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52437         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52438         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
52439         missing underflow exceptions.
52440         (fma_test_towardzero): Add more tests.
52441         (fma_test_downward): Likewise.
52442         (fma_test_upward): Likewise.
52444         [BZ #14047]
52445         * sysdeps/generic/tininess.h: New file.
52446         * sysdeps/i386/tininess.h: Likewise.
52447         * sysdeps/sh/tininess.h: Likewise.
52448         * sysdeps/x86_64/tininess.h: Likewise.
52449         * stdlib/tst-strtod-underflow.c: Likewise.
52450         * stdlib/tst-tininess.c: Likewise.
52451         * stdlib/strtod_l.c: Include <tininess.h>.
52452         (round_and_return): Do not set errno for exact underflow cases.
52453         Force an underflow exception when setting errno for underflow.
52454         Determine underflow based on rounding to normal precision if
52455         TININESS_AFTER_ROUNDING.
52456         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
52457         ERANGE for exact underflow cases.
52458         * stdlib/Makefile (tests): Add tst-tininess and
52459         tst-strtod-underflow.
52460         ($(objpfx)tst-tininess): Use $(link-libm).
52461         ($(objpfx)tst-strtod-underflow): Likewise.
52463 2012-10-30  Andreas Jaeger  <aj@suse.de>
52465         [BZ#14767]
52466         * elf/Makefile (tests): Remove conditional for have-initfini-array
52467         since this is now always required and the variable does not exist
52468         anymore.
52469         (tests-static): Likewise.
52470         (modules-names): Likewise.
52472         * po/eo.po: Add Esperanto translation from translation project.
52474         * elf/tst-array1.c (fini_array): Make writeable so that it can be
52475         merged with constructor/destructor.
52476         (init_array): Likewise.
52477         * elf/tst-array2dep.c (fini_array): Likewise.
52478         (init_array): Likewise.
52480 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
52482         * manual/message.texi: Delete @cartouche tags.
52484 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
52486         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
52487         EOPNOTSUPP.
52488         * sysdeps/mach/hurd/fsync.c: Likewise.
52490         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
52491         [_POSIX_REALTIME_SIGNALS]: Change condition to
52492         [_POSIX_REALTIME_SIGNALS > 0].
52494 2012-10-27  Andreas Jaeger  <aj@suse.de>
52496         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
52497         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
52498         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
52499         [__WORDSIZE != 64]: Likewise.
52501 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
52503         *  iconvdata/tst-table.sh: Remove ${SHELL}.
52504         *  iconvdata/tst-tables.sh: Likewise.
52506 2012-10-25  David S. Miller  <davem@davemloft.net>
52508         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52509         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
52510         of strtoull.
52512         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
52513         ifunc-impl-list.c
52514         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52515         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
52516         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
52517         file.
52519 2012-10-25  Roland McGrath  <roland@hack.frob.com>
52521         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52522         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
52523         __getdirentries.
52525 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52526             Jim Blandy  <jimb@codesourcery.com>
52528         * scripts/cross-test-ssh.sh: New file.
52529         * manual/install.texi (Configuring and compiling): Document use of
52530         cross-test-ssh.sh.
52531         * INSTALL: Regenerated.
52533 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
52535         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
52536         EOPNOTSUPP.
52538 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52540         * Makeconfig (run-program-prefix): Fix comment.
52542 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52543             Jim Blandy  <jimb@codesourcery.com>
52545         * Makeconfig (test-wrapper): New variable,
52546         (test-wrapper-env): Likewise.
52547         [$(cross-compiling) = yes && $(test-wrapper) != ""]
52548         (run-built-tests): Define to yes.
52549         (run-program-prefix): Use $(test-wrapper).
52550         (built-program-cmd): Likewise.
52551         * Rules (make-test-out): Use $(test-wrapper-env) and
52552         $(host-built-program-cmd).
52553         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
52554         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
52555         tst-pathopt.sh.
52556         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
52557         $(test-wrapper-env) to tst-rtld-load-self.sh.
52558         ($(objpfx)order2.out): Use $(test-wrapper).
52559         ($(objpfx)tst-initorder.out): Likewise.
52560         ($(objpfx)tst-initorder2.out): Likewise.
52561         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
52562         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
52563         (test_wrapper_env): New variable.  Use it to run ld.so.
52564         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
52565         Use it to run ld.so.
52566         (test_wrapper_env): Likewise.
52567         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
52568         $(test-wrapper) to run-iconv-test.sh.
52569         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
52570         (ICONV): Use $test_wrapper.
52571         * posix/Makefile ($(objpfx)globtest.out): Pass
52572         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
52573         globtest.sh, not $(run-program-prefix).
52574         * posix/globtest.sh (run_via_rtld_prefix): New variable.
52575         (test_wrapper): Likewise.
52576         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
52577         set together with run_via_rtld_prefix.
52578         (run_program_prefix): Define in terms of test_wrapper and
52579         run_via_rtld_prefix.
52581 2012-10-24  Roland McGrath  <roland@hack.frob.com>
52583         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
52584         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
52585         Targets removed.
52587         [BZ #14743]
52588         * include/time.h: Remove librt_hidden_proto (clock_gettime).
52589         Declare __clock_getres, __clock_gettime, __clock_settime,
52590         __clock_nanosleep, and __clock_getcpuclockid.
52591         * rt/clock_gettime.c: Define __clock_gettime as an alias.
52592         Remove librt_hidden_def (clock_gettime).
52593         * sysdeps/unix/clock_gettime.c: Likewise.
52594         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
52595         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
52596         * rt/clock_getres.c: Define __clock_getres as an alias.
52597         * sysdeps/posix/clock_getres.c: Likewise.
52598         * rt/clock_settime.c: Define __clock_settime as an alias.
52599         * sysdeps/unix/clock_settime.c: Likewise.
52600         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
52601         * sysdeps/unix/clock_nanosleep.c: Likewise.
52602         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
52603         * rt/clock-compat.c: New file.
52604         * rt/Makefile (librt-routines): Add clock-compat and move
52605         $(clock-routines) to ...
52606         (routines): ... here, new variable.
52607         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
52608         Don't add get_clockfreq here.
52609         * rt/Versions (libc: GLIBC_2.17): New version set.
52610         Add clock_* symbols here.
52611         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
52612         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
52613         (GLIBC_2.17): Add clock_* symbols.
52614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52616         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52618         Likewise.
52619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52620         Likewise.
52621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52625         * NEWS: Mention the move.
52627         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52628         Use __open, __read, __close rather than their public counterparts.
52629         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52630         (__get_clockfreq_via_cpuinfo): Likewise.
52631         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52632         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52634         * config.h.in (HAVE_IFUNC): New #undef.
52635         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52636         was successful.
52637         * configure: Regenerated.
52639 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52641         * configure.in: Move READELF check to start of file.
52642         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52643         libc_cv_asm_gnu_indirect_function in the process.
52644         * configure: Regenerated.
52646 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52648         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52649         send the output to /dev/null.
52650         (libc_cv_cc_with_libunwind): Likewise.
52651         (libc_cv_as_noexecstack): Likewise.
52652         * configure: Regenerate.
52654 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52656         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52658         * posix/globtest.sh (TMPDIR): Do not set.
52659         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52660         (testout): Likewise.
52662 2012-10-24  Andreas Jaeger  <aj@suse.de>
52664         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52665         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52666         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52667         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52668         posix_fadvise64, posix_fallocate64.
52670         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52671         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52672         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52673         Likewise.
52674         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52675         Likewise.
52676         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52678         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52679         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52680         <bits/fcntl-linux.h>.
52681         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52683         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52684         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52685         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52686         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52687         [__WORDSIZE != 64]: Likewise.
52689 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52691         * Makeconfig (run-built-tests): New variable.
52692         * Rules [$(cross-compiling) = yes]: Change condition to
52693         [$(run-built-tests) = no].
52694         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52695         to [$(run-built-tests) = yes].
52696         * elf/Makefile [$(cross-compiling) = no]: Likewise.
52697         * grp/Makefile [$(cross-compiling) = no]: Likewise.
52698         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52699         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52700         * intl/Makefile [$(cross-compiling) = no]: Likewise.
52701         * io/Makefile [$(cross-compiling) = no]: Likewise.
52702         * libio/Makefile [$(cross-compiling) = no]: Likewise.
52703         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52704         * misc/Makefile [$(cross-compiling) = no]: Likewise.
52705         * posix/Makefile [$(cross-compiling) = no]: Likewise.
52706         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52707         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52708         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52709         * string/Makefile [$(cross-compiling) = no]: Likewise.
52711         * posix/Makefile ($(objpfx)globtest.out): Pass
52712         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52713         $(rtld-installed-name).
52714         * posix/globtest.sh (elf_objpfx): Remove variable.
52715         (rtld_installed_name): Likewise.
52716         (library_path): Likewise.
52717         (run_program_prefix): New variable.  Use for running globtest
52718         binary.
52720 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
52721             Joseph Myers  <joseph@codesourcery.com>
52723         * Makeconfig (host-built-program-cmd): New variable.
52724         * elf/Makefile (tst-stackguard1-ARGS): Use
52725         $(host-built-program-cmd).
52726         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52727         (tst-spawn-ARGS): Likewise.
52728         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52730 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52731             Jim Blandy  <jimb@codesourcery.com>
52733         * Makeconfig (run-via-rtld-prefix): New variable.
52734         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52735         (built-program-cmd): Likewise.
52737 2012-10-22  Andreas Jaeger  <aj@suse.de>
52739         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52740         __O_RSYNC if it exists, otherwise to O_SYNC.
52742 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
52743             Joseph Myers  <joseph@codesourcery.com>
52745         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52746         /dev/null.
52747         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52748         from /dev/null
52749         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52750         /dev/null.
52752 2012-10-22  Andreas Jaeger  <aj@suse.de>
52754         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52755         Define always.
52756         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52758         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52759         bits/fcntl-linux.h.
52761         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52762         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52764         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52765         to __O_LARGEFILE.
52766         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52767         to __O_LARGEFILE.
52769 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
52770             Joseph Myers  <joseph@codesourcery.com>
52772         * config.make.in (NM): New variable.
52774 2012-10-21  Andreas Jaeger  <aj@suse.de>
52776         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
52777         definitions and declarations that are provided by
52778         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52780 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52782         [BZ #14683]
52783         * elf/Makefile (tests-static): Add tst-leaks1-static.
52784         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
52785         ($(objpfx)tst-leaks1-static): New rule.
52786         ($(objpfx)tst-leaks1-static-mem): Likewise.
52787         (tst-leaks1-static-ENV): New macro.
52788         * elf/dl-open.c (dl_open_worker): Check the main application
52789         only if SHARED is defined.
52790         * elf/tst-leaks1-static.c: New file.
52792 2012-10-20  Andreas Jaeger  <aj@suse.de>
52794         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
52795         generic values for Linux.
52796         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
52797         and declarations that are provided by <bits/fcntl-linux.h> and
52798         include <bits/fcntl-linux.h>.
52799         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52800         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52802 2012-10-20  Roland McGrath  <roland@hack.frob.com>
52804         * io/fcntl.h: Move include of <bits/types.h> to the top and
52805         include it unconditionally.
52807 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52809         * wcsmbs/Makefile (tests-ifunc): New variable.
52810         (tests): Add $(tests-ifunc).
52811         * wcsmbs/test-wcschr-ifunc.c: New file.
52812         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
52813         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
52814         * wcsmbs/test-wcslen-ifunc.c: Likewise.
52815         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
52816         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
52818         * string/Makefile (tests-ifunc): New variable.
52819         (tests): Add $(tests-ifunc).
52820         * string/test-memccpy.c (TEST_NAME): New macro.
52821         * string/test-memchr.c (TEST_NAME): Likewise.
52822         * string/test-memcmp.c (TEST_NAME): Likewise.
52823         * string/test-memcpy.c (TEST_NAME): Likewise.
52824         * string/test-memmem.c (TEST_NAME): Likewise.
52825         * string/test-memmove.c (TEST_NAME): Likewise.
52826         * string/test-memset.c (TEST_NAME): Likewise.
52827         * string/test-rawmemchr.c (TEST_NAME): Likewise.
52828         * string/test-stpcpy.c (TEST_NAME): Likewise.
52829         * string/test-stpncpy.c (TEST_NAME): Likewise.
52830         * string/test-strcasecmp.c (TEST_NAME): Likewise.
52831         * string/test-strcasestr.c (TEST_NAME): Likewise.
52832         * string/test-strcat.c (TEST_NAME): Likewise.
52833         * string/test-strchr.c (TEST_NAME): Likewise.
52834         * string/test-strcmp.c(TEST_NAME): Likewise.
52835         * string/test-strcpy.c (TEST_NAME): Likewise.
52836         * string/test-strcspn.c (TEST_NAME): Likewise.
52837         * string/test-strlen.c (TEST_NAME): Likewise.
52838         * string/test-strncasecmp.c (TEST_NAME): Likewise.
52839         * string/test-strncmp.c (TEST_NAME): Likewise.
52840         * string/test-strncpy.c (TEST_NAME): Likewise.
52841         * string/test-strnlen.c (TEST_NAME): Likewise.
52842         * string/test-strpbrk.c (TEST_NAME): Likewise.
52843         * string/test-strrchr.c (TEST_NAME): Likewise.
52844         * string/test-strspn.c (TEST_NAME): Likewise.
52845         * string/test-strstr.c (TEST_NAME): Likewise.
52846         * string/test-bcopy-ifunc.c: New file.
52847         * string/test-bzero-ifunc.c: Likewise.
52848         * string/test-memccpy-ifunc.c: Likewise.
52849         * string/test-memchr-ifunc.c: Likewise.
52850         * string/test-memcmp-ifunc.c: Likewise.
52851         * string/test-memcpy-ifunc.c: Likewise.
52852         * string/test-memmem-ifunc.c: Likewise.
52853         * string/test-memmove-ifunc.c: Likewise.
52854         * string/test-mempcpy-ifunc.c: Likewise.
52855         * string/test-memset-ifunc.c: Likewise.
52856         * string/test-rawmemchr-ifunc.c: Likewise.
52857         * string/test-stpcpy-ifunc.c: Likewise.
52858         * string/test-stpncpy-ifunc.c: Likewise.
52859         * string/test-strcasecmp-ifunc.c: Likewise.
52860         * string/test-strcasestr-ifunc.c: Likewise.
52861         * string/test-strcat-ifunc.c: Likewise.
52862         * string/test-strchr-ifunc.c: Likewise.
52863         * string/test-strchrnul-ifunc.c: Likewise.
52864         * string/test-strcmp-ifunc.c: Likewise.
52865         * string/test-strcpy-ifunc.c: Likewise.
52866         * string/test-strcspn-ifunc.c: Likewise.
52867         * string/test-strlen-ifunc.c: Likewise.
52868         * string/test-strncasecmp-ifunc.c: Likewise.
52869         * string/test-strncat-ifunc.c: Likewise.
52870         * string/test-strncmp-ifunc.c: Likewise.
52871         * string/test-strncpy-ifunc.c: Likewise.
52872         * string/test-strnlen-ifunc.c: Likewise.
52873         * string/test-strpbrk-ifunc.c: Likewise.
52874         * string/test-strrchr-ifunc.c: Likewise.
52875         * string/test-strspn-ifunc.c: Likewise.
52876         * string/test-strstr-ifunc.c: Likewise.
52878         * debug/Makefile (tests-ifunc): New variable.
52879         (tests): Add $(tests-ifunc).
52880         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
52881         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
52882         * debug/test-stpcpy_chk-ifunc.c: New file.
52883         * debug/test-strcpy_chk-ifunc.c: Likewise.
52885 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52887         [BZ #13601]
52888         * elf/dl-load.c (open_verify): Retry read if the entire ELF
52889         header is not read in.
52891 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
52893         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
52894         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
52895         directly.  Pass built executable to script as
52896         $(built-program-cmd).
52897         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
52898         $testprogram without using LD_LIBRARY_PATH and $ldso.
52900         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
52901         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
52902         $(rtld-installed-name).
52903         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
52904         (rtld_installed_name): Likewise.
52905         (library_path): Likewise.
52906         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
52907         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
52908         $(run-program-prefix) to tst-tables.sh.
52909         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
52910         it to run tst-table-from and tst-table-to.
52911         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
52912         Pass it to tst-table.sh.
52913         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
52914         $(run-program-prefix) to tst-gettext.sh.
52915         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
52916         tst-translit.sh.
52917         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
52918         tst-gettext2.sh.
52919         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
52920         to run tst-gettext.
52921         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
52922         to run tst-gettext2.
52923         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
52924         to run tst-translit.
52925         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
52926         $(run-program-prefix) to tst-mtrace.sh.
52927         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
52928         to run tst-mtrace.
52929         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
52930         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
52931         $(rtld-installed-name).
52932         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
52933         (rtld_installed_name): Likewise.
52934         (run_program_prefix): New variable.  Use it to run wordexp-test.
52936         * Makeconfig (ARCH): Remove all definitions.
52937         (machine): Likewise.
52938         [ARCH]: Remove conditional code.
52939         [!objdir]: Give error.
52940         [!objdir] (objpfx): Remove.
52941         [!objdir] (common-objpfx): Likewise.
52942         [!objdir] (common-objdir): Likewise.
52943         * configure.in (config_makefile): Remove.  Hardcode Makefile in
52944         AC_CONFIG_FILES call.
52945         * configure: Regenerated.
52947         [BZ #13888]
52948         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
52949         or TMPDIR.
52950         (testout): Likewise.
52952         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
52953         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
52954         $(rtld-installed-name).
52955         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
52956         (rtld_installed_name): Likwise.
52957         (runit): Remove function.
52958         (run_getconf): New variable,  Use it for running getconf binary.
52960 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
52962         [BZ #14716]
52963         * string/test-memmem.c (check_result): New function.
52964         (do_one_test): Use it.
52965         (check1): New function.
52966         (test_main): Use it.
52968 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
52970         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
52972 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
52974         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
52975         (_G_LSEEK64): Likewise.
52976         (_G_MMAP64): Likewise.
52977         (_G_FSTAT64): Likewise.
52978         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
52979         (_G_LSEEK64): Likewise.
52980         (_G_MMAP64): Likewise.
52981         (_G_FSTAT64): Likewise.
52982         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
52983         unconditional.  Call __mmap64 directly.
52984         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
52985         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
52986         __lseek64 directly.
52987         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
52988         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
52989         __mmap64 directly.
52990         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
52991         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52992         __lseek64 directly.
52993         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
52994         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52995         __lseek64 directly.
52996         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
52997         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
52998         __lseek64 directly.
52999         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
53000         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
53001         __fxstat64 directly.
53002         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
53003         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
53004         unconditional.
53005         (freopen64) [!_G_OPEN64]: Remove conditional code.
53006         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
53007         unconditional.
53008         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
53009         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
53010         unconditional.
53011         (ftello64) [!_G_LSEEK64]: Remove conditional code.
53012         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
53013         unconditional.
53014         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53015         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
53016         unconditional.
53017         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
53018         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
53019         unconditional.
53020         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53021         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
53022         unconditional.
53023         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53024         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
53025         unconditional.
53026         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53028 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53030         [BZ #12140]
53031         * manual/memory.texi (Malloc Tunable Parameters): Add note
53032         about free list pointers overwriting some perturb bytes.
53033         Wording suggested by Roland McGrath.
53035 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
53037         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
53038         (lgamma_test): Likewise.
53039         (tgamma_test): Likewise.
53041 2012-10-16  Florian Weimer  <fweimer@redhat.com>
53043         [BZ #14700]
53044         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
53045         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
53047 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
53049         * NEWS: Mention BZ #14716.
53050         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
53051         when removing AVAILABLE1_USES_J macro.
53053 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
53055         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
53056         (__bswap_64): __uint64_t for unsigned 64-bit int.
53058 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
53060         * include/string.h (memmem): Declare libc hidden alias.
53061         * string/memmem.c (memmem): Define libc hidden alias.
53062         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
53063         __read, __close instead of open, read, close.
53065 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
53067         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
53068         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
53069         global and hidden.
53070         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
53071         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
53072         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
53073         Likewise.
53074         (__rawmemchr_sse2): Likewise.
53075         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
53076         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
53077         (__strchr_sse2): Likewise.
53078         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
53079         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
53080         (__strcasecmp_sse2): Likewise.
53081         (__strncasecmp_sse2): Likewise.
53082         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
53083         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
53084         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
53085         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
53086         (__strrchr_sse2): Likewise.
53087         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
53088         ifunc-impl-list.c.
53089         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
53090         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
53091         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
53092         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53093         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
53094         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
53095         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53096         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53097         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
53098         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
53099         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
53100         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
53101         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
53102         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
53103         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
53104         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53105         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
53106         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
53107         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
53108         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
53109         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
53110         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
53111         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
53112         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53113         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
53114         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53115         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
53116         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53117         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
53118         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
53120         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
53121         global and hidden.
53122         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
53123         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
53124         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
53125         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
53126         Likewise.
53127         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
53128         Likewise.
53129         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
53130         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
53131         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
53132         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
53133         ifunc-impl-list.c.
53134         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53135         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53136         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53137         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53138         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53139         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53140         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53141         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53142         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53143         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53144         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53145         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53146         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53147         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
53148         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
53149         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53150         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
53151         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
53152         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53153         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53154         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53155         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53156         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53157         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53158         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53159         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
53160         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
53161         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
53162         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
53163         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53164         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
53165         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53166         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53167         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
53168         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53169         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53170         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53171         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53172         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53173         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53174         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
53176         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
53177         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
53178         * include/ifunc-impl-list.h: New file.
53179         * misc/ifunc-impl-list.c: Likewise.
53180         * misc/Makefile (routines): Add ifunc-impl-list.
53181         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
53182         * string/test-string.h: Include <ifunc-impl-list.h>.
53183         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
53184         TEST_NAME]: New variables.
53185         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
53186         are defined.
53187         (test_init): Call __libc_ifunc_impl_list to initialize
53188         func_list if TEST_IFUNC and TEST_NAME are defined.
53190         * string/Makefile (strop-tests): Add bcopy and bzero.
53191         * string/test-bcopy.c: New file.
53192         * string/test-bzero.c: Likewise.
53193         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
53194         defined.
53195         * string/test-memset.c: Support bzero test if TEST_BZERO is
53196         defined.
53197         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
53198         __libc_memmove.
53199         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
53200         __libc_memset.
53201         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
53202         of memset.
53204 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
53206         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
53207         * configure: Regenerated.
53209         * Makeconfig (+link-static-before-libc): Don't include
53210         $(link-static-libc).
53212         * libio/libio.h (_IO_pos_t): Remove.
53214 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53216         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
53217         McGrath.
53219 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53221         * crypt/crypt-entry.c: Include fips-private.h.
53222         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
53223         * crypt/md5c-test.c (main): Tolerate disabled MD5.
53224         * sysdeps/unix/sysv/linux/fips-private.h: New file.
53225         * sysdeps/generic/fips-private.h: New file, dummy fallback.
53227 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53229         * crypt/crypt-private.h: Include stdbool.h.
53230         (_ufc_setup_salt_r): Return bool.
53231         * crypt/crypt-entry.c: Include errno.h.
53232         (__crypt_r): Return NULL with EINVAL for bad salt.
53233         * crypt/crypt_util.c (bad_for_salt): New.
53234         (_ufc_setup_salt_r): Check that salt is long enough and within
53235         the specified alphabet.
53236         * crypt/badsalttest.c: New file.
53237         * crypt/Makefile (tests): Add it.
53238         ($(objpfx)badsalttest): New.
53240 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
53242         * NEWS: Add entry for BZ #14602.
53244 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53246         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
53247         type-generic.
53248         * math/libm-test.inc: Update comment listing what functions and
53249         macros are tested.
53250         (isgreater_test): New function.
53251         (isgreaterequal_test): Likewise.
53252         (isless_test): Likewise.
53253         (islessequal_test): Likewise.
53254         (islessgreater_test): Likewise.
53255         (isunordered_test): Likewise.
53256         (main): Call the new functions.
53258 2012-10-09  Roland McGrath  <roland@hack.frob.com>
53260         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
53261         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
53262         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
53263         * sysdeps/i386/configure: Regenerated.
53264         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
53265         * sysdeps/mach/configure: Regenerated.
53266         * sysdeps/mach/hurd/configure: Regenerated.
53267         * sysdeps/powerpc/configure: Regenerated.
53268         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53269         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53270         * sysdeps/s390/s390-32/configure: Regenerated.
53271         * sysdeps/s390/s390-64/configure: Regenerated.
53272         * sysdeps/sh/configure: Regenerated.
53273         * sysdeps/sparc/configure: Regenerated.
53274         * sysdeps/unix/sysv/linux/configure: Regenerated.
53275         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
53276         * sysdeps/x86_64/configure: Regenerated.
53278         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
53279         defined.  Don't check if MAP is NULL.
53281 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53283         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
53284         (_G_stat64): Likewise.
53285         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
53286         (_G_stat64): Likewise.
53287         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
53288         instead of struct _G_stat64.
53289         * libio/fileops.c (mmap_remap_check): Likewise.
53290         (decide_maybe_mmap): Likewise.
53291         (_IO_new_file_seekoff): Likewise.
53292         (_IO_file_stat): Likewise.
53293         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
53294         _G_off64_t.
53295         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
53296         instead of struct _G_stat64.
53297         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53299 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
53301         [BZ #14602]
53302         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53303         Replace with ...
53304         (CHECK_EOL): New macro.
53305         (two_way_short_needle): Check beginning of haystack for EOL.  Use
53306         CHECK_EOL.
53307         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53308         Replace with CHECK_EOL.
53309         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53310         Replace with CHECK_EOL.
53312 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
53314         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
53315         type-generic.
53316         * math/libm-test.inc: Update comment listing what functions and
53317         macros are tested.
53318         (finite_test): New function.
53319         (isinf_test): Likewise.
53320         (isnan_test): Likewise.
53321         (fpclassify_test): Test subnormal input.
53322         (isfinite_test): Likewise.
53323         (isnormal_test): Likewise.
53324         (main): Call the new functions.
53326 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
53328         [BZ #14660]
53329         * Makerules (%.dynsym): Force C locale when running
53330         $(OBJDUMP) --dynamic-syms.
53332 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
53334         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
53335         <stdint.h>.
53337 2012-10-06  David S. Miller  <davem@davemloft.net>
53339         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
53340         upper 32-bits of the length value in %o2 since we use branch-on-register
53341         tests which consider the entire 64-bit register.
53343 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
53345         * string/test-strstr.c (check2): Add a test for page boundary.
53347 2012-10-05  David S. Miller  <davem@davemloft.net>
53349         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
53350         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
53351         file.
53352         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53353         sysdep_routines.
53354         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53355         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
53356         and bzero when HWCAP_SPARC_CRYPTO is present.
53358 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
53360         [BZ #14602]
53361         * string/test-strstr.c (check2): New function.
53362         (test_main): Call check2.
53364         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
53365         and bug-strchr1.
53366         * string/bug-strcasestr1.c (do_test): Moved to ...
53367         * string/test-strcasestr.c (check1): Here.  New function.
53368         (do_one_test): Break out result checking code into ...
53369         (check_result): This.  New function.
53370         (do_one_test): Call check_result.
53371         (test_main): Call check1.
53372         * string/bug-strchr1.c (do_test): Moved to ...
53373         * string/test-strchr.c (check1): Here.  New function.
53374         (do_one_test): Break out result checking code into ...
53375         (check_result): This.  New function.
53376         (do_one_test): Call check_result.
53377         (test_main): Call check1.
53378         * string/bug-strstr1.c (main): Moved to ...
53379         * string/test-strstr.c (check1): Here.  New function.
53380         (do_one_test): Break out result checking code into ...
53381         (check_result): This.  New function.
53382         (do_one_test): Call check_result.
53383         (test_main): Call check1.
53384         * string/bug-strcasestr1.c: Removed.
53385         * string/bug-strchr1.c: Likewise.
53386         * string/bug-strstr1.c: Likewise.
53388         * elf/Makefile (dl-routines): Add hwcaps.
53389         * elf/dl-support.c (_dl_important_hwcaps): Removed.
53390         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
53391         (_dl_important_hwcaps): Moved to ...
53392         * elf/dl-hwcaps.c: Here.  New file.
53393         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
53395         [BZ #14557]
53396         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
53397         if IS_IN_rtld isn't defined.
53399         * elf/dl-support.c (_dl_sysinfo_map): New.
53400         Include "get-dynamic-info.h" and "setup-vdso.h".
53401         (_dl_non_dynamic_init): Call setup_vdso.
53402         * elf/dynamic-link.h: Don't include <assert.h>.
53403         (elf_get_dynamic_info): Moved to ...
53404         * elf/get-dynamic-info.h: Here.  New file.
53405         * elf/dynamic-link.h: Include "get-dynamic-info.h".
53406         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
53407         * elf/setup-vdso.h: Here.  New file.
53408         * elf/rtld.c: Include "setup-vdso.h".
53409         (dl_main): Call setup_vdso.
53411 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
53413         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
53414         creal in comment listing functions tested.  List finite, isinf,
53415         isnan, isless, islessequal, isgreater, isgreaterequal,
53416         islessgreater, isunordered, lgamma_r and pow10 as functions and
53417         macros not tested.  Mention which functions not tested are aliases
53418         for other functions.  Fix typo.  Note that signs of NaNs are not
53419         tested.
53421         * scripts/config.guess: Update from config.git.
53422         * scripts/config.sub: Likewise.
53424 2012-10-04  Roland McGrath  <roland@hack.frob.com>
53426         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
53427         * misc/madvise.c (madvise): Renamed to __madvise.
53428         Make madvise a weak alias.
53429         * include/sys/mman.h: Declare __madvise.
53430         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
53431         * sysdeps/unix/syscalls.list
53432         (madvise): Make __madvise the strong name, and madvise a weak alias.
53433         * sysdeps/unix/sysv/linux/syscalls.list
53434         (madvise, mmap): Remove redundant entries.
53435         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
53436         * malloc/malloc.c (mtrim): Likewise.
53437         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
53439 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53441         * sysdeps/mach/hurd/dl-cache.c: File removed.
53442         * config.h.in (USE_LDCONFIG): New #undef.
53443         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
53444         * configure: Regenerated.
53445         * elf/Makefile (dl-routines): Add dl-cache only under
53446         [$(use-ldconfig) = yes].
53447         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
53448         cache on [USE_LDCONFIG].
53449         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
53450         [USE_LDCONFIG].
53451         * elf/rtld.c (dl_main): Likewise.
53453 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
53455         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
53456         _SC_LEVEL4_CACHE_LINESIZE.
53458 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53460         * sysdeps/unix/bsd/confstr.h: File removed.
53462 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
53464         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
53465         sys/sdt-config.h.
53467 2012-10-02  Roland McGrath  <roland@hack.frob.com>
53469         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
53470         Make 'mapoff' field ElfW(Off) rather than off_t.
53472 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
53474         * nscd/Makefile: Remove nscd-cflags and all its users.
53475         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
53476         (CFLAGS-nonlib): Add compiler flags for nscd modules.
53478         [BZ #10631]
53479         * malloc.c (malloc_printerr): Clarify error message.
53481 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
53483         [BZ #14648]
53484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53485         Set bit_FMA_Usable if FMA is supported.
53486         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
53487         macro.
53488         (bit_FMA4_Usable): Updated.
53489         (index_FMA_Usable): New macro.
53490         (CPUID_FMA): Likewise.
53491         (HAS_FMA): Defined with bit_FMA_Usable.
53493 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53495         * bits/types.h (__swblk_t): Type removed.
53496         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
53497         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
53498         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53499         (__SWBLK_T_TYPE): Likewise.
53500         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53501         (__SWBLK_T_TYPE): Likewise.
53502         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53503         (__SWBLK_T_TYPE): Likewise.
53504         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53505         (__SWBLK_T_TYPE): Likewise.
53507 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
53508             Honza Horak <hhorak@redhat.com>
53510         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
53511         (xdr_mapname): Use YPMAXMAP as maxsize.
53512         (xdr_peername): Use YPMAXPEER as maxsize.
53513         (xdr_keydat): Use YPAXRECORD as maxsize.
53514         (xdr_valdat): Use YPMAXRECORD as maxsize.
53516 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53518         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
53520         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
53521         * csu/init-first.c: ... here.
53522         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
53523         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
53524         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
53525         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
53526         * sysdeps/i386/init-first.c: File removed.
53527         * sysdeps/sh/init-first.c: File removed.
53529 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
53531         [BZ #14645]
53532         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
53533         if x * y might underflow to zero and z is zero.
53534         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53535         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53536         * math/libm-test.inc (min_subnorm_value): New variable.
53537         (fma_test): Add more tests.
53538         (fma_test_towardzero): Likewise.
53539         (fma_test_downward): Likewise.
53540         (fma_test_upward): Likewise.
53541         (initialize): Set min_subnorm_value.
53543 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
53545         [BZ #14638]
53546         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
53547         0 + 0.
53548         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
53549         mode for addition resulting in exact zero.
53550         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
53551         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
53552         exact 0 + 0.
53553         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53554         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53555         * math/libm-test.inc (fma_test): Add more tests.
53556         (fma_test_towardzero): New function.
53557         (fma_test_downward): Likewise.
53558         (fma_test_upward): Likewise.
53559         (main): Call the new functions.
53561 2012-09-28  David S. Miller  <davem@davemloft.net>
53563         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
53565 2012-09-28  Roland McGrath  <roland@hack.frob.com>
53567         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53568         instead of SIGALRM.
53570         * sysdeps/gnu/_G_config.h: Moved to ...
53571         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
53572         * sysdeps/mach/hurd/_G_config.h: Moved to ...
53573         * sysdeps/generic/_G_config.h: ... here.
53575         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
53577         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
53579         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
53580         Conditionalize target on [libnss_test1.so-version].
53582         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
53584         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
53585         (elfobjdir): Move out of conditionals.
53587         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
53588         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
53589         (__nss_lookup_function): Conditionalize label remove_from_tree on
53590         [!DO_STATIC_NSS || SHARED], matching its only use.
53592 2012-09-28  David S. Miller  <davem@davemloft.net>
53594         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
53595         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
53596         file.
53597         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53598         sysdep_routines.
53599         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53600         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
53601         when HWCAP_SPARC_CRYPTO is present.
53603 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53605         * io/tst-mknodat.c: Create a FIFO instead of a socket.
53607 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
53609         [BZ #6530]
53610         * stdio-common/vfprintf.c (process_string_arg): Revert
53611         2000-07-22 change.
53613 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
53615         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
53616         for testcase.
53617         * stdio-common/tst-sprintf.c: Include <locale.h>
53618         (main): Test sprintf's handling of incomplete multibyte
53619         characters.
53621 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
53623         * elf/dl-runtime.c (VERSYMIDX): Removed.
53624         * elf/dl-version.c (VERSYMIDX): Likewise.
53625         * elf/do-rel.h (VERSYMIDX): Likewise.
53626         (VALIDX): Likewise.
53627         * elf/dynamic-link.h (VERSYMIDX): Likewise.
53628         * elf/rtld.c (VALIDX): Likewise.
53629         (ADDRIDX): Likewise.
53630         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53631         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53632         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53633         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53634         (VALIDX): Likewise.
53635         (ADDRIDX): Likewise.
53637 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53639         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53641 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
53643         [BZ #11438]
53644         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53645         to global scope.
53646         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53647         addresses are in the same scope as 192.0.2/24.
53648         * posix/gai.conf: Document new scope table defaults.
53650 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53652         [BZ #5298]
53653         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53654         for ftell.  Compute offsets from write pointers instead.
53655         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53657 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53659         [BZ #14543]
53660         * libio/Makefile (tests): New test case tst-fseek.
53661         * libio/tst-fseek.c: New test case to verify that fseek/ftell
53662         combination works in wide mode.
53663         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53664         state when the external buffer state changes.
53666 2012-09-27  David S. Miller  <davem@davemloft.net>
53668         [BZ #14376]
53669         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53670         pass reloc->r_addend in as the 'high' argument to
53671         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53675 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53677         * rt/tst-aio2.c: Include <pthread.h>.
53678         * rt/tst-aio3.c: Likewise.
53680 2012-09-27  Steve Ellcey  <sellcey@mips.com>
53682         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53684 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
53686         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53687         contents on [SHARED].
53689 2012-09-26  Marek Polacek  <polacek@redhat.com>
53691         [BZ #14530]
53692         [BZ #13741]
53693         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53694         for C++ and GCC <4.3 as well as for non GCC compilers.
53696 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53700 2012-09-25  Roland McGrath  <roland@hack.frob.com>
53702         * Makefile.in (all, install): Declare with .PHONY.
53703         Reported by Michael Hope <michael.hope@linaro.org>.
53705 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53707         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53708         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53709         system header.
53710         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53711         Likewise.
53712         (sydep_routines): Add the new and the internal functions.
53713         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53714         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53716         (GLIBC_2.17): Add the new function.
53717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53718         (GLIBC_2.17): Likewise.
53719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53720         (GLIBC_2.17): Likewise.
53721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53722         (GLIBC_2.17): Likewise.
53723         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53725 2012-09-25  Alan Modra  <amodra@gmail.com>
53727         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53728         Add release barrier before setting once_control to say
53729         initialisation is done.  Add hints on lwarx.  Use macro in
53730         place of isync.
53731         (clear_once_control): Add release barrier.
53733 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53735         [BZ #13629]
53736         * math/s_clog.c (__clog): Handle more values close to |z| = 1
53737         specially.
53738         * math/s_clog10.c (__clog10): Likewise.
53739         * math/s_clog10f.c (__clog10f): Likewise.
53740         * math/s_clog10l.c (__clog10l): Likewise.
53741         * math/s_clogf.c (__clogf): Likewise.
53742         * math/s_clogl.c (__clogl): Likewise.
53743         * math/Makefile (libm-calls): Add x2y2m1.
53744         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53745         (__x2y2m1): Likewise.
53746         (__x2y2m1l): Likewise.
53747         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53748         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53749         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53750         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53751         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53752         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53753         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53754         * sysdeps/i386/fpu/libm-test-ulps: Update.
53755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53757         [BZ #14621]
53758         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53759         int as type of variable DEPTH.
53760         (glob): Use size_t instead of int as type of variables NEWCOUNT
53761         and OLD_PATHC.
53763 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53765         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53766         Add s_sincosf-sse2.
53767         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53768         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53769         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53770         macros for using routine as __sincosf_ia32.
53771         Use macro for function declaration and weak_alias.
53772         * sysdeps/i386/fpu/libm-test-ulps: Update.
53774         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
53775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53777         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
53778         subnormal argument.
53779         * math/s_cexpf.c (__cexpf): Likewise.
53780         * math/s_csinf.c (__csinf): Likewise.
53781         * math/s_csinhf.c (__csinhf): Likewise.
53782         * math/s_ctanf.c (__ctanf): Likewise.
53783         * math/s_ctanhf.c (__ctanhf): Likewise.
53784         * math/s_ccosh.c (__ccoshf): Likewise.
53785         * math/s_cexp.c (__cexpl): Likewise.
53786         * math/s_csin.c (__csin): Likewise.
53787         * math/s_csinh.c (__csinh): Likewise.
53788         * math/s_ctan.c (__ctan): Likewise.
53789         * math/s_ctanh.c (ctanh): Likewise.
53790         * math/s_ccoshl.c (__ccoshl): Likewise.
53791         * math/s_cexpl.c (__cexpl): Likewise.
53792         * math/s_csinl.c (__csinl): Likewise.
53793         * math/s_csinhl.c (__csinhl): Likewise.
53794         * math/s_ctanl.c (__ctanl): Likewise.
53795         * math/s_ctanhl.c (__ctanhl): Likewise.
53797 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53799         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
53800         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
53801         (_IO_off_t): Define to __off_t, not _G_off_t.
53802         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
53803         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
53804         (_IO_wint_t): Define to wint_t, not _G_wint_t.
53805         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
53806         type of __dummy and __dummy2 fields.
53807         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
53808         (_G_ssize_t): Likewise.
53809         (_G_off_t): Likewise.
53810         (_G_pid_t): Likewise.
53811         (_G_uid_t): Likewise.
53812         (_G_wchar_t): Likewise.
53813         (_G_wint_t): Likewise.
53814         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
53815         (_G_ssize_t): Likewise.
53816         (_G_off_t): Likewise.
53817         (_G_pid_t): Likewise.
53818         (_G_uid_t): Likewise.
53819         (_G_wchar_t): Likewise.
53820         (_G_wint_t): Likewise.
53821         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
53822         (_G_ssize_t): Likewise.
53823         (_G_off_t): Likewise.
53824         (_G_pid_t): Likewise.
53825         (_G_uid_t): Likewise.
53826         (_G_wchar_t): Likewise.
53827         (_G_wint_t): Likewise.
53829 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53831         * malloc/arena.c: Include malloc-sysdep.h.
53832         (shrink_heap): Use check_may_shrink_heap to decide if madvise
53833         is sufficient to shrink the heap or an unmap is needed.
53834         * sysdeps/generic/malloc-sysdep.h: New file.  Define
53835         new function check_may_shrink_heap.
53836         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
53837         new function check_may_shrink_heap.
53839 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53841         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
53842         comments.
53844 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
53846         * catgets/test-gencat.sh: Add "set -e".
53847         * elf/tst-pathopt.sh: Likewise.
53848         * grp/tst_fgetgrent.sh: Likewise.
53849         * iconvdata/run-iconv-test.sh: Likewise.
53850         * intl/tst-gettext.sh: Likewise.
53851         * intl/tst-gettext2.sh: Likewise.
53852         * intl/tst-gettext4.sh: Likewise.
53853         * intl/tst-gettext6.sh: Likewise.
53854         * intl/tst-translit.sh: Likewise.
53855         * io/ftwtest-sh: Likewise.
53856         * libio/test-freopen.sh: Likewise.
53857         * malloc/tst-mtrace.sh: Likewise.
53858         * posix/globtest.sh: Likewise.
53859         * posix/tst-getconf.sh: Likewise.
53860         * posix/wordexp-tst.sh: Likewise.
53861         * stdio-common/tst-printf.sh: Likewise.
53862         * stdio-common/tst-unbputc.sh: Likewise.
53863         * stdlib/tst-fmtmsg.sh: Likewise.
53864         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53865         * catgets/Makefile: Do not specify -e option when running
53866         testsuite shell scripts.
53867         * elf/Makefile: Likewise.
53868         * grp/Makefile: Likewise.
53869         * iconvdata/Makefile: Likewise.
53870         * intl/Makefile: Likewise.
53871         * io/Makefile: Likewise.
53872         * libio/Makefile: Likewise.
53873         * malloc/Makefile: Likewise.
53874         * posix/Makefile: Likewise.
53875         * stdio-common/Makefile: Likewise.
53876         * stdlib/Makefile: Likewise.
53877         * sysdeps/x86_64/Makefile: Likewise.
53879         * io/ftwtest-sh: Add copyright header.
53880         * posix/globtest.sh: Likewise.
53881         * posix/tst-getconf.sh: Likewise.
53882         * posix/wordexp-tst.sh: Likewise.
53883         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53885 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
53887         [BZ #13679]
53888         * Makeconfig (+link): Defined as $(+link-static) if
53889         $(build-shared) isn't yes.
53890         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
53891         isn't yes.
53892         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
53894         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
53896         [BZ #14562]
53897         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
53898         new chunk size with MALLOC_ALIGN_MASK.
53900 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
53902         [BZ #5044]
53903         * stdio-common/printf_fphex.c: Include <stdbool.h> and
53904         <rounding-mode.h>.
53905         (__printf_fphex): Determine rounding using get_rounding_mode and
53906         round_away.
53907         * stdio-common/tst-printf-round.c (struct hex_test): New
53908         structure.
53909         (hex_tests): New variable.
53910         (test_hex_in_one_mode): New function.
53911         (do_test): Also run tests for hex float output.
53913 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
53915         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53916         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53917         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
53918         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53919         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53920         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
53921         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53922         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53924 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
53926         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
53927         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
53928         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
53929         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
53931 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
53933         [BZ #14579]
53934         * elf/rtld.c (dl_main): Limit the check for self loading to normal
53935         mode only.
53936         * elf/tst-rtld-load-self.sh: New test.
53937         * elf/Makefile: Run it.
53939 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
53941         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
53942         (tst-writev-ENV): Remove.
53943         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
53945 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
53947         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
53949 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
53951         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
53952         unconditional.
53953         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
53954         Likewise.
53955         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
53956         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
53957         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
53958         Likewise.
53960 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
53962         [BZ #14587]
53963         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
53964         * config.make.in (have-cpp-asm-debuginfo): Removed.
53965         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
53966         * configure: Regenerated.
53968 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
53970         [BZ #5044]
53971         * stdio-common/printf_fp.c: Include <stdbool.h> and
53972         <rounding-mode.h>.
53973         (___printf_fp): Determine rounding using get_rounding_mode and
53974         round_away.
53975         * stdio-common/tst-printf-round.c: New file.
53976         * stdio-common/Makefile (tests): Add tst-printf-round.
53977         (link-libm): New variable.
53978         ($(objpfx)tst-printf-round): Depend in $(link-libm).
53980 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
53982         [BZ #14576]
53983         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
53984         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
53985         Likewise.
53986         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
53987         Likewise.
53989 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
53991         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
53992         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53993         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53994         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53996 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
53998         [BZ #14518]
53999         * include/rounding-mode.h: New file.
54000         * sysdeps/generic/get-rounding-mode.h: Likewise.
54001         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
54002         * stdlib/strtod_l.c: Include <rounding-mode.h>.
54003         (MAX_VALUE): New macro.
54004         (MIN_VALUE): Likewise.
54005         (overflow_value): New function.
54006         (underflow_value): Likewise.
54007         (round_and_return): Use overflow_value and underflow_value to
54008         determine return values in overflow and underflow cases.  Use
54009         round_away to determine rounding depending on rounding mode.
54010         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
54011         determine return values in overflow and underflow cases.
54012         * stdlib/tst-strtod-round.c: Include <fenv.h>.
54013         (struct test_results): New structure.
54014         (struct test): Use struct test_results to store expected results
54015         for all rounding modes.
54016         (TEST): Include expected results for all rounding modes.
54017         (test_in_one_mode): New function.
54018         (do_test): Use test_in_one_mode to compute and check results.
54019         Check results for all rounding modes.
54020         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
54021         $(link-libm).
54023 2012-12-09  Allan McRae  <allan@archlinux.org>
54025         * sysdeps/i386/fpu/libm-test-ulps: Update
54027 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
54029         * sysdeps/generic/_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.
54037         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
54038         (_G_int32_t): Likewise.
54039         (_G_uint16_t): Likewise.
54040         (_G_uint32_t): Likewise.
54041         (_G_HAVE_BOOL): Likewise.
54042         (_G_HAVE_ATEXIT): Likewise.
54043         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54044         (_G_HAVE_IO_FILE_OPEN): Likewise.
54045         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
54046         (_G_int32_t): Likewise.
54047         (_G_uint16_t): Likewise.
54048         (_G_uint32_t): Likewise.
54049         (_G_HAVE_BOOL): Likewise.
54050         (_G_HAVE_ATEXIT): Likewise.
54051         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54052         (_G_HAVE_IO_FILE_OPEN): Likewise.
54054 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
54056         * csu/libc-tls.c: Update copyright years.
54058 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
54060         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
54061         [!_G_USING_THUNKS]: Remove conditional code.
54062         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
54063         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
54065         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
54066         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
54067         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54068         (_G_VTABLE_LABEL_PREFIX): Likewise.
54069         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54070         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54071         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54072         (_G_VTABLE_LABEL_PREFIX): Likewise.
54073         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54074         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54075         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54076         (_G_VTABLE_LABEL_PREFIX): Likewise.
54077         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54079 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
54081         * libio/Makefile: Include ../Makeconfig before tests.
54082         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
54083         only if $(build-shared) is yes.
54085         * iconv/gconv_db.c: Update copyright years.
54087 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54089         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
54090         unwind info if defined PIC. Fix special cases description.
54091         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
54093         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
54094         DP_HI_MASK entry.
54095         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
54097 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
54099         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
54101         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
54102         is NULL.
54104         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
54105         (LDLIBS-tst-chk4): This.
54106         (LDFLAGS-tst-chk5): Renamed to ...
54107         (LDLIBS-tst-chk5): This.
54108         (LDFLAGS-tst-chk6): Renamed to ...
54109         (LDLIBS-tst-chk6): This.
54110         (LDFLAGS-tst-lfschk4): Renamed to ...
54111         (LDLIBS-tst-lfschk4): This.
54112         (LDFLAGS-tst-lfschk5): Renamed to ...
54113         (LDLIBS-tst-lfschk5): This.
54114         (LDFLAGS-tst-lfschk6): Renamed to ...
54115         (LDLIBS-tst-lfschk6): This.
54117         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
54118         on $(common-objpfx)soversions.mk.
54120 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
54122         [BZ #10014]
54123         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
54124         example host name.
54126 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54128         * malloc/arena.c (arena_get_retry): New function that gets
54129         another arena for the caller to try its request on.
54130         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
54131         current arena cannot fulfill the request.
54132         (__libc_memalign): Likewise.
54133         (__libc_memalign): Likewise.
54134         (__libc_pvalloc): Likewise.
54135         (__libc_calloc): Likewise.
54137 2012-09-05  John Tobey  <john.tobey@gmail.com>
54139         [BZ #13542]
54140         * manual/arith.texi (Operations on Complex): Fix description
54141         of carg branch cut.
54143 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54145         [BZ #10014]
54146         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
54147         host name.
54149         [BZ #10038]
54150         * manual/memory.texi (Memory): Make order of menu items match
54151         order of sections.
54153 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54155         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
54156         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
54157         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
54159 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54161         * csu/libc-tls.c (static_dtv): Renamed to ...
54162         (_dl_static_dtv): This.  Make it global.
54163         (_dl_initial_dtv): Removed.
54164         (__libc_setup_tls): Updated.
54165         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
54166         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
54167         DL_INITIAL_DTV.
54169 2012-09-06  Petr Machata  <pmachata@redhat.com>
54171         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
54172         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
54173         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
54174         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
54176 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54178         [BZ #14545]
54179         * csu/libc-tls.c (_dl_initial_dtv): New variable.
54180         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
54181         freeing dtv[-1].
54183 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54185         [BZ #14544]
54186         * Makeconfig (link-static-before-libc): Replace $(+prector)
54187         with $(+prectorT).
54188         (link-static-after-libc): Replace $(+postctor) with
54189         $(+postctorT).
54190         (link-bounded): Replace $(+prector)/$(+postctor) with
54191         $(+prectorT)/$(+postctorT).
54192         (+prectorT): New macro.
54193         (+postctorT): Likewise.
54195 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54197         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
54198         (round_str): Handle values above the maximum for IBM long double
54199         as inexact.
54200         * stdlib/tst-strtod-round.c (tests): Regenerated.
54202 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54204         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
54205         assembler flag.
54206         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
54207         zarch_nohighgprs around the zarch optimized routines.
54208         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
54209         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
54210         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
54211         for zarch.
54213 2012-09-05  David S. Miller  <davem@davemloft.net>
54215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54217         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
54218         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
54219         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
54220         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54221         entries.
54223 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54225         * malloc/arena.c: Fold copyright years.
54226         * malloc/mcheck.c, malloc/memusage.c: Likewise.
54228 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54230         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
54232 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54234         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
54236 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54238         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
54239         change internal state upon failure.
54241 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54243         * malloc/mcheck.c (mcheck_check_all): Fix typo.
54244         * malloc/memusage.c (mmap): Likewise.
54245         (mmap64, mremap): Likewise.  Adjust name in comment.
54247 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54249         * libio/fileops.c: Fix typos in comments.
54250         * libio/oldfileops.c: Likewise.
54251         * libio/wfileops.c: Likewise.
54253 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54255         [BZ #1349]
54256         * malloc/Makefile (tests): Add tst-malloc-usable test case.
54257         (tst-malloc-usable-ENV): Set environment for test case.
54258         * malloc/hooks.c (malloc_check_get_size): New function to get
54259         requested size.
54260         * malloc/malloc.c (musable): Use malloc_check_get_size.
54261         * malloc/tst-malloc-usable.c: New test case.
54263 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54265         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
54267 2012-09-05  Allan McRae  <allan@archlinux.org>
54269         [BZ #13966]
54270         * configure.in (CXX_SYSINCLUDES): Use compiler output to
54271         determine header location.
54272         * configure: Regenerated.
54274 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54276         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
54277         float format.
54278         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
54279         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
54280         format.
54281         (test): Regenerate.
54283 2012-09-04  David S. Miller  <davem@davemloft.net>
54285         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
54286         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
54287         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
54289 2012-09-04  Florian Weimer  <fweimer@redhat.com>
54291         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
54292         failures.
54294         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
54296 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
54298         [BZ #9914]
54299         * libio/iogetdelim.c: Include <limits.h>.
54300         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
54301         + len + 1 would overflow.
54303 2012-09-03  Andreas Jaeger  <aj@suse.de>
54305         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54306         * sysdeps/i386/fpu/libm-test-ulps: Update.
54308 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54310         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54311         Add s_sinf-sse2, s_conf-sse2.
54313         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
54314         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
54315         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
54316         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
54318         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
54319         for using routine as __sinf_ia32.
54320         Use macro for function declaration and weak_alias.
54321         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
54322         for using routine as __cosf_ia32.
54323         Use macro for function declaration and weak_alias.
54325         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
54326         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
54328         * sysdeps/x86_64/fpu/s_sinf.S: New file.
54329         * sysdeps/x86_64/fpu/s_cosf.S: New file.
54330         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54332         * math/libm-test.inc (cos_test): Add more test cases.
54333         (sin_test): Likewise.
54334         (sincos_test): Likewise.
54336 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54338         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
54339         (IFUNC_RESOLVE): Make pointers to the specialized implementations
54340         hidden.
54341         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54343 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
54345         [BZ #14538]
54346         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
54347         first element of the GOT.
54348         (elf_machine_load_address): Return the difference between
54349         the runtime address of _DYNAMIC and elf_machine_dynamic ().
54351 2012-09-01  Allan McRae  <allan@archlinux.org>
54353         [BZ #13412]
54354         * configure.in (AWK): Require gawk version 3.0 or later.
54355         * configure: Regenerated.
54357 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
54359         * sysdeps/unix/sysv/linux/kernel-features.h
54360         (__ASSUME_POSIX_CPU_TIMERS): Remove.
54361         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54362         [__NR_clock_getres]: Make code unconditional.
54363         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
54364         (clock_getcpuclockid): Remove code left unreachable by removal of
54365         conditionals.
54366         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
54367         code unconditional.
54368         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54369         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54370         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
54371         Make code unconditional.
54372         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54373         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54374         * sysdeps/unix/sysv/linux/clock_settime.c
54375         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
54376         conditional code.
54377         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
54378         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54380 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
54382         [BZ #14476]
54383         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
54384         scripts/test-installation.pl.
54386         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
54387         and $ld_so_version if it is set.
54389 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54391         [BZ #14516]
54392         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
54393         failure if reading from procfs failed.
54394         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
54396 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54398         * sysdeps/unix/sysv/linux/kernel-features.h
54399         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
54400         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54401         Remove conditional code.
54402         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54403         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
54404         Remove conditional code.
54405         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54406         * sysdeps/unix/sysv/linux/i386/fxstat.c
54407         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54408         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54409         * sysdeps/unix/sysv/linux/i386/fxstatat.c
54410         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54411         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54412         * sysdeps/unix/sysv/linux/i386/lxstat.c
54413         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54414         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54415         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
54416         Remove conditional code.
54417         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54418         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54419         Remove conditional code.
54420         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54421         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
54422         <kernel-features.h>.
54423         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
54424         Remove.
54425         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
54426         Remove conditional code.
54427         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54428         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
54429         Remove conditional.
54431 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
54433         [BZ #5400]
54434         * NEWS: Add fixed bug number.
54436 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54438         [BZ #14519]
54439         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
54440         underflowing exponent in case of negative sign.
54441         * stdlib/tst-strtod-round-data: Add more tests.
54442         * stdlib/tst-strtod-round.c (tests): Regenerated.
54444         [BZ #3479]
54445         * stdlib/strtod_l.c (NDIG): Remove.
54446         (HEXNDIG): Likewise.
54447         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
54448         smallest representable value.
54449         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
54450         lie within an exact representation of 1/2 ulp of the result.
54451         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
54452         unconditionally.
54453         (TENS_P9_IDX): Define unconditionally.
54454         (TENS_P9_SIZE): Likewise.
54455         (TENS_P10_IDX): Likewise.
54456         (TENS_P10_SIZE): Likewise.
54457         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
54458         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
54459         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
54460         entries for 10^2^13 and 10^2^14.
54461         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
54462         (TENS_P13_IDX): Define.
54463         (TENS_P13_SIZE): Likewise.
54464         (TENS_P14_IDX): Likewise.
54465         (TENS_P14_SIZE): Likewise.
54466         (_fpioconst_pow10): Change array size to
54467         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
54468         unconditional.
54469         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
54470         1024]: Add entries for 10^2^13 and 10^2^14.
54471         [LAST_POW10 > _LAST_POW10]: Remove #error.
54472         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
54473         (_fpioconst_pow10): Change array size to
54474         FPIOCONST_POW10_ARRAY_SIZE.
54475         * stdlib/gen-fpioconst.c: New file.
54476         * stdlib/gen-tst-strtod-round.c: Likewise.
54477         * stdlib/tst-strtod-round-data: Likewise.
54478         * stdlib/tst-strtod-round.c: Likewise.
54479         * stdlib/Makefile (tests): Add tst-strtod-round.
54481         [BZ #14459]
54482         * stdlib/strtod_l.c: Include <stdint.h>.
54483         (NDEBUG): Do not define.
54484         (round_and_return): Change EXPONENT parameter to type intmax_t.
54485         Rearrange calculations to avoid internal overflow possibilities.
54486         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
54487         Rearrange calculations to avoid internal overflow possibilities.
54488         Assert that number fits inside MPNSIZE limbs.
54489         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
54490         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
54491         calculations and add assertions to avoid internal overflow
54492         possibilities.  Add casts to avoid signed/unsigned operations.
54493         * stdlib/tst-strtod-overflow.c: New file.
54494         * stdlib/Makefile (tests): Add tst-strtod-overflow.
54496 2012-08-25  Marek Polacek  <polacek@redhat.com>
54498         * time/time.h: Fix some typos in comments.
54500 2012-08-23  Roland McGrath  <roland@hack.frob.com>
54502         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
54503         * posix/tst-rfc3484-2.c: Likewise.
54504         * posix/tst-rfc3484-3.c: Likewise.
54506 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
54508         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
54509         (EF_ARM_ABI_FLOAT_HARD): Likewise.
54511 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
54513         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
54514         #include of fxstatat64.c.
54516 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54518         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
54519         * shadow/getspent_r.c: Likewise.
54520         * shadow/getspnam.c: Likewise.
54521         * shadow/getspnam_r.c: Likewise.
54522         * gshadow/getsgent.c: Likewise.
54523         * gshadow/getsgent_r.c: Likewise.
54524         * gshadow/getsgnam.c: Likewise.
54525         * gshadow/getsgnam_r.c: Likewise.
54526         * inet/getnetbyad.c: Likewise.
54527         * inet/getnetbyad_r.c: Likewise.
54528         * inet/getnetbynm.c: Likewise.
54529         * inet/getnetbynm_r.c: Likewise.
54530         * inet/getnetent.c: Likewise.
54531         * inet/getnetent_r.c: Likewise.
54532         * inet/getproto.c: Likewise.
54533         * inet/getproto_r.c: Likewise.
54534         * inet/getprtent.c: Likewise.
54535         * inet/getprtent_r.c: Likewise.
54536         * inet/getprtname.c: Likewise.
54537         * inet/getprtname_r.c: Likewise.
54538         * inet/getrpcbyname.c: Likewise.
54539         * inet/getrpcbyname_r.c: Likewise.
54540         * inet/getrpcbynumber.c: Likewise.
54541         * inet/getrpcbynumber_r.c: Likewise.
54542         * inet/getrpcent.c: Likewise.
54543         * inet/getrpcent_r.c: Likewise.
54544         * inet/getaliasent.c: Likewise.
54545         * inet/getaliasent_r.c: Likewise.
54546         * inet/getaliasname.c: Likewise.
54547         * inet/getaliasname_r.c: Likewise.
54548         * nscd/getgrgid_r.c: Likewise.
54549         * nscd/getgrnam_r.c: Likewise.
54550         * nscd/gethstbyad_r.c: Likewise.
54551         * nscd/gethstbynm3_r.c: Likewise.
54552         * nscd/getpwnam_r.c: Likewise.
54553         * nscd/getpwuid_r.c: Likewise.
54554         * nscd/getsrvbynm_r.c: Likewise.
54555         * nscd/getsrvbypt_r.c: Likewise.
54556         * nscd/gai.c: Likewise.
54558         * configure.in (build_nscd): New substituted variable, set
54559         by --disable-build-nscd and defaults to $use_nscd.
54560         * configure: Regenerated.
54561         * config.make.in (build-nscd): New substituted variable.
54562         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
54563         Change conditional to require [$(build-nscd) = yes] as well.
54564         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
54566         [BZ# 13696]
54567         * configure.in (use_nscd): New substituted variable, set by
54568         --disable-nscd.  If enabled, define USE_NSCD.
54569         * configure: Regenerated.
54570         * config.h.in: Add USE_NSCD.
54571         * config.make.in (use-nscd): New substituted variable.
54572         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
54573         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
54574         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
54575         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
54576         (CFLAGS-getgrnam_r.c): Likewise.
54577         (CFLAGS-initgroups.c): Likewise.
54578         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
54579         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
54580         Variables removed.
54581         * inet/getnetgrent_r.c
54582         (nscd_setnetgrent): New function, broken out of ...
54583         (setnetgrent): ... here.  Call it.
54584         (innetgr): Conditionalize nscd bits on [USE_NSCD].
54585         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
54586         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
54587         * nscd/Makefile (routines, aux): Move definitions after include of
54588         Makeconfig.  Conditionalize on [$(use-nscd) != no].
54589         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
54590         Conditionalize on [USE_NSCD].
54591         (is_nscd, nscd_init_cb): Likewise.
54592         (nss_load_library): Conditionalize init callback on [USE_NSCD].
54593         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
54594         * nss/nss_db/db-init.c: Likewise.
54595         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
54596         [USE_NSCD].
54597         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
54598         (make_request): Use it.
54599         (cache_valid_p): New function.
54600         (__check_pf): Use it.
54601         * NEWS: Add item for --disable-nscd.
54603 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
54605         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
54606         to support sed >= 4.2.1-20-ga9bf076.
54607         * configure: Regenerated.
54609 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54611         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
54612         Conditionalize whole body on [IREL].
54614 2012-08-22  Jeff Law <law@redhat.com>
54616         [BZ #14505]
54617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
54618         if the family is PF_UNSPEC.
54620 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
54622         * Makerules (lib-version): Rename from V.
54623         (install-lib-nosubdir): Change V to lib-version.
54625 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
54627         [BZ #14252]
54628         * powerpc32/power6/wcschr.c: New file.
54629         * powerpc32/power6/wcscpy.c: New file.
54630         * powerpc32/power6/wcsrchr.c: New file.
54631         * powerpc64/power6/wcschr.c: New file.
54632         * powerpc64/power6/wcscpy.c: New file.
54633         * powerpc64/power6/wcsrchr.c: New file.
54635 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54637         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54638         (two_way_short_needle): Use it.
54639         * string/strstr.c (AVAILABLE1_USES_J): Define.
54640         * string/strcasestr.c: Likewise.
54642         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54643         array references.
54644         * string/strcasestr.c (TOLOWER): Make side-effect safe.
54646         [BZ #11607]
54647         * NEWS: Add an entry.
54648         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54649         define their defaults.
54650         (two_way_short_needle): Detect end-of-string on-the-fly.
54651         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54652         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54653         * string/bug-strcasestr1.c: New test.
54654         * string/Makefile: Run it.
54656 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54658         [BZ #11607]
54659         * string/str-two-way.h (two_way_short_needle): Optimize matching of
54660         the first character.
54662 2012-08-21  Roland McGrath  <roland@hack.frob.com>
54664         * csu/elf-init.c (__libc_csu_irel): Function removed.
54665         * csu/libc-start.c (apply_irel): New function.
54666         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54668 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
54670         * sysdeps/unix/sysv/linux/kernel-features.h
54671         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54672         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54673         <kernel-features.h>.
54674         [__NR_fadvise64_64]: Make code unconditional.
54675         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54676         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54677         !__NR_fadvise64_64)]: Likewise.
54678         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54679         !__NR_fadvise64_64))]: Likewise.
54680         [__NR_fadvise64]: Make code unconditional.
54681         [!__NR_fadvise64]: Remove conditional code.
54682         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54683         <kernel-features.h>.
54684         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54685         unconditional.
54686         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54687         conditional code.
54688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54689         not include <kernel-features.h>.
54690         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54691         unconditional.
54692         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54693         conditional code.
54694         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54695         include <kernel-features.h>.
54696         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54697         unconditional.
54698         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54699         conditional code.
54701 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54703         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54704         slight instruction rearrangements per scrollpipe analysis.
54705         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54707 2012-08-20  Roland McGrath  <roland@hack.frob.com>
54709         * manual/syslog.texi (syslog; vsyslog, closelog):
54710         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54711         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54713         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54714         DSOCAPS to match condition on defining it.
54716 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
54718         * sysdeps/unix/sysv/linux/kernel-features.h
54719         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54721         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54722         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54724         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54725         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54727         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54728         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54730         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54731         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54733         * sysdeps/unix/sysv/linux/kernel-features.h
54734         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54735         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54736         unconditional.
54737         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54738         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54739         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54740         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54741         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54742         Make code unconditional.
54743         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54744         (__mmap64) [!__NR_mmap2]: Likewise.
54745         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54746         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54747         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54748         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54749         [__NR_mmap2]: Make code unconditional.
54750         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54751         (__mmap64) [!__NR_mmap2]: Likewise.
54753 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54755         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54757 2012-08-18  Andreas Jaeger  <aj@suse.de>
54759         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54761 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54763         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54764         * include/unistd.h (__have_sock_cloexec): Likewise.
54765         (__have_pipe2): Likewise.
54766         (__have_dup3): Likewise.
54768 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54770         [BZ #9685]
54771         * include/unistd.h (__have_pipe2): Change define into an extern int.
54772         (__have_dup3): Likewise.
54773         * socket/have_sock_cloexec.c: Include fcntl.h.
54774         (__have_pipe2): New variable.
54775         (__have_dup3): Likewise.
54777 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
54779         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
54781 2012-08-17  Marek Polacek  <polacek@redhat.com>
54783         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54784         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
54786 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54788         * configure.in: Add AC_SUBST for sysheaders.
54789         * configure: Regenerated.
54790         * config.make.in (sysheaders): New substituted variable.
54792         * sysdeps/unix/mkfifo.c: Moved ...
54793         * sysdeps/posix/mkfifo.c: ... here.
54794         * sysdeps/unix/mkfifoat.c: Moved ...
54795         * sysdeps/posix/mkfifoat.c: ... here.
54797         * sysdeps/unix/utime.c: Moved ...
54798         * sysdeps/posix/utime.c: ... here.
54800         * sysdeps/unix/time.c: Moved ...
54801         * sysdeps/posix/time.c: ... here.
54802         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
54803         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
54805         * sysdeps/unix/nice.c: Moved ...
54806         * sysdeps/posix/nice.c: ... here.
54808         * sysdeps/unix/alarm.c: Moved ...
54809         * sysdeps/posix/alarm.c: ... here.
54811         * intl/Makefile ($(codeset_mo)): Depend on the input file.
54813 2012-08-17  Jeff Law <law@redhat.com>
54815         * intl/Makefile (codeset_mo): New variable.
54816         ($(codeset_mo)): New target.
54817         (tst-codeset.out): Depend on that.  Remove explicit rule.
54818         (tst-gettext3.out, tst-gettext5.out): Likewise.
54819         (LOCPATH-ENV, tst-codeset-ENV): New variables.
54820         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54821         * intl/tst-codeset.sh: Remove.
54822         * intl/tst-gettext3.sh: Likewise.
54823         * intl/tst-gettext5.sh: Likewise.
54825 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54827         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
54828         * sysdeps/unix/syscalls.list: ... here.
54830         * sysdeps/posix/getaddrinfo.c
54831         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
54832         (gaiconf_init, gaiconf_reload): Use them.
54833         [!_STATBUF_ST_NSEC]
54834         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
54835         Define using time_t rather than struct timespec.
54837         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
54838         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
54839         Macros removed.
54840         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
54841         [!NO_THREADS].
54842         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
54843         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
54844         Likewise.
54846         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
54847         __libc_cleanup_push argument.
54849         * bits/param.h: New file.
54850         * misc/sys/param.h: New file.
54851         * include/sys/param.h: New file.
54852         * misc/Makefile (headers): Add bits/param.h.
54853         * sysdeps/generic/sys/param.h: File removed.
54854         * sysdeps/unix/sysv/linux/bits/param.h: New file.
54855         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
54856         * sysdeps/mach/hurd/bits/param.h: New file.
54857         * sysdeps/mach/hurd/sys/param.h: File removed.
54859         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
54860         last change.
54862         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
54863         [_IO_MTSAFE_IO].
54864         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
54865         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
54866         New macros.
54868         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
54869         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
54870         rather than -D_IO_MTSAFE_IO conditionally.
54871         * stdio-common/Makefile (CPPFLAGS): Likewise.
54872         * wcsmbs/Makefile (CPPFLAGS): Likewise.
54873         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
54874         Use $(libio-mtsafe).
54875         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
54876         of -D_IO_MTSAFE_IO.
54877         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
54878         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
54879         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
54880         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
54881         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
54882         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
54883         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
54884         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
54885         (CFLAGS-fread_u_chk.c): Likewise.
54886         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
54887         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
54888         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
54889         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
54890         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
54891         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
54892         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
54893         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
54894         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
54896         * libio/Makefile: Test [$(libc-reentrant) = yes]
54897         instead of [$(filter %REENTRANT, $(defines)) nonempty].
54899         * Makeconfig
54900         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
54901         * sysdeps/pthread/configure: File removed.
54902         * sysdeps/pthread/Makeconfig: New file.
54903         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
54904         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
54906 2012-08-16  Gary Benson  <gbenson@redhat.com>
54908         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
54909         unmapping the first object in a namespace.
54911 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54913         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
54914         (__internal_setnetgrent): ... this.  Add internal_function to
54915         definition.  Add libc_hidden_def.
54916         (setnetgrent): Update caller.
54917         (internal_endnetgrent): Renamed to ...
54918         (__internal_endnetgrent): ... this.  Add internal_function to
54919         definition.  Add libc_hidden_def.
54920         (endnetgrent): Update caller.
54921         (internal_getnetgrent_r): Renamed to ...
54922         (__internal_getnetgrent_r): ... this.  Add internal_function to
54923         definition.  Add libc_hidden_def.
54924         (__getnetgrent_r): Update caller.
54925         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
54927 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54929         * stdlib/longlong.h: Update from GCC.
54931 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54933         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
54934         on _QL, which is set by umul_ppmm but never used.
54935         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
54936         variables, which are set by GMP macros but never used.
54937         * stdio-common/_itowa.c (_itowa): Likewise.
54938         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
54939         * stdlib/mod_1.c (mpn_mod_1): Likewise.
54941 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
54943         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
54944         struct La_sh_regs is not constant.
54945         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
54946         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
54947         and struct La_sparc64_regs are not constant.
54949 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54951         * sysdeps/unix/sysv/linux/kernel-features.h
54952         (__ASSUME_POSIX_TIMERS): Remove.
54953         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54954         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54955         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
54956         Make code unconditional.
54957         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54958         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
54959         Make code unconditional.
54960         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54961         * sysdeps/unix/sysv/linux/clock_nanosleep.c
54962         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
54963         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54964         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
54965         Make code unconditional.
54966         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54967         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
54968         (__libc_missing_posix_timers): Remove.
54970 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54972         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
54973         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
54975         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
54977         * elf/dl-sym.c: Include <stdlib.h>.
54979         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
54980         constants, which avoids warnings in 32-bit builds.
54982         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
54983         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
54985         * misc/lseek.c: File moved to ...
54986         * io/lseek.c: ... here.
54988         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
54990         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
54991         shifting LEN more than 31 bits at once.
54993 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54995         [BZ #14195]
54996         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
54997         segmentation fault for a case of two empty input strings.
54998         * string/test-strncasecmp.c (check1): Renamed to...
54999         (bz12205): ...this.
55000         (bz14195): Add new testcase for two empty input strings and N > 0.
55001         (test_main): Call new testcase, adapt for renamed function.
55003 2012-08-15  Andreas Jaeger  <aj@suse.de>
55005         [BZ #14090]
55006         * crypt/md5test2.c: New test, based on test supplied by Serge
55007         Belyshev <belyshev@depni.sinp.msu.ru>.
55008         * crypt/Makefile (xtests): Add md5test-giant..
55009         * crypt/Makefile ($(objpfx)md5test-giant): Add.
55011 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
55013         [BZ #14090]
55014         * crypt/md5.c (md5_process_block): Don't assume the buffer
55015         length is less than 2**32.
55016         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
55017         length is less than 2**64.
55019 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55021         * string/str-two-way.h: Include <sys/param.h>.
55022         (MAX): Macro removed.
55024         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
55025         Move #define and #undef of memmove to just before and after
55026         including <string.h>.
55028         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
55029         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
55030         and after including <string.h>.  Move declarations of
55031         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
55032         to before #include "string/memmove.c".
55034         * include/dirent.h: Declare __getdirentries.
55036         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
55037         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
55039 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
55041         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
55042         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
55043         * sysdeps/i386/configure: Regenerated.
55044         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
55045         STABS_CURRENT_FILE, and STABS_FUN.
55046         (END): Remove call to STABS_FUN_END.
55047         (STABS_CURRENT_FILE1): Delete.
55048         (STABS_CURRENT_FILE): Likewise.
55049         (STABS_FUN): Likewise.
55050         (STABS_FUN_END): Likewise.
55051         (STABS_FUN2): Likewise.
55052         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
55053         * sysdeps/x86_64/configure: Regenerated.
55055 2012-08-14  Roland McGrath  <roland@hack.frob.com>
55057         * elf/dl-open.c: Include <atomic.h>.
55058         * elf/dl-lookup.c: Likewise.
55060 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
55062         * sysdeps/unix/sysv/linux/kernel-features.h
55063         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
55064         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
55065         unconditionally.
55066         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
55067         unconditionally.
55068         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
55069         condition on __ASSUME_CLONE_THREAD_FLAGS.
55071 2012-08-14  Andreas Jaeger  <aj@suse.de>
55073         * sysdeps/i386/fpu/libm-test-ulps: Update.
55075 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
55077         * include/atomic.h (atomic_exchange_and_add): Split into ...
55078         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
55079         New atomic macros.
55081 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
55083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55085 2012-08-13  Jeff Law <law@redhat.com>
55087         * manual/stdio.texi (snprintf): Clarify handling of the trailing
55088         null byte in the output string.
55090 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
55092         * sysdeps/unix/sysv/linux/kernel-features.h
55093         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
55094         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
55095         (__ASSUME_ARG_MAX_STACK_BASED): Define.
55096         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
55097         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
55098         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
55099         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
55101 2012-08-09  Jeff Law <law@redhat.com>
55103         [BZ #13939]
55104         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
55105         When avoid_arena is set, don't retry in the that arena.  Pick the
55106         next one, whatever it might be.
55107         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
55108         (arena_lock): Pass in new parameter to arena_get2.
55109         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
55110         arena_get2.
55111         (__libc_malloc): Unify retrying after main arena failure with
55112         __libc_memalign version.
55113         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
55115 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
55117         [BZ #14166]
55118         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
55119         to __redirect_strstr.
55120         (__strstr_sse42): Use typeof __redirect_strstr.
55121         (__strstr_ia32): Likewise.
55122         (__libc_strstr): New prototype.
55123         (strstr): Renamed to ...
55124         (__libc_strstr): This.
55125         (strstr): New strong alias of __libc_strstr.
55126         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55127         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
55128         __redirect_time.
55129         Include <time.h>.
55130         (__libc_time): New prototype.
55131         (time_ifunc): Replace time with __libc_time.
55132         (time): New strong alias and hidden definition of __libc_time.
55133         (__GI_time): Remove strong alias.
55134         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
55135         Include <stddef.h>.
55136         (memmove): Redefined to __redirect_memmove.
55137         (__memmove_sse2): Use typeof __redirect_memmove.
55138         (__memmove_ssse3): Likewise.
55139         (__memmove_ssse3_back): Likewise.
55140         (__libc_memmove): New prototype.
55141         (memmove): Renamed to ...
55142         (__libc_memmove): This.
55143         (memmove): New strong alias of __libc_memmove.
55145 2012-08-08  Mark Salter  <msalter@redhat.com>
55147         * elf/elf.h
55148         (R_MN10300_TLS_GD): Define.
55149         (R_MN10300_TLS_LD): Likewise.
55150         (R_MN10300_TLS_LDO): Likewise.
55151         (R_MN10300_TLS_GOTIE): Likewise.
55152         (R_MN10300_TLS_IE): Likewise.
55153         (R_MN10300_TLS_LE): Likewise.
55154         (R_MN10300_TLS_DTPMOD): Likewise.
55155         (R_MN10300_TLS_DTPOFF): Likewise.
55156         (R_MN10300_TLS_TPOFF): Likewise.
55157         (R_MN10300_SYM_DIFF): Likewise.
55158         (R_MN10300_ALIGN): Likewise.
55159         (R_MN10300_NUM): Update.
55161 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
55163         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
55164         Remove.
55166 2012-08-08  Roland McGrath  <roland@hack.frob.com>
55168         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
55170         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
55171         sysdeps/unix -> sysdeps/posix move.
55172         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55174 2012-08-07      Allan McRae     <allan@archlinux.org>
55176         [BZ #14303]
55177         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
55178         (SUNOS_CPP): Likewise.
55179         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
55180         not found.
55181         (open_input): Call CPP using execvp.
55183 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55185         * sysdeps/unix/sysv/linux/kernel-features.h
55186         (__ASSUME_PROT_GROWSUPDOWN): Remove.
55187         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55188         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55189         (__ASSUME_WAITID_SYSCALL): Likewise.
55190         * sysdeps/unix/sysv/linux/dl-execstack.c
55191         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
55192         code unconditional.
55193         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
55194         conditional code.
55195         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
55196         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
55197         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
55198         code.
55199         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
55200         unconditional.
55201         [__ASSUME_WAITID_SYSCALL]: Likewise.
55202         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
55204 2012-08-07  Roland McGrath  <roland@hack.frob.com>
55206         * sysdeps/unix/closedir.c: Renamed to ...
55207         * sysdeps/posix/closedir.c: ... here.
55208         * sysdeps/unix/dirfd.c: Renamed to ...
55209         * sysdeps/posix/dirfd.c: ... here.
55210         * sysdeps/unix/dirstream.h: Renamed to ...
55211         * sysdeps/posix/dirstream.h: ... here.
55212         * sysdeps/unix/fdopendir.c: Renamed to ...
55213         * sysdeps/posix/fdopendir.c: ... here.
55214         * sysdeps/unix/opendir.c: Renamed to ...
55215         * sysdeps/posix/opendir.c: ... here.
55216         * sysdeps/unix/readdir.c: Renamed to ...
55217         * sysdeps/posix/readdir.c: ... here.
55218         * sysdeps/unix/readdir_r.c: Renamed to ...
55219         * sysdeps/posix/readdir_r.c: ... here.
55220         * sysdeps/unix/rewinddir.c: Renamed to ...
55221         * sysdeps/posix/rewinddir.c: ... here.
55222         * sysdeps/unix/seekdir.c: Renamed to ...
55223         * sysdeps/posix/seekdir.c: ... here.
55224         * sysdeps/unix/telldir.c: Renamed to ...
55225         * sysdeps/posix/telldir.c: ... here.
55226         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
55227         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
55228         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
55229         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
55231         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
55232         * bits/fcntl.h: ... here.
55234         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
55235         not 0.
55236         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
55237         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
55238         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
55239         (struct flock): Move l_start, l_len to the beginning.
55240         Use __pid_t for l_pid.
55241         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
55242         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
55243         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
55244         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
55245         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
55246         [__USE_LARGEFILE64] (struct flock64): New type.
55247         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
55249         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
55250         * bits/dirent.h: ... here.
55252         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
55253         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
55255 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55257         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55258         Change from 2.6.0 to 2.6.16.
55259         * sysdeps/unix/sysv/linux/configure: Regenerated.
55260         * sysdeps/unix/sysv/linux/kernel-features.h
55261         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
55262         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
55263         version.
55264         (__ASSUME_UTIMES): Likewise.
55265         (__ASSUME_CLONE_STOPPED): Remove.
55266         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
55267         architectures, not kernel version.
55268         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
55269         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55270         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55271         (__ASSUME_WAITID_SYSCALL): Likewise.
55272         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
55273         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
55274         * README: State 2.6.16 as minimum Linux kernel version.  Do not
55275         refer to older versions.
55277 2012-08-06  Roland McGrath  <roland@hack.frob.com>
55279         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
55280         Define alphasort64 as an alias.
55281         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
55282         Define versionsort64 as an alias.
55283         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
55284         Define scandir64 as an alias.
55285         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
55286         Define scandirat64 as an alias.
55287         * dirent/alphasort64.c (alphasort64):
55288         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
55289         * dirent/versionsort64.c: Likewise.
55290         * dirent/scandir64.c: Likewise.
55291         * dirent/scandirat64.c: Likewise.
55292         * sysdeps/wordsize-64/alphasort.c: File removed.
55293         * sysdeps/wordsize-64/alphasort64.c: File removed.
55294         * sysdeps/wordsize-64/scandir.c: File removed.
55295         * sysdeps/wordsize-64/scandir64.c: File removed.
55296         * sysdeps/wordsize-64/scandirat.c: File removed.
55297         * sysdeps/wordsize-64/scandirat64.c: File removed.
55298         * sysdeps/wordsize-64/versionsort.c: File removed.
55299         * sysdeps/wordsize-64/versionsort64.c: File removed.
55300         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
55301         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
55302         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
55303         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
55304         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
55305         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
55306         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
55307         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
55309         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
55310         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55311         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
55312         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55313         [defined __arch64__ || defined __sparcv9]
55314         (__INO_T_MATCHES_INO64_T): New macro.
55315         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55316         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
55317         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
55318         * sysdeps/unix/sysv/linux/bits/dirent.h
55319         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
55320         (_DIRENT_MATCHES_DIRENT64): New macro.
55322         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
55323         Define lockf64 as an alias.
55324         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
55325         Define fseeko64 as an alias.
55326         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
55327         Define ftello64 as an alias.
55328         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
55329         Define _IO_fgetpos64 and fgetpos64 as aliases.
55330         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
55331         Define _IO_fsetpos64 and fsetpos64 as aliases.
55332         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
55333         Conditionalize body on this.
55334         * libio/fseeko64.c: Likewise.
55335         * libio/ftello64.c: Likewise.
55336         * libio/iofgetpos64.c: Likewise.
55337         * libio/iofsetpos64.c: Likewise.
55338         * sysdeps/wordsize-64/lockf.c: File removed.
55339         * sysdeps/wordsize-64/lockf64.c: File removed.
55340         * sysdeps/wordsize-64/fseeko.c: File removed.
55341         * sysdeps/wordsize-64/fseeko64.c: File removed.
55342         * sysdeps/wordsize-64/ftello.c: File removed.
55343         * sysdeps/wordsize-64/ftello64.c: File removed.
55344         * sysdeps/wordsize-64/iofgetpos.c: File removed.
55345         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
55346         * sysdeps/wordsize-64/iofsetpos.c: File removed.
55347         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
55348         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
55349         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
55350         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
55351         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
55352         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
55353         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
55354         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
55355         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
55356         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
55357         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
55359         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55360         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55361         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
55362         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55363         [defined __arch64__ || defined __sparcv9]
55364         (__OFF_T_MATCHES_OFF64_T): New macro.
55365         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55366         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55367         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55368         (__OFF_T_MATCHES_OFF64_T): New macro.
55370 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55372         * stdlib/secure-getenv.c (__secure_getenv): Replace
55373         GLIBC_2_16 with GLIBC_2_17.
55375 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55377         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
55378         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55380 2012-08-03  David S. Miller  <davem@davemloft.net>
55382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55384 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55386         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
55387         Remove.
55388         (__ASSUME_CORRECT_SI_PID): Likewise.
55389         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
55390         (__ASSUME_TMPFS_NAME): Likewise.
55391         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
55392         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
55393         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
55394         (HAVE_AUX_SECURE): Make definition unconditional.
55395         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
55396         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
55398 2012-08-03  Roland McGrath  <roland@hack.frob.com>
55400         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
55401         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
55402         * sysdeps/mach/hurd/eloop-threshold.h: New file.
55403         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55404         __eloop_threshold instead of SYMLOOP_MAX.
55406         * sysdeps/generic/eloop-threshold.h: New file.
55407         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
55408         of MAXSYMLINKS.
55409         * elf/chroot_canon.c (chroot_canon): Likewise.
55411 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55413         [BZ #13717]
55414         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55415         Change to 2.6.0 everywhere.
55416         * sysdeps/unix/sysv/linux/configure: Regenerated.
55417         * sysdeps/unix/sysv/linux/kernel-features.h
55418         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
55419         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
55420         kernel versions.
55421         (__ASSUME_POSIX_TIMERS): Define unconditionally.
55422         (__ASSUME_FUTEX_REQUEUE): Remove.
55423         (__ASSUME_STATFS64): Define unconditionally.
55424         (__ASSUME_AT_SECURE): Likewise.
55425         (__ASSUME_CORRECT_SI_PID): Likewise.
55426         (__ASSUME_TGKILL): Define without depending on kernel version for
55427         i386.
55428         (__ASSUME_UTIMES): Likewise.
55429         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
55430         kernel version.
55431         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
55432         (__ASSUME_TMPFS_NAME): Likewise.
55433         * README: Update reference to Linux kernel versions.
55435 2012-08-02  Marek Polacek  <polacek@redhat.com>
55437         [BZ# 14150]
55438         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
55439         libc_cv_asm_type_prefix with %.
55440         * configure: Regenerated.
55441         * include/libc-symbols.h: Remove comment about
55442         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55443         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
55444         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
55445         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
55446         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
55447         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55448         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
55449         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
55450         * elf/tst-unique2mod1.c: Likewise.
55451         * elf/tst-unique1mod2.c: Likewise.
55452         * elf/tst-unique1mod1.c: Likewise.
55453         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
55454         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
55455         Replace ASM_TYPE_DIRECTIVE with .type.
55456         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55457         * sysdeps/i386/sysdep.h: Likewise.
55458         * sysdeps/x86_64/sysdep.h: Likewise.
55459         * sysdeps/sh/sysdep.h: Likewise.
55460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55461         Do not define ASM_TYPE_DIRECTIVE.
55462         * sysdeps/powerpc/sysdep.h: Likewise.
55463         * sysdeps/powerpc/powerpc32/sysdep.h:
55464         Replace ASM_TYPE_DIRECTIVE with .type.
55465         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55466         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55467         * sysdeps/i386/fpu/e_powf.S: Likewise.
55468         * sysdeps/i386/fpu/e_expl.S: Likewise.
55469         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55470         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55471         * sysdeps/i386/fpu/e_pow.S: Likewise.
55472         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55473         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55474         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55475         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55476         * sysdeps/i386/fpu/e_log2.S: Likewise.
55477         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55478         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55479         * sysdeps/i386/fpu/e_powl.S: Likewise.
55480         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55481         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55482         * sysdeps/i386/fpu/e_logl.S: Likewise.
55483         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55484         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55485         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55486         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55487         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55488         * sysdeps/i386/fpu/e_log.S: Likewise.
55489         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55490         * sysdeps/i386/fpu/e_logf.S: Likewise.
55491         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55492         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55493         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55494         * sysdeps/i386/fpu/e_log10.S: Likewise.
55495         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55496         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55497         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55498         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55499         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55500         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
55501         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55502         * sysdeps/i386/i686/strtok.S: Likewise.
55503         * sysdeps/i386/i386-mcount.S: Likewise.
55504         * sysdeps/i386/strtok.S: Likewise.
55505         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
55506         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55507         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55508         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55509         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55510         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55511         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55512         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55513         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55514         * sysdeps/x86_64/_mcount.S: Likewise.
55515         * sysdeps/x86_64/strtok.S: Likewise.
55516         * sysdeps/sh/_mcount.S: Likewise.
55518 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55520         * libio/iofopen.c: Include <fcntl.h>.
55521         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
55522         (_IO_fopen64, fopen64): Define as aliases.
55523         * libio/iofopen64.c: Include <fcntl.h>.
55524         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
55525         Conditionalize body on this.
55526         * sysdeps/wordsize-64/iofopen.c: File removed.
55527         * sysdeps/wordsize-64/iofopen64.c: File removed.
55529 2012-08-01  Marek Polacek  <polacek@redhat.com>
55531         * libc/Makeconfig: Use elf in place of binfmt-subdir.
55532         Use dlfcn directly instead of a variable.
55533         (binfmt-subdir): Do not define.
55534         (dlfcn): Likewise.
55536 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
55538         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
55539         Remove all definitions.
55540         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
55541         <kernel-features.h>.
55542         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55543         (miss_F_GETOWN_EX): Remove all definitions.
55544         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
55545         macro definition.
55546         [!__ASSUME_FCNTL64]: Remove conditional code.
55547         [__ASSUME_FCNTL64]: Make code unconditional.
55548         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
55549         <kernel-features.h>.
55550         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55551         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
55552         (lockf64) [__NR_fcntl64]: Make code unconditional.
55553         (lockf64) [__ASSUME_FCNTL64]: Likewise.
55555         * sysdeps/unix/sysv/linux/kernel-features.h
55556         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
55557         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
55558         Make code unconditional.
55559         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55560         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
55562         [__NR_vfork]: Make code unconditional.
55563         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55564         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
55566         [__NR_vfork]: Make code unconditional.
55567         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55568         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55570 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55572         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
55573         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
55575         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55576         Define mkstemp64 as an alias.
55577         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55578         Define mkstemps64 as an alias.
55579         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55580         Define mkostemp64 as an alias.
55581         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55582         Define mkostemps64 as an alias.
55583         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
55584         Conditionalize body on this.
55585         * misc/mkostemp64.c: Likewise.
55586         * misc/mkostemps64.c: Likewise.
55587         * misc/mkstemps64.c: Likewise.
55588         * sysdeps/wordsize-64/mkstemp64.c: File removed.
55589         * sysdeps/wordsize-64/mkostemp64.c: File removed.
55590         * sysdeps/wordsize-64/mkostemp.c: File removed.
55591         * sysdeps/wordsize-64/mkstemp.c: File removed.
55592         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
55593         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
55594         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
55595         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
55597         [BZ #14138]
55598         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
55599         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
55600         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
55601         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
55603         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
55604         compat_symbol macros from <shlib-compat.h> rather than the underlying
55605         default_symbol_version and symbol_version macros, so that DEFAULT
55606         lines in shlib-versions are respected.
55607         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
55609 2012-08-01  Florian Weimer  <fweimer@redhat.com>
55611         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
55612         Declare with warn_unused_result.
55613         (setgid, setregid, setegid, setresgid): Likewise.
55614         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
55615         Likewise.
55616         * WUR-REPORT: Remove set*id functions.
55618 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
55620         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55622 2012-07-31  Roland McGrath  <roland@hack.frob.com>
55624         [BZ #10191]
55625         * include/sys/socket.h (__libc_accept, __libc_accept4):
55626         Add attribute_hidden.
55627         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55629         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55630         use of PTR_MANGLE.
55631         * inet/getnetgrent_r.c (setup): Likewise.
55633         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55635 2012-07-31  David S. Miller  <davem@davemloft.net>
55637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55639 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
55641         [BZ #13629]
55642         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55643         value between 1.0 and 2.0 and smaller part has absolute value less
55644         than 1.0.
55645         * math/s_clog10.c (__clog10): Likewise.
55646         * math/s_clog10f.c (__clog10f): Likewise.
55647         * math/s_clog10l.c (__clog10l): Likewise.
55648         * math/s_clogf.c (__clogf): Likewise.
55649         * math/s_clogl.c (__clogl): Likewise.
55650         * math/libm-test.inc (clog_test): Add more tests.
55651         (clog10_test): Likewise.
55652         * sysdeps/i386/fpu/libm-test-ulps: Update.
55653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55655 2012-07-31  Florian Weimer  <fweimer@redhat.com>
55657         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55658         Exit with zero in case no suitable GID is found, and write a
55659         message to standard error.
55661 2012-07-30  Roland McGrath  <roland@hack.frob.com>
55663         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55664         rather than to 1.
55665         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55666         (MAXPATHLEN): Removed.
55667         (NOGROUP, NODEV): New macros.
55668         (setbit, clrbit, isset, isclr): New macros.
55669         (howmany, roundup, powerof2): New macros.
55670         (DEV_BSIZE): New macro.
55672         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55673         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55675         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55676         definition on [!__NO_LONG_DOUBLE_MATH].
55678         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55679         PTR_MANGLE and PTR_DEMANGLE.
55681         * socket/accept4.c (accept4): Rename to __libc_accept4.
55682         Define accept4 as a weak alias.
55684         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55685         on [_DIRENT_HAVE_D_TYPE].
55686         * io/ftw.c (ftw_dir): Likewise.
55688         * io/xmknod.c (__xmknod): Don't check PATH for being null.
55690         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55692         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55693         Use the BSD numbers rather than the arbitrary ones we had.
55694         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55695         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55696         (SIGXCPU, SIGXFSZ): New macros.
55697         (_NSIG): Now 32.
55699         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55700         initializer on [_LIBC_REENTRANT].
55702         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55703         definitions inside [_POSIX_MAPPED_FILES].
55705         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55707         * dirent/opendir.c: Include <fcntl.h>.
55709         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55710         (__libc_getspecific): Likewise.
55711         (__libc_key_create): Likewise.
55713         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55714         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55715         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55716         (tmpfile64): Define as alias.
55717         * sysdeps/wordsize-64/tmpfile.c: File removed.
55718         * sysdeps/wordsize-64/tmpfile64.c: File removed.
55719         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55720         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55722         * stdio-common/vfscanf.c: Include <stdbool.h>.
55723         * nss/makedb.c: Likewise.
55724         * stdio-common/_i18n_number.h: Likewise.
55725         * argp/argp-help.c: Likewise.
55726         * posix/wordexp.c: Likewise.
55727         * sysdeps/posix/spawni.c: Likewise.
55728         * nss/nss_files/files-initgroups.c: Likewise.
55729         * stdio-common/reg-modifier.c: Include <stdlib.h>.
55730         * nss/nss_files/files-initgroups.c: Likewise.
55731         * nss/nss_db/db-netgrp.c: Likewise.
55732         * nss/nss_db/db-initgroups.c: Likewise.
55733         * io/fchmodat.c: Include <sys/stat.h>.
55735         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55736         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55738         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55739         [HAVE_MMAP].
55741         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55742         Add multiple inclusion protection.
55744 2012-07-27  David S. Miller  <davem@davemloft.net>
55746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55748 2012-07-27  Gary Benson  <gbenson@redhat.com>
55750         [BZ #14298]
55751         * elf/rtld.c: Include <stap-probe.h>.
55752         (dl_main): Added static probes "init_start" and "init_complete".
55753         * elf/dl-load.c: Include <stap-probe.h>.
55754         (lose): Take new parameter "nsid".
55755         Added static probe "map_failed".
55756         (_dl_map_object_from_fd): Pass namespace id to lose.
55757         Added static probe "map_start".
55758         (open_verify): Pass namespace id to lose.
55759         * elf/dl-open.c: Include <stap-probe.h>.
55760         (dl_open_worker) Added static probes "map_complete", "reloc_start"
55761         and "reloc_complete".
55762         * elf/dl-close.c: Include <stap-probe.h>.
55763         (_dl_close_worker): Added static probes "unmap_start" and
55764         "unmap_complete".
55765         * elf/rtld-debugger-interface.txt: New file documenting the above.
55767 2012-07-26  Roland McGrath  <roland@hack.frob.com>
55769         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55770         rather than a string variable.
55771         * sunrpc/rpc_main.c (h_output): Likewise.
55772         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
55774 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
55776         * inet/check_native.c: New file.
55778 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
55780         [BZ #13629]
55781         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
55782         if larger part has absolute value 1.0.
55783         * math/s_clog10.c (__clog10): Likewise.
55784         * math/s_clog10f.c (__clog10f): Likewise.
55785         * math/s_clog10l.c (__clog10l): Likewise.
55786         * math/s_clogf.c (__clogf): Likewise.
55787         * math/s_clogl.c (__clogl): Likewise.
55788         * math/libm-test.inc (clog_test): Add more tests.
55789         (clog10_test): Likewise.
55790         * sysdeps/i386/fpu/libm-test-ulps: Update.
55791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55793         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
55794         (pltexit): Likewise.
55795         (La_regs): Likewise.
55796         (La_retval): Likewise.
55797         (int_retval): Likewise.
55798         Update #error for removed macros to refer only to definitions in
55799         tst-audit.h.
55800         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
55801         macro.
55802         (pltexit): Likewise.
55803         (La_regs): Likewise.
55804         (La_retval): Likewise.
55805         (int_retval): Likewise.
55806         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
55807         macro.
55808         (pltexit): Likewise.
55809         (La_regs): Likewise.
55810         (La_retval): Likewise.
55811         (int_retval): Likewise.
55812         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
55813         macro.
55814         (pltexit): Likewise.
55815         (La_regs): Likewise.
55816         (La_retval): Likewise.
55817         (int_retval): Likewise.
55818         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
55819         macro.
55820         (pltexit): Likewise.
55821         (La_regs): Likewise.
55822         (La_retval): Likewise.
55823         (int_retval): Likewise.
55824         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
55825         macro.
55826         (pltexit): Likewise.
55827         (La_regs): Likewise.
55828         (La_retval): Likewise.
55829         (int_retval): Likewise.
55830         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
55831         macro.
55832         (pltexit): Likewise.
55833         (La_regs): Likewise.
55834         (La_retval): Likewise.
55835         (int_retval): Likewise.
55836         * sysdeps/generic/tst-audit.h: Update comment to refer only to
55837         macro definitions in tst-audit.h.
55838         * sysdeps/i386/tst-audit.h: New file.
55839         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
55840         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
55841         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
55842         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
55843         * sysdeps/sh/tst-audit.h: Likewise.
55844         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55845         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
55846         * sysdeps/x86_64/tst-audit.h: Likewise.
55848 2012-07-26  Andreas Jaeger  <aj@suse.de>
55850         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
55851         ptrace.
55853         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
55854         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
55855         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
55856         PTRACE_O_MASK.
55857         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
55858         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
55859         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
55861         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
55862         value.
55864         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
55865         _sigsys.
55866         (si_call_addr, si_syscall, si_arch): Define new macro.
55867         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
55868         _sigsys.
55869         (si_call_addr, si_syscall, si_arch): Define new marcro.
55870         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
55871         _sigsys.
55872         (si_call_addr, si_syscall, si_arch): Define new macro.
55873         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
55874         _sigsys.
55875         (si_call_addr, si_syscall, si_arch): Define new macro.
55877 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55879         [BZ #13717]
55880         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55881         Change to 2.4.21 where previously 2.4.1.
55882         * sysdeps/unix/sysv/linux/configure: Regenerated.
55883         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
55884         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
55885         Linux kernel version.
55886         (__ASSUME_STD_AUXV): Remove.
55887         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
55888         kernel version.
55889         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
55890         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
55891         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
55892         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
55893         (__ASSUME_NETLINK_SUPPORT): Likewise.
55894         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
55895         (__no_netlink_support): Remove conditional definition.
55896         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
55897         Remove.
55898         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55899         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
55900         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
55901         (if_nameindex_ioctl): Remove.
55902         (if_nameindex_netlink): Do not handle __no_netlink_support.
55903         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55904         code.
55905         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
55906         Remove conditional code.
55907         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55908         code.
55909         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
55910         unconditional.
55911         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55912         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
55913         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
55914         Remove.
55915         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
55916         [!__ASSUME_STD_AUXV]: Remove conditional code.
55917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
55918         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
55919         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
55920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
55921         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
55922         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55923         code.
55924         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55926         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
55927         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55928         conditional code.
55929         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55931         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55932         code.
55933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55934         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55935         conditional code.
55936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
55937         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55938         code unconditional.
55939         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55940         conditional code.
55941         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55942         unconditional.
55943         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55944         conditional code.
55945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55946         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55947         unconditional.
55948         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55949         conditional code.
55950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
55951         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55952         code unconditional.
55953         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55954         conditional code.
55955         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55956         unconditional.
55957         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55958         conditional code.
55959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
55960         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55961         code unconditional.
55962         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55963         conditional code.
55964         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55965         unconditional.
55966         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55967         conditional code.
55969 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
55971         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
55972         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
55973         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
55974         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
55975         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
55976         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
55977         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
55978         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
55979         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
55980         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
55981         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
55982         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
55983         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
55984         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
55985         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
55986         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
55987         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
55988         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
55989         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
55990         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
55991         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
55992         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
55993         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55995 2012-07-25  Florian Weimer  <fweimer@redhat.com>
55997         * Versions.def: Add GLIBC_2.17.
55998         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
55999         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
56000         Introduce __libc_secure_getenv.
56001         * stdlib/Versions (2.17): Add secure_getenv
56002         (GLIBC_PRIVATE): Add __libc_secure_getenv.
56003         * stdlib/secure-getenv.c: Rename __secure_getenv to
56004         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
56005         symbol __secure_getenv for GLIBC_2.0.
56006         * stdlib/tst-secure-getenv.c: New.
56007         * stdlib/Makefile (tests): Add testcase.
56008         * manual/startup.texi (Environment Access): Document
56009         secure_getenv.
56010         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
56011         __libc_secure_getenv.
56012         * inet/ruserpass.c (ruserpass): Likewise.
56013         * malloc/mtrace.c (mtrace): Likewise.
56014         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
56015         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
56016         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
56017         * sysdeps/posix/tempname.c: Likewise.  Evaluate
56018         HAVE_SECURE_GETENV.
56019         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
56020         __secure_getenv to __libc_secure_getenv.
56021         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
56022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56023         Likewise.
56024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56025         Likewise.
56026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56028         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56034 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56036         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
56037         (struct La_i86_retval): Likewise.
56038         (struct La_x86_64_regs): Likewise.
56039         (struct La_x86_64_retval): Likewise.
56040         (struct La_x32_regs): Likewise.
56041         (struct La_x32_retval): Likewise.
56042         (struct La_ppc32_regs): Likewise.
56043         (struct La_ppc32_retval): Likewise.
56044         (struct La_ppc64_regs): Likewise.
56045         (struct La_ppc64_retval): Likewise.
56046         (struct La_sh_regs): Likewise.
56047         (struct La_sh_retval): Likewise.
56048         (struct La_s390_32_regs): Likewise.
56049         (struct La_s390_32_retval): Likewise.
56050         (struct La_s390_64_regs): Likewise.
56051         (struct La_s390_64_retval): Likewise.
56052         (struct La_sparc32_regs): Likewise.
56053         (struct La_sparc32_retval): Likewise.
56054         (struct La_sparc64_regs): Likewise.
56055         (struct La_sparc64_retval): Likewise.
56056         (struct audit_ifaces): Remove architecture-specific pltenter and
56057         pltexit members.
56058         * sysdeps/i386/ldsodefs.h: New file.
56059         * sysdeps/powerpc/ldsodefs.h: Likewise.
56060         * sysdeps/s390/ldsodefs.h: Likewise.
56061         * sysdeps/sh/ldsodefs.h: Likewise.
56062         * sysdeps/sparc/ldsodefs.h: Likewise.
56063         * sysdeps/x86_64/ldsodefs.h: Likewise.
56065 2012-07-25  Marek Polacek  <polacek@redhat.com>
56067         [BZ #6808]
56068         * math/libm-test.inc (yn_test): Add another test.
56069         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
56070         to ERANGE when the result is +-Inf.
56071         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56072         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
56073         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
56074         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
56076 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
56078         * conform/data/time.h-data (NULL): Use macro-constant.  Require
56079         equal to 0.
56080         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
56081         clock_t.
56082         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
56084 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
56086         * configure.in <sysdeps resolving>: Correct printing
56087         Implies_before.
56088         * configure: Regenerate.
56090 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
56092         * math/w_ilogb.c: Include <limits.h>.
56093         * math/w_ilogbl.c: Likewise.
56095 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56097         * manual/lang.texi (__va_copy): Document primarily as ISO C99
56098         va_copy.  Document allowing for unavailable va_copy only as
56099         pre-C99 compatibility.
56100         * manual/string.texi (Copying and Concatenation): Use va_copy
56101         instead of __va_copy in concat example.
56103 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
56105         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
56106         (__sendto): Use create_address_port.  Initialize APORT and deallocate
56107         it if not null.
56109         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
56110         with O_NOLINK passed to __file_name_lookup.
56112         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
56113         with O_NOLINK passed to __file_name_lookup.
56115         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
56116         negative N or less than NGIDS.
56118         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
56119         type to string_t.  Set ERANGE as errno and return it if NAME is not big
56120         enough.  Use memcpy instead of strncpy.
56122 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56124         * elf/Makefile (check-data): Remove.
56125         (localplt.data): New vpath directive.
56126         ($(objpfx)check-localplt.out): Use localplt.data from vpath
56127         instead of $(check-data).
56128         * scripts/data/localplt-generic.data: Move to ...
56129         * sysdeps/generic/localplt.data: ... here.
56130         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
56131         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
56132         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
56133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
56134         ... here.
56135         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
56136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
56137         ... here.
56138         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
56139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
56140         ... here.
56141         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
56142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
56143         ... here.
56144         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
56145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
56146         ... here.
56147         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
56148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
56149         ... here.
56151 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56153         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
56154         PPC32 and PPC64 files.
56155         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
56156         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
56158 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56160         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
56161         __makecontext_ret to ...
56162         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
56163         ... here and call exit if uc_link is NULL.  New file.
56164         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
56165         __makecontext_ret.S.
56166         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
56167         __makecontext_ret to ...
56168         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
56169         ... here and call exit if uc_link is NULL.  New file.
56170         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
56171         __makecontext_ret.S.
56173 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56175         * elf/elf.h (R_390_IRELATIVE): New definition.
56176         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
56177         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
56178         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
56179         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56180         (elf_machine_lazy_rel): Likewise.
56181         * sysdeps/s390/dl-irel.h: New file.
56182         * sysdeps/s390/s390-64/memcpy.S: New asm code.
56183         * sysdeps/s390/s390-64/memset.S: New asm code.
56184         * sysdeps/s390/s390-64/memcmp.S: New asm code.
56185         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
56186         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
56187         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
56188         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
56189         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
56190         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
56191         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
56192         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
56193         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
56194         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
56195         * sysdeps/s390/s390-32/memcpy.S: New asm code.
56196         * sysdeps/s390/s390-32/memset.S: New asm code.
56197         * sysdeps/s390/s390-32/memcmp.S: New asm code.
56199 2012-07-17  Marek Polacek  <polacek@redhat.com>
56201         [BZ #14349]
56202         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
56203         * sysdeps/s390/s390-64/configure.in: Likewise.
56204         * sysdeps/sparc/configure.in: Likewise.
56205         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
56206         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
56207         * sysdeps/i386/configure.in: Likewise.
56208         * sysdeps/x86_64/configure.in: Likewise.
56209         * sysdeps/sh/configure.in: Likewise.
56210         * sysdeps/s390/s390-32/configure: Regenerated.
56211         * sysdeps/s390/s390-64/configure: Likewise.
56212         * sysdeps/x86_64/configure: Likewise.
56213         * sysdeps/sh/configure: Likewise.
56214         * sysdeps/powerpc/powerpc64/configure: Likewise.
56215         * sysdeps/powerpc/powerpc32/configure: Likewise.
56216         * sysdeps/sparc/configure: Likwise.
56217         * sysdeps/i386/configure: Likewise.
56219         * elf/dl-open.c: Comment fixes.
56221 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
56223         * Makefile [CXX] (check-data): Remove.
56224         [CXX] (c++-types.data): New vpath directive.
56225         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
56226         vpath.  Do not allow for C++ type data being missing.
56227         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
56228         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
56229         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
56230         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
56231         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
56232         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
56233         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
56234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
56235         ... here.
56236         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
56237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
56238         ... here.
56239         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
56240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
56241         ... here.
56242         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
56243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
56244         ... here.
56245         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
56246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
56247         ... here.
56248         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
56249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
56250         ... here.
56251         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
56252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
56253         ... here.
56254         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
56255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
56257         * elf/tls-macros.h (TLS_LE): Move architecture-specific
56258         definitions to architecture-specific files.
56259         (TLS_IE): Likewise.
56260         (TLS_LD): Likewise.
56261         (TLS_GD): Likewise.
56262         * sysdeps/i386/tls-macros.h: New file.
56263         * sysdeps/powerpc/tls-macros.h: Likewise.
56264         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
56265         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
56266         * sysdeps/sh/tls-macros.h: Likewise.
56267         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
56268         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
56269         * sysdeps/x86_64/tls-macros.h: Likewise.
56271 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56273         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
56274         zero value for regular exit case.
56276         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
56277         (__start_context): Preserve zero value for regular exit case.
56279 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56280             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56282         * manual/setjmp.texi (setcontext): Clarify normal process
56283         termination when uc_link is the null pointer.
56284         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
56285         exit call.
56287 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
56289         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
56290         preprocessor.  Test for each exception mask separately.
56292 2012-07-16  Andreas Jaeger  <aj@suse.de>
56294         * po/ru.po: Update from translation team.
56296 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
56298         * conform/data/string.h-data (NULL): Use macro-constant.  Require
56299         equal to 0.
56300         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56301         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56302         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
56303         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
56304         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56306 2012-07-13  Andreas Jaeger  <aj@suse.de>
56308         * po/fr.po: Update from translation team.
56310 2012-07-12  Marek Polacek  <polacek@redhat.com>
56312         [BZ #14173]
56313         * math/libm-test.inc (yn_test): Add test for BZ #14173.
56314         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
56315         loop condition.
56317 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
56319         [BZ #13717]
56320         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56321         Change to 2.4.1 where previously 2.4.0.
56322         * sysdeps/unix/sysv/linux/configure: Regenerated.
56323         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
56324         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
56325         version.
56326         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
56327         (__ASSUME_AT_CLKTCK): Remove.
56328         (__ASSUME_AT_PAGESIZE): Likewise.
56329         (__ASSUME_AT_XID): Likewise.
56330         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
56331         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
56332         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
56333         unconditionally.
56334         (HAVE_AUX_PAGESIZE): Likewise.
56335         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
56336         [__ASSUME_AT_CLKTCK]: Make code unconditional.
56337         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
56339 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
56341         [BZ #14307]
56342         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
56343         the temporary buffer used to invoke __gethostbyname2_r,
56344         __gethostbyaddr_r and gethostbyname4_r to make room for struct
56345         host_data / struct gaih_addrtuple.
56346         * resolv/nss_dns/dns-host.c (global scope): Move definition of
56347         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
56348         header file nss/nsswitch.h.
56349         * nss/nsswitch.h (global scope): Add definition of implementation
56350         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
56351         resolv/nss_dns/dns-host.c).
56353 2012-07-11  Andreas Jaeger  <aj@suse.de>
56355         * po/fr.po: Update from translation team.
56357         * po/sv.po: Update from translation team
56358         * po/fr.po: Another update from translation team.
56360 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56362         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
56363         for subnormals or multiply small sinh result by itself.
56364         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56367 2012-07-11  David S. Miller  <davem@davemloft.net>
56369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56371 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
56373         [BZ #14347]
56374         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
56375         (INTERNAL_MARK): Shift it here.
56377 2012-07-10  Marek Polacek  <polacek@redhat.com>
56379         [BZ #14151]
56380         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
56381         libc_cv_asm_global_directive with .globl.
56382         * configure: Regenerated.
56383         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
56384         with .globl.
56385         * sysdeps/i386/configure: Regenerated.
56386         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
56387         with .globl.
56388         * sysdeps/x86_64/configure: Regenerated.
56389         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
56390         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
56391         * elf/tst-unique2mod2.c: Likewise.
56392         * elf/tst-unique2mod1.c: Likewise.
56393         * elf/tst-unique1mod2.c: Likewise.
56394         * elf/tst-unique1mod1.c: Likewise.
56395         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56396         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56397         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56398         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56399         * sysdeps/mach/sysdep.h: Likewise.
56400         * sysdeps/i386/sysdep.h: Likewise.
56401         * sysdeps/i386/i386-mcount.S: Likewise.
56402         * sysdeps/x86_64/_mcount.S: Likewise.
56403         * sysdeps/x86_64/sysdep.h: Likewise.
56404         * sysdeps/sh/_mcount.S: Likewise.
56405         * sysdeps/sh/sysdep.h: Likewise.
56406         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
56407         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
56408         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
56409         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56410         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
56411         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
56412         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
56413         * locale/localeinfo.h: Likewise.
56414         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
56415         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
56417 2012-07-09  Roland McGrath  <roland@hack.frob.com>
56419         [BZ #14336]
56420         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
56421         system".
56422         * manual/message.texi (The Uniforum approach): Likewise.
56423         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
56424         (glibc iconv Implementation): Likewise.
56426 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
56428         [BZ #14337]
56429         * math/s_clog.c (__clog): Avoid scaling a value down where that
56430         could result in underflow.
56431         * math/s_clog10.c (__clog10): Likewise.
56432         * math/s_clog10f.c (__clog10f): Likewise.
56433         * math/s_clog10l.c (__clog10l): Likewise.
56434         * math/s_clogf.c (__clogf): Likewise.
56435         * math/s_clogl.c (__clogl): Likewise.
56436         * math/libm-test.inc (clog_test): Add more tests.
56437         (clog10_test): Likewise.
56438         * sysdeps/i386/fpu/libm-test-ulps: Update.
56439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56441 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
56443         [BZ #14283]
56444         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
56445         by 7 not 8 to examine high bit of fractional part.
56447         [BZ #14042]
56448         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
56449         for call to __mcount_internal.
56450         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
56451         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
56452         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
56454 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
56456         [BZ #14154]
56457         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
56458         approximation for values within 0x1p-13f of an odd multiple of
56459         pi/4.
56460         * math/libm-test.inc (tan_test): Do not allow spurious underflow
56461         exception.  Add more tests.
56462         * sysdeps/i386/fpu/libm-test-ulps: Update.
56464         [BZ #6778]
56465         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
56466         inputs and return -1 for them.  Do not check for +Inf in case not
56467         reachable for +Inf.
56468         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56469         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
56470         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56471         and return -1 for them.  Do not check for +Inf in case not
56472         reachable for +Inf.
56473         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
56474         define.
56475         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56476         and return -1 for them.  Do not check for +Inf in case not
56477         reachable for +Inf.
56478         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
56479         spurious underflow.
56480         * sysdeps/i386/fpu/libm-test-ulps: Update.
56481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56483 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
56485         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
56487 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
56489         [BZ #14157]
56490         [BZ #14331]
56491         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
56492         could result in spurious underflow.  Scale down values above
56493         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
56494         * math/s_csqrtf.c (__csqrtf): Likewise.
56495         * math/s_csqrtl.c (__csqrtl): Likewise.
56496         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
56497         spurious underflow.
56498         * sysdeps/i386/fpu/libm-test-ulps: Update.
56499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56501 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
56503         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
56504         xopen-msg.sed.
56505         * catgets/xopen-msg.awk: New file.
56506         * catgets/xopen-msg.sed: Removed.
56508         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
56509         po2text.sed.
56510         * intl/po2test.awk: New file.
56511         * intl/po2test.sed: Removed.
56513 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
56515         [BZ #14328]
56516         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
56517         or multiply small sinh result by itself.
56518         * math/s_ctanf.c (__ctanf): Likewise.
56519         * math/s_ctanh.c (__ctanh): Likewise.
56520         * math/s_ctanhf.c (__ctanhf): Likewise.
56521         * math/s_ctanhl.c (__ctanhl): Likewise.
56522         * math/s_ctanl.c (__ctanl): Likewise.
56523         * math/libm-test.inc (ctan_test_tonearest): New function.
56524         (ctan_test_towardzero): Likewise.
56525         (ctan_test_downward): Likewise.
56526         (ctan_test_upward): Likewise.
56527         (ctanh_test_tonearest): Likewise.
56528         (ctanh_test_towardzero): Likewise.
56529         (ctanh_test_downward): Likewise.
56530         (ctanh_test_upward): Likewise.
56531         (main): Call these new functions.
56532         * sysdeps/i386/fpu/libm-test-ulps: Update.
56533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56535 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
56537         * .gitignore: Delete /ports entry.
56539 2012-07-03  Andreas Jaeger  <aj@suse.de>
56541         * po/bg.po: Update from translation team.
56542         * po/cs.po: Likewise.
56543         * po/de.po: Likewise.
56544         * po/hr.po: Likewise.
56545         * po/nl.pl: Likewise.
56546         * po/pl.po: Likewise.
56547         * po/vi.po: Likewise.
56549 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
56551         * Makeconfig [!+link] (+link-before-libc): New variable.
56552         [!+link] (+link-after-libc): Likewise.
56553         [!+link] (+link-tests): Likewise.
56554         [!+link] (+link): Define in terms of $(+link-before-libc) and
56555         $(+link-after-libc).
56556         [!+link-static] (+link-static-before-libc): New variable.
56557         [!+link-static] (+link-static-after-libc): Likewise.
56558         [!+link-static] (+link-static-tests): Likewise.
56559         [!+link-static] (+link-static): Define in terms of
56560         $(+link-static-before-libc) and $(+link-static-after-libc).
56561         [build-shared] (link-libc-before-gnulib): New variable.
56562         [build-shared] (link-libc-tests): Likewise.
56563         [build-shared] (link-libc): Define in terms of
56564         $(link-libc-before-gnulib).
56565         [!build-shared] (link-libc-tests): New variable.
56566         (link-libc-static-tests): New variable.
56567         [!gnulib] (gnulib-arch): New variable.
56568         [!gnulib] (gnulib-tests): Likewise.
56569         [!gnulib] (static-gnulib-arch): Likewise.
56570         [!gnulib] (static-gnulib-tests): Likewise.
56571         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
56572         Define with "=" instead of ":=".
56573         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
56574         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
56575         * Rules (binaries-all-notests): New variable.
56576         (binaries-all-tests): Likewise.
56577         (binaries-static-notests): Likewise.
56578         (binaries-static-tests): Likewise.
56579         (binaries-all): Define using $(binaries-all-notests) and
56580         $(binaries-all-tests).
56581         (binaries-static): Define using $(binaries-static-notests) and
56582         $(binaries-static-tests).
56583         (binaries-shared-tests): New variable.
56584         (binaries-shared-notests): Likewise.
56585         (binaries-shared): Remove variable.
56586         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
56587         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
56588         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
56589         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
56590         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
56591         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
56592         * elf/Makefile (sln-modules): New variable.
56593         (extra-objs): Add $(sln-modules:=.o).
56594         (ldconfig-modules): Add static-stubs.
56595         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
56596         * elf/static-stubs.c: New file.
56598         [BZ #14283]
56599         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
56600         by 7 not 8 to examine high bit of fractional part.  Use volatile
56601         variables when splitting into final array of floats if
56602         __FLT_EVAL_METHOD__ != 0.
56603         * math/libm-test.inc (cos_test): Add another test.
56604         (sin_test): Likewise.
56605         * sysdeps/i386/fpu/libm-test-ulps: Update.
56607         [BZ #14273]
56608         * math/libm-test.inc (cosh_test): Add more tests.
56610         * version.h (RELEASE): Set to "development".
56611         (VERSION): Set to "2.16.90".
56613 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
56615         * NEWS: Update copyright. Remove last-updated date.
56616         Mention math library bug fixes and timezone data changes.
56617         * README: Mention GNU/Hurd, x32, and HPPA support status.
56619 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
56621         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56623 2012-06-27  Andreas Jaeger  <aj@suse.de>
56625         * manual/contrib.texi (Contributors): Add Samuel Thibault.
56627 2012-06-25  Andreas Jaeger  <aj@suse.de>
56629         * sysdeps/s390/fpu/libm-test-ulps: Update.
56631 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
56632             Thomas Schwinge  <thomas@codesourcery.com>
56634         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56635         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56636         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56637         fanotify_mark.
56639 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
56641         * sysdeps/mach/start.c: Remove file.
56642         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56643         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56644         * sysdeps/sh/init-first.c: Likewise.
56646         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56647         registers for frame unwinding purposes, add CFI directives.
56648         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56649         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56650         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56651         Likewise.
56653         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56654         __fortify_fail returning.
56655         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56657         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56658         sysdeps/sh/____longjmp_chk.S.
56659         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56660         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56661         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56662         (gen-as-const-headers): Append sigaltstack-offsets.sym.
56664         * sysdeps/sh/abort-instr.h: New file.
56665         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56666         process in case exit returns.
56668         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56669         initialize the GOT register before use.
56671         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56672         calculation of ARGC > 4.
56674         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56675         meaningful names to some local labels.
56677 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56678             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56680         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56681         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56682         (__arch_compare_and_exchange_val_16_acq): Likewise.
56683         (__arch_compare_and_exchange_val_32_acq): Likewise.
56684         (atomic_exchange_and_add): Fix gUSA sequence.
56685         (atomic_add): Likewise.
56686         (atomic_add_negative): Likewise.
56687         (atomic_add_zero): Likewise.
56688         (atomic_bit_test_set): Likewise.
56690 2012-06-22  Andreas Schwab  <schwab@redhat.com>
56692         [BZ #13579]
56693         * include/link.h (struct link_map): Add l_free_initfini.
56694         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56695         l_initfini.
56696         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56697         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56698         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56699         set.
56701 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
56703         * configure.in: Use AC_LANG_SOURCE.
56704         * configure: Regenerate.
56706 2012-06-22  Roland McGrath  <roland@hack.frob.com>
56708         * configure.in (libc_cv_localstatedir): New substituted variable.
56709         * configure: Regenerated.
56710         * config.make.in (localstatedir): New variable, substituted from
56711         libc_cv_localstatedir.
56712         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56713         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56714         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56715         * sysdeps/gnu/configure: Regenerated.
56717 2012-06-21  Jeff Law  <law@redhat.com>
56719         [BZ #14277]
56720         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56721         free.  Simplify list management for _LIBC case.
56723 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
56725         [BZ #14273]
56726         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56727         Clear sign bit of 64-bit integer value before comparing against
56728         overflow value.
56730         * sysdeps/mach/configure: Regenerated.
56732 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
56734         [BZ #14278]
56735         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56737 2012-06-21  Jeff Law  <law@redhat.com>
56739         [BZ #13882]
56740         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
56741         uint16_t for elements in the "seen" array to avoid char overflows.
56742         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56743         * elf/dl-open.c (dl_open_worker): Likewise.
56745 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
56747         * scripts/list-sources.sh: Scan PORTS for translations.
56748         * po/libc.pot: Regenerated.
56750 2012-06-21  Andreas Jaeger  <aj@suse.de>
56752         [BZ #12194]
56753         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56754         warning.
56755         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56756         * bits/byteswap-16.h (__bswap_16): Likewise.
56757         * bits/byteswap.h (__bswap_constant_16): Likewise.
56759 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
56761         [BZ #14117]
56762         * sysdeps/i386/fpu_control.h: Removed.
56763         * sysdeps/x86_64/fpu_control.h: Moved to ...
56764         * sysdeps/x86/fpu_control.h: Here.
56766         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56767         (_FPU_SETCW): Likewise.
56769 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
56771         [BZ #14117]
56772         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56773         * sysdeps/x86/fpu/bits/mathinline.h: This.
56774         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
56776         [BZ #14050]
56777         [BZ #14117]
56778         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
56779         functions if __x86_64__ is defined.
56781 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
56783         * string/endian.h: Add !__ASSEMBLER__ condition for including
56784         conversion interfaces.
56786 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
56788         [BZ #14241]
56789         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
56790         of ABS(x) in calculating zero to negative powers other than odd
56791         integers.
56792         * math/libm-test.inc (pow_test): Add more tests.
56794 2012-06-15  Andreas Jaeger  <aj@suse.de>
56796         * manual/contrib.texi (Contributors): Update entry of Liubov
56797         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
56798         Machado Filho.
56800 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
56802         * string/string.h: Add __wur to GNU version of strerror_r.
56804 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
56806         [BZ #14229]
56807         * string/Makefile (tests): Add tst-strtok_r.
56808         * string/tst-strtok_r.c: New file.
56809         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
56810         RAX_LP/RDX_LP on SAVE_PTR.
56812 2012-06-14  Roland McGrath  <roland@hack.frob.com>
56814         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
56816 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
56818         * libm_test.inc (csqrt_test): Allow more spurious underflow
56819         exceptions.
56820         (j0_test): Likewise.
56821         (j1_test): Likewise.
56822         (y0_test): Likewise.
56823         (y1_test): Likewise.
56825 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
56827         * po/Makefile (libc.pot): Use UTF-8 charset.
56829 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
56831         [BZ #14210]
56832         Suppress sign-conversion warning from FD_SET.
56833         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
56834         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
56835         not unsigned long int.
56836         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
56838 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
56840         [BZ #14050]
56841         [BZ #14117]
56842         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
56843         __extern_always_inline instead of __extern_inline.
56844         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
56845         (__signbit): Likewise.
56846         (__signbitl): Support C++ namespace.
56847         (lrintf): New inline function.
56848         (lrint): Likewise.
56849         (llrintf): Likewise.
56850         (llrint): Likewise.
56851         (fmaxf): Likewise.
56852         (fmax): Likewise.
56853         (fminf): Likewise.
56854         (fmin): Likewise.
56855         (rint): Likewise.
56856         (rintf): Likewise.
56857         (ceil): Likewise.
56858         (ceilf): Likewise.
56859         (floor): Likewise.
56860         (floorf): Likewise.
56861         (nearbyint): Likewise.
56862         (nearbyintf): Likewise.
56864 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
56866         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
56867         non-default versions.
56869 2012-06-11  Roland McGrath  <roland@hack.frob.com>
56871         [BZ #14218]
56872         * manual/argp.texi (Argp): Reword argp_parse description slightly.
56874 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
56876         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
56877         (FE_UPWARD, FE_DOWNWARD): Don't define.
56878         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
56879         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56881         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
56882         reading it.
56883         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56884         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56886 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56888         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56889         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
56890         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
56891         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
56893 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
56895         [BZ #14117]
56896         * sysdeps/i386/fpu/bits/fenv.h: Removed.
56897         * sysdeps/i386/fpu/Implies: New file.
56898         * sysdeps/x86_64/fpu/Implies: Likewise.
56899         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
56900         * sysdeps/x86/fpu/bits/fenv.h: This.
56902         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
56903         __SSE_MATH__.
56905 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56907         [BZ #14134]
56908         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
56909         character 0xffff that matches the last element of the
56910         conversion table.
56912 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56914         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
56915         fmodl commit.
56917 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56919         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
56920         values higher than 25.6283.
56922 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56924         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
56925         subnormal exponent extraction and add some __builtin_expect.
56926         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
56927         Fix for subnormal mantissa calculation.
56929 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
56931         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
56932         cpu2 is -1 and errno is not ENOSYS.
56934 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
56936         [BZ #14117]
56937         * sysdeps/i386/i486/bits/string.h: Renamed to ...
56938         * sysdeps/x86/bits/string.h: This.
56939         * sysdeps/x86_64/bits/string.h: Removed.
56941         * sysdeps/i386/i486/bits/string.h: Define inline functions only
56942         if not compiling for x86-64, but compiling for >= i486.
56944         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
56945         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
56947         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
56948         New macro from Linux kernel 3.4.0.
56949         (FP_XSTATE_MAGIC2): Likewise.
56950         (FP_XSTATE_MAGIC2_SIZE): Likewise.
56951         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
56952         (struct _fpx_sw_bytes): New struct.
56953         (struct _xsave_hdr): Likewise.
56954         (struct _ymmh_state): Likewise.
56955         (struct _xstate): Likewise.
56957         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
56958         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
56959         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
56960         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
56961         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
56962         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
56964         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
56965         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
56966         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
56967         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
56968         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
56969         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
56971 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56973         [BZ #13743]
56974         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
56975         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
56976         (sysdep_headers): Include sys/platform/ppc.h.
56977         * sysdeps/powerpc/test-gettimebase.c: Test for
56978         __ppc_get_timebase() to catch future ISA opcode/insn changes.
56979         * manual/Makefile (appendices): Include platform.texi.
56980         * manual/contrib.texi (Contributors): Update @node pointers.
56981         * manual/maint.texi (Maintenance): Likewise.
56982         (Platform): New node.
56983         * manual/platform.texi: New file.  Document the new features.
56985 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56986             Jakub Jelinek  <jakub@redhat.com>
56988         [BZ #14188]
56989         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
56990         where __builtin_expect is unavailable.
56992 2012-06-03  David S. Miller  <davem@davemloft.net>
56994         * stdlib/longlong.h: Updated from GCC.
56996 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
56998         [BZ #14042]
56999         * sysdeps/powerpc/powerpc32/mcount.c: New file.
57000         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
57001         __mcount_internal.
57002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57003         (GLIBC_2.16): Likewise.
57005 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57007         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
57009 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
57012         (default-abi): New variable.
57013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
57014         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
57015         variable.
57016         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57017         Likewise.
57018         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
57019         Likewise.
57020         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
57021         Likewise.
57023         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
57024         definition.  Document in comment.
57026 2012-06-01  David S. Miller  <davem@davemloft.net>
57028         * stdlib/longlong.h: Updated from GCC.
57030 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57032         [BZ #14117]
57033         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
57034         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
57035         sys/debugreg.h sys/io.h here.
57036         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
57037         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
57038         sys/io.h.
57039         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
57040         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
57041         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
57042         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
57043         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
57044         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
57046         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
57047         Define only if __x86_64__ is defined.
57049 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57051         [BZ #14048]
57052         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
57053         Use int64_t for variable i.
57054         * math/libm-test.inc (fmod_test): Add more tests.
57056         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
57057         z computation is not scheduled after fetestexcept.
57058         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
57059         Use math_force_eval instead of asm to ensure calculation scheduled
57060         before exception test.
57061         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
57062         Ensure a1 + u.d computation is not scheduled after fetestexcept.
57064 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
57066         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
57067         computation is not scheduled after fetestexcept.
57069 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57071         [BZ #14117]
57072         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
57073         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
57075 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57077         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
57078         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57080 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57082         [BZ #14117]
57083         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
57084         <bits/wordsize.h>.
57085         (__WCHAR_MIN): Support __WORDSIZE == 64.
57086         (__WCHAR_MAX): Likewise.
57088         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
57089         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
57091         [BZ #14183]
57092         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
57093         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
57095         [BZ #14117]
57096         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
57097         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
57099         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
57100         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
57102         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
57103         Defined to 1 if __x86_64__ isn't defined.
57104         (_STAT_VER_LINUX_OLD): New.
57105         (st_atime): Remove duplicate.
57106         (st_mtime): Likewise.
57107         (st_ctime): Likewise.
57109 2012-05-31  David S. Miller  <davem@davemloft.net>
57111         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
57112         entries.
57114 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
57116         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
57117         gen-libm-test.pl.
57119         [BZ #14132]
57120         * elf/dl-reloc.c: Include <_itoa.h>.
57121         (_dl_reloc_bad_type): Remove use of INTUSE.
57122         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
57123         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
57124         * stdio-common/psiginfo.c (psiginfo): Likewise.
57125         * stdio-common/psignal.c (psignal): Likewise.
57126         * string/strsignal.c (strsignal): Likewise.
57127         * include/signal.h (_sys_siglist): Declare hidden proto.
57128         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
57129         INTVARDEF with libc_hidden_data_def.
57130         * stdio-common/itoa-udigits.c: Likewise.
57131         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
57132         (_itoa_lower_digits_internal): Remove declaration.
57133         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
57134         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
57135         (_sys_sigabbrev_internal): Remove aliases.
57136         (_sys_siglist): Define hidden alias.
57138 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
57140         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57141         bits/sysctl.h.
57143 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57145         [BZ #14117]
57146         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
57147         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
57149         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
57150         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
57151         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
57152         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
57153         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
57154         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
57156         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
57157         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
57158         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
57160         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
57161         with __addr.
57162         (insw): Likewise.
57163         (insl): Likewise.
57164         (outsb): Likewise.
57165         (outsw): Likewise.
57166         (outsl): Likewise.
57168         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
57169         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
57170         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
57172         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
57173         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
57174         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
57175         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
57176         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
57177         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
57179         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
57180         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
57182         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
57183         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
57185         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
57186         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
57187         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
57189         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
57190         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
57191         to ...
57192         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
57194         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
57195         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
57196         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
57198         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
57199         for x86-64.
57200         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
57202 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
57204         * math/math.h (M_El): Use two more decimal places.
57205         (M_LOG2El): Likewise.
57206         (M_LOG10El): Likewise.
57207         (M_LN2l): Likewise.
57208         (M_LN10l): Likewise.
57209         (M_PIl): Likewise.
57210         (M_PI_2l): Likewise.
57211         (M_PI_4l): Likewise.
57212         (M_1_PIl): Likewise.
57213         (M_2_PIl): Likewise.
57214         (M_2_SQRTPIl): Likewise.
57215         (M_SQRT2l): Likewise.
57216         (M_SQRT1_2l): Likewise.
57218 2012-05-31  David S. Miller  <davem@davemloft.net>
57220         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
57221         values between float registers.
57222         * sysdeps/sparc/sparc64/memset.S: Likewise.
57223         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57225 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
57227         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
57228         -D_FORTIFY_SOURCE=1.
57229         (CPPFLAGS-tst-longjmp_chk.c): Define.
57230         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
57231         (CPPFLAGS-tst-longjmp_chk2.c): Define.
57232         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
57233         CFLAGS-tst-wchar-h.c.
57235 2012-05-31  Marek Polacek  <polacek@redhat.com>
57237         [BZ #14132]
57238         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
57239         __endmntent_internal): Remove declaration.
57240         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
57241         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
57242         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
57244 2012-05-30  David S. Miller  <davem@davemloft.net>
57246         * sysdeps/sparc/sparc32/soft-fp/q_util.c
57247         (___Q_simulate_exceptions): Use real FP ops rather than writing
57248         into the %fsr.
57249         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
57250         Likewise.
57252 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57254         [BZ #14117]
57255         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
57256         * sysdeps/x86/bits/xtitypes.h: This.
57258         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
57259         * sysdeps/x86/bits/wordsize.h: This.
57261         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
57262         * sysdeps/x86/bits/huge_vall.h: This.
57264         * sysdeps/i386/bits/select.h: Removed.
57265         * sysdeps/x86_64/bits/select.h: Renamed to ...
57266         * sysdeps/x86/bits/select.h: This.
57268         * sysdeps/i386/bits/setjmp.h: Removed.
57269         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
57270         * sysdeps/x86/bits/setjmp.h: This.
57272         * sysdeps/i386/bits/mathdef.h: Removed.
57273         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
57274         * sysdeps/x86/bits/mathdef.h: This.
57276 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
57278         [BZ #14132]
57279         * include/sys/socket.h (__connect_internal)
57280         (__libc_sa_len_internal): Remove declaration.
57281         (__connect, __libc_sa_len): Declare hidden_proto.
57282         (SA_LEN): Remove use of INTUSE.
57283         * socket/connect.c: Add libc_hidden_def.
57284         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
57285         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
57286         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
57287         alias.
57288         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
57289         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
57290         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
57291         of adding _internal alias.
57293 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57295         [BZ #14117]
57296         * sysdeps/i386/bits/link.h: Removed.
57297         * sysdeps/i386/bits/linkmap.h: Likewise.
57298         * sysdeps/x86_64/bits/link.h: Renamed to ...
57299         * sysdeps/x86/bits/link.h: This.
57300         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
57301         * sysdeps/x86/bits/linkmap.h: This.
57303         * sysdeps/i386/bits/endian.h: Removed.
57304         * sysdeps/x86_64/bits/endian.h: Renamed to ...
57305         * sysdeps/x86/bits/endian.h: This.
57307         * sysdeps/i386/bits/byteswap.h: Removed.
57308         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57309         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
57310         * sysdeps/x86/bits/byteswap.h: This.
57311         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
57312         * sysdeps/x86/bits/byteswap-16.h: This.
57313         * sysdeps/i386/Implies: Add x86.
57314         * sysdeps/x86_64/Implies: Likewise.
57316 2012-05-30  David S. Miller  <davem@davemloft.net>
57318         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
57319         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
57320         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57321         (FP_TRAPPING_EXCEPTIONS): Define.
57322         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57323         (FP_TRAPPING_EXCEPTIONS): Define.
57324         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
57325         subnormals only when inexact has been signalled or underflow
57326         exceptions are enabled.
57327         (_FP_PACK_CANONICAL): Likewise.
57329 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57331         [BZ #14183]
57332         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
57333         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
57335 2012-05-30  Richard Henderson  <rth@twiddle.net>
57337         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
57338         with #ifndef NOT_IN_libc.
57340         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
57341         marked to avoid plt entry.
57343 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57345         [BZ #14112]
57346         * Makeconfig (default-abi): New macro.
57347         (abi-includes): Likewise.
57348         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
57349         $(abi-$(default-abi)-lib-soname) for soname if defined.
57350         ($(common-objpfx)gnu/lib-names.stmp): Generate from
57351         abi-variants.
57352         * Makefile (installed-stubs): Likewise.
57353         * include/stubs-biarch.h: Removed.
57354         * scripts/lib-names.awk: Only handle one library at a time.
57355         * scripts/soversions.awk: Remove WORDSIZE support.
57356         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
57357         entries.
57358         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
57359         Removed.
57360         (syscall-list-default-condition): Likewise.
57361         (syscall-list-default-condition): Likewise.
57362         (syscall-list-includes): Likewise.
57363         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
57364         syscall-list-* with abi-*.  Handle undefined abi-variants.
57365         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
57366         * sysdeps/unix/sysv/linux/i386/Implies: New file.
57367         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
57368         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
57369         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
57370         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
57371         Removed.
57372         (syscall-list-32-options): Likewise.
57373         (syscall-list-32-condition): Likewise.
57374         (syscall-list-64-options): Likewise.
57375         (syscall-list-64-condition): Likewise.
57376         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
57377         macro.
57378         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
57379         Renamed to ...
57380         (abi-*): This.
57381         (abi-64-ld-soname): New macro.
57382         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
57383         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
57384         Renamed to ...
57385         (abi-*): This.
57386         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
57387         * sysdeps/x86_64/x32/shlib-versions: Likewise.
57389 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
57391         * sysdeps/unix/sysv/linux/kernel-features.h
57392         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
57393         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
57394         include <kernel-features.h>.
57395         [!__NR_ftruncate64]: Remove conditional code.
57396         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57397         [__NR_ftruncate64]: Make code unconditional.
57398         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57399         * sysdeps/unix/sysv/linux/truncate64.c: Do not
57400         include <kernel-features.h>.
57401         [!__NR_ftruncate64]: Remove conditional code.
57402         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57403         [__NR_ftruncate64]: Make code unconditional.
57404         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
57406         include <kernel-features.h>.
57407         [!__NR_ftruncate64]: Remove conditional code.
57408         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57409         [__NR_ftruncate64]: Make code unconditional.
57410         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57412         include <kernel-features.h>.
57413         [!__NR_ftruncate64]: Remove conditional code.
57414         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57415         [__NR_ftruncate64]: Make code unconditional.
57416         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57418         * configure.in (libc_cv_fpie): Weaken to a compile test using
57419         LIBC_TRY_CC_OPTION.
57420         * configure: Regenerated.
57422 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
57425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
57426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
57427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57428         Refreshed.
57429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
57430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
57431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
57432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
57433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
57434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57435         Refreshed.
57437 2012-05-27  David S. Miller  <davem@davemloft.net>
57439         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
57440         (___Q_zero): New.
57441         (__Q_simulate_exceptions): Return void.  Change to simulate
57442         exceptions by writing into the %fsr.
57443         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
57444         (__Qp_handle_exceptions): Likewise.
57445         (numbers): Delete.
57446         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
57447         __Qp_handle_exceptions.
57448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
57449         __Qp_handle_exceptions.
57450         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57451         as unused and give dummy FP_RND_NEAREST initializer.
57452         (FP_INHIBIT_RESULTS): Define.
57453         (___Q_simulate_exceptions): Update declaration.
57454         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
57455         formatting.
57456         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57457         as unused and give dummy FP_RND_NEAREST initializer.
57458         (__Qp_handle_exceptions): Update declaration.
57459         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
57460         formatting.
57462 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
57464         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
57465         the temporary FPU control word.
57466         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
57467         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
57468         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
57469         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57470         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57471         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
57472         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
57473         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57474         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
57475         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
57476         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57478 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57480         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
57481         fields.
57483 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
57485         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
57486         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
57487         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
57488         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
57489         Likewise.
57490         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
57491         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
57492         Likewise.
57494 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
57496         * po/h.po: Update from translation team.
57498 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
57500         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
57502         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
57503         handling of denormals.
57504         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57505         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57506         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57507         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57508         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57509         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
57510         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
57511         Likewise.
57513 2012-05-26  Marek Polacek  <polacek@redhat.com>
57515         [BZ #14152]
57516         * math/libm-test.inc (fma_test): Don't always expect underflow
57517         exception.
57519 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57521         [BZ #12416]
57522         * elf/tst-execstack.c: Include stackinfo.h.
57523         (do_test): Adjust test case to ensure that pthread_getattr_np
57524         behaviour remains the same after marking stack executable.
57526 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57528         * sysdeps/unix/sysv/linux/kernel-features.h
57529         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
57530         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
57531         kernel-features.h.
57532         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57533         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57534         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
57535         kernel-features.h.
57536         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57537         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57539 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
57541         * configure.in: Define the default includes to being none.
57542         * configure: Regenerated.
57544 2012-05-25  Roland McGrath  <roland@hack.frob.com>
57546         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
57547         * sysdeps/x86_64/setjmp.S: Likewise.
57548         * sysdeps/i386/bsd-setjmp.S: Likewise.
57549         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57550         * sysdeps/i386/setjmp.S: Likewise.
57551         * sysdeps/i386/__longjmp.S: Likewise.
57552         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57553         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
57555         * include/stap-probe.h: New file.
57556         * configure.in: Handle --enable-systemtap.
57557         * configure: Regenerated.
57558         * config.h.in (USE_STAP_PROBE): New #undef.
57559         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
57560         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
57561         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
57563 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57565         [BZ #13717]
57566         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57567         to 2.4.0 where earlier.
57568         * sysdeps/unix/sysv/linux/configure: Regenerated.
57569         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57570         <kernel-features.h>.
57571         [__ASSUME_32BITUIDS]: Make code unconditional.
57572         [!__ASSUME_32BITUIDS]: Remove conditional code.
57573         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
57574         <kernel-features.h>.
57575         [__ASSUME_32BITUIDS]: Make code unconditional.
57576         [!__ASSUME_32BITUIDS]: Remove conditional code.
57577         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
57578         [__ASSUME_32BITUIDS]: Make code unconditional.
57579         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
57580         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.c: Do not include
57605         <kernel-features.h>.
57606         [__ASSUME_32BITUIDS]: Make code unconditional.
57607         [!__ASSUME_32BITUIDS]: Remove conditional code.
57608         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57609         <kernel-features.h>.
57610         [__ASSUME_32BITUIDS]: Make code unconditional.
57611         [!__ASSUME_32BITUIDS]: Remove conditional code.
57612         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57613         <kernel-features.h>.
57614         [__ASSUME_32BITUIDS]: Make code unconditional.
57615         [!__ASSUME_32BITUIDS]: Remove conditional code.
57616         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
57617         <kernel-features.h>.
57618         [__ASSUME_32BITUIDS]: Make code unconditional.
57619         [!__ASSUME_32BITUIDS]: Remove conditional code.
57620         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57621         <kernel-features.h>.
57622         [__NR_setresgid] (__setresgid): Do not declare.
57623         [__ASSUME_32BITUIDS]: Make code unconditional.
57624         [!__ASSUME_32BITUIDS]: Remove conditional code.
57625         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57626         <kernel-features.h>.
57627         [__NR_setresuid] (__setresuid): Do not declare.
57628         [__ASSUME_32BITUIDS]: Make code unconditional.
57629         [!__ASSUME_32BITUIDS]: Remove conditional code.
57630         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/i386/setresuid.c: Do not include
57655         <kernel-features.h>.
57656         [__ASSUME_32BITUIDS]: Make code unconditional.
57657         [!__ASSUME_32BITUIDS]: Remove conditional code.
57658         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
57659         <kernel-features.h>.
57660         [__ASSUME_32BITUIDS]: Make code unconditional.
57661         [!__ASSUME_32BITUIDS]: Remove conditional code.
57662         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57663         <kernel-features.h>.
57664         [__ASSUME_32BITUIDS]: Make code unconditional.
57665         [!__ASSUME_32BITUIDS]: Remove conditional code.
57666         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57667         <kernel-features.h>.
57668         [__ASSUME_32BITUIDS]: Make code unconditional.
57669         [!__ASSUME_32BITUIDS]: Remove conditional code.
57670         * sysdeps/unix/sysv/linux/kernel-features.h
57671         (__ASSUME_SETRESUID_SYSCALL): Remove.
57672         (__ASSUME_SETRESGID_SYSCALL): Likewise.
57673         (__ASSUME_32BITUIDS): Likewise.
57674         (__ASSUME_LDT_WORKS): Likewise.
57675         (__ASSUME_O_DIRECTORY): Likewise.
57676         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57677         architecture but not kernel version.
57678         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57679         (__ASSUME_MMAP2_SYSCALL): Likewise.
57680         (__ASSUME_STAT64_SYSCALL): Likewise.
57681         (__ASSUME_IPC64): Likewise.
57682         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57683         <kernel-features.h>.
57684         [__ASSUME_32BITUIDS]: Make code unconditional.
57685         [!__ASSUME_32BITUIDS]: Remove conditional code.
57686         * sysdeps/unix/sysv/linux/opendir.c: Do not include
57687         <kernel-features.h>.
57688         [__ASSUME_O_DIRECTORY]: Make code unconditional.
57689         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57690         132096]: Remove conditional code.
57691         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57692         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57693         <kernel-features.h>.
57694         [__ASSUME_32BITUIDS]: Make code unconditional.
57695         [!__ASSUME_32BITUIDS]: Remove conditional code.
57696         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57697         <kernel-features.h>.
57698         [__ASSUME_32BITUIDS]: Make code unconditional.
57699         [!__ASSUME_32BITUIDS]: Remove conditional code.
57700         * sysdeps/unix/sysv/linux/setegid.c: Do not include
57701         <kernel-features.h>.
57702         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57703         unconditional.
57704         (__setresgid): Do not declare.
57705         [__ASSUME_32BITUIDS]: Make code unconditional.
57706         [!__ASSUME_32BITUIDS]: Remove conditional code.
57707         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57708         <kernel-features.h>.
57709         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57710         unconditional.
57711         (__setresuid): Do not declare.
57712         [__ASSUME_32BITUIDS]: Make code unconditional.
57713         [!__ASSUME_32BITUIDS]: Remove conditional code.
57714         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57715         <kernel-features.h>.
57716         [__ASSUME_32BITUIDS]: Make code unconditional.
57717         [!__ASSUME_32BITUIDS]: Remove conditional code.
57718         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57719         <kernel-features.h>.
57720         [__ASSUME_32BITUIDS]: Make code unconditional.
57721         [!__ASSUME_32BITUIDS]: Remove conditional code.
57723 2012-05-25  Richard Henderson  <rth@twiddle.net>
57725         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57726         dl_hwcap to ifunc resolver.
57727         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57728         elf_ifunc_invoke.
57729         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57730         dl_hwcap to ifunc resolver.
57731         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57733 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57735         [BZ #14153]
57736         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57737         for |x| <= 2**-26, not 2**-57.
57738         * math/libm-test.inc (acos_test): Do not allow spurious underflow
57739         exception.
57741 2012-05-24  Jeff Law  <law@redhat.com>
57743         * stdio-common/Makefile (tests): Add bug25.
57744         * stdio-common/bug25.c: New test.
57746 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57748         [BZ #13576]
57749         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57750         multiple of MALLOC_ALIGNMENT in size.
57751         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57753 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57755         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57756         Require >= 256.
57757         (FILENAME_MAX): Use macro-int-constant.
57758         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
57759         (_IOFBF): Use macro-int-constant.
57760         (_IOLBF): Likewise.
57761         (_IONBF): Likewise.
57762         (SEEK_CUR): Likewise.
57763         (SEEK_END): Likewise.
57764         (SEEK_SET): Likewise.
57765         (TMP_MAX): Likewise.
57766         (EOF): Use macro-int-constant.  Require < 0.
57767         (NULL): Use macro-constant.  Require == 0.
57768         (stdin): Require type to be FILE *.
57769         (stdout): Likewise.
57770         (stderr): Likewise.
57771         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57772         macro-int-constant.
57773         (EXIT_SUCCESS): Likewise.
57774         (NULL): Use macro-constant.  Require == 0.
57775         (RAND_MAX): Use macro-int-constant.
57776         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
57777         [C99-based standards] (strtof): Require function.
57778         [C99-based standards] (strtold): Likewise.
57779         [C99-based standards] (strtoll): Likewise.
57780         [C99-based standards] (strtoull): Likewise.
57781         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57782         [ISO || ISO99 || ISO11] (limits.h): Likewise.
57783         [ISO || ISO99 || ISO11] (math.h): Likewise.
57784         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
57785         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57786         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57788 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
57790         [BZ #14132]
57791         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
57792         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
57793         * intl/dgettext.c (DCGETTEXT): Likewise.
57794         * intl/gettext.c (DCGETTEXT): Likewise.
57795         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
57796         * posix/regex_internal.h (gettext): Likewise.
57797         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
57798         Remove declaration.
57799         * include/argz.h (__argz_count_internal)
57800         (__argz_stringify_internal): Remove declaration.
57801         (__argz_count, __argz_stringify): Declare hidden proto.
57802         * intl/dcgettext.c: Remove use of INTDEF.
57803         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
57804         * string/argz-stringify.c: Likewise.
57805         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57806         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57807         Declare hidden proto.
57808         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57809         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57810         Declare hidden proto.
57811         * include/stdio.h (__asprintf_internal): Don't declare.
57812         (__asprintf): Don't define as macro.  Declare hidden proto.
57813         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
57814         (__fsetlocking): Declare hidden proto.
57815         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
57816         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
57817         hidden proto.
57818         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
57819         (_IO_setlinebuf): Remove use of INTUSE.
57820         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
57821         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
57822         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
57823         Remove declaration.
57824         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
57825         (_IO_do_flush): Remove use of INTUSE.
57826         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
57827         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
57828         (_IO_adjust_column, _IO_least_wmarker)
57829         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
57830         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
57831         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
57832         (_IO_default_doallocate, _IO_wdefault_doallocate)
57833         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
57834         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
57835         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
57836         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
57837         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
57838         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
57839         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
57840         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
57841         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
57842         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
57843         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
57844         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
57845         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
57846         proto.
57847         (_IO_flush_all_internal, _IO_adjust_column_internal)
57848         (_IO_default_uflow_internal, _IO_default_finish_internal)
57849         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
57850         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
57851         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
57852         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
57853         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
57854         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
57855         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
57856         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
57857         (_IO_file_close_internal, _IO_file_close_it_internal)
57858         (_IO_file_underflow_internal, _IO_file_overflow_internal)
57859         (_IO_file_init_internal, _IO_file_attach_internal)
57860         (_IO_file_fopen_internal, _IO_file_read_internal)
57861         (_IO_file_sync_internal, _IO_file_seek_internal)
57862         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
57863         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
57864         (_IO_str_underflow_internal, _IO_str_overflow_internal)
57865         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
57866         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
57867         (_IO_list_all_internal, _IO_link_in_internal)
57868         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
57869         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
57870         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
57871         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
57872         (_IO_do_write_internal, _IO_padn_internal)
57873         (_IO_getline_info_internal, _IO_getline_internal)
57874         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
57875         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
57876         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
57877         (_IO_vfscanf_internal, _IO_vfprintf_internal)
57878         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
57879         (_IO_init_internal, _IO_un_link_internal): Don't declare.
57880         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
57881         with libc_hidden_ver, remove use of INTUSE.
57882         * libio/genops.c: Likewise.
57883         * libio/freopen.c: Likewise.
57884         * libio/freopen64.c: Likewise.
57885         * libio/iofclose.c: Likewise.
57886         * libio/iofdopen.c: Likewise.
57887         * libio/iofflush.c: Likewise.
57888         * libio/iofflush_u.c: Likewise.
57889         * libio/iofgets.c: Likewise.
57890         * libio/iofgets_u.c: Likewise.
57891         * libio/iofopen.c: Likewise.
57892         * libio/iofopncook.c: Likewise.
57893         * libio/iofread.c: Likewise.
57894         * libio/iofread_u.c: Likewise.
57895         * libio/ioftell.c: Likewise.
57896         * libio/iofwrite.c: Likewise.
57897         * libio/iogetline.c: Likewise.
57898         * libio/iogets.c: Likewise.
57899         * libio/iogetwline.c: Likewise.
57900         * libio/iopadn.c: Likewise.
57901         * libio/iopopen.c: Likewise.
57902         * libio/ioseekoff.c: Likewise.
57903         * libio/ioseekpos.c: Likewise.
57904         * libio/iosetbuffer.c: Likewise.
57905         * libio/iosetvbuf.c: Likewise.
57906         * libio/ioungetc.c: Likewise.
57907         * libio/ioungetwc.c: Likewise.
57908         * libio/iovdprintf.c: Likewise.
57909         * libio/iovsprintf.c: Likewise.
57910         * libio/iovsscanf.c: Likewise.
57911         * libio/memstream.c: Likewise.
57912         * libio/obprintf.c: Likewise.
57913         * libio/oldfileops.c: Likewise.
57914         * libio/oldiofclose.c: Likewise.
57915         * libio/oldiofdopen.c: Likewise.
57916         * libio/oldiofopen.c: Likewise.
57917         * libio/oldiopopen.c: Likewise.
57918         * libio/oldstdfiles.c: Likewise.
57919         * libio/putc.c: Likewise.
57920         * libio/setbuf.c: Likewise.
57921         * libio/setlinebuf.c: Likewise.
57922         * libio/stdfiles.c: Likewise.
57923         * libio/strops.c: Likewise.
57924         * libio/vasprintf.c: Likewise.
57925         * libio/vscanf.c: Likewise.
57926         * libio/vsnprintf.c: Likewise.
57927         * libio/vswprintf.c: Likewise.
57928         * libio/wfiledoalloc.c: Likewise.
57929         * libio/wfileops.c: Likewise.
57930         * libio/wgenops.c: Likewise.
57931         * libio/wmemstream.c: Likewise.
57932         * libio/wstrops.c: Likewise.
57933         * libio/__fpurge.c: Likewise.
57934         * libio/__fsetlocking.c: Likewise.
57935         * assert/assert.c: Likewise.
57936         * debug/fgets_chk.c: Likewise.
57937         * debug/fgets_u_chk.c: Likewise.
57938         * debug/fread_chk.c: Likewise.
57939         * debug/fread_u_chk.c: Likewise.
57940         * debug/gets_chk.c: Likewise.
57941         * debug/obprintf_chk.c: Likewise.
57942         * debug/vasprintf_chk.c: Likewise.
57943         * debug/vdprintf_chk.c: Likewise.
57944         * debug/vsnprintf_chk.c: Likewise.
57945         * debug/vsprintf_chk.c: Likewise.
57946         * malloc/mtrace.c: Likewise.
57947         * misc/error.c: Likewise.
57948         * misc/syslog.c: Likewise.
57949         * stdio-common/asprintf.c: Likewise.
57950         * stdio-common/fxprintf.c: Likewise.
57951         * stdio-common/getw.c: Likewise.
57952         * stdio-common/isoc99_fscanf.c: Likewise.
57953         * stdio-common/isoc99_scanf.c: Likewise.
57954         * stdio-common/isoc99_vfscanf.c: Likewise.
57955         * stdio-common/isoc99_vscanf.c: Likewise.
57956         * stdio-common/isoc99_vsscanf.c: Likewise.
57957         * stdio-common/printf-prs.c: Likewise.
57958         * stdio-common/printf_fp.c: Likewise.
57959         * stdio-common/printf_fphex.c: Likewise.
57960         * stdio-common/printf_size.c: Likewise.
57961         * stdio-common/putw.c: Likewise.
57962         * stdio-common/scanf.c: Likewise.
57963         * stdio-common/sprintf.c: Likewise.
57964         * stdio-common/tmpfile.c: Likewise.
57965         * stdio-common/vfprintf.c: Likewise.
57966         * stdio-common/vfscanf.c: Likewise.
57967         * stdlib/strfmon_l.c: Likewise.
57968         * sunrpc/openchild.c: Likewise.
57969         * sunrpc/xdr_stdio.c: Likewise.
57970         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
57971         * sysdeps/mach/hurd/tmpfile.c: Likewise.
57973 2012-05-24  Roland McGrath  <roland@hack.frob.com>
57975         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57977         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
57978         in the third column, to generate for the shared library an IFUNC
57979         that uses _dl_vdso_vsym.
57980         * Makerules (COMPILE.c, compile-stdin.c): New variables.
57981         * Makeconfig (object-suffixes-noshared): New variable.
57983         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
57984         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
57985         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
57986         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
57988         [BZ #14132]
57989         * include/sys/time.h (__gettimeofday): Remove macro.
57990         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
57991         * time/gettimeofday.c (__gettimeofday): Remove #undef.
57992         Remove INTDEF.
57993         (__gettimeofday): Add libc_hidden_def.
57994         (gettimeofday): Add libc_hidden_weak.
57995         * sysdeps/mach/gettimeofday.c: Likewise.
57996         * sysdeps/posix/gettimeofday.c: Likewise.
57997         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
57998         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
57999         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
58000         (__gettimeofday_internal): Remove strong_alias.
58001         (__gettimeofday): Add libc_hidden_def.
58002         (gettimeofday): Add libc_hidden_weak.
58003         * sysdeps/unix/syscalls.list (gettimeofday):
58004         Remove __gettimeofday_internal alias.
58006 2012-05-24  Daniel Jacobowitz  <drow@false.org>
58007             H.J. Lu  <hongjiu.lu@intel.com>
58009         [BZ #12495]
58010         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
58011         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
58012         (largebin_index_32_big): New.
58013         (largebin_index): Use it for 16-byte alignment.
58014         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
58015         correction with front_misalign.
58017 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
58020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
58021         Likewise.
58022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
58023         Likewise.
58024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58025         Likewise.
58026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
58027         Likewise.
58028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
58029         Likewise.
58030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
58031         Likewise.
58032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
58033         Likewise.
58034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58035         Likewise.
58036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
58037         Likewise.
58038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
58039         Likewise.
58040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
58041         Likewise.
58042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
58043         Likewise.
58045         * scripts/data/c++-types-x32-linux-gnu.data: New file.
58046         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
58048 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58050         [BZ #10846]
58051         [BZ #14036]
58052         * math/libm-test.inc (exp_test): Add test from bug 14036.
58053         (pow_test): Add test from bug 10846.
58055         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
58056         and other flags.
58057         (special_function): Do not include flags in test name.
58058         (parse_args): Likewise.
58059         * sysdeps/i386/fpu/libm-test-ulps: Update.
58060         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58061         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58062         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58065         * math/gen-libm-test.pl (%beautify): Add entries for underflow
58066         exceptions.
58067         * math/libm-test.inc ("Philosophy"): Update comment about
58068         exception testing.
58069         (UNDERFLOW_EXCEPTION): New macro.
58070         (UNDERFLOW_EXCEPTION_OK): Likewise.
58071         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
58072         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
58073         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
58074         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
58075         (INVALID_EXCEPTION_OK): Update value.
58076         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58077         (OVERFLOW_EXCEPTION_OK): Likewise.
58078         (IGNORE_ZERO_INF_SIGN): Likewise.
58079         (test_exceptions): Handle underflow exceptions.
58080         (acos_test): Update for underflow exception expectations.
58081         (cexp_test): Likewise.
58082         (clog_test): Likewise.
58083         (clog10_test): Likewise.
58084         (csqrt_test): Likewise.
58085         (ctan_test): Likewise.
58086         (ctanh_test): Likewise.
58087         (exp_test): Likewise.
58088         (exp10_test): Likewise.
58089         (exp2_test): Likewise.
58090         (expm1_test): Likewise.
58091         (fma_test): Likewise.
58092         (j0_test): Likewise.
58093         (jn_test): Likewise.
58094         (nexttoward_test): Likewise.
58095         (pow_test): Likewise.
58096         (scalbn_test): Likewise.
58097         (scalbln_test): Likewise.
58098         (tan_test): Likewise.
58099         (y1_test): Likewise.
58100         * sysdeps/i386/fpu/libm-test-ulps: Update.
58101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58103 2012-05-23  David S. Miller  <davem@davemloft.net>
58105         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58106         (__libc_sigaction): Remove unused local variables.
58108 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58110         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
58112 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
58114         mktime: avoid signed integer overflow
58115         * time/mktime.c (__mktime_internal): Do not mishandle the case
58116         where diff == INT_MIN.
58118         mktime: simplify computation of average
58119         * time/mktime.c (ranged_convert): Use new time_t_avg function
58120         instead of rolling our own (probably-slower) code.
58122         mktime: do not assume signed right shift propagates sign bit
58123         * time/mktime.c (isdst_differ): New static function.
58124         (__mktime_internal): No need to normalize tm_isdst now.
58125         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
58126         tm_isdst values.
58128         mktime: merge another wrapv change from gnulib
58129         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
58130         from some compilers.
58132         mktime: remove incorrect attempt at unusual arithmetics
58133         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
58134         The code didn't really work on such machines anyway.
58135         (TYPE_MINIMUM): Assume two's complement.
58136         (twos_complement_arithmetic): Verify that long_int and time_t
58137         are two's complement (or unsigned, in the latter case).
58139         mktime: check signed shifts on long_int and time_t, too
58140         * time/mktime.c (SHR): Check that shifts work as desired
58141         on the types long_int and time_t too, as SHR is used on
58142         such types.
58144         mktime: do not assume 'long' is wide enough
58145         * time/mktime.c (verify): Move decl up.
58146         (long_int): New type.
58147         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
58148         to remove assumption in the code that 'long' is wide enough to
58149         store year values.  This assumption is not true on x32 and on
58150         some non-glibc platforms.
58152         mktime: merge wrapv change from gnulib
58153         * time/mktime.c (WRAPV): New macro.
58154         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
58155         (guess_time_tm, __mktime_internal): Do not assume that signed
58156         integer overflow wraps around; modern compilers generate code
58157         where this assumption is no longer valid.
58159 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58161         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58162         Replace "jmp L(pseudo_end)" with "ret".
58163         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
58164         Likewise.
58166 2012-05-23  Andreas Jaeger  <aj@suse.de>
58168         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
58169         * sysdeps/unix/sysv/linux/poll.c: Remove file.
58171 2012-05-23  Andreas Jaeger  <aj@suse.de>
58172             Maximilian Attems  <max@stro.at>
58174         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
58175         New macros.
58177 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58179         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
58180         code so that pseudo_end is just ret and the stack pointer is
58181         correct also for static library in error case.
58183 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
58185         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
58186         move to syscalls.list.
58187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
58188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
58189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
58190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
58192         * manual/install.texi (Running make install): Do not mention Linux
58193         kernel version for which pt_chown is not needed.
58194         (Linux): Do not mention problems with nscd with 2.0 kernels.
58195         * INSTALL: Regenerated.
58197 2012-05-23  Andreas Jaeger  <aj@suse.de>
58199         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
58200         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
58201         macro.
58202         * sysdeps/unix/sysv/linux/s390/bits/mman.h
58203         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58204         * sysdeps/unix/sysv/linux/sh/bits/mman.h
58205         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58206         * sysdeps/unix/sysv/linux/i386/bits/mman.h
58207         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58208         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
58209         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58210         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
58211         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58212         * sysdeps/unix/sysv/linux/bits/in.h
58213         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
58215 2012-05-22  Roland McGrath  <roland@hack.frob.com>
58217         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
58218         (PREPARE_VERSION): Just use assert instead, it will be elided
58219         under [NDEBUG] anyway.
58221 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58223         * sysdeps/unix/sysv/linux/Makefile: Include
58224         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
58225         (sysdep_routines): Remove sysctl.
58226         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
58227         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
58228         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
58229         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
58230         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
58232 2012-05-22  Andreas Jaeger  <aj@suse.de>
58234         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
58235         that pseudo_end is just ret and the stack pointer is correct also
58236         for static library in error case.
58238 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
58240         [BZ #14122]
58241         * nss/nsswitch.c (defconfig_entries): New variable.
58242         (__nss_database_lookup): Don't leak defconfig entries.
58243         (nss_parse_service_list): Don't leak on error paths.
58244         (free_database_entries): New function.
58245         (free_defconfig): New function.
58246         (free_mem): Move common code to free_database_entries.
58248 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58250         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
58251         Add arch_prctl.
58252         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
58254         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
58255         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
58256         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
58257         New macro.
58258         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
58259         (INTERNAL_SYSCALL_TYPES): Likewise.
58260         (LOAD_ARGS_TYPES_[1-6]): Likewise.
58261         (LOAD_REGS_TYPES_[1-6]): Likewise.
58262         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
58263         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
58265 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58267         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
58268         copysignl for GLIBC_2_0.
58269         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
58270         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
58271         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
58272         logbl for GLIBC_2_0.
58273         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
58274         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
58276 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58278         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
58279         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58281         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58282         Use "neg %eax".
58284         * time/mktime.c: Update copyright years.
58286 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
58288         mktime: merge comment-quoting-style change from gnulib
58289         * time/mktime.c: Quote 'like this' in comments.
58290         The GNU coding standards suggest that we no longer quote `like this',
58291         as "`" and "'" are typically rendered asymmetrically nowadays.
58292         The typical gnulib style is to quote 'like this' when quoting
58293         code, and "like this" when quoting English.
58295         * time/mktime.c (compile-command): Add "-I.".
58297         mktime: merge mktime-internal.h change from gnulib
58298         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
58300         mktime: merge time_r change from gnulib
58301         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
58303         mktime: merge DEBUG change from gnulib
58304         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
58305         case system <time.h> has a #define.
58307         mktime: merge <sys/types.h> change from gnulib
58308         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
58309         since <time.t> is now guaranteed to define time_t.
58311         mktime: merge HAVE_CONFIG_H change from gnulib
58312         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
58314 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58316         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58317         Use "neg %eax".
58319         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
58320         __rlim_t cast.
58321         (struct rusage): Use anonymous union to pad each field to
58322         __syscall_slong_t.
58324 2012-05-21  David S. Miller  <davem@davemloft.net>
58326         * Makefules (o-iterator): Remove .s cases.
58327         (compile-command.s): Delete.
58328         (COMPILE.s): Delete.
58329         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
58331 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
58333         * configure.in (libc_cv_predef_stack_protector): Only consider
58334         "foobar" and "__stack_chk_fail" lines in libc_undefs.
58335         * configure: Regenerated.
58337 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58339         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58340         New macro.  Use R*LP on int and pointer.
58341         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
58342         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
58343         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
58344         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
58346         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
58347         [__WORDSIZE_TIME64_COMPAT32] instead of
58348         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
58349         (struct utmp): Likewise.
58350         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
58351         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
58352         Renamed to ...
58353         (__WORDSIZE_TIME64_COMPAT32): This.
58354         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
58355         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
58356         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
58357         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
58358         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
58359         (__WORDSIZE_TIME64_COMPAT32): New macro.
58361 2012-05-21  Andreas Jaeger  <aj@suse.de>
58363         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
58364         only if [SHARED]. Add prototype for __wcschr_ia32.
58366 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58368         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
58369         of %rbp unmolested in the jmp_buf while mangling the low bits.
58370         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
58371         unmolested high bits of %rbp while demangling the low bits.
58372         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58374 2012-05-21  Andreas Jaeger  <aj@suse.de>
58376         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
58377         * sunrpc/svc_simple.c: Use it for registerrpc.
58378         * sunrpc/xcrypt.c: Use it for passwd2des.
58380         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
58382 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58384         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
58385         Don't define if [__SYSCALL_WORDSIZE != 32].
58386         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
58387         New macro.
58389 2012-05-21  Bruno Haible  <bruno@clisp.org>
58390             Andreas Jaeger  <aj@suse.de>
58392         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
58393         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
58394         inptr and inend for must_buffer_ch.
58395         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
58396         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
58397         * stdio-common/Makefile (tests): Remove bug15.
58398         (bug15-ENV): Remove macro.
58399         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
58400         anymore.
58402 2012-05-19  Andreas Jaeger  <aj@suse.de>
58403             Roland McGrath  <roland@hack.frob.com>
58405         * manual/contrib.texi: Completely rewritten. It contains now an
58406         alphabetical list of contributors and their contributions.
58408 2012-05-21  Richard Henderson  <rth@twiddle.net>
58410         * misc/getauxval.c (__getauxval): Use unsigned long int.
58411         * misc/sys/auxv.h: Include <sys/cdefs.h>.
58412         (getauxval): Use unsigned long int.
58414 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58416         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58418 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58420         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
58421         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
58422         __alignof__ (long double).
58424 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58428 2012-05-20  Richard Henderson  <rth@twiddle.net>
58430         * misc/getauxval.c: New file.
58431         * misc/sys/auxv.h: New file.
58432         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
58433         (routines): Add getauxval.
58434         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
58435         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
58436         * elf/dl-sysdep.c (_dl_auxv): Remove.
58437         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
58438         * elf/dl-support.c (_dl_auxv): New variable.
58439         (_dl_aux_init): Initialize it.
58440         * manual/startup.texi (Auxiliary Vector): New node.
58441         * sysdeps/generic/bits/hwcap.h: New file.
58442         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
58443         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
58444         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
58445         * sysdeps/sparc/sysdep.h: ... here.  Include it.
58446         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
58447         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
58448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58449         Update.
58450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
58451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
58452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
58453         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
58454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
58457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
58459 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58463 2012-05-19  David S. Miller  <davem@davemloft.net>
58465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58467 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58469         [BZ #14123]
58470         * math/s_ccosh.c: Include <float.h>
58471         (__ccosh): Avoid internal overflow calculating sinh and cosh
58472         values before multiplying by sin and cos values.
58473         * math/s_ccoshf.c: Likewise.
58474         * math/s_ccoshl.c: Likewise.
58475         * math/s_csin.c: Likewise.
58476         * math/s_csinf.c: Likewise.
58477         * math/s_csinl.c: Likewise.
58478         * math/s_csinh.c: Likewise.
58479         * math/s_csinhf.c: Likewise.
58480         * math/s_csinhl.c: Likewise.
58481         * math/libm-test.inc (ccos_test): Add more tests.
58482         (ccosh_test): Likewise.
58483         (csin_test): Likewise.
58484         (csinh_test): Likewise.
58485         * sysdeps/i386/fpu/libm-test-ulps: Update.
58486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58488 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
58490         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
58491         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
58493         * sysdeps/x86_64/x32/_itoa.h: Add comment.
58495 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58497         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
58498         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
58499         * sysdeps/powerpc/soft-fp/Versions: Likewise.
58500         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
58501         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
58502         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
58503         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
58504         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
58505         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
58506         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
58507         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
58508         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
58509         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
58510         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
58511         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
58512         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
58513         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
58514         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
58515         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
58516         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
58517         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
58518         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
58519         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
58520         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
58521         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
58522         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
58523         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
58524         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
58525         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
58526         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
58527         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
58529 2012-05-18  Andreas Jaeger  <aj@suse.de>
58531         * csu/.gitignore: Delete.
58533 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58535         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
58536         (timex): Use __syscall_slong_t.
58538 2012-05-18  Andreas Jaeger  <aj@suse.de>
58539             Carlos O'Donell  <carlos_odonell@mentor.com>
58541         * manual/install.texi (Configuring and compiling): Update
58542         description about files modified in the source directory.
58543         * INSTALL: Regenerated.
58545 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58547         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
58548         value.  Use "or" to set return value to -1.
58549         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
58550         negate return value.
58552 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58554         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
58555         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
58556         failure if the compiler has Graphite support disabled.
58557         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
58558         Likewise.
58559         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
58560         (CFLAGS-memmove.c): Likewise.
58561         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
58562         Likewise.
58564 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58566         * sysdeps/x86_64/x32/_itoa.h: New file.
58568         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
58569         getdents system call only if kernel and user dirents have the
58570         same d_ino and d_off.
58572         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58573         LLONG_MAX != LONG_MAX.
58574         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58575         (_fitoa_word): Likewise.
58577         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
58578         years.
58579         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
58580         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
58581         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
58583         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
58584         include <bits/wordsize.h>.  Check __x86_64__ instead of
58585         __WORDSIZE.
58586         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
58587         if __x86_64__ is defined.  Use anonymous union on fpstate.
58589         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
58590         anonymous union.
58592 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
58594         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
58595         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
58596         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
58597         Refer to _rtld_local_ro instead of _rtld_global_ro.
58598         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
58599         Likewise.
58600         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
58601         Likewise.
58602         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
58603         Likewise.
58604         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
58605         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
58606         of _rtld_global, and rtld_progname instead of _dl_argv[0].
58608         [BZ #10882]
58609         * sysdeps/powerpc/powerpc32/dl-machine.c
58610         (__elf_machine_runtime_setup) [PROF]: Don't reference
58611         _dl_prof_resolve.
58613 2012-05-18  Andreas Jaeger  <aj@suse.de>
58615         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
58616         function only available for GCCs before 3.4 since GCC 3.4
58617         introduced a builtin.
58618         (lrint): Likewise.
58619         (llrintf): Likewise.
58620         (llrint): Likewise.
58621         (fmaxf): Likewise.
58622         (fmax): Likewise.
58623         (fminf): Likewise.
58624         (fmin): Likewise.
58625         (rint): Likewise.
58626         (rintf): Likewise.
58627         (nearbyint): Likewise.
58628         (nearbyintf): Likewise.
58629         (ceil): Likewise.
58630         (ceilf): Likewise.
58631         (floor): Likewise.
58632         (floorf): Likewise.
58634 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58636         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58637         on both fields and cast pointer to __syscall_ulong_t.
58639         * bits/types.h (__fsword_t): New type.
58640         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58641         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58642         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58643         (__FSWORD_T_TYPE): Likewise.
58644         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58645         (__FSWORD_T_TYPE): Likewise.
58646         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58647         (__FSWORD_T_TYPE): Likewise.
58648         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58649         (__FSWORD_T_TYPE): Likewise.
58650         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58651         __SWORD_TYPE with __fsword_t.
58652         (statfs64): Likewise.
58654 2012-05-17  David S. Miller  <davem@davemloft.net>
58656         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58658 2012-05-17  Andreas Jaeger  <aj@suse.de>
58660         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58661         warning.
58663 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58665         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58667 2012-05-17  Andreas Jaeger  <aj@suse.de>
58669         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58670         when it is used.
58672 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58674         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58676 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58678         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58679         * sysdeps/x86_64/tst-mallocalign1.c: New file.
58681 2012-05-17  Andreas Jaeger  <aj@suse.de>
58682             Carlos O'Donell  <carlos_odonell@mentor.com>
58684         [BZ #14059]
58685         * sysdeps/x86_64/multiarch/init-arch.h
58686         (bit_YMM_Usable): Rename to...
58687         (bit_AVX_Usable): ... this.
58688         (bit_FMA4_Usable): New macro.
58689         (bit_XMM_state): New macro.
58690         (bit_YMM_state): New macro.
58691         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58692         [__ASSEMBLER__] (index_AVX_Usable): ... this.
58693         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58694         (CPUID_OSXSAVE): New macro.
58695         (CPUID_AVX): New macro.
58696         (CPUID_FMA4): New macro.
58697         (index_YMM_Usable): Rename to...
58698         (index_AVX_Usable): ... this.
58699         (HAS_AVX): Use HAS_ARCH_FEATURE.
58700         (HAS_FMA4): Likewise.
58701         (HAS_YMM_USABLE): Remove.
58702         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58703         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58704         are present.
58705         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58706         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58707         * sysdeps/x86_64/multiarch/Makefile: Likewise.
58708         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58709         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58711 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58713         * math/libm-test.c: Support platforms without multiple rounding modes.
58714         * math/bug-nextafter.c: Support platforms without FP exceptions.
58715         * math/bug-nexttoward.c: Likewise.
58716         * math/test-fenv.c: Likewise.
58717         * math/test-misc.c: Likewise.
58718         * stdlib/bug-getcontext.c: Likewise.
58720 2012-05-17  Andreas Jaeger  <aj@suse.de>
58722         * manual/examples/search.c (critter_cmp): Change signature to
58723         avoid warnings.
58724         * manual/string.texi (Collation Functions): Likewise.
58726 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58728         * bits/types.h: Fold copyright years.
58729         * bits/typesizes.h: Likewise.
58730         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58731         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58732         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58733         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58734         * time/time.h: Likewise.
58736 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
58738         [BZ #208]
58739         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58740         in instead of returning them.  Return void.
58741         (__libc_mallinfo): Accumulate over all arenas.
58742         (__malloc_stats): Adjust for change in int_mallinfo interface.
58744 2012-05-16  Roland McGrath  <roland@hack.frob.com>
58746         [BZ #10375]
58747         * configure.in (NM): Add AC_CHECK_TOOL for it.
58748         (libc_extra_cflags): New substituted variable.
58749         Check for -fstack-protector being used implicitly.
58750         * configure: Regenerated.
58751         * config.make.in (config-extra-cflags): New variable,
58752         gets @libc_extra_cflags@.
58753         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58755         [BZ #10375]
58756         * configure.in: Check for _FORTIFY_SOURCE being predefined.
58757         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58758         * configure: Regenerated.
58759         * config.make.in (CPPUNDEFS): New substituted variable.
58760         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58761         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58762         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58764 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58766         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58767         (mq_attr): Use __syscall_slong_t.
58769 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58771         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58772         Check __x86_64__ instead of __WORDSIZE.
58773         (_STAT_VER_LINUX): Likewise.
58774         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
58775         __syscall_ulong_t and __syscall_slong_t.
58776         (stat64): Likewise.
58778 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58780         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
58782 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58784         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
58786 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58788         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
58789         __syscall_ulong_t.
58791         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
58792         include <bits/wordsize.h>.  Check __x86_64__ instead of
58793         __WORDSIZE.
58794         (greg_t): Use "__extension__ long long int" if __x86_64__ is
58795         defined.
58796         (mcontext_t): Replace "unsigned long" with "unsigned long long".
58798         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
58799         include <bits/wordsize.h>.  Check __x86_64__ instead of
58800         __WORDSIZE.
58801         (user_regs_struct): Use "__extension__ unsigned long long"
58802         instead of "unsigned long" if __x86_64__ is defined.
58803         (user): Likewise.  Pad after pointer field if __ILP32__ is
58804         defined.
58806 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
58808         * configure.in (makeinfo): Require version 4.5 or later.  Allow
58809         versions 5 to 9.
58810         * configure: Regenerated.
58811         * manual/install.texi (texinfo): Increase version requirement to
58812         4.5 or later.
58813         * INSTALL: Regenerated.
58815         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
58817 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58819         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
58821         * sysdeps/x86_64/x32/ffs.c: New file.
58823         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
58824         __syscall_ulong_t.
58825         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
58826         defined.  Use __syscall_ulong_t.
58827         (shminfo): Use __syscall_ulong_t.
58828         (shm_info): Likewise.
58830         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
58831         __syscall_ulong_t.
58833         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
58834         <bits/wordsize.h>.
58835         (msgqnum_t): Use __syscall_ulong_t.
58836         (msglen_t): Likewise.
58837         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
58838         __syscall_ulong_t.
58840         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
58841         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58843         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
58845         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
58846         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
58848         * sysvipc/sys/msg.h (msgbuf): Replace long int with
58849         __syscall_slong_t.
58851         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
58852         include <bits/wordsize.h>.  Check __x86_64__ instead of
58853         __WORDSIZE.
58855         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
58856         "unsigned long long int" if __x86_64__ is defined.
58857         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
58859         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
58860         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58861         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
58863         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
58864         <stdint.h>.
58865         (GET_PC): Cast to uintptr_t first.
58866         (GET_FRAME): Likewise.
58867         (GET_STACK): Likewise.
58869         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
58870         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
58871         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
58872         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
58873         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
58874         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
58875         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
58876         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
58877         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
58878         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
58879         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
58880         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
58881         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58882         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
58883         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
58884         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
58885         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
58886         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
58887         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
58888         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
58889         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
58890         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
58891         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
58892         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
58893         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
58894         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
58895         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
58896         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
58897         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
58899 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
58901         * Makerules (+depfiles): Also collect depfiles from .oS in
58902         $(extra-objs).
58903         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
58904         .oS, $(libnldbl-routines)).
58906         * Makerules (native-compile-mkdep-flags): Define.
58907         * sunrpc/Makefile (extra-objs): Add $(addprefix
58908         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
58909         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
58910         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
58911         calling $(make-target-directory).
58913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58915         * bits/types.h (__snseconds_t): Removed.
58916         * time/time.h (struct timespec): Replace __snseconds_t with
58917         __syscall_slong_t.
58918         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
58919         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
58920         Likewise.
58921         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58922         (__SNSECONDS_T_TYPE): Likewise.
58923         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58924         (__SNSECONDS_T_TYPE): Likewise.
58925         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58926         (__SNSECONDS_T_TYPE): Likewise.
58928 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58930         * sysdeps/mach/hurd/bits/typesizes.h
58931         (__SYSCALL_SLONG_TYPE): New macro.
58932         (__SYSCALL_ULONG_TYPE): Likewise.
58934 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58936         * bits/types.h (__syscall_slong_t): New type.
58937         (__syscall_ulong_t): Likewise.
58939         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
58940         (__SYSCALL_ULONG_TYPE): Likewise.
58941         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58942         (__SYSCALL_SLONG_TYPE): Likewise.
58943         (__SYSCALL_ULONG_TYPE): Likewise.
58944         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58945         (__SYSCALL_SLONG_TYPE): Likewise.
58946         (__SYSCALL_ULONG_TYPE): Likewise.
58947         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58948         (__SYSCALL_SLONG_TYPE): Likewise.
58949         (__SYSCALL_ULONG_TYPE): Likewise.
58951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58953         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
58954         Add sigaltstack-offsets.sym.
58955         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
58956         <sigaltstack-offsets.h>.
58957         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
58958         longjmp_msg pointer.
58959         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
58960         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
58961         signal stack.
58962         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
58964 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58966         * elf/stackguard-macros.h: Remove file.
58967         * sysdeps/generic/stackguard-macros.h: New file.
58968         * sysdeps/i386/stackguard-macros.h: Likewise.
58969         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58970         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58971         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58972         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58973         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58974         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58975         * sysdeps/x86_64/stackguard-macros.h: Likewise.
58976         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
58977         <elf/stackguard-macros.h>.
58979         [BZ #14109]
58980         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
58981         __aligned__ in attribute.
58982         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
58983         (gregset_t): Likewise.
58985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58987         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
58988         * sysdeps/x86_64/64/Implies-after: Here.  New file.
58989         * sysdeps/x86_64/x32/Implies-after: New file.
58991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58993         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
58994         and access return value for _dl_profile_fixup.  Use R10_LP to
58995         load frame size.
58997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58999         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
59001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59003         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
59004         * sysdeps/x86_64/x32/sysdep.h: New file.
59006 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59008         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59009         * sysdeps/x86_64/setjmp.S: Likewise.
59011 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59013         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
59014         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
59015         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
59016         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
59017         remove unused global constant.
59019 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
59021         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
59022         include of <not-cancel.h>.
59024 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59026         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
59028 2012-05-15  Jeff Law  <law@redhat.com>
59029             Andreas Jaeger  <aj@suse.de>
59031         [BZ #13594]
59032         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
59033         out from...
59034         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
59035         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
59036         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
59037         code changing __hst_map_handle.map.
59039 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59041         * configure.in (sysnames): Look for Implies-before and Implies-after
59042         files.
59043         * configure: Regenerated.
59045 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59047         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
59048         8-byte data alignment with LP_SIZE alignment.
59050 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59052         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
59053         into R10_LP.
59055 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59057         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
59059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59061         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
59062         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
59063         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
59064         Likewise.
59065         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59069         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
59070         (stackinfo_sub_sp): Likewise.
59072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59074         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
59075         RAX_LP.
59077 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59079         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
59080         into R*_LP.
59082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59084         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
59085         sizes into R*_LP.
59087 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59089         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
59091 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59093         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
59094         into R11_LP and load __x86_64_shared_cache_size_half into
59095         R8_LP.
59097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59099         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
59100         R8_LP.
59102 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59104         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
59105         logb for POWER7.
59106         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
59107         logbf for POWER7.
59108         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
59109         logbl for POWER7.
59110         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
59111         powerpc32/power7/fpu/s_logb.c via #include.
59112         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
59113         powerpc32/power7/fpu/s_logbf.c via #include.
59114         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
59115         powerpc32/power7/fpu/s_logbl.c via #include.
59117 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59119         * README.libm: Remove file.
59121 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59123         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
59124         count for x32.  Use R*_LP and omit operand-size suffix.
59126 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59128         * shlib-versions: Move x86_64-.*-linux.* entries to ...
59129         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
59130         * sysdeps/x86_64/x32/shlib-versions: New file.
59132 2012-05-14  Roland McGrath  <roland@hack.frob.com>
59134         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
59135         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
59136         Use _dl_fatal_printf instead.
59138 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59140         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
59141         set if not set by the user.  Do not allow for being unset.
59142         * sysdeps/unix/sysv/linux/configure: Regenerated.
59144 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59146         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
59147         the `q' suffix from lea and replace .quad with ASM_ADDR.
59149 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59151         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
59152         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
59153         instead of $17.
59154         (PTR_DEMANGLE): Likewise.
59156 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59158         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
59159         (LP_OP): Likewise.
59160         (ASM_ADDR): Likewise.
59161         (RAX_LP): Likewise.
59162         (RBP_LP): Likewise.
59163         (RBX_LP): Likewise.
59164         (RCX_LP): Likewise.
59165         (RDI_LP): Likewise.
59166         (RSI_LP): Likewise.
59167         (RSP_LP): Likewise.
59168         (R8_LP): Likewise.
59169         (R9_LP): Likewise.
59170         (R10_LP): Likewise.
59171         (R10_LP): Likewise.
59172         (R11_LP): Likewise.
59173         (R12_LP): Likewise.
59174         (R13_LP): Likewise.
59175         (R14_LP): Likewise.
59176         (R15_LP): Likewise.
59178 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59180         * sysdeps/x86_64/x32/dl-machine.h: New file.
59182 2012-05-14  Andreas Jaeger  <aj@suse.de>
59184         * manual/Makefile (subdir): Remove export of subdir.
59185         (all): Remove target.
59186         (.PHONY): Remove all from list.
59187         (mkinstalldirs): Remove.
59188         (.PHONY): Remove installdirs from list.
59189         ($(inst_infodir)/libc.info): Use make-target-directory.
59190         (installdirs): Remove.
59191         (subdir_%): Remove.
59192         (glibc-targets): Remove.
59193         (lib): Remove.
59194         (stubs): Remove.
59195         ($(objpfx)stubs ../po/manual.pot): Remove.
59196         ($(objpfx)stamp%): Remove.
59197         (make-target-directory): Remove.
59198         (subdir_install): Remove.
59199         (routines): Remove.
59200         (aux): Remove.
59201         (sources): Remove.
59202         (objects): Remove.
59203         (headers): Remove.
59205         [BZ #13750]
59206         * manual/.gitignore: Remove, it's not needed anymore.
59207         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
59208         all files in it.
59209         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
59210         directory.
59211         (texis): Renamed to $(objpfx)texis.
59212         (texis-path): New, contains path to generated files.
59213         (chapters.%): Use texis-path for complete path, add extra argument
59214         libc-texinfo.sh.
59215         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
59216         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
59217         (summary,texi, stamp-summary): Use complete path of
59218         files. Generate files in build dir.
59219         (dir-add.texi): Build in build dir.
59220         (libm-err.texi,stamp-libm-err): Likewise.
59221         (version.texi, stamp-version): Likewise.
59222         (.%c.texi): Likewise.
59223         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
59224         (mostlyclean): Remove target.
59225         (realclean): Remove target.
59226         (generated): Add new variable with contents from mostlyclean and
59227         realclean, remove entries duplicated in common-mostlyclean, add
59228         stamp-libm-err and stamp-version.
59229         (generated-dirs): Add libc directory.
59230         ($(inst_infodir)/libc.info): Install files from build dir.
59232         * manual/install.texi (Configuring and compiling): Adjust since
59233         the info files are not part of the tar ball anymore.
59235 2012-05-14  Andreas Jaeger  <aj@suse.de>
59237         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
59238         variable.
59240 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59242         [BZ #13717]
59243         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59244         to 2.2.0 where earlier.
59245         * sysdeps/unix/sysv/linux/configure: Regenerated.
59246         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
59247         Remove conditional code.
59248         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
59249         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
59250         Remove conditional code.
59251         [!__NR_lchown]: Likewise.
59252         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59253         [__NR_lchown]: Likewise.
59254         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
59255         comment referencing __ASSUME_LCHOWN_SYSCALL.
59256         * sysdeps/unix/sysv/linux/i386/sigaction.c
59257         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59258         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59259         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
59260         Remove conditional code.
59261         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
59262         (__protocol_available): Remove #if 0 code.
59263         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
59264         conditional code.
59265         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
59266         * sysdeps/unix/sysv/linux/kernel-features.h
59267         (__ASSUME_GETCWD_SYSCALL): Don't define.
59268         (__ASSUME_REALTIME_SIGNALS): Likewise.
59269         (__ASSUME_PREAD_SYSCALL): Likewise.
59270         (__ASSUME_PWRITE_SYSCALL): Likewise.
59271         (__ASSUME_POLL_SYSCALL): Likewise.
59272         (__ASSUME_LCHOWN_SYSCALL): Likewise.
59273         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
59274         non-SPARC.
59275         (__ASSUME_SIOCGIFNAME): Don't define.
59276         (__ASSUME_MSG_NOSIGNAL): Likewise.
59277         (__ASSUME_SENDFILE): Define unconditionally.
59278         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
59279         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
59280         conditional code.
59281         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
59282         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
59283         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59284         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59285         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
59286         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59287         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
59289         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59290         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
59292         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59293         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
59295         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59296         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
59298         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59299         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
59301         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59302         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
59304         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59305         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
59307         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59308         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
59310         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59311         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59312         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
59313         Remove conditional code.
59314         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59315         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59316         Remove conditional code.
59317         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59318         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
59319         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
59320         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59321         Remove conditional code.
59322         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59323         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
59324         Remove conditional code.
59325         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59326         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
59327         Remove conditional code.
59328         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59329         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59330         Remove conditional code.
59331         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59332         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59333         Remove conditional code.
59334         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59335         * sysdeps/unix/sysv/linux/sh/pwrite64.c
59336         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59337         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59338         * sysdeps/unix/sysv/linux/sigaction.c
59339         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59340         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59341         * sysdeps/unix/sysv/linux/sigpending.c
59342         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59343         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59344         * sysdeps/unix/sysv/linux/sigprocmask.c
59345         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59346         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59347         * sysdeps/unix/sysv/linux/sigsuspend.c
59348         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59349         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59350         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59351         (__libc_missing_rt_sigs): Remove.
59352         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
59353         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
59354         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
59355         Remove conditional code.
59356         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
59357         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
59358         return 1.
59359         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
59360         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
59361         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
59362         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
59364 2012-05-14  Andreas Jaeger  <aj@suse.de>
59366         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
59367         it's not used in glibc.
59368         (__coshm1): Likewise.
59369         (__acosh1p): Likewise.
59370         (__sgn): Likewise.
59372         * manual/string.texi (Copying and Concatenation): Add missing
59373         variable in concat example.
59374         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
59376 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59378         [BZ #14103]
59379         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
59380         __builtin_clzl with __builtin_clzll.
59382 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59384         [BZ #14104]
59385         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
59386         libc_freeres_ptr.
59388 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59390         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
59391         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
59392         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
59393         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
59395 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
59397         * NEWS: Update ia64 info.
59399 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
59401         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
59402         used as bcopy.
59404 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
59406         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
59407         * sysdeps/unix/syscalls.list (dup3): Likewise.
59408         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
59409         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
59411 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59413         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
59414         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
59416 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59418         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
59419         thread pointer.
59420         (TLS_IE): Use mov/add instead of movq/addq to load thread
59421         pointer.
59422         (TLS_GD_PREFIX): New.
59423         (TLS_GD): Use it.
59425 2012-05-11  David S. Miller  <davem@davemloft.net>
59427         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
59428         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
59429         (_FPU_SETCW): Likewise.
59431 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59433         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
59434         is 32-byte aligned.
59436 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
59438         [BZ #11837]
59439         * iconvdata/gb18030.c: Update tables.
59440         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
59441         characters specially.
59442         (BODY for TO_LOOP): Add encoding of missing ranges.
59444 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
59446         [BZ #13673]
59447         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
59448         * sysdeps/mach/hurd/dup3.c: Likewise.
59449         * sysdeps/mach/hurd/readlinkat.c: Likewise.
59450         * sysdeps/powerpc/memmove.c:: Likewise.
59452 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59454         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
59455         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
59457 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59459         * elf/elf.h (R_X86_64_RELATIVE64): New.
59460         (R_X86_64_NUM): Updated.
59461         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59462         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
59463         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
59464         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
59465         tst-quad1pie tst-quad2pie
59466         (modules-names): Add tst-quadmod1 tst-quadmod2.
59467         ($(objpfx)tst-quad1): New dependency.
59468         ($(objpfx)tst-quad2): Likewise.
59469         ($(objpfx)tst-quad1pie): Likewise.
59470         ($(objpfx)tst-quad2pie): Likewise.
59471         * sysdeps/x86_64/tst-quad1.c: New file.
59472         * sysdeps/x86_64/tst-quad1pie.c: New file.
59473         * sysdeps/x86_64/tst-quad2.c: Likewise.
59474         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
59475         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
59476         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
59477         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
59478         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
59480 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59482         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
59483         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
59484         * streams/stropts.h (t_scalar_t): Define type.
59486         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
59487         (_PATH_PRESERVE): Set to "/var/lib".
59488         (_PATH_RWHODIR): Set to "/var/spool/rwho".
59490         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
59491         instead of int.
59493         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
59494         if __dir_mkfile succeeded.
59496         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
59497         checking for _hurd_dtablesize.  Unlock it right after having
59498         finished _hurd_dtable allocation.
59500 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59502         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
59503         * sysdeps/mach/hurd/configure: Regenerated.
59504         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
59505         special-casing to...
59506         * sysdeps/gnu/configure.in: ... this new file.
59507         * sysdeps/unix/sysv/linux/configure: Regenerated.
59508         * sysdeps/gnu/configure: New generated file.
59510         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
59511         for Linux: use nsec instead of usec, as well as:
59512         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
59513         members of type struct timespec.
59514         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
59515         New macros.
59516         (struct stat64): Likewise.
59517         (_STATBUF_ST_NSEC): New macro.
59518         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
59520         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59521         __strtoul_internal rather than strtoul.
59523 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59525         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
59526         and reject them.
59528 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59530         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
59531         which preserves existing values.
59532         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
59534 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59536         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
59537         TIMEOUT values.  Return EINVAL for NFDS values either negative or
59538         greater than FD_SETSIZE.
59540 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59542         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
59543         allocated, call __vm_protect to finish enabling the existing space, and
59544         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
59545         allocate the remainder.
59547 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59549         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
59550         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
59552 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59554         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
59555         sysdeps/mach/hurd/readlink.c.
59557         * posix/tst-sysconf.c (posix_options): Only use
59558         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
59559         _POSIX_SYNCHRONIZED_IO when they are defined
59560         * sysdeps/mach/hurd/bits/posix_opt.h:
59561         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
59562         (_XOPEN_REALTIME): Undefine macro.
59563         (_XOPEN_REALTIME_THREADS): Undefine macro.
59564         (_XOPEN_SHM): Undefine macro.
59565         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
59566         macro to -1.
59567         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
59568         macro to -1.
59569         (_POSIX_ASYNC_IO): Undefine macro.
59570         (_POSIX_PRIORITIZED_IO): Undefine macro.
59571         (_POSIX_SPIN_LOCKS): Define macro to -1.
59573         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
59574         SA_NODEFER, SA_RESETHAND.
59575         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59576         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
59577         F_DUPFD_CLOEXEC.
59579 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59581         * elf/Makefile (pldd-modules): Define unconditionally.
59583 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59585         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
59587 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59589         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
59590         Return ENOENT when name is empty.
59591         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
59593 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59595         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
59597         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
59599 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59601         Fix mlock in all cases except non-readable pages.
59602         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
59603         instead of VM_PROT_ALL as parameter to __vm_wire function.
59605         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
59606         (__mkdir): When path is `/', just fail with EEXIST.
59607         * sysdeps/mach/hurd/mkdirat.c: Likewise.
59609 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59611         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
59612         <sys/uio.h> (for writev).
59613         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
59614         and <sys/param.h> (for MIN).
59616 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59618         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59619         REQUESTED_TIME.  Properly set the remaining time and return EINTR
59620         if interrupted.
59622 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59624         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59625         Depend on against $(link-rpcuserlibs).
59627 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59629         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59630         (__libc_stack_end): Do not use attribute_relro.
59631         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59632         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59633         to libthread-provided value.
59634         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59635         attribute_relro.
59637 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59639         [BZ #3748]
59640         * bits/libc-lock.h (__libc_once_get): New macro.
59641         * sysdeps/mach/bits/libc-lock.h: Likewise.
59642         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59643         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59644         instead of using implementation details.
59646         * libio/fileops.c: Unconditionally include <kernel-features.h>.
59647         * libio/freopen.c: Likewise.
59648         * libio/freopen64.c: Likewise.
59649         * misc/syslog.c: Likewise.
59650         * nscd/connections.c: Likewise.
59651         * nscd/netgroupcache.c: Likewise.
59652         * sysdeps/posix/getcwd.c: Likewise.
59654 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59656         * math/w_ilogbf.c: Add #include <limits.h>.
59658 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59660         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59661         path instead of returning without unlocking.
59663         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59664         immediate-write ioctls.
59665         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59667 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59669         * sysdeps/mach/hurd/i386/init-first.c (init): Use
59670         __builtin_frame_address instead of making assumptions about the
59671         location of the return address relative to DATA.  Force early load of
59672         the return address.
59673         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59674         __builtin_frame_address.
59676         dup3 for GNU Hurd.
59677         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59678         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
59679         implement dup3 and do some further code clean-ups.
59680         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59681         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59683 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59685         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59687         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59688         HURD_CRITICAL_END around holding _hurd_dtable_lock.
59689         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59690         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59691         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59692         d->port.lock.
59694         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59695         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
59696         when handler == SIG_ERR, not when handler != SIG_ERR.
59698 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59700         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59701         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59702         definitions.
59704         accept4 for GNU Hurd.
59705         * include/sys/socket.h (__libc_accept4): New prototype.
59706         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
59707         to implement __libc_accept4.
59708         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59709         __libc_accept4.
59710         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59712         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59713         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59714         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59715         signal-defines.sym.
59717 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59719         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59721 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59723         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59724         assertion on O_CLOEXEC flag.
59725         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59726         * hurd/intern-fd.c: Likewise.
59727         * hurd/port2fd.c: Likewise.
59729 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59731         [BZ #3906]
59732         * bits/in.h (IPV6_PKTINFO): Define new macro.
59733         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59735 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59737         [BZ #13954]
59738         [BZ #13955]
59739         [BZ #13956]
59740         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59741         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59742         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59743         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59744         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59745         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59746         * math/libm-test.inc (logb_test) : Additional logb tests.
59748 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
59749             Andreas Jaeger  <aj@suse.de>
59751         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59752         * configure: Regenerated.
59753         * config.h.in (LINK_OBSOLETE_RPC): New macro.
59754         * config.make.in (link-obsolete-rpc): New substituted variable.
59755         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59756         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59757         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59758         (shared-only-routines): Don't set it under [link-obsolete-rpc],
59759         so that libc.a contains the symbols.
59760         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59761         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59762         * sunrpc/auth_none.c: Likewise.
59763         * sunrpc/auth_unix.c: Likewise.
59764         * sunrpc/authdes_prot.c: Likewise.
59765         * sunrpc/authuxprot.c: Likewise.
59766         * sunrpc/clnt_gen.c: Likewise.
59767         * sunrpc/clnt_perr.c: Likewise.
59768         * sunrpc/clnt_raw.c: Likewise.
59769         * sunrpc/clnt_simp.c: Likewise.
59770         * sunrpc/clnt_tcp.c: Likewise.
59771         * sunrpc/clnt_udp.c: Likewise.
59772         * sunrpc/clnt_unix.c: Likewise.
59773         * sunrpc/des_crypt.c: Likewise.
59774         * sunrpc/des_soft.c: Likewise.
59775         * sunrpc/get_myaddr.c: Likewise.
59776         * sunrpc/key_call.c: Likewise.
59777         * sunrpc/key_prot.c: Likewise.
59778         * sunrpc/netname.c: Likewise.
59779         * sunrpc/pm_getmaps.c: Likewise.
59780         * sunrpc/pm_getport.c: Likewise.
59781         * sunrpc/pmap_clnt.c: Likewise.
59782         * sunrpc/pmap_prot.c: Likewise.
59783         * sunrpc/pmap_prot2.c: Likewise.
59784         * sunrpc/pmap_rmt.c: Likewise.
59785         * sunrpc/publickey.c: Likewise.
59786         * sunrpc/rpc_cmsg.c: Likewise.
59787         * sunrpc/rpc_common.c: Likewise.
59788         * sunrpc/rpc_dtable.c: Likewise.
59789         * sunrpc/rpc_prot.c: Likewise.
59790         * sunrpc/rpc_thread.c: Likewise.
59791         * sunrpc/rtime.c: Likewise.
59792         * sunrpc/svc.c: Likewise.
59793         * sunrpc/svc_auth.c: Likewise.
59794         * sunrpc/svc_raw.c: Likewise.
59795         * sunrpc/svc_run.c: Likewise.
59796         * sunrpc/svc_tcp.c: Likewise.
59797         * sunrpc/svc_udp.c: Likewise.
59798         * sunrpc/svc_unix.c: Likewise.
59799         * sunrpc/svcauth_des.c: Likewise.
59800         * sunrpc/xcrypt.c: Likewise.
59801         * sunrpc/xdr.c: Likewise.
59802         * sunrpc/xdr_array.c: Likewise.
59803         * sunrpc/xdr_float.c: Likewise.
59804         * sunrpc/xdr_intXX_t.c: Likewise.
59805         * sunrpc/xdr_mem.c: Likewise.
59806         * sunrpc/xdr_rec.c: Likewise.
59807         * sunrpc/xdr_ref.c: Likewise.
59808         * sunrpc/xdr_sizeof.c: Likewise.
59809         * sunrpc/xdr_stdio.c: Likewise.
59811 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59813         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
59814         change.  Update copyright years.
59816 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59818         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
59820 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
59821             Joseph Myers  <joseph@codesourcery.com>
59822             Paul Pluzhnikov  <ppluzhnikov@google.com>
59824         [BZ #14012]
59825         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
59826         requiring rpcgen.
59827         [cross-compiling] (extra-libs): Likewise.
59828         [cross-compiling] (extra-libs-others): Likewise.
59829         [cross-compiling] (librpcsvc-routines): Likewise.
59830         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
59831         [cross-compiling] (omit-deps): Likewise.
59832         (sunrpc-CPPFLAGS): New variable.
59833         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
59834         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
59835         (cross-rpcgen-objs): New variable.
59836         (extra-objs): Append $(cross-rpcgen-objs).
59837         ($(cross-rpcgen-objs)): New rule.
59838         ($(objpfx)cross-rpcgen): Likewise.
59839         (rpcgen-cmd): Define to use $(built-program-file).  Expand
59840         comment.
59841         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
59842         ($(objpfx)x%.stmp): Likewise.
59843         * sunrpc/proto.h [IS_IN_build] (_): Define.
59844         [IS_IN_build] (_libc_intl_domainname): Likewise.
59846 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59848         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
59849         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
59850         and R_X86_64_TPOFF64.
59852 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59854         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
59855         sysdeps/unix/sysv/syscalls.list.
59856         (stime): Likewise.
59857         (utime): Likewise.
59858         * sysdeps/unix/sysv/syscalls.list: Remove file.
59860 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
59862         [BZ #3440]
59863         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
59864         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
59865         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
59866         (__LC_IDENTIFICATION): Make these macros useful in #if
59867         expressions, as required by C99.
59869 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
59871         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
59872         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
59873         after this.
59875 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
59877         * stdlib/longlong.h: Updated from GCC.
59879 2012-05-09  Andreas Jaeger  <aj@suse.de>
59881         * nscd/nscd.c (run_modes): Make named enum, reorder so that
59882         default is first entry.
59883         (run_mode): Set type.
59884         (main): Remove informal message about syslog.
59885         (options): Fix typo.
59887         [BZ #14053]
59888         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
59889         to asm.
59890         (lrint): Likewise.
59891         (llrintf): Likewise.
59892         (llrint): Likewise.
59893         (rint): Likewise.
59894         (rintf): Likewise.
59895         (nearbyint): Likewise.
59896         (nearbyintf): Likewise.
59898 2012-05-09  Andreas Jaeger  <aj@suse.de>
59899             Pedro Alves  <palves@redhat.com>
59901         * nscd/nscd.c (run_mode): Use enum.
59902         (main): Cleanup coding style issue.
59904 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
59905             Andreas Jaeger  <aj@suse.de>
59907         * nscd/nscd.c (go_background): Replaced with...
59908         (run_mode): ... this.
59909         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
59910         (options): Add -F --foreground.
59911         (main): Implement it.
59912         (parse_opt): Parse it.
59914 2012-05-09  Andreas Jaeger  <aj@suse.de>
59916         [BZ #14083]
59917         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
59918         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
59919         -Wconversion warning.
59920         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
59921         Likewise.
59923 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
59925         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
59926         == 0.
59927         (LC_ALL): Use macro-int-constant.
59928         (LC_COLLATE): Likewise.
59929         (LC_CTYPE): Likewise.
59930         (LC_MESSAGES): Likewise.
59931         (LC_MONETARY): Likewise.
59932         (LC_NUMERIC): Likewise.
59933         (LC_TIME): Likewise.
59934         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
59935         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59936         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59937         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
59938         Specify type.
59939         [C99-based standards] (float_t): Expect type.
59940         [C99-based standards] (double_t): Expect type.
59941         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
59942         type.
59943         [C99-based standards] (HUGE_VALL): Likewise.
59944         [C99-based standards] (INFINITY): Likewise.
59945         [C99-based standards] (NAN): Likewise.
59946         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
59947         [C99-based standards] (FP_NAN): Likewise.
59948         [C99-based standards] (FP_NORMAL): Likewise.
59949         [C99-based standards] (FP_SUBNORMAL): Likewise.
59950         [C99-based standards] (FP_ZERO): Likewise.
59951         [C99-based standards] (FP_FAST_FMA): Use
59952         optional-macro-int-constant.  Specify type.  Require == 1.
59953         [C99-based standards] (FP_FAST_FMAF): Likewise.
59954         [C99-based standards] (FP_FAST_FMAL): Likewise.
59955         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
59956         [C99-based standards] (FP_ILOGBNAN): Likewise.
59957         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
59958         Specify type.
59959         [C99-based standards] (MATH_ERREXCEPT): Likewise.
59960         [C99-based standards] (math_errhandling): Specify type.
59961         [ISO99 || ISO11] (signgam): Do not allow.
59962         [non-C99-based standards] (copysignf): Do not allow.
59963         [non-C99-based standards] (exp2f): Likewise.
59964         [non-C99-based standards] (log2f): Likewise.
59965         [non-C99-based standards] (modff): Allow.
59966         [non-C99-based standards] (erff): Do not allow.
59967         [non-C99-based standards] (erfcf): Likewise.
59968         [non-C99-based standards] (gammaf): Likewise.
59969         [non-C99-based standards] (hypotf): Likewise.
59970         [non-C99-based standards] (j0f): Likewise.
59971         [non-C99-based standards] (j1f): Likewise.
59972         [non-C99-based standards] (jnf): Likewise.
59973         [non-C99-based standards] (lgammaf): Likewise.
59974         [non-C99-based standards] (tgammaf): Likewise.
59975         [non-C99-based standards] (y0f): Likewise.
59976         [non-C99-based standards] (y1f): Likewise.
59977         [non-C99-based standards] (ynf): Likewise.
59978         [non-C99-based standards] (isnanf): Likewise.
59979         [non-C99-based standards] (acoshf): Likewise.
59980         [non-C99-based standards] (asinhf): Likewise.
59981         [non-C99-based standards] (atanhf): Likewise.
59982         [non-C99-based standards] (cbrtf): Likewise.
59983         [non-C99-based standards] (expm1f): Likewise.
59984         [non-C99-based standards] (ilogbf): Likewise.
59985         [non-C99-based standards] (log1pf): Likewise.
59986         [non-C99-based standards] (logbf): Likewise.
59987         [non-C99-based standards] (nextafterf): Likewise.
59988         [non-C99-based standards] (remainderf): Likewise.
59989         [non-C99-based standards] (rintf): Likewise.
59990         [non-C99-based standards] (scalbf): Likewise.
59991         [non-C99-based standards] (copysignl): Likewise.
59992         [non-C99-based standards] (exp2l): Likewise.
59993         [non-C99-based standards] (log2l): Likewise.
59994         [non-C99-based standards] (modfl): Allow.
59995         [non-C99-based standards] (erfl): Do not allow.
59996         [non-C99-based standards] (erfcl): Likewise.
59997         [non-C99-based standards] (gammal): Likewise.
59998         [non-C99-based standards] (hypotl): Likewise.
59999         [non-C99-based standards] (j0l): Likewise.
60000         [non-C99-based standards] (j1l): Likewise.
60001         [non-C99-based standards] (jnl): Likewise.
60002         [non-C99-based standards] (lgammal): Likewise.
60003         [non-C99-based standards] (tgammal): Likewise.
60004         [non-C99-based standards] (y0l): Likewise.
60005         [non-C99-based standards] (y1l): Likewise.
60006         [non-C99-based standards] (ynl): Likewise.
60007         [non-C99-based standards] (isnanl): Likewise.
60008         [non-C99-based standards] (acoshl): Likewise.
60009         [non-C99-based standards] (asinhl): Likewise.
60010         [non-C99-based standards] (atanhl): Likewise.
60011         [non-C99-based standards] (cbrtl): Likewise.
60012         [non-C99-based standards] (expm1l): Likewise.
60013         [non-C99-based standards] (ilogbl): Likewise.
60014         [non-C99-based standards] (log1pl): Likewise.
60015         [non-C99-based standards] (logbl): Likewise.
60016         [non-C99-based standards] (nextafterl): Likewise.
60017         [non-C99-based standards] (remainderl): Likewise.
60018         [non-C99-based standards] (rintl): Likewise.
60019         [non-C99-based standards] (scalbl): Likewise.
60020         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60021         [non-C99-based standards] (FP_*): Do not allow.
60022         [C99-based standards] (FP_*): Change to
60023         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60024         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60025         allow.
60026         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
60027         (SIG_ERR): Likewise.
60028         [X/Open-based standards] (SIG_HOLD): Likewise.
60029         (SIG_IGN): Likewise.
60030         (SIGABRT): Use macro-int-constant.  Specify type.  Require
60031         positive value.
60032         (SIGFPE): Likewise.
60033         (SIGILL): Likewise.
60034         (SIGINT): Likewise.
60035         (SIGSEGV): Likewise.
60036         (SIGTER): Likewise.
60037         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
60038         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
60039         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
60040         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
60041         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
60042         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
60043         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
60044         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
60045         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
60046         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
60047         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
60048         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
60049         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
60050         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
60051         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
60052         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
60053         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
60054         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
60055         [X/Open-based standards] (SIGTRAP): Likewise.
60056         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
60057         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
60058         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
60059         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
60060         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60061         allow.
60063 2012-05-08  Ian Wienand  <ianw@vmware.com>
60065         [BZ #14080]
60066         * time/tzset.c (__tzset_parse_tz): Update default rules for
60067         daylight time changes in the Energy Policy Act of 2005.
60069 2012-05-09  Andreas Jaeger  <aj@suse.de>
60071         [BZ #13983]
60072         * elf/ldconfig.c (parse_conf): Change string to make clear that
60073         ldconfig only issued a warning if ld.so.conf does not exist.
60075 2012-05-08  David S. Miller  <davem@davemloft.net>
60077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
60078         movxtod instead of popping the value on the stack.
60080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60082 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
60084         * config.h.in: Add HAVE_ARM_PCS_VFP.
60086 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
60088         [BZ #13979]
60089         * include/features.h: Warn if user requests __FORTIFY_SOURCE
60090         checking but the checks are disabled for any reason.
60092 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
60094         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
60095         and ELF64_R_TYPE with ELFW(R_TYPE).
60097 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
60099         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
60100         (ulimit): Likewise.
60102         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
60103         (settimeofday): Likewise.
60105 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
60107         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
60108         a struct th_u2 inside the union, and move tu_block/tu_code into
60109         a new th_u3 union of tu_block/tu_code inside of that.  Move
60110         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
60111         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
60112         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
60113         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
60114         (th_stuff): Change to th_u1.tu_stuff.
60115         (th_data): Define.
60116         (th_msg): Change to th_u1.th_u2.tu_data.
60118 2012-05-07  David S. Miller  <davem@davemloft.net>
60120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60122         [BZ #14074]
60123         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
60124         (SETUP_PIC_REG): Use it.
60125         (SETUP_PIC_REG_LEAF): Use it.
60127 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
60129         [BZ #13885]
60130         [BZ #13923]
60131         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60132         USE_AS_EXPM1L.
60133         (EXPL_FINITE): Likewise.
60134         (FLDLOG): Likewise.
60135         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60136         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60137         e_expl.S.
60138         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60139         USE_AS_EXPM1L.
60140         (EXPL_FINITE): Likewise.
60141         (FLDLOG): Likewise.
60142         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60143         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60144         e_expl.S.
60145         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
60146         test of -max_value argument for long double.
60147         * sysdeps/i386/fpu/libm-test-ulps: Update.
60148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60150 2012-05-06  David S. Miller  <davem@davemloft.net>
60152         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
60153         quad soft-float symbols whose references which are compiler
60154         generated.
60155         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60157 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
60159         [BZ #13884]
60160         [BZ #13914]
60161         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60162         USE_AS_EXP10L.
60163         (EXPL_FINITE): Likewise.
60164         (FLDLOG): Likewise.
60165         (c0): Likewise.
60166         (c1): Likewise.
60167         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60168         Adjust comments for base varying.
60169         (__expl_finite): Change alias to EXPL_FINITE.
60170         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
60171         e_expl.S.
60172         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
60173         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
60174         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60175         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
60176         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60177         USE_AS_EXP10L.
60178         (EXPL_FINITE): Likewise.
60179         (FLDLOG): Likewise.
60180         (c0): Likewise.
60181         (c1): Likewise.
60182         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60183         Adjust comments for base varying.
60184         (__expl_finite): Change alias to EXPL_FINITE.
60185         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
60186         tests for bugs.
60187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60189         [BZ #14064]
60190         * math/libm-test.inc (check_float_internal): Correct ulp
60191         calculation for subnormal expected results.
60193 2012-05-06  Andreas Jaeger  <aj@suse.de>
60195         * Makeconfig (+math-flags): New, set to -frounding-math.
60196         (+cflags): Add +math-flags so that all of glibc gets compiled with
60197         it.
60199         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
60201 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
60203         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
60204         Disable one test.
60206         [BZ #13787]
60207         [BZ #13922]
60208         [BZ #14036]
60209         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
60210         (__ieee754_expl): Allow for and saturate large arguments.
60211         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
60212         (u_threshold): Likewise.
60213         (__exp): Call __ieee754_exp before checking for overflow and
60214         underflow.
60215         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
60216         (u_threshold): Likewise.
60217         (__expf): Call __ieee754_expf before checking for overflow and
60218         underflow.
60219         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
60220         (u_threshold): Likewise.
60221         (__expl): Call __ieee754_expl before checking for overflow and
60222         underflow.
60223         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
60224         (__ieee754_expl): Allow for and saturate large arguments.
60225         * math/libm-test.inc (exp_test): Add another test.  Do not allow
60226         missing overflow exception on overflow.
60227         (expm1_test): Do not allow missing overflow exception on overflow.
60229         * sysdeps/i386/fpu/e_expl.c: Move to ...
60230         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
60231         rather than using inline asm.
60232         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
60233         * sysdeps/x86_64/fpu/e_expl.S: Copy from
60234         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
60236         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
60237         (nice): Likewise.
60238         (poll): Likewise.
60239         (signal): Likewise.
60240         (time): Likewise.
60241         (times): Likewise.
60243 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60245         * sysdeps/unix/syscalls.list (adjtime): Add entry from
60246         sysdeps/unix/common/syscalls.list.
60247         (fchmod): Likewise.
60248         (fchown): Likewise.
60249         (ftruncate): Likewise.
60250         (getrusage): Likewise.
60251         (gettimeofday): Likewise.
60252         (setpgid): Likewise.
60253         (setregid): Likewise.
60254         (setreuid): Likewise.
60255         (sigaction): Likewise.
60256         (truncate): Likewise.
60257         (vhangup): Likewise.
60258         * sysdeps/unix/common/syscalls.list: Remove file.
60259         * sysdeps/unix/bsd/Implies: Don't include unix/common.
60260         * sysdeps/unix/sysv/linux/Implies: Likewise.
60262 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
60264         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
60265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
60266         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
60267         Moved to ...
60268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
60269         Here.
60270         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
60271         to ...
60272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
60273         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
60274         to ...
60275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
60276         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
60277         to ...
60278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
60279         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
60280         to ...
60281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
60282         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
60283         to ...
60284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
60285         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
60286         to ...
60287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
60288         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
60289         to ...
60290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60291         Here.
60292         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
60293         to ...
60294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
60295         Here.
60296         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
60297         to ...
60298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
60299         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
60300         Moved to ...
60301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
60302         Here.
60303         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
60304         to ...
60305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
60307 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60309         * sysdeps/unix/common/bits/dirent.h: Remove file.
60310         * sysdeps/unix/common/bits/fcntl.h: Likewise.
60312         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
60313         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
60314         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
60315         * sysdeps/unix/bsd/isatty.c: Likewise.
60316         * sysdeps/unix/bsd/tcdrain.c: Likewise.
60317         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
60318         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
60320 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60322         [BZ #13563]
60323         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
60324         long double comparison inaccuracies.
60325         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60328 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
60330         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
60331         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
60333 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60335         [BZ #14049]
60336         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
60337         nonzero digits before rounding a hex value.
60338         * stdlib/tst-strtod.c (tests): Add another test.
60340 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60342         * sysdeps/s390/fpu/libm-test-ulps: Update.
60344 2012-05-03  Andreas Jaeger  <aj@suse.de>
60346         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
60347         does not get optimized out.
60348         (malloc_opt_barrier): New.
60350 2012-05-03  Andreas Jaeger  <aj@suse.de>
60351             Roland McGrath  <roland@hack.frob.com>
60353         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
60354         intermediate file deletion.
60355         (generated): Add .symlist files.
60357 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
60359         [BZ #13775]
60360         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
60361         Redirect under this condition.
60362         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60363         [__USE_GNU] (__dprintf_chk): Not under this condition.
60364         [__USE_GNU] (__vdprintf_chk): Likewise.
60365         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
60366         under this condition.
60367         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60368         [__USE_XOPEN2K8] (dprintf): Define under this condition.
60369         [__USE_XOPEN2K8] (vdprintf): Likewise.
60370         [__USE_GNU] (__dprintf_chk): Not under this condition.
60371         [__USE_GNU] (__vdprintf_chk): Likewise.
60372         [__USE_GNU] (dprintf): Likewise.
60373         [__USE_GNU] (vdprintf): Likewise.
60375 2012-05-03  Roland McGrath  <roland@hack.frob.com>
60377         * elf/Makefile (common-generated): Set this instead of generated for
60378         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
60379         $(all-built-dso)-derived lists.
60381 2012-05-03  Andreas Jaeger  <aj@suse.de>
60383         * sysdeps/i386/fpu/libm-test-ulps: Update.
60385         * FAQ: Removed.
60386         * FAQ.in: Likewise.
60387         * scripts/gen-FAQ.pl: Likewise.
60388         * manual/install.texi (Installation): Point to online location of
60389         FAQ.
60390         * Makefile (files-for-dist): Remove FAQ.
60391         (FAQ): Remove.
60393 2012-05-02  Allan McRae  <allan@archlinux.org>
60395         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
60396         (LDFLAGS-reldepmod5.so): Likewise.
60397         (LDFLAGS-reldep6mod1.so): Likewise.
60398         (LDFLAGS-reldep6mod4.so): Likewise.
60399         (LDFLAGS-reldep8mod3.so): Likewise.
60400         (LDFLAGS-unload4mod1.so): Likewise.
60401         (LDFLAGS-unload4mod2.so): Likewise.
60402         (LDFLAGS-tst-initorder): Likewise.
60403         (LDFLAGS-tst-initordera2.so): Likewise.
60404         (LDFLAGS-tst-initordera3.so): Likewise.
60405         (LDFLAGS-tst-initordera4.so): Likewise.
60406         (LDFLAGS-tst-initorderb2.so): Likewise.
60407         (LDFLAGS-noload): Likewise.
60408         (LDFLAGS-next): Likewise.
60409         (LDFLAGS-order2mod1.so): Likewise.
60410         (LDFLAGS-order2mod2.so): Likewise.
60411         (LDFLAGS-tst-initorder2): Likewise.
60412         (LDFLAGS-tst-initorder2a.so): Likewise.
60413         (LDFLAGS-tst-initorder2b.so): Likewise.
60414         (LDFLAGS-tst-initorder2c.so): Likewise.
60415         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
60417 2012-05-02  David S. Miller  <davem@davemloft.net>
60419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60421 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
60423         [BZ #14055]
60424         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
60426 2012-05-02  Andreas Jaeger  <aj@suse.de>
60428         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
60429         since we manipulate rounding mode.
60430         (CPPFLAGS-test-idouble.c): Likewise.
60431         (CPPFLAGS-test-ifloat.c): Likewise.
60432         (CFLAGS-test-ldouble.c): Likewise.
60433         (CFLAGS-test-double.c): Likewise.
60434         (CFLAGS-test-float.c): Likewise.
60435         (CFLAGS-test-misc.c): Likewise.
60436         (CFLAGS-test-test-fenv.c): Likewise.
60438 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60440         [BZ #2550]
60441         [BZ #2570]
60442         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
60443         comparisons to determine direction to adjust input.
60445 2012-05-01  Roland McGrath  <roland@hack.frob.com>
60447         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
60448         output to the target.
60450         * scripts/localplt.awk: New file.
60451         * elf/Makefile ($(objpfx)check-localplt): Target removed.
60452         (check-localplt-CFLAGS): Variable removed.
60453         ($(all-built-dso:=.jmprel)): New static pattern rule.
60454         (generated): Add those targets.
60455         (localplt-built-dso): New variable.
60456         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
60458         * elf/check-localplt.c: File removed.
60460         * scripts/check-execstack.awk: New file.
60461         * elf/Makefile ($(objpfx)check-execstack): Target removed.
60462         (check-execstack-CFLAGS): Variable removed.
60463         ($(objpfx)check-execstack.h): Target removed.
60464         ($(objpfx)execstack-default): New target.
60465         (generated): Add that instead of check-execstack.h.
60466         ($(all-built-dso:=.phdr)): New static pattern rule.
60467         (generated): Add those targets.
60468         * elf/check-execstack.c: File removed.
60470         * scripts/check-textrel.awk: New file.
60471         * elf/Makefile ($(objpfx)check-textrel): Target removed.
60472         (check-textrel-CFLAGS): Variable removed.
60473         (all-built-dso): Use := to define.o
60474         ($(all-built-dso:=.dyn)): New static pattern rule.
60475         (generated): Add those targets.
60476         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
60477         * config.make.in (READELF): New substituted variable.
60478         * elf/check-textrel.c: File removed.
60480 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60482         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60483         allow.
60484         * conform/data/ctype.h-data [C99-based standards] (isblank):
60485         Expect function.
60486         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
60487         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
60488         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60489         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
60490         Specify type.  Require positive value.
60491         (EILSEQ): Likewise.
60492         (ERANGE): Likewise.
60493         [ISO || POSIX] (EILSEQ): Do not expect.
60494         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
60495         Specify type.  Require positive value.
60496         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
60497         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
60498         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
60499         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
60500         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
60501         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
60502         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
60503         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
60504         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
60505         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
60506         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
60507         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
60508         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
60509         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
60510         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
60511         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
60512         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
60513         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
60514         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
60515         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
60516         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
60517         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
60518         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
60519         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
60520         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
60521         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
60522         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
60523         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
60524         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
60525         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
60526         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
60527         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
60528         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
60529         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
60530         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
60531         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
60532         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
60533         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
60534         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
60535         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
60536         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
60537         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
60538         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
60539         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
60540         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
60541         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
60542         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
60543         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
60544         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
60545         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
60546         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
60547         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
60548         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
60549         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
60550         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
60551         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
60552         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
60553         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
60554         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
60555         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
60556         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
60557         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
60558         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
60559         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
60560         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
60561         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
60562         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
60563         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
60564         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
60565         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
60566         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
60567         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
60568         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
60569         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
60570         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
60571         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
60572         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
60573         Require >= 2.
60574         (FLT_ROUNDS): Expect as macro, not constant.
60575         (FLT_MANT_DIG): Use macro-int-constant.
60576         (DBL_MANT_DIG): Likewise.
60577         (LDBL_MANT_DIG): Likewise.
60578         (FLT_DIG): Likewise.
60579         (DBL_DIG): Likewise.
60580         (LDBL_DIG): Likewise.
60581         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
60582         (DBL_MIN_EXP): Likewise.
60583         (LDBL_MIN_EXP): Likewise.
60584         (FLT_MAX_EXP): Use macro-int-constant.
60585         (DBL_MAX_EXP): Likewise.
60586         (LDBL_MAX_EXP): Likewise.
60587         (FLT_MAX_10_EXP): Likewise.
60588         (DBL_MAX_10_EXP): Likewise.
60589         (LDBL_MAX_10_EXP): Likewise.
60590         (FLT_MAX): Use macro-constant.
60591         (DBL_MAX): Likewise.
60592         (LDBL_MAX): Likewise.
60593         (FLT_EPSILON): Use macro-constant.  Give upper bound.
60594         (DBL_EPSILON): Likewise.
60595         (LDBL_EPSILON): Likewise.
60596         (FLT_MIN): Likewise.
60597         (DBL_MIN): Likewise.
60598         (LDBL_MIN): Likewise.
60599         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
60600         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
60601         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
60602         [ISO11] (FLT_HAS_SUBNORM): Likewise.
60603         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
60604         [ISO11] (DBL_DECIMAL_DIG): Likewise.
60605         [ISO11] (FLT_DECIMAL_DIG): Likewise.
60606         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
60607         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
60608         [ISO11] (FLT_TRUE_MIN): Likewise.
60609         [ISO11] (LDBL_TRUE_MIN): Likewise.
60610         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60611         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
60612         (SCHAR_MIN): Use macro-int-constant.  Specify type.
60613         (SCHAR_MAX): Likewise.
60614         (UCHAR_MAX): Likewise.
60615         (CHAR_MIN): Likewise.
60616         (CHAR_MAX): Likewise.
60617         (MB_LEN_MAX): Use macro-int-constant.
60618         (SHRT_MIN): Use macro-int-constant.  Specify type.
60619         (SHRT_MAX): Likewise.
60620         (USHRT_MAX): Likewise.
60621         (INT_MAX): Likewise.
60622         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
60623         bound negative.
60624         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60625         bound with "U".
60626         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60627         bound with "L".
60628         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
60629         bound negative.  Suffix upper bound with "L".
60630         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60631         bound with "UL".
60632         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60633         Specify type.
60634         [C99-based standards] (LLONG_MAX): Likewise.
60635         [C99-based standards] (ULLONG_MAX): Likewise.
60636         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
60637         == 0.
60638         [ISO11] (max_align_t): Require type.
60639         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60641         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60642         from $CFLAGS, without defining away __attribute__ calls.
60643         (checknamespace): Use $CFLAGS_namespace.
60645         * conform/conformtest.pl (@keywords): Only include C99 keywords
60646         for standards based on C99 or C11.
60648         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60649         Disable tests.
60650         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60651         UNIX98]: Likewise.
60653         * conform/conformtest.pl: Handle "macro-int-constant" and test for
60654         usability of symbols in #if.
60656         * conform/conformtest.pl: If macro or constant types start
60657         "promoted:", expect the symbol to be of the following type
60658         promoted by the integer promotions.
60660         * conform/conformtest.pl: Parse all "constant" and "macro" lines
60661         in one place.  Also handle "macro-constant".
60663         * conform/conformtest.pl: Only accept expected macro values with
60664         "==".  Parse all "macro" lines in one place.
60665         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60667         * conform/conformtest.pl: Handle braced types on "constant" lines
60668         instead of handling "typed-constant".
60669         * conform/data/signal.h-data: Use "constant" instead of
60670         "typed-constant".
60672         * conform/conformtest.pl: Handle "optional-" at start of lines in
60673         one place rather than duplicating several cases.  Handle each
60674         format of "macro" line with initial "optional-".
60676         * conform/conformtest.pl: Only accept expected constant or
60677         optional-constant values with "==".  Parse all "constant" lines in
60678         one place.  Parse all "optional-constant" lines in one place.
60679         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60680         * conform/data/fmtmsg.h-data: Likewise.
60681         * conform/data/netinet/in.h-data: Likewise.
60682         * conform/data/tar.h-data: Likewise.
60683         * conform/data/limits.h-data: Use "==" form on "constant" and
60684         "optional-constant" lines.
60686         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60687         Use -std=c99 for XOPEN2K.
60688         (@knownproblems): Remove.
60689         (newtoken): Don't check %isknown.
60691         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60692         Do not expect macro.
60693         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60694         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60695         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60696         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60697         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60698         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60699         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60700         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60701         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60702         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60703         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60704         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60705         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60706         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60707         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60708         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60709         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60710         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60711         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60712         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60713         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60714         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60715         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60716         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60717         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60718         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60719         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60720         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60721         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60722         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60723         [XPG3] (acosh): Likewise.
60724         [XPG3] (asinh): Likewise.
60725         [XPG3] (atanh): Likewise.
60726         [XPG3] (cbrt): Likewise.
60727         [XPG3] (expm1): Likewise.
60728         [XPG3] (ilogb): Likewise.
60729         [XPG3] (log1p): Likewise.
60730         [XPG3] (logb): Likewise.
60731         [XPG3] (nextafter): Likewise.
60732         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60733         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60734         [XPG3] (remainder): Likewise.
60735         [XPG3] (rint): Likewise.
60736         [XPG3 || XPG4 || UNIX98] (round): Likewise.
60737         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60738         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60739         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60740         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60741         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60742         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60743         [UNIX98 || XOPEN2K] (scalb): Expect.
60744         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60745         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60746         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60747         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60748         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60749         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60750         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60751         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60752         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60753         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60754         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60755         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60756         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60757         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60758         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60759         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60760         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60761         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60762         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60763         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60764         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60765         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60766         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60767         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60768         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60769         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60770         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60771         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60772         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60773         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
60774         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
60775         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
60776         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
60777         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
60778         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
60779         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
60780         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
60781         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
60782         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
60783         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
60784         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
60785         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
60786         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
60787         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
60788         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
60789         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
60790         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
60791         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
60792         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
60793         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
60794         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
60795         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
60796         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
60797         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
60798         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
60799         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
60800         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
60801         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
60802         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
60803         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
60804         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
60805         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
60806         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
60807         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
60808         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
60809         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
60810         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
60811         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
60812         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
60813         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
60814         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
60815         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
60816         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
60817         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
60818         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
60819         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
60820         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
60821         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
60822         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
60823         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
60824         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
60825         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
60826         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
60827         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
60828         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
60829         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
60830         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
60831         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
60832         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
60833         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
60834         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
60835         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
60836         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
60837         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
60838         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
60839         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
60840         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
60841         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
60842         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
60843         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
60844         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
60845         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
60846         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
60847         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
60848         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
60849         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
60850         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
60851         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
60852         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
60853         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
60854         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
60855         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
60856         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
60857         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
60858         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
60859         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
60860         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
60861         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
60862         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
60863         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
60864         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
60865         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
60866         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
60867         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
60868         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
60869         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
60870         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
60871         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
60872         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
60873         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
60874         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
60875         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
60876         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
60877         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
60878         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
60879         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
60880         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
60882         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
60883         _XOPEN_SOURCE_EXTENDED for XPG4.
60885         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
60887         * Makeconfig (localtime): Remove variable.
60888         (inst_localtime-file): Likewise.
60890 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
60893         Update.
60894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60895         Update.
60896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
60897         Update.
60898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60899         Update.
60900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
60901         Update.
60902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
60903         Update.
60904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60905         Update.
60906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
60907         Update.
60908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60909         Update.
60911 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60913         [BZ #2550]
60914         [BZ #2570]
60915         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
60916         comparisons to determine direction to adjust input.
60917         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
60918         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
60919         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
60920         Likewise.
60921         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
60922         Likewise.
60923         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60924         Likewise.
60925         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
60926         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
60927         Likewise.
60928         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
60929         Likewise.
60930         * math/libm-test.inc (nexttoward_test): Add more tests.
60932 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60934         [BZ #14040]
60935         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
60936         in version GLIBC_2.1, not GLIBC_2.0.
60937         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
60938         Likewise.
60940 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
60942         [BZ #13942]
60943         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
60944         (1 - x) * (1 + x).
60945         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60946         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
60947         * math/libm-test.inc (acos_test): Add more tests.
60948         (asin_test): Likewise.
60949         * sysdeps/i386/fpu/libm-test-ulps: Update.
60950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60952         [BZ #14034]
60953         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
60954         of square root.
60955         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
60956         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60957         * math/libm-test.inc (acos_test_tonearest): New function.
60958         (acos_test_towardzero): Likewise.
60959         (acos_test_downward): Likewise.
60960         (acos_test_upward): Likewise.
60961         (asin_test_tonearest): Likewise.
60962         (asin_test_towardzero): Likewise.
60963         (asin_test_downward): Likewise.
60964         (asin_test_upward): Likewise.
60965         (main): Call the new functions.
60966         * sysdeps/i386/fpu/libm-test-ulps: Update.
60967         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60969         [BZ #13884]
60970         [BZ #13924]
60971         * math/e_exp10.c: Include <float.h>.
60972         (__ieee754_exp10): Handle underflow here rather than multiplying
60973         large negative argument by M_LN10.
60974         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
60975         of __ieee754_expf.
60976         * math/e_exp10l.c: Include <float.h>.
60977         (__ieee754_exp10l): Handle underflow here rather than multiplying
60978         large negative argument by M_LN10l.
60979         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
60980         spurious overflow exception on underflow.
60982 2012-04-29  Marek Polacek  <polacek@redhat.com>
60984         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
60985         (__fortify_function): New macro.
60986         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
60987         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
60988         __extern_always_inline.
60989         * libio/bits/stdio2.h: Likewise.
60990         * libio/bits/stdio.h: Likewise.
60991         * string/string.h: Likewise.
60992         * string/bits/string3.h: Likewise.
60993         * include/stdio.h: Likewise.
60994         * stdlib/bits/stdlib.h: Likewise.
60995         * stdlib/stdlib.h: Likewise.
60996         * rt/bits/mqueue2.h: Likewise.
60997         * rt/mqueue.h: Likewise.
60998         * posix/bits/unistd.h: Likewise.
60999         * posix/unistd.h: Likewise.
61000         * io/bits/poll2.h: Likewise.
61001         * io/bits/fcntl2.h: Likewise.
61002         * io/fcntl.h: Likewise.
61003         * io/sys/poll.h: Likewise.
61004         * misc/bits/syslog.h: Likewise.
61005         * misc/bits/syslog-ldbl.h: Likewise.
61006         * misc/sys/syslog.h: Likewise.
61007         * socket/bits/socket2.h: Likewise.
61008         * socket/sys/socket.h: Likewise.
61009         * debug/tst-chk1.c: Likewise.
61010         * wcsmbs/bits/wchar2.h: Likewise.
61011         * wcsmbs/bits/wchar-ldbl.h: Likewise.
61012         * wcsmbs/wchar.h: Likewise.
61014 2012-04-29  Andreas Jaeger  <aj@suse.de>
61016         * Makerules (tests): Remove enable-check-abi protection.
61017         (check-abi-warn): Remove.
61018         (check-abi-%): Remove check-abi-warn usage.
61020         * configure.in: Remove check-abi configure option.
61021         * configure: Regenerated.
61022         * config.make.in (enable-check-abi): Remove.
61024 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
61026         [BZ #14033]
61027         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
61028         double functions to double *_finite functions.
61030         [BZ #13941]
61031         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
61032         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
61033         LDBL_MIN_EXP.
61034         * stdio-common/Makefile (tests): Add tst-sprintf3.
61035         * stdio-common/tst-sprintf3.c: New file.
61037         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
61038         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
61040 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61042         * conform/conformtest.pl: Remove duplicate typed-constant
61043         handling.
61045 2012-04-28  David S. Miller  <davem@davemloft.net>
61047         * Makerules (%.abilist): Add vpath on sysdep_dirs.
61048         (check-abi-%): Remove AWK script prerequisite and explicit
61049         abilist directory.
61050         (check-abi): Rewrite to just diff the symlist with the abilist.
61051         (config-tls, config-abi-config): Delete, no longer used.
61052         (update-abi-%): Remove AWK script and explicit abilist directory.
61053         (update-abi): Rewrite to simply compare and conditionally copy the
61054         symlist and the sysdep abilist file.  Remove update-abi-config
61055         checks.
61056         * abilist/ld.abilist: Remove.
61057         * abilist/libBrokenLocale.abilist: Remove.
61058         * abilist/libanl.abilist: Remove.
61059         * abilist/libcrypt.abilist: Remove.
61060         * abilist/libdl.abilist: Remove.
61061         * abilist/librt.abilist: Remove.
61062         * abilist/libthread_db.abilist: Remove.
61063         * abilist/libutil.abilist: Remove.
61064         * scripts/extract-abilist.awk: Remove.
61065         * scripts/merge-abilist.awk: Remove.
61066         * sysdeps/generic/libcidn.abilist: New file.
61067         * sysdeps/generic/libnss_compat.abilist: New file.
61068         * sysdeps/generic/libnss_db.abilist: New file.
61069         * sysdeps/generic/libnss_dns.abilist: New file.
61070         * sysdeps/generic/libnss_files.abilist: New file.
61071         * sysdeps/generic/libnss_hesiod.abilist: New file.
61072         * sysdeps/generic/libnss_nis.abilist: New file.
61073         * sysdeps/generic/libnss_nisplus.abilist: New file.
61074         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
61075         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
61076         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
61077         file.
61078         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
61079         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
61080         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
61081         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
61082         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
61083         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
61084         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
61085         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
61086         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
61087         file.
61088         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
61089         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
61090         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
61091         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
61092         file.
61093         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
61094         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
61095         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
61096         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
61097         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
61098         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
61099         file.
61100         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
61101         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
61102         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
61103         file.
61104         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
61105         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
61106         New file.
61107         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
61108         New file.
61109         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
61110         New file.
61111         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
61112         New file.
61113         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
61114         New file.
61115         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
61116         New file.
61117         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
61118         New file.
61119         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
61120         New file.
61121         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
61122         New file.
61123         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
61124         New file.
61125         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
61126         New file.
61127         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
61128         New file.
61129         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
61130         New file.
61131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
61132         file.
61133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
61134         New file.
61135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
61136         New file.
61137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
61138         file.
61139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
61140         New file.
61141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
61142         New file.
61143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
61144         file.
61145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
61146         New file.
61147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61148         New file.
61149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
61150         New file.
61151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
61152         New file.
61153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
61154         New file.
61155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
61156         New file.
61157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
61158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
61159         file.
61160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
61161         New file.
61162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
61163         file.
61164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
61165         file.
61166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
61167         file.
61168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
61169         file.
61170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
61171         file.
61172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61173         New file.
61174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
61175         file.
61176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
61177         file.
61178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
61179         New file.
61180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
61181         file.
61182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
61183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
61184         file.
61185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
61186         New file.
61187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
61188         file.
61189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
61190         file.
61191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
61192         file.
61193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
61194         file.
61195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
61196         file.
61197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61198         New file.
61199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
61200         file.
61201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
61202         file.
61203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
61204         New file.
61205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
61206         file.
61207         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61208         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
61209         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
61210         file.
61211         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
61212         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
61213         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
61214         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
61215         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
61216         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
61217         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
61218         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
61219         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
61220         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
61221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
61222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
61223         file.
61224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
61225         New file.
61226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
61227         file.
61228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
61229         file.
61230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
61231         file.
61232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
61233         file.
61234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
61235         file.
61236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61237         New file.
61238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
61239         New file.
61240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
61241         file.
61242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
61243         New file.
61244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
61245         file.
61246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
61247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
61248         file.
61249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
61250         New file.
61251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
61252         file.
61253         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
61254         file.
61255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
61256         file.
61257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
61258         file.
61259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
61260         file.
61261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61262         New file.
61263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
61264         New file.
61265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
61266         file.
61267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
61268         New file.
61269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
61270         file.
61272 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61274         * conform/conformtest.pl: Fix typo in handling typed-constant from
61275         allow-header.
61277 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61279         * README: Cut down references to pre-2.6 Linux kernels and
61280         Linuxthreads.  Update lists of configurations in libc and ports
61281         and sort alphabetically.  Say "or newer" with Linux kernel version
61282         requirements.
61284         * config.h.in [IS_IN_build]: Allow compiling without optimization.
61286 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61288         [BZ #887]
61289         * math/libm-test.inc (logb_test_downward): New test to expose
61290         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
61291         rounding mode.
61293 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61295         [BZ #14027]
61296         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
61297         to be done.
61298         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
61299         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
61301 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
61303         * sysdeps/unix/i386/brk.S: Remove file.
61304         * sysdeps/unix/i386/dl-brk.S: Likewise.
61305         * sysdeps/unix/i386/pipe.S: Likewise.
61306         * sysdeps/unix/i386/sigreturn.S: Likewise.
61307         * sysdeps/unix/i386/syscall.S: Likewise.
61308         * sysdeps/unix/i386/vfork.S: Likewise.
61309         * sysdeps/unix/i386/wait.S: Likewise.
61311         * sysdeps/unix/common/tcsendbrk.c: Move to ...
61312         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
61314         * configure.in (arm*-none*): Do not allow without
61315         --enable-hacker-mode.
61316         (netbsd*): Remove case setting base_os.
61317         (386bsd*): Likewise.
61318         (freebsd*): Likewise.
61319         (bsdi*): Likewise.
61320         (osf*): Likewise.
61321         (sunos*): Likewise.
61322         (ultrix*): Likewise.
61323         (newsos*): Likewise.
61324         (dynix*): Likewise.
61325         (*bsd*): Likewise.
61326         (sysv*): Likewise.
61327         (isc*): Likewise.
61328         (esix*): Likewise.
61329         (sco*): Likewise.
61330         (minix*): Likewise.
61331         (irix4*): Likewise.
61332         (irix6*): Likewise.
61333         (solaris[2-9]*): Likewise.
61334         (none): Likewise.
61335         * configure: Regenerated.
61337 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61339         [BZ #11521]
61340         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
61341         overflow or cancellation in calculating denominator.
61342         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
61343         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
61344         down expression to avoid unexpected rounding in newer GCCs.
61345         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
61347 2012-04-26  David S. Miller  <davem@davemloft.net>
61349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
61350         long-double compat symbols.
61351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
61355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
61357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
61358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
61359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
61360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
61361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
61362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
61363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61365 2012-04-25  David S. Miller  <davem@davemloft.net>
61367         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
61368         HWCAP_* values only after the memory barriers have been defined.
61369         (atomic_full_barrier): Define.
61370         (atomic_read_barrier): Define.
61371         (atomic_write_barrier): Define.
61373 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61375         * shlib-versions: Add libgcc_s version information.
61376         * sysdeps/generic/libgcc_s.h: Remove.
61377         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
61378         libgcc_s.h.
61379         * sysdeps/gnu/unwind-resume.c: Likewise.
61380         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
61382 2012-04-25  David S. Miller  <davem@davemloft.net>
61384         * sysdeps/unix/sparc/brk.S: Delete.
61385         * sysdeps/unix/sparc/dl-brk.S: Delete.
61386         * sysdeps/unix/sparc/pipe.S: Delete.
61387         * sysdeps/unix/sparc/sysdep.S: Delete.
61388         * sysdeps/unix/sparc/sysdep.h: Delete.
61389         * sysdeps/unix/sparc/vfork.S: Delete.
61390         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
61391         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
61392         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
61393         (ret_ERRVAL, r0, r1, MOVE): Define.
61394         (JUMPTARGET): Remove.
61395         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
61396         sysdeps/unix/sparc/sysdep.h
61397         (ENTRY, END): Remove.
61398         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61400 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
61402         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
61403         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
61404         -DIS_IN_build.
61406         * timezone/README: Update upstream location and email address for
61407         tzcode and tzdata.
61408         * timezone/zdump.c: Update from tzcode 2012b.
61409         * timezone/zic.c: Likewise.
61411         * configure.in (libc_cv_as_needed): Remove test.
61412         * configure: Regenerated.
61413         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
61414         conditional definition.
61415         [$(have-as-needed) != yes] (no-as-needed): Likewise.
61416         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
61417         * config.make.in (have-as-needed): Remove variable.
61419 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61420             Paul Pluzhnikov  <ppluzhnikov@google.com>
61422         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
61423         strings correctly.
61425 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
61427         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
61428         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
61429         * sysdeps/sh/strlen.S: Likewise.
61431 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61433         * sysdeps/unix/fork.S: Remove file.
61434         * sysdeps/unix/i386/fork.S: Likewise.
61435         * sysdeps/unix/sparc/fork.S: Likewise.
61437         * sysdeps/unix/system.c: Remove file.
61438         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
61440         * sysdeps/unix/getegid.S: Remove file.
61441         * sysdeps/unix/geteuid.S: Likewise.
61443 2012-04-24  Roland McGrath  <roland@hack.frob.com>
61445         * scripts/check-localplt.awk: New file.
61446         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
61447         of diff.
61448         * scripts/data/localplt-generic.data: Add a comment.
61450         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
61451         NODE when __dir_mkfile failed.
61452         * sysdeps/mach/hurd/symlinkat.c: Likewise.
61453         Reported by Ludovic Courtès <ludo@gnu.org>.
61455 2012-04-24  Andreas Jaeger  <aj@suse.de>
61457         * Makerules (common-clean): Also remove gen-as-const-headers
61458         files.
61460 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61462         * Makerules (native-compile): Do not change working directory for
61463         build.  Use $(OUTPUT_OPTION) in command.
61464         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
61466 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61468         [BZ #13886]
61469         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
61470         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
61471         * math/libm-test.inc (floor_test): Add more tests.
61472         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
61474 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61476         * sysdeps/unix/getdents.c: Remove file.
61477         * sysdeps/unix/sysv/getdents.c: Likewise.
61478         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
61480         * sysdeps/unix/syscalls.list (madvise): Add syscall from
61481         sysdeps/unix/mman/syscalls.list.
61482         (mmap): Likewise.
61483         (mprotect): Likewise.
61484         (msync): Likewise.
61485         (munmap): Likewise.
61486         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
61487         * sysdeps/unix/mman/syscalls.list: Remove.
61488         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
61490         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
61491         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
61492         * configure: Regenerated.
61493         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
61494         $(libgcc_s_suffix).
61495         * config.make.in (libgcc_s_suffix): Remove variable.
61497 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
61499         * sysdeps/unix/sysv/gethostname.c: Move to ...
61500         * sysdeps/posix/gethostname.c: ... here.
61502         * sysdeps/unix/execve.S: Remove file.
61504         * sysdeps/unix/_exit.S: Remove file.
61506 2012-04-23  Andreas Jaeger  <aj@suse.de>
61508         [BZ #13739]
61509         * manual/Makefile: Remove make dist support, there's no
61510         need for a stand-alone documentation tar ball.
61511         (TEXI2DVI): Define always, it's not in Makeconfig.
61512         (dist): Removed.
61513         (tar-it): Removed.
61514         (edition): Removed.
61515         (glibc-doc-$(edition).tar): Removed
61516         (%.Z): Removed.
61517         (%.gz): Removed.
61518         (%.uu): Removed.
61519         (ETAGS): Remove, it's in Makeconfig.
61520         (move-if-change): Remove, it's in Makeconfig.
61522 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
61524         [BZ #13970]
61525         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
61526         (strtod, strtof, strtold, strtol, strtoul, strtoq)
61527         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
61528         (strtod_l, strtof_l, strtold_l): Remove __wur.
61529         It is not necessarily an error to ignore strtol's return value.
61530         One can reliably look at the stored endptr to decide whether
61531         the number had valid syntax.
61533 2012-04-21  Andreas Jaeger  <aj@suse.de>
61535         [BZ #13739]
61536         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
61538 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
61540         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
61541         * sysdeps/unix/sysv/Versions: Remove file.
61543 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
61545         [BZ #13927]
61546         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61548 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
61550         [BZ #7064]
61551         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
61552         version from __vm86.
61554 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
61556         * sysdeps/unix/common/lxstat.c: Remove file.
61557         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
61559         * sysdeps/unix/sysv/Makefile: Remove file.
61561         * sysdeps/unix/sysv/direct.h: Remove file.
61563         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
61564         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
61565         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
61566         * sysdeps/unix/sysv/bits/signum.h: Likewise.
61567         * sysdeps/unix/sysv/bits/stat.h: Likewise.
61568         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
61569         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
61571         * sysdeps/unix/sysv/setrlimit.c: Remove file.
61573         * sysdeps/unix/xmknod.c: Remove file.
61574         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
61576         * sysdeps/unix/sysv/settimeofday.c: Remove file.
61578         * sysdeps/unix/sysv/i386/time.S: Remove file.
61580         * sysdeps/unix/fxstat.c: Remove file.
61581         * sysdeps/unix/xstat.c: Likewise.
61582         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
61584         * sysdeps/unix/sysv/sigaction.c: Remove file.
61586         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
61587         (sysdep_headers): Remove variable.
61588         [termio.h not in sysdep_headers] (generated): Likewise.
61589         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
61590         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
61591         * sysdeps/unix/sysv/tcdrain.c: Likewise.
61592         * sysdeps/unix/sysv/tcflow.c: Likewise.
61593         * sysdeps/unix/sysv/tcflush.c: Likewise.
61594         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
61595         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
61596         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
61597         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
61598         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
61600         * sysdeps/unix/siglist.c: Remove file.
61602         * sysdeps/unix/getppid.S: Remove file.
61604         * sysdeps/unix/mkdir.c: Remove file.
61605         * sysdeps/unix/rmdir.c: Likewise.
61607 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
61609         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
61610         ERR_MAX value.
61611         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
61612         errlist-compat value.
61614 2012-04-18  David S. Miller  <davem@davemloft.net>
61616         * sysdeps/generic/memcopy.h (reg_char): Delete.
61617         * debug/strcat_chk.c: Use char, not reg_char.
61618         * debug/strcpy_chk.c: Likewise.
61619         * debug/strncat_chk.c: Likewise.
61620         * debug/strncpy_chk.c: Likewise.
61621         * string/memchr.c: Likewise.
61622         * string/memrchr.c: Likewise.
61623         * string/rawmemchr.c: Likewise.
61624         * string/strcat.c: Likewise.
61625         * string/strchr.c: Likewise.
61626         * string/strchrnul.c: Likewise.
61627         * string/strcmp.c: Likewise.
61628         * string/strcpy.c: Likewise.
61629         * string/strncat.c: Likewise.
61630         * string/strncmp.c: Likewise.
61631         * string/strncpy.c: Likewise.
61633 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61635         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61636         __builtin_memcopy is called when src and dest ranges are known to not
61637         overlap.
61639 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61641         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61642         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61643         fwd_align_merge macro call.
61644         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61645         bwd_align_merge macro call.
61646         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61648 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61650         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61651         bwd_align_merge macros.
61652         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61653         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61654         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61656 2012-04-18  David S. Miller  <davem@davemloft.net>
61658         * sysdeps/sparc/sparc64/memcopy.h: Delete.
61660 2012-04-18  Andreas Jaeger  <aj@suse.de>
61662         [BZ# 6794]
61663         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61664         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61665         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61667         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61668         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61669         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61671         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61672         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61673         Adjust for changed ldbl-128 files.
61675         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61676         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61677         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61679 2012-04-17  David S. Miller  <davem@davemloft.net>
61681         * sysdeps/sparc/sparc32/memcopy.h: Delete.
61683 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
61685         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61686         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61687         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61688         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61689         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61690         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61692 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61694         [BZ #6794]
61695         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61696         * math/libm-test.inc: Add ilogb errno and exception tests.
61697         * math/w_ilogb.c: New file: ilogb wrapper.
61698         * math/w_ilogbf.c: New file: ilogbf wrapper.
61699         * math/w_ilogbl.c: New file: ilogbl wrapper.
61700         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61701         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61702         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61703         exception being thrown with 0.0 as argument.
61704         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61705         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61706         exception being thrown with 0.0 as argument.
61707         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61708         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61709         exception being thrown with 0.0 as argument.
61710         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61711         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61712         exception being thrown with 0.0 as argument.
61713         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61714         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61715         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61716         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61717         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61718         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61719         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61720         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61721         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61723 2012-04-17  Petr Baudis  <pasky@ucw.cz>
61725         * include/sys/uio.h: Change __vector to __iovec to avoid clash
61726         with altivec.
61728 2012-04-16  Marek Polacek  <polacek@redhat.com>
61730         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61732 2012-04-16  Marek Polacek  <polacek@redhat.com>
61734         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61735         operands of fdivp instruction.
61737 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61739         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61740         * elf/tst-auditmod3b.c: Likewise.
61741         * elf/tst-auditmod4b.c: Likewise.
61742         * elf/tst-auditmod5b.c: Likewise.
61743         * elf/tst-auditmod6b.c: Likewise.
61744         * elf/tst-auditmod6c.c: Likewise.
61745         * elf/tst-auditmod7b.c: Likewise.
61746         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61747         * sysdeps/x86_64/preconfigure.in: Likewise.
61748         * sysdeps/x86_64/preconfigure: Regenerated.
61750 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61752         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61753         __ILP32__.
61755 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
61757         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61758         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61760 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
61762         [BZ #13973]
61763         * locale/iso-639.def: Fix gl language name. Spotted by
61764         Yaron Shahrabani.
61766 2012-04-12  Roland McGrath  <roland@hack.frob.com>
61768         [BZ #2074]
61769         * libio/libio.h (__io_write_fn): Update comment.
61771 2012-04-12  Petr Baudis  <pasky@ucw.cz>
61773         [BZ #2074]
61774         * stdio.texi (Hook Functions): The user provided writer function
61775         is not allowed to return -1.
61777 2012-04-11  David S. Miller  <davem@davemloft.net>
61779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61781 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
61783         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
61784         Add a leading slash to rtkaio.
61786 2012-04-11  Jim Meyering  <meyering@redhat.com>
61788         [BZ #11959]
61789         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
61790         It is not necessarily an error to ignore fwrite's return
61791         value.  One can reliably use ferror to test for errors after
61792         the fact.
61794 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61796         * bits/types.h (__snseconds_t): New type.
61797         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
61799         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
61800         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61801         (__SNSECONDS_T_TYPE): Likewise.
61802         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61803         (__SNSECONDS_T_TYPE): Likewise.
61804         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61805         (__SNSECONDS_T_TYPE): Likewise.
61807 2012-04-10  Andreas Jaeger  <aj@suse.de>
61809         [BZ #2636]
61810         * manual/time.texi (Processor Time): Return type of times is
61811         elapsed real time since an arbitrary point in the past.
61812         (CPU Time): Move CLK_TCK from here...
61813         (Processor Time): ...to here.  Correct description.
61814         * manual/conf.texi (Constants for Sysconf): Correct description of
61815         _SC_CLK_TCK.
61817 2012-04-10  David S. Miller  <davem@davemloft.net>
61819         [BZ #13967]
61820         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
61821         where the is a gap between DT_REL(A) and DT_JMPREL.
61823 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61825         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61826         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61827         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61829 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61831         * elf/dl-support.c (_dl_inhibit_cache): New variable.
61832         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
61833         (dl_main): Handle --inhibit-cache.
61834         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
61835         _dl_inhibit_cache.
61836         * elf/dl-load.c (_dl_map_object): Use it.
61837         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
61839 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61841         [BZ #13872]
61842         * sysdeps/i386/fpu/e_powl.S (p78): New object.
61843         (__ieee754_powl): Saturate large exponents rather than testing for
61844         overflow of y*log2(x).
61845         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61846         * math/libm-test.inc (pow_test): Do not permit spurious overflow
61847         exceptions.
61849         [BZ #11521]
61850         * math/s_ctan.c: Include <float.h>.
61851         (__ctan): Avoid internal overflow or cancellation in calculating
61852         denominator.
61853         * math/s_ctanf.c: Likewise.
61854         * math/s_ctanl.c: Likewise.
61855         * math/s_ctanh.c: Likewise.
61856         * math/s_ctanhf.c: Likewise.
61857         * math/s_ctanhl.c: Likewise.
61858         * math/libm-test.inc (ctan_test): Add more tests.
61859         (ctanh_test): Likewise.
61860         * sysdeps/i386/fpu/libm-test-ulps: Update.
61861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61863 2012-04-09  Andreas Jaeger  <aj@suse.de>
61865         [BZ #6894]
61866         * manual/filesys.texi (Directory Entries): Mention that d_namlen
61867         is an optional BSD extension.
61869         [BZ #10254]
61870         * manual/stdio.texi (Opening Streams): Document additional fopen
61871         parameters.
61873 2012-04-09  Roland McGrath  <roland@hack.frob.com>
61875         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
61876         %eax without telling the compiler.
61878 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
61880         [BZ # 13963]
61881         * manual/install.texi: Use sourceware.org.
61883 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61885         [BZ #13873]
61886         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
61887         (__ieee754_pow): Generate overflow and underflow using huge*huge
61888         and tiny*tiny rather than just returning constant infinity or zero
61889         for large exponents.
61890         * math/libm-test.inc (pow_test): Require overflow exceptions for
61891         applicable cases of large exponents.
61893         [BZ #706]
61894         * sysdeps/i386/fpu/e_pow.S (p10): New object.
61895         (__ieee754_pow): Use iterative multiplication algorithm only for
61896         integer exponents with absolute value below 1024.  Check for odd
61897         integer exponents when using algorithm for real exponents.
61898         * math/libm-test.inc (pow_test): Add more tests.
61899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61901 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
61903         [BZ #13705]
61904         * math/libm-test.inc (exp_test): Do not allow overflow exception
61905         on underflow test.
61907 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
61909         [BZ #13705]
61910         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
61911         instead of __kernel_standard_f.
61913 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
61915         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
61916         * sysdeps/x86_64/memset_chk.S: Likewise.
61918 2012-04-08  Andreas Jaeger  <aj@suse.de>
61920         [BZ #10153]
61921         * manual/startup.texi (Environment Access): Describe return value
61922         for putenv and setenv.
61924         [BZ #6895]
61925         * manual/filesys.texi (Directory Entries): Add description for
61926         DT_LNK.
61928         [BZ #6890]
61929         * manual/filesys.texi (Directory Entries): Clarify that it's file
61930         system not operating system in the description of DT_UNKNOWN.
61932         [BZ #6578]
61933         * manual/syslog.texi (closelog): Fix reference, it's openlog.
61935 2012-04-08  Stephen Compall  <s11@member.fsf.org>
61937         [BZ #6649]
61938         * manual/llio.texi (Opening and Closing Files): Add cross
61939         reference to explain mode argument.
61941 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
61943         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
61944         * sysdeps/x86_64/memset_chk.S: Likewise.
61946 2012-04-07  David S. Miller  <davem@davemloft.net>
61948         * elf/elf.h (R_SPARC_WDISP10): Define.
61949         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
61950         R_SPARC_SIZE32.
61951         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
61952         R_SPARC_SIZE64 and R_SPARC_H34.
61954 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
61956         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
61957         conditions and remove no longer applicable assertion.
61959 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61961         * bits/byteswap.h: Include <features.h>.
61962         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61963         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61965 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61967         * bits/byteswap.h (__bswap_16): Removed.
61968         Include <bits/byteswap-16.h> to get __bswap_16.
61969         * sysdeps/i386/bits/byteswap.h: Likewise.
61970         * sysdeps/s390/bits/byteswap.h: Likewise.
61971         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61972         * bits/byteswap-16.h: New file.
61973         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61974         * sysdeps/s390/bits/byteswap-16.h: Likewise.
61975         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
61976         * string/Makefile (headers): Add bits/byteswap-16.h.
61978 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61980         [BZ #13895]
61981         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
61982         extra indirection.
61983         * nss/Makefile (tests-static, tests): Add tst-nss-static.
61984         * nss/tst-nss-static.c: New.
61986 2012-04-06  Robert Millan  <rmh@gnu.org>
61988         [BZ #6486]
61989         * manual/llio.texi (File Position Primitive): lseek
61990         refers to WHENCE when it really means OFFSET.
61992 2012-04-06  Andreas Jaeger  <aj@suse.de>
61994         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
61995         strncmp declarations.
61997         * abilist/libc.abilist: Add __poll and __ppoll.
61999 2012-04-05  David S. Miller  <davem@davemloft.net>
62001         * scripts/check-local-headers.sh: Accept a host triplet in the
62002         path matched by the exclude regexp.
62004         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
62005         definition.
62006         * sysdeps/powerpc/powerpc32/dl-machine.h
62007         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
62008         * sysdeps/s390/s390-32/dl-machine.h
62009         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62010         * sysdeps/sparc/sparc32/dl-machine.h
62011         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62012         * sysdeps/sparc/sparc64/dl-machine.h
62013         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62015         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
62016         lazy binding.
62017         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
62018         undefined symbol errors.
62020         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
62021         DT_NEEDED entries.
62023 2012-04-05  Michael Matz  <matz@suse.de>
62025         [BZ #13592]
62026         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
62028 2012-04-05  Andreas Jaeger  <aj@suse.de>
62030         [BZ #13908]
62031         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
62032         comment.
62034 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62036         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
62037         which ROUND is no valid rounding mode.
62039 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62041         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
62042         read again.
62043         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
62045 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62047         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
62048         an exception using FPU order intentionally.
62050 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62052         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
62053         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
62054         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
62055         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
62057 2012-04-05  Simon Josefsson  <simon@josefsson.org>
62059         [BZ #12340]
62060         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
62061         EINVAL when BUFLEN is too smal.
62063 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62065         [BZ #13553]
62066         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
62067         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
62069 2012-04-03  Andreas Jaeger  <aj@suse.de>
62071         [BZ #13938]
62072         * manual/setjmp.texi (System V contexts): Fix sentence.
62074         [BZ #13926]
62075         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
62076         New macro for this case.
62077         [!__GNUC__] (__bswap_64): New inline function for this case.
62078         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62079         * bits/byteswap.h: Likewise.
62080         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
62081         ull, guard with __GLIBC_HAVE_LONG_LONG.
62083         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
62084         __GLIBC_HAVE_LONG_LONG.
62086         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
62087         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
62089 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62091         [BZ #13691]
62092         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
62093         inptr and inend, rather than using last_ch.
62095 2012-04-02  David S. Miller  <davem@davemloft.net>
62097         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
62098         * stdio-common/printf-parse.h (read_int): Change return type to
62099         'int', return -1 on INT_MAX overflow.
62100         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
62101         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
62102         overflows INT_MAX.  Check for overflow of in-format-string precision
62103         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
62104         SIZE_MAX not INT_MAX for integer overflow test.
62105         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
62106         skip the construct in the format string but do not record anything.
62107         * stdio-common/bug22.c: Adjust to test both width/prevision
62108         INT_MAX overflow as well as total length INT_MAX overflow.  Check
62109         explicitly for proper errno values.
62111 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62113         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
62114         CHAR_MAX.
62115         * string/test-strcmp.c [! WIDE]: Likewise.
62116         * time/tst-mktime2.c: Likewise for INT_MAX.
62117         * string/test-string.h: #include <sys/param.h> for MIN.
62119         * csu/init-first.c (__libc_init_first): Call __ctype_init.
62120         * sysdeps/i386/init-first.c (init): Likewise.
62121         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
62122         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
62123         * sysdeps/sh/init-first.c (init): Likewise.
62125 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
62127         * po/ru.po: Update from translation team.
62128         * po/vi.po: Likewise.
62130 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62132         * resolv/nss_dns/dns-host.c: Merge copyright years.
62134 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62136         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62137         Optimize memcpy with prefetch if
62138         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
62139         src, dst pointers have unequal 16 byte alignments.
62141 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62143         [BZ #13928]
62144         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
62145         from a CNAME entry and return the minimum ttl for the query.
62146         (gaih_getanswer_slice): Likewise.
62148 2012-03-30  Jeff Law  <law@redhat.com>
62150         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
62151         due to long keys.
62152         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
62153         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
62155         * resolv/nss_dns/dns-host.c: Update copyright year.
62157 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
62159         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
62160         requests to save a system call.  Fix check that all bytes are sent.
62162         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
62163         comments for sendmmsg.
62165 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62167         [BZ #13691]
62168         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
62169         with only 1 character between 0x0041 and 0x01b0.
62170         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
62171         * wcsmbs/tst-mbsnrtowcs.c: New file.
62173 2012-03-29  David S. Miller  <davem@davemloft.net>
62175         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
62176         small copies by hand.
62178 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62180         [BZ #13761]
62181         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
62182         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
62183         group memberships.
62185 2012-03-28  David S. Miller  <davem@davemloft.net>
62187         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
62188         that branches into memcpy.
62189         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62190         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
62191         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62192         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
62193         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
62194         bits.
62195         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
62196         implementation too.
62197         * sysdeps/sparc/mempcpy.S: New file.
62199         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
62200         the IFUNC routine in the libc case.
62201         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62203         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
62204         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
62205         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
62206         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
62207         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
62208         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
62209         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
62210         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
62212         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
62213         loop to 256 bytes instead of 64 bytes and fix test signedness.
62215         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
62216         * sysdeps/sparc/sparc32/Makefile: rather than here...
62217         * sysdeps/sparc/sparc64/Makefile: and here.
62219 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
62221         * malloc/mallocbug.c: Avoid warnings about unused variables.
62223 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62225         [BZ #13760]
62226         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
62227         in the right place. Discard and retry query if response is
62228         larger than input buffer size.
62230 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
62232         [BZ #369]
62233         [BZ #2678]
62234         [BZ #3866]
62235         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
62236         x for large integer exponent.
62237         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
62238         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
62239         sign of result as needed afterwards.
62240         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
62241         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
62242         result for underflowing pow the same as for overflow.
62243         (__kernel_standard_l): Handle powl overflow and underflow here
62244         rather than calling __kernel_standard.
62245         * math/libm-test.inc (pow_test): Add more tests.
62247         [BZ #3868]
62248         [BZ #13879]
62249         [BZ #13910]
62250         [BZ #13911]
62251         [BZ #13912]
62252         [BZ #13913]
62253         [BZ #13915]
62254         [BZ #13916]
62255         [BZ #13917]
62256         [BZ #13918]
62257         [BZ #13919]
62258         [BZ #13920]
62259         [BZ #13921]
62260         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
62261         * sysdeps/ieee754/k_standard.c: Include <float.h>.
62262         (__kernel_standard_l): New function.
62263         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
62264         __kernel_standard.
62265         * math/w_acosl.c (__acosl): Likewise.
62266         * math/w_asinl.c (__asinl): Likewise.
62267         * math/w_atan2l.c (__atan2l): Likewise.
62268         * math/w_atanhl.c (__atanhl): Likewise.
62269         * math/w_coshl.c (__coshl): Likewise.
62270         * math/w_exp10l.c (__exp10l): Likewise.
62271         * math/w_exp2l.c (__exp2l): Likewise.
62272         * math/w_fmodl.c (__fmodl): Likewise.
62273         * math/w_hypotl.c (__hypotl): Likewise.
62274         * math/w_j0l.c (__j0l, __y0l): Likewise.
62275         * math/w_j1l.c (__j1l, __y1l): Likewise.
62276         * math/w_jnl.c (__jnl, __ynl): Likewise.
62277         * math/w_lgammal.c (__lgammal): Likewise.
62278         * math/w_log10l.c (__log10l): Likewise.
62279         * math/w_log2l.c (__log2l): Likewise.
62280         * math/w_logl.c (__logl): Likewise.
62281         * math/w_powl.c (__powl): Likewise.
62282         * math/w_remainderl.c (__remainderl): Likewise.
62283         * math/w_scalbl.c (sysv_scalbl): Likewise.
62284         * math/w_sinhl.c (__sinhl): Likewise.
62285         * math/w_sqrtl.c (__sqrtl): Likewise.
62286         * math/w_tgammal.c (__tgammal): Likewise.
62287         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
62288         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
62289         * math/libm-test.inc (acos_test): Add more tests.
62290         (acosh_test): Likewise.
62291         (asin_test): Likewise.
62292         (atanh_test): Likewise.
62293         (exp_test): Likewise.
62294         (exp10_test): Likewise.
62295         (exp2_test): Likewise.
62296         (expm1_test): Likewise.
62297         (lgamma_test): Likewise.
62298         (log_test): Likewise.
62299         (log10_test): Likewise.
62300         (log1p_test): Likewise.
62301         (log2_test): Likewise.
62302         (pow_test): Do not allow some spurious overflow exceptions.
62303         (sqrt_test): Add more tests.
62304         (tgamma_test): Likewise.
62305         (y0_test): Likewise.
62306         (y1_test): Likewise.
62307         (yn_test): Likewise.
62309 2012-03-27  Anton Blanchard  <anton@samba.org>
62311         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
62312         MAP_HUGETLB.
62313         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62314         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62315         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62317 2012-03-27  David S. Miller  <davem@davemloft.net>
62319         * conform/Makefile: Run run-conformtest.sh using $(BASH).
62321         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
62322         have-as-vis3 check.
62324 2012-03-27  Andreas Jaeger  <aj@suse.de>
62326         * sysdeps/x86_64/elf/configure.in: Moved to ...
62327         * sysdeps/x86_64/configure.in: ... here.
62328         * sysdeps/x86_64/elf/start.S: Moved to ...
62329         * sysdeps/x86_64/start.S: ... here.
62330         * sysdeps/x86_64/elf/configure: Delete.
62332         * sysdeps/x86_64/configure.in: Merge contents from
62333         sysdeps/i386/configure.in (without i686 check).
62335         * sysdeps/i386/elf/Versions: Merge into ...
62336         * sysdeps/i386/Versions: ... this.
62337         * sysdeps/i386/elf/Versions: Delete file.
62338         * sysdeps/i386/elf/start.S: Moved to ...
62339         * sysdeps/i386/start.S: ...here.
62340         * sysdeps/i386/elf/configure.in: Merge into...
62341         * sysdeps/i386/configure.in: ...here.
62342         * sysdeps/i386/elf/configure.in: Delete file.
62343         * sysdeps/i386/elf/configure: Delete file.
62345         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
62346         * debug/backtracesyms.c: ... here.
62347         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
62348         * debug/backtracesymsfd.c: ... here.
62349         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
62350         * sysdeps/generic/ifunc-sel.h: ... here.
62352         * sysdeps/unix/i386/start.c: Delete file.
62353         * sysdeps/unix/sparc/start.c: Delete file.
62354         * sysdeps/unix/start.c: Delete file.
62356         * sysdeps/sh/elf/configure.in: Moved to ...
62357         * sysdeps/sh/configure.in: ... here.
62358         * sysdeps/sh/elf/start.S: Moved to ...
62359         * sysdeps/sh/start.S: ... here.
62360         * sysdeps/sh/elf/configure: Delete file.
62362         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
62363         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
62364         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
62365         * sysdeps/powerpc/powerpc64/entry.h: ... here.
62366         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
62367         * sysdeps/powerpc/powerpc64/start.S: here.
62368         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
62369         * sysdeps/powerpc/powerpc64/Makefile: ... this.
62370         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
62371         * sysdeps/powerpc/powerpc64/configure.in: ... this.
62372         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
62374         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
62375         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
62376         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
62377         * sysdeps/powerpc/powerpc32/start.S: ... here.
62378         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
62379         * sysdeps/powerpc/powerpc32/configure.in: ... this.
62380         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
62382         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
62383         * sysdeps/powerpc/ifunc-sel.h: ... here.
62384         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
62385         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
62387         * sysdeps/sparc/elf/configure.in: Moved to ...
62388         * sysdeps/sparc/configure.in: ... here.
62389         * sysdeps/sparc/elf/configure: Delete file.
62390         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
62391         * sysdeps/sparc/sparc32/start.S: ... here.
62392         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
62393         * sysdeps/sparc/sparc64/start.S: ... here.
62394         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
62395         * sysdeps/sparc/sparc32/Makefile: ... this.
62396         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
62397         * sysdeps/sparc/sparc64/Makefile: ... this.
62399         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
62400         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
62401         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
62402         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
62403         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
62404         * sysdeps/s390/s390-32/setjmp.S: ... here.
62405         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
62406         * sysdeps/s390/s390-32/configure.in: ... here.
62407         * sysdeps/s390/s390-32/elf/configure: Delete file.
62408         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
62409         * sysdeps/s390/s390-32/start.S: ... here.
62411         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
62412         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
62413         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
62414         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
62415         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
62416         * sysdeps/s390/s390-64/setjmp.S: ... here.
62417         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
62418         * sysdeps/s390/s390-64/configure.in: ... here
62419         * sysdeps/s390/s390-64/elf/configure: Delete file.
62420         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
62421         * sysdeps/s390/s390-64/start.S: ... here.
62422         * sysdeps/s390/s390-64/elf/configure: Delete.
62424         * configure.in: Remove support for elf directories in sysdeps.
62426         * configure: Regenerated.
62427         * sysdeps/i386/configure: Regenerated.
62428         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62429         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62430         * sysdeps/s390/s390-32/configure: Regenerated.
62431         * sysdeps/s390/s390-64/configure: Regenerated.
62432         * sysdeps/sh/configure: Regenerated.
62433         * sysdeps/sparc/configure: Regenerated.
62434         * sysdeps/x86_64/configure: Regenerated.
62436 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
62438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62440         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
62441         denormal result into account.
62443 2012-03-25  Roland McGrath  <roland@hack.frob.com>
62445         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
62446         Reported by Allan McRae <allan@archlinux.org>.
62448 2012-03-23  Jeff Law  <law@redhat.com>
62450         * nss/getnssent.c (__nss_getent): Fix typo.
62452 2012-03-23  David S. Miller  <davem@davemloft.net>
62454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62456 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
62458         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
62459         to pad to uint64_t for each field.
62460         (dl_tls_index): Replace unsigned long with uint64_t.
62462 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
62463         Paul Pluzhnikov  <ppluzhnikov@google.com>
62465         [BZ #6528]
62466         * grp/Makefile (otherlibs): Don't set it.
62467         * inet/Makefile (otherlibs): Likewise.
62468         * login/Makefile (otherlibs): Likewise.
62469         * nscd/Makefile (otherlibs): Likewise.
62470         * posix/Makefile (otherlibs): Likewise.
62471         * pwd/Makefile (otherlibs): Likewise.
62472         * rt/Makefile (otherlibs): Likewise.
62473         * sunrpc/Makefile (otherlibs): Likewise.
62474         * nss/Makefile (otherlibs): Likewise.
62475         Add libnss_files to routines and static-only-routines.
62476         ($(objpfx)getent): Remove rule.
62477         * resolv/Makefile: Add libnss_dns and libresolv to routines and
62478         static-only-routines.
62480 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62482         [BZ #13892]
62483         * math/s_cexp.c: Include <float.h>.
62484         (__cexp): Handle exp result overflowing not necessarily
62485         overflowing both real and imaginary parts of result.
62486         * math/s_cexpf.c: Likewise.
62487         * math/s_cexpl.c: Likewise.
62488         * math/libm-test.inc (cexp_test): Add more tests.
62489         * sysdeps/i386/fpu/libm-test-ulps: Update.
62490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62492 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62494         * include/link.h (ELFW): New macro.
62495         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
62496         Replace ELF64_R_TYPE with ELFW(R_TYPE).
62498 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62500         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
62501         with uint64_t.
62503 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62505         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
62506         declaration.
62507         (struct La_x32_retval): Likewise.
62509 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62511         * sysdeps/x86_64/preconfigure.in: New file.
62512         * sysdeps/x86_64/preconfigure: New generated file.
62514 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62516         [BZ #13824]
62517         * math/e_exp2l.c: Include <float.h>.
62518         (__ieee754_exp2l): Handle overflow and underflow cases
62519         separately.  Only pass fractional part of argument to
62520         __ieee754_expl.
62521         * math/libm-test.inc (exp2_test): Add more tests.
62523         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
62524         negating x to take absolute value.
62525         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
62526         Likewise.
62527         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62528         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
62529         Likewise.
62530         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
62531         computing low part if x was negated.
62532         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62534 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62536         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
62537         la_x32_gnu_pltexit.
62538         (pltexit): Cast int_retval to ptrdiff_t.
62539         * elf/tst-auditmod3b.c: Likewise.
62540         * elf/tst-auditmod4b.c: Likewise.
62541         * elf/tst-auditmod5b.c: Likewise.
62542         * elf/tst-auditmod6b.c: Likewise.
62543         * elf/tst-auditmod6c.c: Likewise.
62544         * elf/tst-auditmod7b.c: Likewise.
62546         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
62547         and x32_gnu_pltexit.
62549         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
62550         __ELF_NATIVE_CLASS.
62551         (La_x32_regs): New macro.
62552         (La_x32_retval): Likewise.
62553         (la_x32_gnu_pltenter): New function prototype.
62554         (la_x32_gnu_pltexit): Likewise.
62556 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
62558         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
62559         exponent.
62561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62563         * configure.in (libc_cv_cc_nofma): Check for option to disable
62564         generation of FMA instructions.
62565         * configure: Regenerate.
62566         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
62567         * sysdeps/ieee754/dbl-64/Makefile: New file.
62568         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
62569         Remove brandred-fma4.
62570         (CFLAGS-brandred-fma4.c): Remove.
62571         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
62572         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
62573         define.
62574         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
62575         define.
62577 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62579         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62580         LLONG_MAX != LONG_MAX.
62581         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62582         (_fitoa_word): Likewise.
62583         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
62584         LLONG_MAX != LONG_MAX.
62585         * stdio-common/_itowa.h: Include <_itoa.h>.
62586         (_itowa_word): Use _ITOA_WORD_TYPE on value.
62587         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
62588         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
62589         only if not defined.
62590         (_ITOA_WORD_TYPE): Likewise.
62591         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62592         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
62594 2012-03-21  David S. Miller  <davem@davemloft.net>
62596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62598 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62600         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
62601         of x86_64 when setting libc_cv_slibdir, libdir and
62602         libc_cv_localedir.
62603         * sysdeps/unix/sysv/linux/configure: Regenerated.
62605 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62607         * manual/lang.texi (Old Varargs): Remove section.
62608         (How Variadic): Update menu.
62609         (va_start): Do not mention varargs.h.
62611 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62612             Joseph Myers  <joseph@codesourcery.com>
62614         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
62615         link test.
62616         * configure: Regenerated.
62618 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62620         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62621         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62622         conformtest.pl
62624 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62626         * NOTES: Remove.
62627         * Makefile (files-for-dist): Remove NOTES.
62628         (NOTES): Remove rule.
62629         * README: Don't refer to NOTES.
62630         * manual/creature.texi: Don't include macros.texi.
62631         * manual/intro.texi (creature.texi): Remove comment referring to
62632         NOTES.
62634         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62635         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62636         * configure: Regenerated.
62637         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62638         LIBC_TRY_CC_OPTION.
62639         (libc_cv_as_i686): Likewise.
62640         (libc_cv_cc_avx): Likewise.
62641         (libc_cv_cc_sse2avx): Likewise.
62642         (libc_cv_cc_fma4): Likewise.
62643         (libc_cv_cc_novzeroupper): Likewise.
62644         * sysdeps/i386/configure: Regenerated.
62646         [BZ #13883]
62647         * sysdeps/i386/fpu/s_cexp.S: Remove.
62648         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62649         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62650         * math/libm-test.inc (cexp_test): Add more tests.
62651         * sysdeps/i386/fpu/libm-test-ulps: Update.
62652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62654 2012-03-21  Allan McRae  <allan@archlinux.org>
62656         * timezone/Makefile: Do not install iso3166.tab and zone.tab
62658 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62660         [BZ #13871]
62661         * math/w_exp2.c: Do not include <float.h>.
62662         (o_threshold, u_threshold): Remove.
62663         (__exp2): Calculate result before checking finiteness and calling
62664         __kernel_standard.
62665         * math/w_exp2f.c: Likewise.
62666         * math/w_exp2l.c: Likewise.
62667         * math/libm-test.inc (exp2_test): Require overflow exception for
62668         1e6 input.
62670         [BZ #3866]
62671         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62672         range of signed 64-bit integers before using fistpll.  Remove
62673         checks for whether integers fit in mantissa bits.
62674         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62675         the range of signed 32-bit integers before using fistpl.  Remove
62676         checks for whether integers fit in mantissa bits.
62677         * sysdeps/i386/fpu/e_powl.S (p64): New object.
62678         (__ieee754_powl): Test for y outside the range of signed 64-bit
62679         integers before using fistpll.  Reduce 64-bit values to 63-bit
62680         ones as needed.
62681         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62682         divide-by-zero is raised for zero to large negative powers.
62683         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62684         (__ieee754_powl): Test for y outside the range of signed 64-bit
62685         integers before using fistpll.  Reduce 64-bit values to 63-bit
62686         ones as needed.
62687         * math/libm-test.inc (pow_test): Add more tests.
62689 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62691         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62692         <stdio-common/_itoa.h>.
62693         * debug/segfault.c: Likewise.
62694         * elf/dl-cache.c: Likewise.
62695         * elf/dl-minimal.c: Likewise.
62696         * elf/dl-misc.c: Likewise.
62697         * elf/dl-sysdep.c: Likewise.
62698         * elf/dl-version.c: Likewise.
62699         * elf/rtld.c: Likewise.
62700         * hurd/hurdsock.c: Likewise.
62701         * hurd/lookup-retry.c: Likewise.
62702         * malloc/malloc.c: Likewise.
62703         * malloc/mtrace.c: Likewise.
62704         * nscd/nscd_getgr_r.c: Likewise.
62705         * nscd/nscd_getpw_r.c: Likewise.
62706         * nscd/nscd_getserv_r.c: Likewise.
62707         * posix/getopt_init.c: Likewise.
62708         * posix/wordexp.c: Likewise.
62709         * stdio-common/_itoa.c: Likewise.
62710         * stdio-common/printf_fphex.c: Likewise.
62711         * stdio-common/vfprintf.c: Likewise.
62712         * string/_strerror.c: Likewise.
62713         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62714         * sysdeps/i386/i686/hp-timing.h: Likewise.
62715         * sysdeps/mach/_strerror.c: Likewise.
62716         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62717         * sysdeps/mach/hurd/sethostid.c: Likewise.
62718         * sysdeps/mach/hurd/xmknodat.c: Likewise.
62719         * sysdeps/mach/xpg-strerror.c: Likewise.
62720         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62721         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62722         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62723         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62724         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62725         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62726         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62727         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62728         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62729         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62730         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62731         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62732         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62733         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62734         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62735         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62736         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62737         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62738         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62739         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62740         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62742         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62744         * stdio-common/_itoa.h: Moved to ...
62745         * sysdeps/generic/_itoa.h: Here.
62747         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62749         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62750         instead of "_itoa.h" and "_itowa.h".
62751         * stdio-common/vfprintf.: Likewise.
62753 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62755         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62756         <bits/wordsize.h>.
62757         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62758         (__signbit): Likwise.
62759         (llrintf): Likwise.
62760         (llrint): Likwise.
62762 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62764         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62765         __WORDSIZE != 64.
62767 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
62769         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62770         OVERFLOW_EXCEPTION_OK.
62771         * math/libm-test.inc ("Philosophy"): Update comment about
62772         exception testing.
62773         (OVERFLOW_EXCEPTION): Define.
62774         (OVERFLOW_EXCEPTION_OK): Likewise.
62775         (INVALID_EXCEPTION_OK): Renumber.
62776         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62777         (IGNORE_ZERO_INF_SIGN): Likewise.
62778         (test_exceptions): Handle FE_OVERFLOW.
62779         (exp10_test): Expect overflow exceptions.
62780         (exp2_test): Likewise.
62781         (expm1_test): Likewise.
62782         (nextafter_test): Likewise.
62783         (pow_test): Likewise.
62784         (scalbn_test): Likewise.
62785         (scalbln_test): Likewise.
62787 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62789         * sysdeps/x86_64/bits/atomic.h
62790         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
62791         64bit integer.
62792         (atomic_exchange_acq): Likewise.
62793         (__arch_exchange_and_add_body): Likewise.
62794         (__arch_add_body): Likewise.
62795         (atomic_add_negative): Likewise.
62796         (atomic_add_zero): Likewise.
62798 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62800         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
62801         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
62803 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62805         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
62806         Check __x86_64__ instead of __WORDSIZE.
62808 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62810         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
62812 2012-03-19  David S. Miller  <davem@davemloft.net>
62814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62816         * sysdeps/sparc/fpu/fenv_private.h: New file.
62817         * sysdeps/sparc/fpu/math_private.h: Use it.
62818         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
62819         Remove.
62820         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
62821         (libc_feholdexcept_setroundl): Remove.
62822         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
62823         Remove.
62824         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
62825         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
62827 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62829         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
62830         int64_t instead of long int.
62831         (INSERT_WORDS64): Likwise.
62833 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62835         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
62836         _Unwind_GetCFA return to _Unwind_Ptr first.
62838 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
62840         [BZ #13629]
62841         * math/s_clog.c: Include <float.h>.
62842         (__clog): Scale large or subnormal inputs.
62843         * math/s_clogf.c: Likewise.
62844         * math/s_clogl.c: Likewise.
62845         * math/s_clog10.c: Include <float.h>.
62846         (M_LOG10_2): Define.
62847         (__clog10): Scale large or subnormal inputs.
62848         * math/s_clog10f.c: Likewise.
62849         * math/s_clog10l.c: Likewise.
62850         * math/libm-test.inc (clog_test): Add more tests.
62851         (clog10_test): Likewise.
62852         * sysdeps/i386/fpu/libm-test-ulps: Update.
62853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62855         [BZ #11451]
62856         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
62857         x and y.
62858         * math/libm-test.inc (atan2_test): Add another test.
62860         * Makerules (common-objdir-compile): Remove.
62861         * sysdeps/unix/Makefile (config-generated): Do not add
62862         $(unix-generated) to variable.
62863         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
62864         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
62865         Remove rule.
62866         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
62867         Likewise.
62868         [generic bits/local_lim.h] (before-compile): Do not append to
62869         variable.
62870         [generic bits/local_lim.h] (common-generated): Likewise.
62871         [generic sys/param.h] (before-compile): Do not append to variable.
62872         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
62873         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
62874         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
62875         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
62876         include.
62877         [generic sys/param.h] (sys/param.h-includes): Remove variable.
62878         [generic sys/param.h] (sys/param.h-includes): Remove rule.
62879         [generic sys/param.h] ($(addprefix
62880         $(common-objpfx),$(sys/param.h-includes))): Likewise.
62881         [generic sys/param.h] (common-generated): Do not append to
62882         variable.
62883         [generic sys/param.h] (sysdep_headers): Likewise.
62884         [generic bits/errno.h] (before-compile): Do not append to
62885         variable.
62886         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
62887         rule.
62888         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
62889         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
62890         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
62891         [generic bits/errno.h] (common-generated): Do not append to
62892         variable.
62893         [generic bits/ioctls.h] (before-compile): Do not append to
62894         variable.
62895         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
62896         rule.
62897         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
62898         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
62899         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
62900         rule.
62901         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
62902         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
62903         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
62904         [generic bits/ioctls.h] (common-generated): Do not append to
62905         variable.
62906         [generic sys/syscall.h] (syscall.h): Remove variable.
62907         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
62908         rule.
62909         [generic sys/syscall.h] (before-compile): Do not append to
62910         variable.
62911         [generic sys/syscall.h] (common-generated): Likewise.
62912         * sysdeps/unix/errnos-tmpl.c: Remove file.
62913         * sysdeps/unix/errnos.awk: Likewise.
62914         * sysdeps/unix/ioctls-tmpl.c: Likewise.
62915         * sysdeps/unix/ioctls.awk: Likewise.
62916         * sysdeps/unix/mk-local_lim.c: Likewise.
62917         * sysdeps/unix/snarf-ioctls: Likewise.
62919 2012-03-19  Richard Henderson  <rth@twiddle.net>
62921         * sysdeps/i386/fpu/fenv_private.h: New file.
62922         * sysdeps/i386/fpu/math_private.h: Use it.
62923         (math_opt_barrier, math_force_eval): Remove.
62924         (libc_feholdexcept_setround_53bit): Remove.
62925         (libc_feupdateenv_53bit): Remove.
62926         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62927         (math_opt_barrier, math_force_eval): Remove.
62928         (libc_feholdexcept): Remove.
62929         (libc_feholdexcept_setround): Remove.
62930         (libc_fetestexcept, libc_fesetenv): Remove.
62931         (libc_feupdateenv_test): Remove.
62932         (libc_feupdateenv, libc_feholdsetround): Remove.
62933         (libc_feresetround): Remove.
62935         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
62936         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
62938         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
62939         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
62940         (libc_feupdateenv_testl): New.
62941         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
62942         (libc_feupdateenv_testf): New.
62943         (libc_feupdateenv): Use libc_feupdateenv_test.
62944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
62945         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
62947         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
62948         (libc_feholdsetroundf, libc_feholdsetroundl): New.
62949         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
62950         (libc_feresetround_noex): New.
62951         (libc_feresetround_noexf): New.
62952         (libc_feresetround_noexl): New.
62953         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
62954         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
62955         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
62956         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
62957         SET_RESTORE_ROUND.
62958         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62959         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
62960         (__cos): Likewise.
62961         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
62962         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
62963         SET_RESTORE_ROUND_NOEX.
62964         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
62965         SET_RESTORE_ROUND_NOEXF.
62966         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
62967         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
62968         (libc_feholdsetroundf): New.
62969         (libc_feresetround, libc_feresetroundf): New.
62971         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
62972         (libc_feholdexcept_setround_53bit): Convert from macro to function.
62973         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
62975         * sysdeps/generic/math_private.h: Include <fenv.h>.
62976         (default_libc_feholdexcept): New.
62977         (default_libc_feholdexcept_setround): New.
62978         (default_libc_fesetenv, default_libc_feupdateenv): New.
62979         (libc_feholdexcept): Only define if undefined.
62980         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
62981         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
62982         (libc_feholdexcept_setroundl): Likewise.
62983         (libc_feholdexcept_setround_53bit): Likewise.
62984         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
62985         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
62986         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
62987         (libc_feupdateenv_53bit): Likewise.
62988         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
62989         (libc_feholdexcept): Convert from macro to inline function.
62990         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
62991         (libc_fesetenv, libc_feupdateenv): Likewise.
62993         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
62994         not previously defined.
62995         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
62996         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
62997         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
62998         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
62999         * sysdeps/ieee754/flt-32/math_private.h: New file.
63000         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
63001         math_private.h below SET_FLOAT_WORD.
63002         (__isnan, __isinf_ns, __finite): Remove.
63003         (__isnanf, __isinf_nsf, __finitef): Remove.
63005 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
63007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63009 2012-03-17  David S. Miller  <davem@davemloft.net>
63011         [BZ #6471]
63012         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
63013         for 2.16.
63015 2012-03-16  David S. Miller  <davem@davemloft.net>
63017         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
63018         warnings.
63020         [BZ #6471]
63021         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
63022         properly.
63023         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
63024         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
63025         sysdep_routines when subdir is sysvipc.
63026         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
63027         __getshmlba helper.
63029         * sysdeps/sparc/fpu/libm-test/ulps: Update.
63031 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63033         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
63034         [__LP64__].
63036 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63038         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
63039         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
63040         (__lround): Renamed to ...
63041         (__llround): This.  Replace long int with long long int.
63042         Define lround functions as aliases of llround functions.
63043         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
63045 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63047         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
63048         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
63049         adresses to uintptr_t.  Replace "long int" and "unsigned long
63050         int" with "greg_t" on va_arg.
63052 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63054         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
63055         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
63057         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
63058         Move e_machine check before EI_CLASS check.  Handle x32
63059         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
63060         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
63061         SKIP_EM_IA_64 and include
63062         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
63064         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
63065         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
63066         (add_system_dir): New macro.
63068         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
63069         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
63071 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63073         [BZ #2551]
63074         [BZ #2552]
63075         [BZ #2553]
63076         [BZ #2554]
63077         [BZ #2562]
63078         [BZ #2563]
63079         [BZ #2565]
63080         [BZ #2566]
63081         [BZ #2576]
63082         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
63083         (y0): Likewise.
63084         * math/w_j0f.c (j0f): Likewise.
63085         (y0f): Likewise.
63086         * math/w_j0l.c (__j0l): Likewise.
63087         (__y0l): Likewise.
63088         * math/w_j1.c (j1): Likewise.
63089         (y1): Likewise.
63090         * math/w_j1f.c (j1f): Likewise.
63091         (y1f): Likewise.
63092         * math/w_j1l.c (__j1l): Likewise.
63093         (__y1l): Likewise.
63094         * math/w_jn.c (jn): Likewise.
63095         (yn): Likewise.
63096         * math/w_jnf.c (jnf): Likewise.
63097         (ynf): Likewise.
63098         * math/w_jnl.c (__jnl): Likewise.
63099         (__ynl): Likewise.
63100         * math/libm-test.inc (j0_test): Add more tests.
63101         (j1_test): Likewise.
63102         (jn_test): Likewise.  Add trailing semicolon to existing test.
63103         (y0_test): Likewise.
63104         (y1_test): Likewise.
63105         * sysdeps/i386/fpu/libm-test-ulps: Update.
63106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63108         [BZ #13851]
63109         [BZ #13854]
63110         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
63111         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
63112         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
63113         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
63114         (__tanl): Set errno for infinite argument.
63115         * sysdeps/i386/fpu/mptan.c: Remove.
63116         * sysdeps/i386/fpu/s_tan.S: Likewise.
63117         * sysdeps/i386/fpu/s_tanl.S: Likewise.
63118         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
63119         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
63120         * math/libm-test.inc (tan_test): Add more tests and enable more
63121         tests for double and long double.
63122         * sysdeps/i386/fpu/libm-test-ulps: Update.
63123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63125 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
63127         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
63128         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
63130 2012-03-16  Roland McGrath  <roland@hack.frob.com>
63132         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
63133         * configure.in: Use it for both main tree and add-ons.
63134         * configure: Regenerated.
63136 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63138         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
63140 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63142         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
63143         in comment.
63145         [BZ #13851]
63146         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
63147         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
63148         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
63149         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
63150         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
63151         infinite argument.
63152         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
63153         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
63154         != 0 for prec == 2.
63155         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
63156         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
63157         * sysdeps/i386/fpu/s_cosl.S: Likewise.
63158         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
63159         * sysdeps/i386/fpu/s_sinl.S: Likewise.
63160         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
63161         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
63162         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
63163         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
63164         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
63165         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
63166         * math/libm-test.inc (cos_test): Add more tests and enable more
63167         tests for long double.
63168         (sin_test): Likewise.
63169         (sincos_test): Likewise.
63170         * sysdeps/i386/fpu/libm-test-ulps: Update.
63171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63173 2012-03-16  David S. Miller  <davem@davemloft.net>
63175         * sysdeps/sparc/fpu/math_private.h: New file.
63177 2012-03-15  David S. Miller  <davem@davemloft.net>
63179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
63180         file.
63181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
63182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
63183         file.
63184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
63185         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
63186         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
63187         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
63188         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
63189         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
63190         sysdep routines.
63191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63193         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
63194         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
63196         * sysdeps/sparc/sparc-ifunc.h: New file.
63197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
63198         sparc-ifunc.h
63199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
63201         Likewise.
63202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
63203         Likewise.
63204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
63205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
63206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63208         Likewise.
63209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
63211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
63213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
63214         Likewise.
63215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
63216         Likewise.
63217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
63219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
63220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
63221         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63222         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63223         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
63224         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
63225         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63226         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63227         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
63228         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
63229         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
63230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
63231         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
63232         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
63233         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
63234         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
63235         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
63236         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
63237         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
63238         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
63239         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
63240         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
63242 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63244         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
63245         scaling.
63246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63248 2012-03-15  Andreas Jaeger  <aj@suse.de>
63250         [BZ #13852]
63251         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
63252         ieee754/flt-32 implementation for sin, cos and sincos.
63253         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
63254         * sysdeps/i386/fpu/s_cosf.S: Likewise.
63255         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
63256         * sysdeps/i386/fpu/s_sinf.S: Likewise.
63257         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
63258         ieee754/flt-32 implementation for tan.
63260         * math/libm-test.inc (cos_test): Enable some large input tests for
63261         float as well
63262         (sin_test): Likewise.
63263         (sincos_test): Likewise.
63264         (tan_test): Add tests for large input.
63266         * sysdeps/i386/fpu/libm-test-ulps: Update.
63268 2012-03-15  Andreas Jaeger  <aj@suse.de>
63270         [BZ #13658]
63271         * math/libm-test.inc (cos_test): Add more test cases.
63272         (sin_test): Likewise.
63273         (sincos_test): Likewise.
63275 2012-03-15  Andreas Jaeger  <aj@suse.de>
63277         [BZ #13837]
63278         * math/libm-test.inc (cos_test): Add a test case for large input
63279         value.
63280         (sin_test): Likewise.
63281         (sincos_test): Likewise.
63283 2012-03-15  Andreas Jaeger  <aj@suse.de>
63284             Joseph Myers  <joseph@codesourcery.com>
63286         [BZ #13658]
63287         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
63288         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
63289         * sysdeps/i386/fpu/branred.c: Likewise.
63290         * sysdeps/i386/fpu/dosincos.c: Likewise.
63291         * sysdeps/i386/fpu/mpa.c: Likewise.
63292         * sysdeps/i386/fpu/s_cos.S: Likewise.
63293         * sysdeps/i386/fpu/s_sin.S: Likewise.
63294         * sysdeps/i386/fpu/s_sincos.S: Likewise.
63295         * sysdeps/i386/fpu/sincos32.c: Likewise.
63297         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
63298         Define.
63299         (libc_feupdateenv_53bit): Define.
63300         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
63301         Define.
63302         (libc_feupdateenv_53bit): Define.
63304         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
63305         53 bit (without extend i386 double precision).
63307         * math/libm-test.inc (sincos_test): Add tests for large input.
63308         (sin): Likewise.
63309         (cos): Likewise.
63311         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
63313 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63317 2012-03-15  David S. Miller  <davem@davemloft.net>
63319         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
63320         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
63321         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
63322         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
63323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
63324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
63325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
63326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
63327         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
63328         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
63329         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
63330         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
63331         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
63332         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
63333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
63334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
63335         file.
63336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
63337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
63338         file.
63339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
63340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
63341         file.
63342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
63343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
63344         file.
63345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
63346         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
63347         fmin/fmax sysdep routines.
63348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63350 2012-03-14  David S. Miller  <davem@davemloft.net>
63352         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
63353         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
63354         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
63355         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
63356         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
63357         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
63358         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
63359         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
63360         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
63361         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
63362         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
63363         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
63364         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
63365         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
63366         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
63367         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
63368         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
63369         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
63370         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
63371         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
63372         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
63373         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
63374         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
63375         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
63376         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
63377         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
63378         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
63379         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
63380         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
63381         routines.
63382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
63383         file.
63384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
63385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
63386         file.
63387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
63388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
63389         file.
63390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
63391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
63392         file.
63393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
63394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
63395         file.
63396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
63397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
63398         file.
63399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
63400         file.
63401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
63402         file.
63403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
63404         file.
63405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
63406         New file.
63407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
63408         file.
63409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
63410         file.
63411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
63412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
63413         file.
63414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
63415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
63416         file.
63417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
63418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
63419         file.
63420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
63421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
63422         VIS3 routines.
63424         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63425         New file.
63427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63429         * sysdeps/sparc/configure.in: New file.
63430         * sysdeps/sparc/configure: Generate.
63431         * configure.in (libc_cv_sparc_as_vis3): Substitute.
63432         * configure: Regenerate.
63433         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
63434         * config.make.in (have-as-vis3): New.
63435         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
63436         available use -Av9d instead of -Av9a.
63437         * sysdeps/sparc/sparc64/Makefile: Likewise.
63438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
63439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
63440         New file.
63441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
63442         file.
63443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
63444         New file.
63445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
63446         file.
63447         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
63448         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
63449         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
63450         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
63451         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
63453         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
63454         fzeros/fnegs to load 0x80000000 into a float register instead of
63455         using the stack.
63456         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
63458 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63460         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63461         bits/syscall.h.
63462         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
63463         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
63464         ($(inst_includedir)/bits/syscall.h): Remove rule.
63465         ($(objpfx)bits/syscall.d): Include instead of
63466         $(objpfx)syscall-list.d.
63467         (generated): Change syscall-list.h and syscall-list.d to
63468         bits/syscall.h and bits/syscall.d.
63470 2012-03-14  Roland McGrath  <roland@hack.frob.com>
63472         [BZ #13846]
63473         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
63475 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63477         [BZ #13841]
63478         * math/s_csqrt.c: Include <float.h>.
63479         (__csqrt): Scale large or subnormal inputs.
63480         * math/s_csqrtf.c: Likewise.
63481         * math/s_csqrtl.c: Likewise.
63482         * math/libm-test.inc (csqrt_test): Add more tests.
63483         * sysdeps/i386/fpu/libm-test-ulps: Update.
63484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63486         [BZ #13840]
63487         * math/libm-test.inc (hypot_test): Add more tests.
63489 2012-03-13  David S. Miller  <davem@davemloft.net>
63491         [BZ #13840]
63492         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
63493         double-precision for the calculation instead of scaling.
63495 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
63497         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
63498         manipulate bits before adding and subtracting TWO52[sx].
63499         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
63500         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
63501         Likewise.
63502         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
63504 2012-03-13  David S. Miller  <davem@davemloft.net>
63506         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
63507         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
63508         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
63509         rtld-global-offsets.h
63510         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63512         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
63513         large parameters.
63515         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
63517         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
63518         'err' in the ifdef scope in which it is actually used.
63520         * nss/nss_db/db-init.c: Include string.h
63522 2012-03-12  David S. Miller  <davem@davemloft.net>
63524         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63525         masking out of the most significant byte of random value used.
63526         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63527         Fix coding style in previous change.
63529         * sysdeps/unix/sysv/linux/kernel-features.h
63530         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
63531         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
63532         expression.
63533         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
63534         later.
63536 2012-03-11  David S. Miller  <davem@davemloft.net>
63538         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63539         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
63540         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
63541         for 'resultvar' otherwise things get truncated on 64-bit.
63543         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63544         Fix masking out of the most significant byte of random value used.
63546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63548 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
63550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63552 2012-03-09  David S. Miller  <davem@davemloft.net>
63554         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
63555         variables with appropriate CPP guards.
63556         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
63557         from the frame pointer, not the stack pointer.  Correct layout
63558         comments.  Fix test on resulting framesize and the management of
63559         the outregs buffer for pltexit.  Preserve floating point return
63560         values across _dl_call_pltexit call.
63561         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
63562         framesize and the management of the outregs buffer for pltexit.
63563         Preserve floating point return values across _dl_call_pltexit
63564         call.
63565         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
63566         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
63567         (la_sparc64_gnu_pltexit): New functions.
63568         (print_exit): Fix format string for return register value.
63570 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
63572         * sunrpc/Makefile (others): Add rpcgen.
63573         ($(objpfx)rpcgen): Remove special build rule and dependency on
63574         libc.
63575         * sunrpc/rpcgen.c: New file.
63577 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
63579         [BZ #13673]
63580         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
63581         * stdio-common/bug-vfprintf-nargs.c: Likewise.
63582         * sysdeps/i386/crti.S: Likewise.
63583         * sysdeps/i386/crtn.S: Likewise.
63584         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
63585         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
63586         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
63587         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
63588         * sysdeps/sh/crti.S: Likewise.
63589         * sysdeps/sh/crtn.S: Likewise.
63590         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63592         [BZ #13673]
63593         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
63594         with URL.
63595         * locale/programs/locfile-kw.gperf: Likewise.
63596         * locale/programs/charmap-kw.h: Regenerated.
63597         * locale/programs/locfile-kw.h: Likewise.
63599         [BZ #13673]
63600         * intl/plural.y: Replace FSF snail mail address with URL.
63601         * intl/plural.c: Regenerated.
63603 2012-03-09  Richard Henderson  <rth@twiddle.net>
63605         * include/math_private.h: Remove file.
63606         * math/math_private.h: Move file ...
63607         * sysdeps/generic/math_private.h: ... here.
63609         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
63610         * sysdeps/powerpc/fpu/math_private.h: Likewise.
63611         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63613         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
63614         and <math_private.h>.
63615         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63616         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63617         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63618         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63619         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63620         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63621         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63622         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63623         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63624         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63625         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63626         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63627         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63628         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63629         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63630         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63631         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63632         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63633         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63634         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63635         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63636         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63637         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63638         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63639         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63640         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63641         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63642         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63643         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63644         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63645         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63646         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63647         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63648         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63649         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63650         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63651         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63652         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63653         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63654         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63655         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63656         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63657         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63658         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63659         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63660         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63661         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63662         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63663         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63664         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63665         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63666         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63667         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63668         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63669         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63670         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63671         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63672         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63673         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63674         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63675         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63676         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63677         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63678         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63679         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63680         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63681         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63682         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63683         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63684         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63685         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63686         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63687         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63688         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63689         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63690         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63691         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63692         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63693         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63694         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63695         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63696         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63697         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63698         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63699         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63700         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63701         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63702         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63703         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63704         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63705         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63706         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63707         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63708         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63709         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63710         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63711         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63712         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63713         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63714         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63715         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63716         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63717         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63718         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63719         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63720         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63721         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63722         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63723         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63724         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63725         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63726         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63727         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63728         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63729         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63730         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63731         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63732         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63733         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63734         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63735         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63736         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63737         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63738         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63739         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63740         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63741         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63742         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63743         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63744         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63745         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63746         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63747         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63748         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63749         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63750         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63751         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63752         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63753         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63754         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63755         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63756         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63757         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63758         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63759         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63760         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63761         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63762         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63763         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63764         * sysdeps/ieee754/k_standard.c: Likewise.
63765         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63766         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63767         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63768         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63769         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63770         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63771         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63772         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63773         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63774         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63775         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63776         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63777         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63778         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63779         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63780         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63781         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63782         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63783         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63784         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
63785         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
63786         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
63787         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63788         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63789         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63790         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
63791         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63792         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63793         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63794         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63795         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63796         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63797         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63798         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63799         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63800         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63801         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63802         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
63803         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
63804         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63805         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63806         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63807         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63808         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63809         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63810         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63811         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63812         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63813         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63814         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63815         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63816         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63817         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63818         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
63819         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63820         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63821         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
63822         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
63823         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63824         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63825         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63826         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63827         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63828         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63829         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63830         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63831         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63832         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63833         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63834         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63835         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63836         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63837         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63838         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63839         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63840         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63841         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
63842         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63843         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63844         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63845         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63846         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63847         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63848         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63849         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
63850         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63851         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63852         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
63853         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63854         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63855         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
63856         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63857         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
63858         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63859         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63860         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63861         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
63862         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
63863         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
63864         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
63865         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63866         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63867         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63868         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63869         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
63870         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63871         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63872         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
63873         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
63874         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63875         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63876         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63877         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63878         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63879         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63880         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63881         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63882         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63883         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63884         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63885         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63886         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63887         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63888         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63889         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63890         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
63891         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63892         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63893         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63894         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63895         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63896         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63897         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63898         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
63899         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63900         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63901         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
63902         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
63903         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63904         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
63905         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
63906         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63907         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
63908         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
63909         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63910         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63911         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63912         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63913         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63914         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
63915         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63916         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63917         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63918         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63919         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
63920         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
63921         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63922         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63923         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63924         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
63925         * sysdeps/ieee754/s_lib_version.c: Likewise.
63926         * sysdeps/ieee754/s_matherr.c: Likewise.
63927         * sysdeps/ieee754/s_signgam.c: Likewise.
63928         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63929         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63930         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
63931         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
63932         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
63933         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63934         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
63935         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
63936         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
63937         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
63938         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63939         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
63940         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63941         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63942         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
63943         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63944         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63945         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63946         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63947         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63948         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63950 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63952         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
63953         * sunrpc/rpc_main.c: Likewise.
63954         * sunrpc/rpc_svcout.c: Likewise.
63956 2012-03-09  David S. Miller  <davem@davemloft.net>
63958         * include/math_private.h: New file.
63960 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63962         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
63963         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
63964         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
63965         from <bits/socket_type.h>.
63966         (enum __socket_type): Don't define here.
63967         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
63968         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63969         bits/socket_type.h.
63971         [BZ #13566]
63972         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
63973         checking __USE_GNU.
63975         * Makerules ($(inst_includedir)/%.h): New rule.
63976         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
63977         (install-others): Remove variable setting.
63978         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
63980 2012-03-08  Richard Henderson  <rth@twiddle.net>
63982         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
63983         from macro to inline function; merge with the
63984         !__LIBC_INTERNAL_MATH_INLINES version.
63985         (__ieee754_sqrtf): Likewise.
63987         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
63988         to inline function.
63989         (__rintf, __floor, __floorf): Likewise.
63991         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
63992         macro to inline function.
63993         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
63995         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
63996         not <math/math_private.h>.
63998 2012-03-08  David S. Miller  <davem@davemloft.net>
64000         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
64001         copyright year.
64002         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
64004 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
64006         * resolv/gai_misc.c (handle_requests): Fix struct timespec
64007         normalization.
64008         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
64009         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
64011 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
64013         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
64014         be defined individually, they must be defined as a block.  Define
64015         S for printing a string instead of hidint the different by using a
64016         macro for adding the 'l'.
64017         * stdio-common/tst-fphex-wide.c: Adjust.
64019 2012-03-07  Marek Polacek  <polacek@redhat.com>
64021         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
64023 2012-03-08  Marek Polacek  <polacek@redhat.com>
64025         [BZ #13806]
64026         * stdio-common/Makefile (tests): Add tst-fphex-wide.
64027         * stdio-common/tst-fphex.c: Define a few macros to make the
64028         test reusable.  Use them.
64029         * stdio-common/tst-fphex-wide.c: New file.
64031 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
64033         [BZ #6911]
64034         * manual/macros.texi (gnusystems): New macro.
64035         (nongnusystems): Likewise.
64036         (gnulinuxhurdsystems): Likewise.
64037         (gnuhurdsystems): Likewise..
64038         (gnulinuxsystems): Likewise.
64039         * manual/charset.texi: Use new macros or @theglibc{} to refer to
64040         variants of the GNU system, not "GNU system".
64041         * manual/conf.texi: Likewise.
64042         * manual/errno.texi: Likewise.  Update example of errno macro
64043         expansion.
64044         * manual/filesys.texi: Likewise.
64045         (getumask): Document as specific to GNU/Hurd.
64046         * manual/install.texi: Likewise.  Reword some references to
64047         GNU/Linux.
64048         * manual/intro.texi: Likewise.
64049         * manual/io.texi: Likewise.
64050         (File Name Portability): Detail which constraints are inapplicable
64051         to all GNU systems and which are only inapplicable to GNU/Hurd.
64052         * manual/job.texi: Likewise.
64053         * manual/llio.texi: Likewise.
64054         (O_NOCTTY): Document as present on GNU/Linux.
64055         * manual/maint.texi: Likewise.
64056         * manual/memory.texi: Likewise.
64057         * manual/pattern.texi: Likewise.
64058         * manual/pipe.texi: Likewise.
64059         * manual/process.texi: Likewise.
64060         * manual/resource.texi: Likewise.
64061         (RUSAGE_CHILDREN): Remove statement about specifying a particular
64062         child on GNU/Hurd.
64063         * manual/setjmp.texi: Likewise.
64064         * manual/signal.texi: Likewise.
64065         * manual/startup.texi: Likewise.
64066         * manual/stdio.texi: Likewise.
64067         * manual/terminal.texi: Likewise.
64068         (ONLCR): Document as POSIX.
64069         (OXTABS): Document availability on GNU/Linux as XTABS.
64070         (ONOEOT): Document availability separately from other bits.
64071         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
64072         * manual/time.texi: Likewise.
64073         * manual/users.texi: Likewise.
64074         * INSTALL: Regenerated.
64075         * sysdeps/gnu/errlist.c: Regenerated.
64077         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
64078         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
64079         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
64080         puts.
64081         * configure: Regenerated.
64083 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
64085         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
64086         default includes instead of AC_HEADER_CHECK.
64087         * sysdeps/i386/configure: Regenerated.
64089         [BZ #10716]
64090         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
64091         * math/s_cacoshf.c (__cacoshf): Likewise.
64092         * math/s_cacoshl.c (__cacoshl): Likewise.
64093         * math/s_casinh.c (__casinh): Set signs of result from argument.
64094         * math/s_casinhf.c (__casinhf): Likewise.
64095         * math/s_casinhl.c (__casinhl): Likewise.
64096         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
64097         (casinh_test): Add more tests.
64098         * sysdeps/i386/fpu/libm-test-ulps: Update.
64099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64101 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
64103         * po/zh_TW.po: Update from translation team.
64105         * login/Makefile (distribute): Remove variable.
64106         * catgets/Makefile: Likewise.
64107         * mach/Makefile: Likewise.
64108         * malloc/Makefile: Likewise.
64109         * misc/Makefile: Likewise.
64110         * iconv/Makefile: Likewise.
64111         * nscd/Makefile: Likewise.
64112         * hurd/Makefile: Likewise.
64113         * manual/Makefile: Likewise.
64114         * locale/Makefile: Likewise.
64115         * intl/Makefile: Likewise.
64116         * conform/Makefile: Likewise.
64117         * nss/Makefile: Likewise.
64118         * time/Makefile: Likewise.
64119         * soft-fp/Makefile: Likewise.
64120         * dirent/Makefile: Likewise.
64121         * gmon/Makefile: Likewise.
64122         * po/Makefile: Likewise.
64123         * rt/Makefile: Likewise.
64124         * socket/Makefile: Likewise.
64125         * math/Makefile: Likewise.
64126         * signal/Makefile: Likewise.
64127         * debug/Makefile: Likewise.
64128         * elf/Makefile: Likewise.
64129         * timezone/Makefile: Likewise.
64130         * stdlib/Makefile: Likewise.
64131         * iconvdata/Makefile: Likewise.
64132         * sunrpc/Makefile: Likewise.
64133         * io/Makefile: Likewise.
64134         * argp/Makefile: Likewise.
64135         * inet/Makefile: Likewise.
64136         * hesiod/Makefile: Likewise.
64137         * grp/Makefile: Likewise.
64138         * csu/Makefile: Likewise.
64139         * wctype/Makefile: Likewise.
64140         * crypt/Makefile: Likewise.
64141         * libio/Makefile: Likewise.
64142         * string/Makefile: Likewise.
64143         * nis/Makefile: Likewise.
64144         * resolv/Makefile: Likewise.
64145         * stdio-common/Makefile: Likewise.
64146         * wcsmbs/Makefile: Likewise.
64147         * dlfcn/Makefile: Likewise.
64148         * posix/Makefile: Likewise.
64150         [BZ #6959]
64151         * timezone/Makefile: Don't install timezone files, just the programs
64152         and scripts.
64154 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
64156         * nss/databases.def: Add missing gshadow entry.
64158         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
64160 2012-03-06  Marek Polacek  <polacek@redhat.com>
64162         [BZ #13726]
64163         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
64164         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
64165         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
64166         * stdio-common/tst-long-dbl-fphex.c: New file.
64168 2012-03-06  David S. Miller  <davem@davemloft.net>
64170         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64171         (set_obp_int): New function.
64172         (get_obp_int): New function.
64173         (__get_clockfreq_via_dev_openprom): Likewise.
64174         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
64175         Avoid unused variable warnings on 'val' and use builtin_expect.
64176         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
64177         __builtin_expect.
64178         (INLINE_CLONE_SYSCALL): Likewise.
64180 2012-03-05  David S. Miller  <davem@davemloft.net>
64182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64184 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
64186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64188         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
64189         only for |x| >= 40.
64190         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64192 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
64194         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
64195         Replace gettimeofday with __vdso_gettimeofday.
64197         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64198         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
64199         __vdso_clock_gettime and __vdso_getcpu.
64201         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
64202         time with __vdso_time.
64204 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64206         * manual/lang.texi (size_t): Note types to which size_t may be
64207         equivalent with the GNU C Library, but do not describe when
64208         differences between them are significant.
64210 2012-03-05  Andreas Jaeger  <aj@suse.de>
64212         * sysdeps/i386/fpu/libm-test-ulps: Update.
64214 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64216         [BZ #3976]
64217         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
64218         (__ieee754_pow): Save and restore rounding mode and use
64219         round-to-nearest for main computations.
64220         * math/libm-test.inc (pow_test_tonearest): New function.
64221         (pow_test_towardzero): Likewise.
64222         (pow_test_downward): Likewise.
64223         (pow_test_upward): Likewise.
64224         (main): Call the new functions.
64225         * sysdeps/i386/fpu/libm-test-ulps: Update.
64226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64228         [BZ #3976]
64229         * math/libm-test.inc (cosh_test_tonearest): New function.
64230         (cosh_test_towardzero): Likewise.
64231         (cosh_test_downward): Likewise.
64232         (cosh_test_upward): Likewise.
64233         (sinh_test_tonearest): Likewise.
64234         (sinh_test_towardzero): Likewise.
64235         (sinh_test_downward): Likewise.
64236         (sinh_test_upward): Likewise.
64237         (main): Call the new functions.
64238         * sysdeps/i386/fpu/libm-test-ulps: Update.
64239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64241 2012-03-05  Tom de Vries  <tom@codesourcery.com>
64243         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
64244         default stack guard is set in last bytes.
64245         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
64247 2012-03-05  Kees Cook  <keescook@chromium.org>
64249         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
64251         [BZ #13656]
64252         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
64253         possibly allocate from heap instead of stack.
64254         * stdio-common/bug-vfprintf-nargs.c: New file.
64255         * stdio-common/Makefile (tests): Add nargs overflow test.
64257 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
64259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64261 2012-03-03  Marek Polacek  <polacek@redhat.com>
64263         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
64264         * math/math_private.h: Likewise.
64265         * stdlib/tst-strtod.c: Likewise.
64266         * sysdeps/i386/i486/bits/atomic.h: Likewise.
64267         * sysdeps/x86_64/bits/atomic.h: Likewise.
64269 2012-03-02  David S. Miller  <davem@davemloft.net>
64271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
64272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
64273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
64274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
64275         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
64276         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
64277         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
64278         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
64280 2012-03-02  Roland McGrath  <roland@hack.frob.com>
64282         [BZ #13792]
64283         * manual/examples/README: New file, says the example source files
64284         can be used under GPL>=2.
64285         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
64286         line containing just "*/".
64287         * manual/examples/add.c: Add copyright header (GPL>=2).
64288         * manual/examples/argp-ex1.c: Likewise.
64289         * manual/examples/argp-ex2.c: Likewise.
64290         * manual/examples/argp-ex3.c: Likewise.
64291         * manual/examples/argp-ex4.c: Likewise.
64292         * manual/examples/atexit.c: Likewise.
64293         * manual/examples/db.c: Likewise.
64294         * manual/examples/dir.c: Likewise.
64295         * manual/examples/dir2.c: Likewise.
64296         * manual/examples/execinfo.c: Likewise.
64297         * manual/examples/filecli.c: Likewise.
64298         * manual/examples/filesrv.c: Likewise.
64299         * manual/examples/fmtmsgexpl.c: Likewise.
64300         * manual/examples/genpass.c: Likewise.
64301         * manual/examples/inetcli.c: Likewise.
64302         * manual/examples/inetsrv.c: Likewise.
64303         * manual/examples/isockad.c: Likewise.
64304         * manual/examples/longopt.c: Likewise.
64305         * manual/examples/memopen.c: Likewise.
64306         * manual/examples/memstrm.c: Likewise.
64307         * manual/examples/mkfsock.c: Likewise.
64308         * manual/examples/mkisock.c: Likewise.
64309         * manual/examples/mygetpass.c: Likewise.
64310         * manual/examples/pipe.c: Likewise.
64311         * manual/examples/popen.c: Likewise.
64312         * manual/examples/rprintf.c: Likewise.
64313         * manual/examples/search.c: Likewise.
64314         * manual/examples/select.c: Likewise.
64315         * manual/examples/setjmp.c: Likewise.
64316         * manual/examples/sigh1.c: Likewise.
64317         * manual/examples/sigusr.c: Likewise.
64318         * manual/examples/stpcpy.c: Likewise.
64319         * manual/examples/strdupa.c: Likewise.
64320         * manual/examples/strftim.c: Likewise.
64321         * manual/examples/strncat.c: Likewise.
64322         * manual/examples/subopt.c: Likewise.
64323         * manual/examples/swapcontext.c: Likewise.
64324         * manual/examples/termios.c: Likewise.
64325         * manual/examples/testopt.c: Likewise.
64326         * manual/examples/testpass.c: Likewise.
64327         * manual/examples/timeval_subtract.c: Likewise.
64329         [BZ #13792]
64330         * manual/time.texi (Elapsed Time): Move timeval_subtract example
64331         function to ...
64332         * manual/timeval_subtract.c.texi: ... here, new file.
64334 2012-03-02  David S. Miller  <davem@davemloft.net>
64336         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
64338 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
64340         [BZ #3976]
64341         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
64342         (__sin): Save and restore rounding mode and use round-to-nearest
64343         for all computations.
64344         (__cos): Save and restore rounding mode and use round-to-nearest
64345         for all computations.
64346         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
64347         <fenv.h>.
64348         (tan): Save and restore rounding mode and use round-to-nearest for
64349         all computations.
64350         * math/libm-test.inc (cos_test_tonearest): New function.
64351         (cos_test_towardzero): Likewise.
64352         (cos_test_downward): Likewise.
64353         (cos_test_upward): Likewise.
64354         (sin_test_tonearest): Likewise.
64355         (sin_test_towardzero): Likewise.
64356         (sin_test_downward): Likewise.
64357         (sin_test_upward): Likewise.
64358         (tan_test_tonearest): Likewise.
64359         (tan_test_towardzero): Likewise.
64360         (tan_test_downward): Likewise.
64361         (tan_test_upward): Likewise.
64362         (main): Call the new functions.
64363         * sysdeps/i386/fpu/libm-test-ulps: Update.
64364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64366         [BZ #10135]
64367         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
64368         small n, then large n, before computing and testing k+n.
64369         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
64370         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
64371         Likewise.
64372         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
64373         Likewise.
64374         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
64375         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
64376         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
64377         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
64378         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
64379         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
64380         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
64381         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
64382         * math/libm-test.inc (scalbn_test): Add more tests.
64383         (scalbln_test): Likewise.
64385         * manual/filesys.texi (mode_t): Describe constraints on size and
64386         signedness, not exact equivalence to a particular type.
64387         (ino_t): Likewise.
64388         (ino64_t): Likewise.
64389         (dev_t): Likewise.
64390         (nlink_t): Likewise.
64391         (blkcnt_t): Likewise.
64392         (blkcnt64_t): Likewise.
64393         * manual/llio.texi (off_t): Likewise.
64395         [BZ #3976]
64396         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
64397         (__ieee754_exp): Save and restore rounding mode and use
64398         round-to-nearest for all computations.
64399         * math/libm-test.inc (exp_test_tonearest): New function.
64400         (exp_test_towardzero): Likewise.
64401         (exp_test_downward): Likewise.
64402         (exp_test_upward): Likewise.
64403         (main): Call the new functions.
64404         * sysdeps/i386/fpu/libm-test-ulps: Update.
64405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64407 2012-03-01  Chris Demetriou  <cgd@google.com>
64409         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
64410         have predictable order.
64412 2012-03-01  David S. Miller  <davem@davemloft.net>
64414         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
64416         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
64417         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
64418         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
64419         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
64421         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
64422         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
64423         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
64424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
64425         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
64426         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
64427         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
64428         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
64429         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
64431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64433         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
64434         * sysdeps/sparc/fpu/libm-test-ulps: to here.
64435         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
64437         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
64438         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64439         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64440         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
64441         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
64442         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
64443         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
64444         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64445         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64446         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
64447         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
64448         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64449         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64450         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64451         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64452         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64453         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
64454         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
64455         * sysdeps/sparc/elf/configure: Regenerated.
64457 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
64459         * configure.in (AS, LD): Require binutils 2.20 or later.
64460         * configure: Regenerated.
64461         * manual/install.texi (Tools for Compilation): Give binutils 2.20
64462         as required minimum version.
64463         * INSTALL: Regenerated.
64465         [BZ #2541]
64466         [BZ #4108]
64467         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
64468         before squaring exponent.
64469         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
64470         bottom long double and 27 bits of top long double before squaring
64471         exponent.
64472         * math/libm-test.inc (erfc_test): Add more tests.
64473         * sysdeps/i386/fpu/libm-test-ulps: Update.
64474         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64477 2012-03-01  Kai Tietz  <ktietz@redhat.com>
64479         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
64480         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
64481         containing bit-fields.
64482         * soft-fp/extended.h (_FP_UNION_E): Likewise.
64483         * soft-fp/single.h (_FP_UNION_S): Likewise.
64484         * soft-fp/double.h (_FP_UNION_D): Likewise.
64486 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64488         [BZ #13786]
64489         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
64490         not include ../strcmp.S.
64491         [USE_AS_STRNCASECMP_L]: Likewise.
64492         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
64493         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
64494         * sysdeps/i386/i686/multiarch/strncase_l-c.c
64495         (__strncasecmp_l_ia32): Define as alias to
64496         __strncasecmp_l_nonascii.
64498         [BZ #5794]
64499         * math/libm-test.inc (expm1_test): Add test for bug 5794.
64500         * sysdeps/i386/fpu/libm-test-ulps: Update.
64501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64503         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
64504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64506 2012-02-29  Jeff Law  <law@redhat.com>
64508         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
64509         out of bounds read.
64511 2012-02-29  Marek Polacek  <polacek@redhat.com>
64513         [BZ #13706]
64514         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
64515         * elf/Makefile: Add rules to run tst-unused-dep.out.
64517 2012-02-28  David S. Miller  <davem@davemloft.net>
64519         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
64520         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
64521         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
64522         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
64523         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
64524         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
64526 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64528         * math/libm-test.inc (llround_test): Move one test from
64529         lround_test.  Use TEST_f_L in moved test.
64530         (lround_test): Move misplaced test to llround_test.  Add testcase
64531         from bug 2561.
64533 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
64535         * sysdeps/x86_64/fpu/e_expf.S: New file.
64536         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
64538 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
64540         [BZ #13637]
64541         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
64542         of remain_len that may cause incomplete multi-byte character and
64543         false match.
64544         * posix/bug-regex33.c: New file.
64545         * posix/Makefile (tests): Add bug-regex33.
64547 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
64549         * manual/macros.texi: New file.
64550         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
64551         * manual/libc.texinfo: Include macros.texi.
64552         * manual/creatute.texi: Likewise.
64553         * manual/install.texi: Likewise.
64554         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
64555         @glibcadj{} in references to the GNU C Library.
64556         * manual/charset.texi: Likewise.
64557         * manual/conf.texi: Likewise.
64558         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
64559         when not using those macros.
64560         * manual/creature.texi: Likewise.
64561         * manual/crypt.texi: Likewise.
64562         * manual/errno.texi: Likewise.
64563         * manual/filesys.texi: Likewise.
64564         * manual/header.texi: Likewise.
64565         * manual/install.texi: Likewise.
64566         * manual/intro.texi: Likewise.
64567         * manual/io.texi: Likewise.
64568         * manual/job.texi: Likewise.
64569         * manual/lang.texi: Likewise.
64570         * manual/libc.texiinfo: Likewise.
64571         * manual/llio.texi: Likewise.
64572         * manual/locale.texi: Likewise.
64573         * manual/maint.texi: Likewise.
64574         * manual/math.texi: Likewise.
64575         * manual/memory.texi: Likewise.
64576         * manual/message.texi: Likewise.
64577         * manual/nss.texi: Likewise.
64578         * manual/pattern.texi: Likewise.
64579         * manual/process.texi: Likewise.
64580         * manual/resource.texi: Likewise.
64581         * manual/search.texi: Likewise.
64582         * manual/setjmp.texi: Likewise.
64583         * manual/signal.texi: Likewise.
64584         * manual/socket.texi: Likewise.
64585         * manual/startup.texi: Likewise.
64586         * manual/stdio.texi: Likewise.
64587         * manual/string.texi: Likewise.
64588         * manual/sysinfo.texi: Likewise.
64589         * manual/syslog.texi: Likewise.
64590         * manual/terminal.texi: Likewise.
64591         * manual/time.texi: Likewise.
64592         * manual/users.texi: Likewise.
64593         * INSTALL: Regenerated.
64594         * NOTES: Regenerated.
64595         * sysdeps/gnu/errlist.c: Regenerated.
64597 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
64599         * include/dirent.h: Include <dirstream.h> before
64600         <dirent/dirent.h>.
64602 2012-02-28  David S. Miller  <davem@davemloft.net>
64604         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
64605         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
64606         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
64607         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
64609 2012-02-27  David S. Miller  <davem@davemloft.net>
64611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
64612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
64613         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
64614         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
64616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
64617         frame pointer instead of stack pointer relative arg slot.
64618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64619         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64620         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64622 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
64624         [BZ #3992]
64625         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64627 2012-02-27  David S. Miller  <davem@davemloft.net>
64629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64633         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64634         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64635         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64636         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64638 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64640         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64641         later.  Allow versions 5-9.
64642         * configure: Regenerated.
64643         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64644         required minimum version and 4.6 as recommended version.  Do not
64645         mention bugs in GCC 2.7 and 2.8.
64646         * INSTALL: Regenerated.
64648 2012-02-27  David S. Miller  <davem@davemloft.net>
64650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64654         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64655         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64656         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64657         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64659         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64660         manipulate bits before adding and subtracting TWO112[sx].
64661         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64663 2012-02-27  Roland McGrath  <roland@hack.frob.com>
64665         [BZ #13775]
64666         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64667         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64668         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64669         being in POSIX, because they are in 1003.1-2008.
64671         * rt/tst-aio.c: Include <fcntl.h>.
64672         * rt/tst-aio7.c: Likewise.
64673         * rt/tst-aio64.c: Likewise.
64675         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64677 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64679         * manual/install.texi (--with-headers): Describe headers as
64680         interface headers, not private headers.
64681         (Specific advice for GNU/Linux systems): Describe use of headers
64682         from "make headers_install", not private headers from older
64683         kernels.
64684         * INSTALL: Regenerated.
64685         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64686         Change to 2.6.19.
64687         * sysdeps/unix/sysv/linux/configure: Regenerated.
64689         * manual/llio.texi (fclean): Remove documentation.
64691         * manual/Makefile (libc-texi-generated): New variable.  Include
64692         version.texi.
64693         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64694         $(libc-texi-generated), not duplicated list of files.
64695         (version.texi, stamp-version): New rules.
64696         (realclean): Remove $(libc-texi-generated), not individual files
64697         from that list.  Do not remove dir-add.texinfo.
64698         * manual/libc.texinfo: Comment out uses of edition numbers and
64699         references to printed manual.  Remove last-updated dates.
64700         (EDITION): Comment out.
64701         (ISBN): Likewise.
64702         (VERSION, UPDATED): Remove.
64703         (version.texi): Include.
64705 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
64707         * sysdeps/posix/spawni.c: Include <signal.h>.
64708         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64709         * sysdeps/pthread/aio_fsync.c: Likewise.
64711 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
64713         * conform/Makefile (tests): Run only when not cross-compiling and
64714         when fast-check is not defined.
64716         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64717         * conform/data/limits.h-data: Fixes for POSIX2008.
64718         * conform/run-conformtest.sh: Run all tests.
64719         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64720         headers.
64721         * include/bits/dlfcn.h: Likewise.
64722         * include/langinfo.h: Likewise.
64723         * include/monetary.h: Likewise.
64724         * include/sys/poll.h: Likewise.
64726         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64727         for __USE_GNU.
64728         * posix/spawn.h: Define __need_sigset_t.
64729         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64730         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64731         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
64732         to get sigevent_t only.
64733         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64734         only for __USE_GNU.
64735         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64736         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64737         process_vm_writev only for __USE_GNU.
64738         * termios/termios.h: Declare tcgetsid also for POSIX2008.
64740         * conform/Makefile: For now ignore errors from run-conformtest.
64741         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
64742         POSIX to avoid namespace pollution.  Don't prepend headers.
64743         * conform/data/aio.h-data: Fixes for POSIX testing.
64744         * conform/data/fcntl.h-data: Likewise.
64745         * conform/data/glob.h-data: Likewise.
64746         * conform/data/grp.h-data: Likewise.
64747         * conform/data/pthread.h-data: Likewise.
64748         * conform/data/pwd.h-data: Likewise.
64749         * conform/data/signal.h-data: Likewise.
64750         * conform/data/spawn.h-data: Likewise.
64751         * conform/data/stdio.h-data: Likewise.
64752         * conform/data/stdlib.h-data: Likewise.
64753         * conform/data/stropts.h-data: Likewise.
64754         * conform/data/sys/mman.h-data: Likewise.
64755         * conform/data/sys/stat.h-data: Likewise.
64756         * conform/data/sys/types.h-data: Likewise.
64757         * conform/data/sys/wait.h-data: Likewise.
64758         * conform/data/time.h-data: Likewise.
64759         * conform/data/unistd.h-data: Likewise.
64760         * conform/data/utime.h-data: Likewise.
64762         * io/sys/stat.h: fchmod was always in POSIX.
64763         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64764         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64765         * rt/aio.h: Define __need_timespec before including <time.h>.
64766         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64767         struct.  Add forward declaration of pthread_attr_t and use it in
64768         sigevent.
64769         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64770         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64771         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64772         always remove CLK_TCK definition.
64774 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
64776         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
64778 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
64780         * conform/run-conformtest.sh: New file.
64781         * conform/Makefile: Run run-conformtest for tests.
64782         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
64783         support.
64785         * conform/data/uchar.h-data: New file.
64786         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
64787         * conform/data/arpa/inet.h-data: Likewise.
64788         * conform/data/assert.h-data: Likewise.
64789         * conform/data/complex.h-data: Likewise.
64790         * conform/data/cpio.h-data: Likewise.
64791         * conform/data/ctype.h-data: Likewise.
64792         * conform/data/dirent.h-data: Likewise.
64793         * conform/data/dlfcn.h-data: Likewise.
64794         * conform/data/errno.h-data: Likewise.
64795         * conform/data/fcntl.h-data: Likewise.
64796         * conform/data/float.h-data: Likewise.
64797         * conform/data/fmtmsg.h-data: Likewise.
64798         * conform/data/fnmatch.h-data: Likewise.
64799         * conform/data/ftw.h-data: Likewise.
64800         * conform/data/glob.h-data: Likewise.
64801         * conform/data/grp.h-data: Likewise.
64802         * conform/data/iconv.h-data: Likewise.
64803         * conform/data/inttypes.h-data: Likewise.
64804         * conform/data/langinfo.h-data: Likewise.
64805         * conform/data/libgen.h-data: Likewise.
64806         * conform/data/limits.h-data: Likewise.
64807         * conform/data/locale.h-data: Likewise.
64808         * conform/data/math.h-data: Likewise.
64809         * conform/data/monetary.h-data: Likewise.
64810         * conform/data/mqueue.h-data: Likewise.
64811         * conform/data/ndbm.h-data: Likewise.
64812         * conform/data/net/if.h-data: Likewise.
64813         * conform/data/netdb.h-data: Likewise.
64814         * conform/data/netinet/in.h-data: Likewise.
64815         * conform/data/nl_types.h-data: Likewise.
64816         * conform/data/poll.h-data: Likewise.
64817         * conform/data/pthread.h-data: Likewise.
64818         * conform/data/pwd.h-data: Likewise.
64819         * conform/data/regex.h-data: Likewise.
64820         * conform/data/sched.h-data: Likewise.
64821         * conform/data/search.h-data: Likewise.
64822         * conform/data/semaphore.h-data: Likewise.
64823         * conform/data/setjmp.h-data: Likewise.
64824         * conform/data/signal.h-data: Likewise.
64825         * conform/data/spawn.h-data: Likewise.
64826         * conform/data/stdarg.h-data: Likewise.
64827         * conform/data/stdio.h-data: Likewise.
64828         * conform/data/stdlib.h-data: Likewise.
64829         * conform/data/string.h-data: Likewise.
64830         * conform/data/strings.h-data: Likewise.
64831         * conform/data/stropts.h-data: Likewise.
64832         * conform/data/sys/ipc.h-data: Likewise.
64833         * conform/data/sys/mman.h-data: Likewise.
64834         * conform/data/sys/msg.h-data: Likewise.
64835         * conform/data/sys/resource.h-data: Likewise.
64836         * conform/data/sys/select.h-data: Likewise.
64837         * conform/data/sys/sem.h-data: Likewise.
64838         * conform/data/sys/shm.h-data: Likewise.
64839         * conform/data/sys/socket.h-data: Likewise.
64840         * conform/data/sys/stat.h-data: Likewise.
64841         * conform/data/sys/statvfs.h-data: Likewise.
64842         * conform/data/sys/time.h-data: Likewise.
64843         * conform/data/sys/timeb.h-data: Likewise.
64844         * conform/data/sys/times.h-data: Likewise.
64845         * conform/data/sys/types.h-data: Likewise.
64846         * conform/data/sys/uio.h-data: Likewise.
64847         * conform/data/sys/un.h-data: Likewise.
64848         * conform/data/sys/utsname.h-data: Likewise.
64849         * conform/data/sys/wait.h-data: Likewise.
64850         * conform/data/syslog.h-data: Likewise.
64851         * conform/data/tar.h-data: Likewise.
64852         * conform/data/termios.h-data: Likewise.
64853         * conform/data/utime.h-data: Likewise.
64854         * conform/data/utmpx.h-data: Likewise.
64855         * conform/data/varargs.h-data: Likewise.
64856         * conform/data/wchar.h-data: Likewise.
64857         * conform/data/wctype.h-data: Likewise.
64858         * conform/data/wordexp.h-data: Likewise.
64860         * include/stropts.h: New file.
64861         * include/uchar.h: New file.
64862         * include/aio.h: Changes to allow conformtest.pl to use the headers.
64863         * include/assert.h: Likewise.
64864         * include/ctype.h: Likewise.
64865         * include/dirent.h: Likewise.
64866         * include/dlfcn.h: Likewise.
64867         * include/fcntl.h: Likewise.
64868         * include/fnmatch.h: Likewise.
64869         * include/glob.h: Likewise.
64870         * include/grp.h: Likewise.
64871         * include/libio.h: Likewise.
64872         * include/locale.h: Likewise.
64873         * include/math.h: Likewise.
64874         * include/net/if.h: Likewise.
64875         * include/netdb.h: Likewise.
64876         * include/netinet/in.h: Likewise.
64877         * include/pthread.h: Likewise.
64878         * include/pwd.h: Likewise.
64879         * include/regex.h: Likewise.
64880         * include/sched.h: Likewise.
64881         * include/search.h: Likewise.
64882         * include/setjmp.h: Likewise.
64883         * include/signal.h: Likewise.
64884         * include/stdio.h: Likewise.
64885         * include/stdlib.h: Likewise.
64886         * include/string.h: Likewise.
64887         * include/sys/cdefs.h: Likewise.
64888         * include/sys/mman.h: Likewise.
64889         * include/sys/msg.h: Likewise.
64890         * include/sys/resource.h: Likewise.
64891         * include/sys/select.h: Likewise.
64892         * include/sys/socket.h: Likewise.
64893         * include/sys/stat.h: Likewise.
64894         * include/sys/statvfs.h: Likewise.
64895         * include/sys/time.h: Likewise.
64896         * include/sys/times.h: Likewise.
64897         * include/sys/uio.h: Likewise.
64898         * include/sys/utsname.h: Likewise.
64899         * include/sys/wait.h: Likewise.
64900         * include/termios.h: Likewise.
64901         * include/time.h: Likewise.
64902         * include/ulimit.h: Likewise.
64903         * include/unistd.h: Likewise.
64904         * include/utime.h: Likewise.
64905         * include/wchar.h: Likewise.
64906         * include/wctype.h: Likewise.
64907         * include/wordexp.h: Likewise.
64909         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
64911         * time/time.h: TIME_UTC must be a macro.
64912         Make timespec_get available for ISO C11 only as well.
64914 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
64916         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
64917         Reported by Peng Haitao <penght@cn.fujitsu.com>.
64919 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64921         * configure.in: Use -o not -a in test for unsupported multi-arch.
64923 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64925         * manual/texinfo.tex: Update to version 2012-01-19.16.
64927 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64929         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
64931 2012-02-24  Roland McGrath  <roland@hack.frob.com>
64933         [BZ #13738]
64934         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
64935         * manual/fdl-1.3.texi: New file.
64936         * manual/fdl-1.1.texi: File removed.
64938         [BZ #13738]
64939         * manual/libc.texinfo (FDL_VERSION): New @set.
64940         Use it for mention of FDL in cover text.
64941         (Documentation License): Use it in @include file name.
64943 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64944             Roland McGrath  <roland@hack.frob.com>
64946         [BZ #5461]
64947         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
64948         (not LONG_LONG_MAX and LONG_LONG_MIN.
64949         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
64950         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
64951         name.
64952         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
64954 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64956         [BZ #2547]
64957         [BZ #11365]
64958         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
64959         manipulate bits before adding and subtracting TWO23[sx].
64960         * math/libm-test.inc (nearbyint_test): Add more tests.
64962 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64964         [BZ #2548]
64965         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
64966         bits before adding and subtracting TWO23[sx].
64967         * math/libm-test.inc (rint_test): Add more tests.
64968         (rint_test_tonearest): Likewise.
64969         (rint_test_towardzero): Likewise.
64970         (rint_test_downward): Likewise.
64971         (rint_test_upward: Likewise.
64973 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64975         [BZ #10110]
64976         * include/stdc-predef.h: New file.  Extracted from features.h.
64977         * include/features.h: Include stdc-predef.h.
64978         * Makefile (headers): Add stdc-predef.h.
64979         * CONFORMANCE (Compiler limitations): Update.
64981 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64983         * manual/libc.texinfo (VERSION, UPDATED): Revert.
64985 2012-02-21  David S. Miller  <davem@davemloft.net>
64987         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
64988         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64990 2012-02-20  David S. Miller  <davem@davemloft.net>
64992         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
64993         using a normal save/restore sequence, rather than allocating a
64994         dummy stack frame just to store a frame pointer and restore.
64995         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64997 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64999         * manual/install.texi: Fix stray word in line-wrapped comment.
65001 2012-02-20  David S. Miller  <davem@davemloft.net>
65003         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
65004         both binutils and gcc support GOTDATA.
65006         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
65007         "rd %pc" in the PIC register setup sequences.
65009         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
65010         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
65011         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65012         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
65013         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65014         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65015         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65016         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65017         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
65018         (SYSCALL_ERROR_HANDLER): Likewise.
65019         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65020         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65021         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
65022         (SYSCALL_ERROR_HANDLER): Likewise.
65024         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
65025         (HAVE_GCC_GOTDATA): New.
65026         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
65027         relocation support in both binutils and gcc.
65028         * sysdeps/sparc/elf/configure: Regenerate.
65030         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
65031         * sysdeps/sparc/sparc32/elf/configure: Delete.
65032         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
65033         * sysdeps/sparc/sparc64/elf/configure: Delete.
65034         * sysdeps/sparc/elf/configure.in: New file.
65035         * sysdeps/sparc/elf/configure: Generate.
65037         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
65038         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
65039         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65040         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
65041         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
65043 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65045         * manual/install.texi: Do not mention specific glibc version
65046         numbers.
65047         * manual/libc.texinfo (VERSION, UPDATED): Update.
65048         (@copying): Use @copyright{} and range of years.
65050 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65052         [BZ #13695]
65053         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
65054         [crti.S not in sysdirs] (generated): Do not append.
65055         [crti.S not in sysdirs] (omit-deps): Likewise.
65056         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
65057         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
65058         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
65059         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
65060         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
65061         Likewise.
65062         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
65063         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
65064         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
65065         * csu/defs.awk: Remove file.
65066         * sysdeps/generic/initfini.c: Likewise.
65067         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
65068         variable.
65069         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
65070         Likewise.
65072 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65074         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
65075         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
65076         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
65077         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
65078         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65079         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
65080         <bits/epoll.h>.
65081         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
65082         (__EPOLL_PACKED): Define to empty if not defined by
65083         <bits/epoll.h>.
65084         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
65085         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65086         bits/epoll.h.
65088 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65090         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
65091         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
65092         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
65093         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
65094         <bits/timerfd.h>.
65095         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
65096         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65097         bits/timerfd.h.
65099 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65101         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
65102         in C locale.
65103         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65104         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65105         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
65106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65108 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
65110         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65111         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65113 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
65115         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
65116         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
65117         defined.
65118         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
65119         Likewise.
65120         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
65121         entry for 2.16.
65123 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
65125         * math/w_acos.c: Use non-signaling floating-point comparisons.
65126         * math/w_acosf.c: Likewise.
65127         * math/w_acosh.c: Likewise.
65128         * math/w_acoshf.c: Likewise.
65129         * math/w_acoshl.c: Likewise.
65130         * math/w_acosl.c: Likewise.
65131         * math/w_asin.c: Likewise.
65132         * math/w_asinf.c: Likewise.
65133         * math/w_asinl.c: Likewise.
65134         * math/w_atanh.c: Likewise.
65135         * math/w_atanhf.c: Likewise.
65136         * math/w_atanhl.c: Likewise.
65137         * math/w_exp2.c: Likewise.
65138         * math/w_exp2f.c: Likewise.
65139         * math/w_exp2l.c: Likewise.
65140         * math/w_j0.c: Likewise.
65141         * math/w_j0f.c: Likewise.
65142         * math/w_j0l.c: Likewise.
65143         * math/w_j1.c: Likewise.
65144         * math/w_j1f.c: Likewise.
65145         * math/w_j1l.c: Likewise.
65146         * math/w_jn.c: Likewise.
65147         * math/w_jnf.c: Likewise.
65148         * math/w_log.c: Likewise.
65149         * math/w_log10.c: Likewise.
65150         * math/w_log10f.c: Likewise.
65151         * math/w_log10l.c: Likewise.
65152         * math/w_log2.c: Likewise.
65153         * math/w_log2f.c: Likewise.
65154         * math/w_log2l.c: Likewise.
65155         * math/w_logf.c: Likewise.
65156         * math/w_logl.c: Likewise.
65157         * math/w_sqrt.c: Likewise.
65158         * math/w_sqrtf.c: Likewise.
65159         * math/w_sqrtl.c: Likewise.
65160         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65161         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
65162         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65163         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65164         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65166 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65168         [BZ #9739]
65169         * manual/string.texi (strnlen): Use correct parameter name in
65170         equivalent expression.
65172 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65174         [BZ #11174]
65175         * manual/users.texi (seteuid): Consistently use neweuid for
65176         argument name.
65178 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65180         [BZ #13704]
65181         * manual/nss.texi (Services in the NSS configuration): Correct
65182         list of services in example configuration file.
65184 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
65186         [BZ #11322]
65187         * manual/arith.texi: Remove statements about negative zero
65188         behaving identically to zero.
65190 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65192         [BZ #5993]
65193         * manual/install.texi: Do not document upgrading from libc5.
65195 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65197         [BZ #4596]
65198         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
65200 2012-02-18  David S. Miller  <davem@davemloft.net>
65202         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
65203         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
65204         %o7 across the call.
65205         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
65206         instead.
65207         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
65208         SETUP_PIC_REG_LEAF.
65209         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65210         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
65211         * sysdeps/sparc/crtn.S: Likewise.
65213 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
65215         * aout/Makefile: Remove.
65217 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
65219         [BZ #13058]
65220         * manual/examples/argp-ex1.c (main): Format definition in GNU
65221         style.
65222         * manual/examples/argp-ex2.c (main): Likewise.
65223         * manual/examples/argp-ex3.c (main): Likewise.
65224         * manual/examples/argp-ex4.c (main): Likewise.
65225         * manual/examples/longopt.c (main): Use new-style prototype
65226         definition.
65227         * manual/examples/strncat.c (main): Specify return type and use
65228         (void) for arguments.
65229         * manual/examples/subopt.c (main): Use char **argv argument.
65231 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65233         [BZ #5077]
65234         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
65235         rounding modes.
65237 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
65239         [BZ #6907]
65240         * manual/string.texi (strchr): Change when strchrnul is
65241         recommended.
65243 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
65245         [BZ #174]
65246         * manual/locale.texi (setlocale): Document LOCPATH.
65248 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65250         [BZ #10210]
65251         * manual/process.texi (execle): Move @dots{} before last argument.
65253 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
65255         [BZ #12047]
65256         * manual/charset.texi (Generic Charset Conversion): Fix typo
65257         (LC_TYPE -> LC_CTYPE).
65259 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
65261         [BZ #5805]
65262         * manual/arith.texi (scalbn): Use @var{} on parameter names.
65263         (scalbnf): Likewise.
65264         (scalbnl): Likewise.
65265         (scalbln): Likewise.
65266         (scalblnf): Likewise.
65267         (scalblnl): Likewise.
65268         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
65269         (vwarnx): Likewise.
65270         (verr): Likewise.
65271         (verrx): Likewise.
65272         * manual/filesys.texi (telldir): Use braces around return type.
65273         * manual/llio.texi (mmap): Add space after comma.
65274         (mmap64): Likewise.
65275         * manual/math.texi (jn): Use @var{} on parameter names.
65276         (jnf): Likewise.
65277         (jnl): Likewise.
65278         (yn): Likewise.
65279         (ynf): Likewise.
65280         (ynl): Likewise.
65281         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
65282         line.
65283         * manual/resource.texi (ulimit): Use @dots{} instead of literal
65284         "...".
65285         (sched_get_priority_min): Remove semicolon on @deftypefun line.
65286         (sched_get_priority_max): Likewise.
65287         * manual/signal.texi (sigvec): Add space after comma.
65288         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
65289         names.
65290         (if_indextoname): Likewise.
65291         (if_freenameindex): Likewise.
65292         (sendto): Use ',' instead of '.' in prototype.
65293         * manual/startup.texi (syscall): Use @dots{} instead of literal
65294         "...".
65295         * manual/stdio.texi (__fpending): Separate initial words of
65296         paragraph from @deftypefun line.
65297         * manual/syslog.texi (syslog): Use @dots{} instead of literal
65298         "...".
65299         (vsyslog): Use @var{} on parameter names.
65300         * manual/terminal.texi (stty): Use @var{} on parameter names.
65301         * manual/users.texi (getutmp): Use @var{} on parameter names.
65302         (getutmpx): Likewise.
65304 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65306         [BZ #6884]
65307         * manual/stdio.texi (fopen): Fix typos in description of
65308         ",ccs=STRING".
65310 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
65312         [BZ #4026]
65313         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
65314         get clock_id definition.
65316 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
65318         [BZ #4822]
65319         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
65320         (madvise): Cast every argument to void on its own.
65322 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65324         [BZ #9902]
65325         * manual/startup.texi (Exit Status): Fix typo.
65327 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65329         [BZ #10140]
65330         * manual/examples/argp-ex1.c: Include <stdlib.h>.
65331         * manual/examples/argp-ex2.c: Likewise.
65332         * manual/examples/argp-ex3.c: Likewise.
65334 2012-02-16  Richard Henderson  <rth@redhat.com>
65336         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
65337         * sysdeps/s390/s390-32/initfini.c: Remove.
65338         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
65339         * sysdeps/s390/s390-64/initfini.c: Remove.
65341 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65343         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
65344         compiler output for sysdeps/generic/initfini.c.
65345         * sysdeps/sh/elf/initfini.c: Remove file.
65347 2012-02-16  David S. Miller  <davem@davemloft.net>
65349         [BZ #11494]
65350         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
65352         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
65353         * sysdeps/sparc/crti.S: New file.
65354         * sysdeps/sparc/crtn.S: New file.
65355         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
65356         * sysdeps/sparc/sparc64/Makefile: Likewise.
65358 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
65360         [BZ #3335]
65361         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
65363 2012-02-15  Roland McGrath  <roland@hack.frob.com>
65365         [BZ #4822]
65366         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
65368         * mach/devstream.c (cookie_io_functions_t): Macro removed.
65369         (write, read, close): Likewise.
65370         Patch by Aurelien Jarno <aurelien@aurel32.net>.
65372 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
65374         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
65375         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
65376         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
65377         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
65378         <bits/signalfd.h>.
65379         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
65380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65381         bits/signalfd.h.
65383 2012-02-14  Marek Polacek  <polacek@redhat.com>
65385         * sysdeps/x86_64/crti.S: New file.
65386         * sysdeps/x86_64/crtn.S: New file.
65387         * sysdeps/x86_64/elf/initfini.c: Remove file.
65389 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65391         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
65392         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
65393         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
65394         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
65395         <bits/inotify.h>.
65396         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
65397         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65398         bits/inotify.h.
65400 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65402         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
65403         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
65404         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
65405         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
65406         <bits/eventfd.h>.
65407         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
65408         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65409         bits/eventfd.h.
65411 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
65413         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
65414         __feraiseexcept instead of feraiseexcept.
65416         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
65417         nanosleep invocations.
65418         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
65419         strings, and add error checking for a nanosleep invocations.
65421 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
65423         Replace FSF snail mail address with URLs, as per GNU coding standards.
65424         Most of the snail mail addresses were wrong anyway, and omitting
65425         them makes the source code easier to maintain.  Almost all of the
65426         changes are to license notices and to locale LC_IDENTIFICATION
65427         addresses, except for this one:
65428         * manual/libc.texinfo: In "Published by", give the FSF's URL,
65429         not its snail mail address.
65431 2012-02-09  Richard Henderson  <rth@twiddle.net>
65433         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
65434         of kernel-features.h.
65436         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
65438 2012-02-08  Marek Polacek  <polacek@redhat.com>
65440         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
65441         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
65442         * sysdeps/gnu/_G_config.h: Likewise.
65443         * sysdeps/generic/_G_config.h: Likewise.
65445 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
65447         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
65448         tests.
65449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65451         * sysdeps/powerpc/powerpc32/crti.S: New file.
65452         * sysdeps/powerpc/powerpc32/crtn.S: New file.
65453         * sysdeps/powerpc/powerpc64/crti.S: New file.
65454         * sysdeps/powerpc/powerpc64/crtn.S: New file.
65456         * Makeconfig (have-initfini): Don't set.
65457         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
65458         * configure.in (nopic_initfini): Don't substitute.
65459         * config.h.in (HAVE_INITFINI): Don't #undef.
65460         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
65461         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
65463 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
65465         Support crti.S and crtn.S provided directly by architectures.
65466         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
65467         [crti.S in sysdirs] (omit-deps): Likewise.
65468         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
65469         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
65470         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
65471         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
65472         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
65473         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
65474         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
65475         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
65476         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
65477         compiler output for sysdeps/generic/initfini.c.
65478         * sysdeps/i386/elf/Makefile: Remove file.
65479         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
65481 2012-02-07  Marek Polacek  <polacek@redhat.com>
65483         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
65484         * sysdeps/gnu/_G_config.h: Likewise.
65485         * sysdeps/mach/hurd/_G_config.h: Likewise.
65487 2012-02-07  Marek Polacek  <polacek@redhat.com>
65489         * math/Makefile (tests): Add tst-CMPLX2.
65490         * math/tst-CMPLX2.c: New file.
65492 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
65494         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65496         * math/libm-test.inc (jn_test): Add missing L suffix.
65498 2012-02-06  Marek Polacek  <polacek@redhat.com>
65500         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
65501         * sysdeps/i386/fpu/e_powf.S: Likewise.
65502         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65503         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65504         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65505         * sysdeps/i386/fpu/e_pow.S: Likewise.
65506         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65507         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65508         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65509         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65510         * sysdeps/i386/fpu/e_log2.S: Likewise.
65511         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65512         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65513         * sysdeps/i386/fpu/e_powl.S: Likewise.
65514         * sysdeps/i386/fpu/s_log1p.S: Likewise.
65515         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65516         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65517         * sysdeps/i386/fpu/e_logl.S: Likewise.
65518         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65519         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
65520         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65521         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65522         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65523         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65524         * sysdeps/i386/fpu/e_log.S: Likewise.
65525         * sysdeps/i386/fpu/s_cexp.S: Likewise.
65526         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65527         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
65528         * sysdeps/i386/fpu/e_logf.S: Likewise.
65529         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65530         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65531         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
65532         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65533         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65534         * sysdeps/i386/fpu/e_log10.S: Likewise.
65535         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65536         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65537         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65538         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65539         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65540         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65541         * sysdeps/i386/asm-syntax.h: Likewise.
65542         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65543         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65544         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65545         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
65546         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
65547         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65548         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65549         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65550         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65551         * sysdeps/powerpc/sysdep.h: Likewise.
65552         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
65553         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65555 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65557         [BZ #411]
65558         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
65560 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65562         * sysdeps/i386/sysdep.h: Include <features.h>.
65563         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
65564         version.
65566 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
65568         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
65569         Define.
65570         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
65571         LOAD_PIC_REG_STR.
65573 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65575         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
65576         (SETUP_PIC_REG): Use GET_PC_THUNK.
65577         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
65578         macro.
65580 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65582         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
65583         for non-PIC compilation.
65584         (SETUP_PIC_REG): Add .p2align directive.
65585         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
65586         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
65587         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65588         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65589         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
65590         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65591         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
65592         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65593         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65594         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65595         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65596         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65597         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65598         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65599         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65600         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
65601         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
65602         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65603         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65604         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65605         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65606         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
65607         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65608         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65609         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
65610         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
65611         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65612         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
65613         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65614         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65615         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65616         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65617         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65618         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65619         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65620         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65621         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65622         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65623         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65624         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65625         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65627 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65629         * math/tst-CMPLX.c: Include <stdio.h>.
65631 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
65633         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65634         float.
65635         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65636         * sysdeps/sparc/bits/mathdef.h: Likewise.
65638 2012-01-31  Marek Polacek  <polacek@redhat.com>
65640         * libio/libio.h: Don't define _PARAMS.
65641         * locale/programs/config.h: Don't define PARAMS.
65642         * stdlib/strtol_l.c: Likewise.
65643         (__strtol_l): Remove PARAMS from the prototype.
65645 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
65647         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
65648         names.  Just use the correct names.  Remove unnecessary wrapper
65649         functions.
65650         * malloc/arena.c: Likewise.
65651         * malloc/hooks.c: Likewise.
65653         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65654         ARENA_TEST says not to.  Simplify test for creation of a new arena.
65655         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65657 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
65659         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65660         into tail calls.
65661         (update_get_addr): New function.
65662         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65663         GET_ADDR_MODULE parameter.
65665 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65667         * crypt/cert.c: Remove __STDC__ conditionals.
65668         * crypt/crypt-entry.c: Likewise.
65669         * crypt/crypt_util.c: Likewise.
65670         * libio/filedoalloc.c: Likewise.
65671         * libio/fileops.c: Likewise.
65672         * libio/genops.c: Likewise.
65673         * libio/iofclose.c: Likewise.
65674         * libio/iofdopen.c: Likewise.
65675         * libio/iofopen.c: Likewise.
65676         * libio/iofopen64.c: Likewise.
65677         * libio/iogetdelim.c: Likewise.
65678         * libio/iopopen.c: Likewise.
65679         * libio/obprintf.c: Likewise.
65680         * libio/oldfileops.c: Likewise.
65681         * libio/oldiofclose.c: Likewise.
65682         * libio/oldiofdopen.c: Likewise.
65683         * libio/oldiofopen.c: Likewise.
65684         * libio/oldiopopen.c: Likewise.
65685         * libio/wfiledoalloc.c: Likewise.
65686         * libio/wgenops.c: Likewise.
65687         * locale/programs/xmalloc.c: Likewise.
65688         * misc/syslog.c: Likewise.
65689         * stdio-common/xbug.c: Likewise.
65690         * string/memchr.c: Likewise.
65691         * string/memcmp.c: Likewise.
65692         * string/memrchr.c: Likewise.
65693         * string/rawmemchr.c: Likewise.
65694         * sysdeps/posix/getcwd.c: Likewise.
65695         * time/strftime_l.c: Likewise.
65697 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65699         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65700         * config.make.in (config-cflags-sse2avx): Define.
65701         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65702         Fix typo.
65704 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
65706         * scripts/config.guess: Update from upstream config git repository.
65707         * scripts/config.sub: Likewise.
65709 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
65711         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65712         (EM_NUM): Update.
65713         (R_TILEPRO_*, R_TILEGX_*): New macros.
65715         * scripts/firstversions.awk: Fix bug in version range handling.
65717         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65719         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65721         * include/sys/epoll.h: New file.
65722         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65723         libc_hidden_def.
65725 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
65727         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65728         Avoid unnecessary __WORDSIZE == 64 test.
65729         (fmaxf): Use VEX format if possible.
65730         (fmax): Likewise.
65731         (fminf): Likewise.
65732         (fmin): Likewise.
65734         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65735         * math/math_private.h: Remove libc_fegetround* and
65736         libc_fesetround*.
65737         * sysdeps/i386/configure.in: Check for -msse2avx.
65738         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65739         also if SSE2AVX is defined.
65740         Remove libc_fegetround* and libc_fesetround*.
65741         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65742         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
65743         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65744         of HAS_YMM_USABLE.
65745         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65746         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65747         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65748         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65749         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65751         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65753 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65755         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65756         size is not set.
65757         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65759 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
65761         [BZ #13618]
65762         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65763         relocation.
65764         * Makeconfig (libm): Define.
65765         * elf/Makefile: Add rules to build and run tst-relsort1.
65766         * elf/tst-relsort1.c: New file.
65767         * elf/tst-relsort1mod1.c: New file.
65768         * elf/tst-relsort1mod2.c: New file.
65770 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
65772         * math/s_ldexp.c: Remove __STDC__ conditionals.
65773         * math/s_ldexpf.c: Likewise.
65774         * math/s_ldexpl.c: Likewise.
65775         * math/s_nextafter.c: Likewise.
65776         * math/s_nexttowardf.c: Likewise.
65777         * math/s_significand.c: Likewise.
65778         * math/s_significandf.c: Likewise.
65779         * math/s_significandl.c: Likewise.
65780         * math/w_jnl.c: Likewise.
65781         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65782         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65783         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65784         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65785         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65786         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65787         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
65788         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65789         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65790         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65791         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65792         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65793         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65794         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65795         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65796         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65797         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65798         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65799         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65800         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65801         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65802         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65803         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65804         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65805         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65806         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65807         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65808         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65809         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65810         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65811         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65812         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65813         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65814         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65815         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65816         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65817         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65818         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65819         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65820         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65821         * sysdeps/ieee754/k_standard.c: Likewise.
65822         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65823         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65824         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65825         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65826         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65827         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65828         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65829         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65830         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65831         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65832         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65833         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65834         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65835         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65836         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65837         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65838         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65839         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65840         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65841         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65842         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65843         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65844         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65845         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65846         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65847         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65848         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65849         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65850         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65851         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65852         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65853         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
65854         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65855         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65856         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65857         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65858         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
65859         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65860         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65861         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
65862         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
65863         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65864         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
65865         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
65866         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65867         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
65868         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65869         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65870         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65871         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
65872         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
65873         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65874         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65875         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65876         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65877         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65878         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
65879         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65880         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65881         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65882         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65883         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65884         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65885         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65886         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65887         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65888         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65889         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65890         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65891         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65892         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65893         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65894         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65895         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65896         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65897         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65898         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65899         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65900         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65901         * sysdeps/ieee754/s_matherr.c: Likewise.
65902         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65903         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65904         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65905         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65907 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65909         * crypt/md5.h: Remove __STDC__ conditionals.
65910         * libio/libioP.h: Likewise.
65911         * locale/programs/config.h: Likewise.
65912         * sysdeps/generic/sysdep.h: Likewise.
65913         * sysdeps/i386/asm-syntax.h: Likewise.
65914         * sysdeps/s390/asm-syntax.h: Likewise.
65915         * sysdeps/unix/sysdep.h: Likewise.
65916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
65917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65919 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65921         * libio/libio.h: Remove __STDC__ conditionals.
65922         * malloc/obstack.h: Likewise.
65923         * math/complex.h: Likewise.
65924         * math/math.h: Likewise.
65925         * sysdeps/generic/_G_config.h: Likewise.
65926         * sysdeps/gnu/_G_config.h: Likewise.
65927         * sysdeps/mach/hurd/_G_config.h: Likewise.
65928         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65929         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65930         * sysdeps/sparc/bits/mathdef.h: Likewise.
65932 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
65934         [BZ #13583]
65935         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
65936         Clean up HAS_* macros.
65937         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
65938         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
65939         possible.
65940         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
65941         HAS_AVX.
65942         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65943         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65944         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65945         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65946         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65948 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
65950         * elf/tst-unique3.cc (gets): Remove declaration.
65951         * elf/tst-unique3lib.cc (gets): Likewise.
65952         * elf/tst-unique3lib2.cc (gets): Likewise.
65953         * elf/tst-unique4.cc (gets): Likewise.
65955 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
65957         * include/stdio.h: Add C++ protection.  Add gets declarations and
65958         definitions.
65959         * debug/tst-chk1.c: Don't declare gets here.
65960         * stdio-common/tst-gets.c: Likewise.
65962 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65964         * posix/glob: Remove directory.
65966 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65968         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
65970 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
65972         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
65973         of the non-standard EPFNOSUPPORT.
65975 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65977         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
65978         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
65979         ANYWHERE set to 1 only on KERN_NO_SPACE error.
65981 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
65983         * wcsmbs/uchar.h: Test __STDC_VERSION__.
65985 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
65987         * nscd/aicache.c (addhstaiX): Do not cache negative results of
65988         transient errors.
65989         * nscd/grpcache.c (cache_addgr): Likewise.
65990         * nscd/hstcache.c (cache_addhst): Likewise.
65991         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65992         * nscd/pwdcache.c (cache_addpw): Likewise.
65993         * nscd/servicescache.c (cache_addserv): Likewise.
65995 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
65997         * malloc/malloc.c: Various cleanups.
65998         * malloc/hooks.c: Likewise.
66000         * stdlib/Makefile (tests): Add bug-fmtmsg1.
66001         * stdlib/bug-fmtmsg1.c: New file.
66003         * stdlib/fmtmsg.c (init): Add missing unlock.
66004         Patch by Peng Haitao <penght@cn.fujitsu.com>.
66006 2012-01-12  Marek Polacek  <polacek@redhat.com>
66008         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
66009         and _GNU_SOURCE.
66011 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66013         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
66014         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
66015         macro to ensure uniqueness of label name.
66016         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66017         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66019 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
66021         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
66023         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
66024         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66025         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66026         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
66028 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
66030         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
66032         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
66033         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66034         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66036         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
66038         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
66039         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66040         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66041         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
66043         * math/bits/math-finite.h: Add ldexp support.
66045 2012-01-10  Marek Polacek  <polacek@redhat.com>
66047         * locale/programs/localedef.h (show_archive_content): Add noreturn
66048         attribute.
66050 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
66052         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
66054 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66056         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
66058         * io/Makefile (headers): Add bits/poll2.h.
66060 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
66062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
66063         typo #include statement.
66065 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66067         * include/sys/cdefs.h: Define __attribute_alloc_size.
66068         * catgets/gencat.c: Add alloc_size attribute and apply consistently
66069         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
66070         * elf/pldd.c: Likewise.
66071         * iconv/iconv_charmap.c: Likewise.
66072         * iconv/iconvconfig.c: Likewise.
66073         * iconv/strtab.c: Likewise.
66074         * locale/programs/locale.c: Likewise.
66075         * locale/programs/localedef.h: Likewise.
66076         * locale/programs/simple-hash.c: Likewise.
66077         * nscd/nscd.h: Likewise.
66078         * nss/makedb.c: Likewise.
66079         * sysdeps/generic/ldconfig.h: Likewise.
66080         * locale/programs/localedef.c: Remove xmalloc prototype.
66081         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
66083 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66085         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
66086         appropriate.
66088 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66090         * math/Makefile (tests): Add tst-CMPLX.
66091         * math/tst-CMPLX.c: New file.
66093         * math/complex.h (CMPLXL): Fix typo.
66095         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
66096         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
66097         GLIBC_2.16.
66098         * debug/tst-chk1.c: Add poll and ppoll tests.
66099         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
66100         * include/sys/poll.h: Add hidden proto for ppoll.
66101         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
66102         * sysdeps/mach/hurd/ppoll.c: Likewise.
66103         * io/ppoll.c: Likewise.
66104         * debug/poll_chk.c: New file.
66105         * debug/ppoll_chk.c: New file.
66106         * include/bits/poll2.h: New file.
66107         * io/bits/poll2.h: New file.
66109         [BZ #1350]
66110         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
66112         * configure.in: static is always set to yes.  Remove.
66113         * config.make.in: Don't set build-static.
66114         * Makeconfig: Remove use of build-static.
66115         * dlfcn/Makefile: Likewise.
66116         * elf/Makefile: Likewise.
66117         * math/Makefile: Likewise.
66118         * misc/Makefile: Likewise.
66119         * nptl/Makefile: Likewise.
66120         * sysdeps/mach/hurd/Makefile: Likewise.
66122         * configure.in: PWD_P is not used anymore.
66123         * config.make.in: Remove PWD_P entry.
66125         * configure.in: Remove last remnants of RANLIB.
66126         No need to check for signed size_t anymore.
66127         Don't set libc_commonpagesize and libc_relro_required here for Alpha
66128         and IA-64.
66129         Remove __builtin_expect test because we require at least gcc 3.4.
66130         * aclocal.m4: Likewise.
66132         * wcsmbs/mbrtoc16.c: Implement using towc function.
66133         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
66134         * wcsmbs/wcsmbsload.c: Likewise.
66135         * iconv/gconv_simple.c: Likewise.
66136         * iconv/gconv_int.h: Likewise.
66137         * iconv/gconv_builtin.h: Likewise.
66138         * iconv/iconv_prog.c: Remove CHAR16 handling.
66140         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
66142         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
66144         * configure.in: Remove --with-elf and --enable-bounded options.
66145         Dont set base_machine for ia64.  More non-ELF conditions removed.
66146         Remove testing and setting of leading underscore information.
66147         * config.make.in (build-bounded): Set to no.
66148         * config.h.in: Remove NO_UNDERSCORES entry.
66149         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
66150         them.
66151         * csu/start.c: Remove !NO_UNDERSCORE code.
66152         * locale/localeinfo.h: Likewise.
66153         * sysdeps/generic/machine-gmon.h: Likewise.
66154         * sysdeps/generic/sysdep.h: Likewise.
66155         * sysdeps/i386/sysdep.h: Likewise.
66156         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66157         * sysdeps/mach/sysdep.h: Likewise.
66158         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66159         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66160         * sysdeps/sh/sysdep.h: Likewise.
66161         * sysdeps/sparc/sparc32/alloca.S: Likewise.
66162         * sysdeps/unix/i386/sysdep.S: Likewise.
66163         * sysdeps/unix/sparc/start.c: Likewise.
66164         * sysdeps/unix/sparc/sysdep.S: Likewise.
66165         * sysdeps/unix/sparc/sysdep.h: Likewise.
66166         * sysdeps/unix/start.c: Likewise.
66167         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66168         * sysdeps/x86_64/sysdep.h: Likewise.
66170 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
66172         [BZ #13553]
66173         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
66174         for non-gcc.
66175         * argp/argp-fmtstream.h: Use const instead __const.
66176         * argp/argp.h: Likewise.
66177         * assert/assert.h: Likewise.
66178         * bits/fenv.h: Likewise.
66179         * bits/sched.h: Likewise.
66180         * bits/sigset.h: Likewise.
66181         * bits/sigthread.h: Likewise.
66182         * catgets/nl_types.h: Likewise.
66183         * conform/data/pthread.h-data: Likewise.
66184         * crypt/crypt-private.h: Likewise.
66185         * crypt/crypt.h: Likewise.
66186         * crypt/crypt_util.c: Likewise.
66187         * ctype/ctype.h: Likewise.
66188         * debug/execinfo.h: Likewise.
66189         * debug/mbsnrtowcs_chk.c: Likewise.
66190         * debug/mbsrtowcs_chk.c: Likewise.
66191         * debug/wcsnrtombs_chk.c: Likewise.
66192         * debug/wcsrtombs_chk.c: Likewise.
66193         * debug/wcstombs_chk.c: Likewise.
66194         * dirent/dirent.h: Likewise.
66195         * dlfcn/dlfcn.h: Likewise.
66196         * elf/neededtest4.c: Likewise.
66197         * grp/grp.h: Likewise.
66198         * gshadow/gshadow.h: Likewise.
66199         * iconv/gconv.h: Likewise.
66200         * iconv/gconv_int.h: Likewise.
66201         * iconv/gconv_simple.c: Likewise.
66202         * iconv/iconv.h: Likewise.
66203         * iconv/loop.c: Likewise.
66204         * iconv/skeleton.c: Likewise.
66205         * include/aio.h: Likewise.
66206         * include/aliases.h: Likewise.
66207         * include/argz.h: Likewise.
66208         * include/arpa/inet.h: Likewise.
66209         * include/assert.h: Likewise.
66210         * include/dirent.h: Likewise.
66211         * include/dlfcn.h: Likewise.
66212         * include/execinfo.h: Likewise.
66213         * include/fcntl.h: Likewise.
66214         * include/fenv.h: Likewise.
66215         * include/glob.h: Likewise.
66216         * include/grp.h: Likewise.
66217         * include/libintl.h: Likewise.
66218         * include/mntent.h: Likewise.
66219         * include/netdb.h: Likewise.
66220         * include/pwd.h: Likewise.
66221         * include/rpc/netdb.h: Likewise.
66222         * include/sched.h: Likewise.
66223         * include/search.h: Likewise.
66224         * include/shadow.h: Likewise.
66225         * include/signal.h: Likewise.
66226         * include/stdio.h: Likewise.
66227         * include/stdlib.h: Likewise.
66228         * include/string.h: Likewise.
66229         * include/sys/socket.h: Likewise.
66230         * include/sys/stat.h: Likewise.
66231         * include/sys/statfs.h: Likewise.
66232         * include/sys/statvfs.h: Likewise.
66233         * include/sys/syslog.h: Likewise.
66234         * include/sys/time.h: Likewise.
66235         * include/sys/uio.h: Likewise.
66236         * include/time.h: Likewise.
66237         * include/unistd.h: Likewise.
66238         * include/utmp.h: Likewise.
66239         * include/wchar.h: Likewise.
66240         * include/wctype.h: Likewise.
66241         * inet/aliases.h: Likewise.
66242         * inet/arpa/inet.h: Likewise.
66243         * inet/netinet/ether.h: Likewise.
66244         * inet/netinet/in.h: Likewise.
66245         * intl/libintl.h: Likewise.
66246         * io/bits/fcntl2.h: Likewise.
66247         * io/fcntl.h: Likewise.
66248         * io/ftw.h: Likewise.
66249         * io/sys/poll.h: Likewise.
66250         * io/sys/stat.h: Likewise.
66251         * io/sys/statfs.h: Likewise.
66252         * io/sys/statvfs.h: Likewise.
66253         * io/utime.h: Likewise.
66254         * libio/bits/stdio.h: Likewise.
66255         * libio/bits/stdio2.h: Likewise.
66256         * libio/libio.h: Likewise.
66257         * libio/libioP.h: Likewise.
66258         * libio/stdio.h: Likewise.
66259         * locale/lc-ctype.c: Likewise.
66260         * locale/locale.h: Likewise.
66261         * login/utmp.h: Likewise.
66262         * malloc/arena.c: Likewise.
66263         * malloc/malloc.c: Likewise.
66264         * malloc/malloc.h: Likewise.
66265         * malloc/mcheck.c: Likewise.
66266         * malloc/mtrace.c: Likewise.
66267         * math/bits/mathcalls.h: Likewise.
66268         * math/fenv.h: Likewise.
66269         * math/math_private.h: Likewise.
66270         * misc/bits/error.h: Likewise.
66271         * misc/bits/syslog.h: Likewise.
66272         * misc/err.h: Likewise.
66273         * misc/error.h: Likewise.
66274         * misc/fstab.h: Likewise.
66275         * misc/mntent.h: Likewise.
66276         * misc/regexp.h: Likewise.
66277         * misc/search.h: Likewise.
66278         * misc/sgtty.h: Likewise.
66279         * misc/sys/mman.h: Likewise.
66280         * misc/sys/syslog.h: Likewise.
66281         * misc/sys/uio.h: Likewise.
66282         * misc/sys/xattr.h: Likewise.
66283         * misc/ttyent.h: Likewise.
66284         * nis/rpcsvc/ypclnt.h: Likewise.
66285         * nss/nss.h: Likewise.
66286         * posix/bits/unistd.h: Likewise.
66287         * posix/fnmatch.h: Likewise.
66288         * posix/glob.h: Likewise.
66289         * posix/sched.h: Likewise.
66290         * posix/spawn.h: Likewise.
66291         * posix/sys/wait.h: Likewise.
66292         * posix/unistd.h: Likewise.
66293         * posix/wordexp.h: Likewise.
66294         * pwd/pwd.h: Likewise.
66295         * resolv/netdb.h: Likewise.
66296         * resource/sys/resource.h: Likewise.
66297         * rt/aio.h: Likewise.
66298         * rt/bits/mqueue2.h: Likewise.
66299         * rt/mqueue.h: Likewise.
66300         * shadow/shadow.h: Likewise.
66301         * signal/signal.h: Likewise.
66302         * socket/send.c: Likewise.
66303         * socket/sendto.c: Likewise.
66304         * socket/sys/socket.h: Likewise.
66305         * stdio-common/printf.h: Likewise.
66306         * stdlib/bits/stdlib.h: Likewise.
66307         * stdlib/fmtmsg.h: Likewise.
66308         * stdlib/monetary.h: Likewise.
66309         * stdlib/stdlib.h: Likewise.
66310         * stdlib/ucontext.h: Likewise.
66311         * streams/stropts.h: Likewise.
66312         * string/argz.h: Likewise.
66313         * string/bits/string2.h: Likewise.
66314         * string/string.h: Likewise.
66315         * string/strings.h: Likewise.
66316         * sunrpc/rpc/auth.h: Likewise.
66317         * sunrpc/rpc/auth_des.h: Likewise.
66318         * sunrpc/rpc/clnt.h: Likewise.
66319         * sunrpc/rpc/netdb.h: Likewise.
66320         * sunrpc/rpc/pmap_clnt.h: Likewise.
66321         * sunrpc/rpc/xdr.h: Likewise.
66322         * sysdeps/generic/inttypes.h: Likewise.
66323         * sysdeps/generic/net/if.h: Likewise.
66324         * sysdeps/generic/sys/swap.h: Likewise.
66325         * sysdeps/gnu/net/if.h: Likewise.
66326         * sysdeps/gnu/utmpx.h: Likewise.
66327         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
66328         * sysdeps/i386/i486/bits/string.h: Likewise.
66329         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
66330         * sysdeps/s390/bits/string.h: Likewise.
66331         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
66332         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
66333         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
66334         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
66335         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
66336         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
66337         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
66338         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
66339         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
66340         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
66341         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
66342         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66343         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
66344         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66345         * sysdeps/unix/sysv/linux/readv.c: Likewise.
66346         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
66347         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
66348         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66349         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
66350         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
66351         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66352         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
66353         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
66354         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
66355         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
66356         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
66357         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
66358         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66359         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
66360         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
66361         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
66362         * sysvipc/sys/ipc.h: Likewise.
66363         * sysvipc/sys/msg.h: Likewise.
66364         * sysvipc/sys/sem.h: Likewise.
66365         * sysvipc/sys/shm.h: Likewise.
66366         * termios/termios.h: Likewise.
66367         * time/sys/time.h: Likewise.
66368         * time/time.h: Likewise.
66369         * wcsmbs/bits/wchar2.h: Likewise.
66370         * wcsmbs/uchar.h: Likewise.
66371         * wcsmbs/wchar.h: Likewise.
66372         * wctype/wctype.h: Likewise.
66374         [BZ #13551]
66375         * Makeconfig: Remove all but ELF support including AIX support.
66376         * Makerules: Likewise.
66377         * config.h.in: Likewise.
66378         * config.make.in: Likewise.
66379         * configure: Likewise.
66380         * configure.in: Likewise.
66381         * csu/Makefile: Likewise.
66382         * csu/version.c: Likewise.
66383         * debug/Makefile: Likewise.
66384         * dlfcn/Makefile: Likewise.
66385         * elf/Makefile: Likewise.
66386         * extra-lib.mk: Likewise.
66387         * iconv/Makefile: Likewise.
66388         * include/libc-symbols.h: Likewise.
66389         * include/shlib-compat.h: Likewise.
66390         * resolv/Makefile: Likewise.
66391         * resolv/res_libc.c: Likewise.
66392         * rt/Makefile: Likewise.
66393         * sysdeps/i386/asm-syntax.h: Likewise.
66394         * sysdeps/i386/sysdep.h: Likewise.
66395         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66396         * sysdeps/mach/sysdep.h: Likewise.
66397         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
66398         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
66399         * sysdeps/s390/asm-syntax.h: Likewise.
66400         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66401         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66402         * sysdeps/sh/sysdep.h: Likewise.
66403         * sysdeps/unix/sparc/sysdep.h: Likewise.
66404         * sysdeps/wordsize-32/divdi3.c: Likewise.
66405         * sysdeps/x86_64/sysdep.h: Likewise.
66407         * argp/Versions: Remove _argp_unlock_xxx.
66409         [BZ #13559]
66410         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
66411         * abilist/libBrokenLocale.abilist: Likewise.
66412         * abilist/libanl.abilist: Likewise.
66413         * abilist/libc.abilist: Likewise.
66414         * abilist/libcrypt.abilist: Likewise.
66415         * abilist/libdl.abilist: Likewise.
66416         * abilist/libm.abilist: Likewise.
66417         * abilist/libnsl.abilist: Likewise.
66418         * abilist/libpthread.abilist: Likewise.
66419         * abilist/libresolv.abilist: Likewise.
66420         * abilist/librt.abilist: Likewise.
66421         * abilist/libthread_db.abilist: Likewise.
66422         * abilist/libutil.abilist: Likewise.
66423         * abilist/libnss_db.abilist: New file.
66425         * scripts/abilist.awk: Add support for indirect functions.
66427         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
66429         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
66431         * shlib-versions: Remove entries for ports architectures.
66433         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
66434         files in ports.
66435         * elf/stackguard-macros.h: Remove support for IA-64.
66436         * elf/tst-auditmod1.c: Likewise.
66437         * sysdeps/generic/ldsodefs.h: Likewise.
66439         * sysdeps/unix/sysv/linux/configure.in: Ports should define
66440         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
66441         configure files.
66443         [BZ #13552]
66444         * configure.in: Remove --enable-omitfp support.
66445         * FAQ.in: Adjust.
66446         * config.make.in: Likewise.
66447         * Makeconfig: Likewise.
66448         * manual/install.texi: Likewise.
66450         In case anyone cares, the IA-64 architecture could move to ports.
66451         * sysdeps/ia64/*: Removed.
66452         * sysdeps/unix/sysv/linux/ia64/*: Removed.
66453         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
66455         [BZ #13555]
66456         * configure.in: Remove entries for unsupported architectures.
66458         [BZ #13533]
66459         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
66460         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
66461         routines.
66462         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
66463         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
66464         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
66465         fall back to using wcrtomb.
66466         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
66467         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
66468         renaming.
66469         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
66470         * wcsmbs/tst-c16c32-1.c: New file.
66472         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
66473         local variable.
66475         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
66477         * elf/tst-unique3.cc: Add explicit declaration of gets.
66478         * elf/tst-unique3lib.cc: Likewise.
66479         * elf/tst-unique3lib2.cc: Likewise.
66480         * elf/tst-unique4.cc: Likewise.
66482         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
66484 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
66486         [BZ #13566]
66487         * assert/assert.h (static_assert): Don't define for C++.
66488         * libio/stdio.h (gets): Do declare for C++ <= C++11.
66489         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
66491 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
66493         * iconv/loop.c (single loop): Fix assertion in storing of
66494         remaining bytes.
66496         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
66498 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
66500         * posix/getconf.c: Update copyright year.
66501         * nss/getent.c: Likewise.
66502         * nss/makedb.c: Likewise.
66503         * iconv/iconvconfig.c: Likewise.
66504         * iconv/iconv_prog.c: Likewise.
66505         * elf/ldconfig.c: Likewise.
66506         * elf/pldd.c: Likewise.
66507         * elf/sotruss.ksh: Likewise.
66508         * catgets/gencat.c: Likewise.
66509         * csu/version.c: Likewise.
66510         * elf/ldd.bash.in: Likewise.
66511         * elf/sprof.c (print_version): Likewise.
66512         * locale/programs/locale.c: Likewise.
66513         * locale/programs/localedef.c: Likewise.
66514         * login/programs/pt_chown.c: Likewise.
66515         * nscd/nscd.c (print_version): Likewise.
66516         * debug/xtrace.sh: Likewise.
66517         * malloc/memusage.sh: Likewise.
66518         * malloc/mtrace.pl: Likewise.
66519         * debug/catchsegv.sh: Likewise.
66521 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
66523         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
66524         pure attribute.
66526 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
66528         [BZ #13533]
66529         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
66530         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
66531         transformations.
66532         * iconv/gconv_int.h: Likewise.
66533         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
66534         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
66535         from libc for GLIBC_2.16.
66536         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
66537         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
66538         * wcsmbs/uchar.h: Really define mbstate_t.
66539         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
66540         * wcsmbs/c16rtomb.c: New file.
66541         * wcsmbs/mbrtoc16.c: New file.
66542         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
66543         for C/POSIX locale.
66544         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
66545         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
66547         * wcsmbs/wchar.h: Add missing __restrict.
66549 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66551         [BZ #13532]
66552         * time/Makefile (routines): Add timespec_get.
66553         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
66554         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
66555         timespec for ISO C11.
66556         * time/timespec_get.c: New file.
66557         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
66558         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
66560         [BZ #13531]
66561         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
66562         * stdlib/stdlib.h: Declare aligned_alloc.
66563         * Versions.def: Add GLIBC_2.16 for libc.
66564         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
66566         [BZ 13527]
66567         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
66568         ISO C11.
66570         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
66571         code.
66573         [BZ #13528]
66574         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
66576         [BZ #13529]
66577         * assert/assert.h (static_assert): Define.
66579         * version.h: Update for 2.16 development version.
66581         [BZ #13526]
66582         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
66583         _ISOC11_SOURCE.
66585         * version.h (RELEASE): Bump for 2.15 release.
66586         * include/features.h (__GLIBC_MINOR__): Bump to 15.
66588         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
66589         Patch by Marek Polacek <mpolacek@redhat.com>.
66591         * bits/byteswap.h: Protect long long constants with __extension__.
66592         * sysdeps/i386/bits/byteswap.h: Likewise.
66593         * sysdeps/ia64/bits/byteswap.h: Likewise.
66594         * sysdeps/s390/bits/byteswap.h: Likewise.
66595         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66597 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66599         [BZ #13540]
66600         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
66601         destination buffer.
66602         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
66604 2011-12-23  Marek Polacek  <polacek@redhat.com>
66606         * elf/dl-addr.c (determine_info): Add inline keyword.
66607         * elf/tst-auditmod4b.c (check_avx): Likewise.
66608         * elf/tst-auditmod6b.c (check_avx): Likewise.
66609         * elf/tst-auditmod6c.c (check_avx): Likewise.
66610         * elf/tst-auditmod7b.c (check_avx): Likewise.
66612 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66614         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
66615         !__SSE_MATH__.
66617 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66619         [BZ #13540]
66620         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66621         processing for last bytes.
66623 2011-08-06  Bruno Haible  <bruno@clisp.org>
66625         [BZ #13061]
66626         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66627         U+0385, not to U+1FEE.
66629         [BZ #13062]
66630         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66631         entry for U+00A5 U+0301.
66633 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66635         [BZ #13166]
66636         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66637         buffer for the output is too small.
66639         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66640         optimization.
66642         [BZ #13185]
66643         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66644         SSE flags if possible.
66646 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66648         [BZ #13540]
66649         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66650         processing for last bytes.
66652 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
66654         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66655         (syscall-list-default-options, syscall-list-default-condition)
66656         (syscall-list-includes): Define.
66657         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66658         list of ABIs and options and #if conditions for each ABI.  Do not
66659         handle common syscalls between ABIs specially.
66660         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66661         Remove.
66662         (syscall-list-variants, syscall-list-32bit-options)
66663         (syscall-list-32bit-condition, syscall-list-64bit-options)
66664         (syscall-list-64bit-condition): Define.
66665         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66666         (syscall-list-variants, syscall-list-32bit-options)
66667         (syscall-list-32bit-condition, syscall-list-64bit-options)
66668         (syscall-list-64bit-condition): Define.
66669         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66670         Remove.
66671         (syscall-list-variants, syscall-list-32bit-options)
66672         (syscall-list-32bit-condition, syscall-list-64bit-options)
66673         (syscall-list-64bit-condition): Define.
66674         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66675         Remove.
66676         (syscall-list-variants, syscall-list-32bit-options)
66677         (syscall-list-32bit-condition, syscall-list-64bit-options)
66678         (syscall-list-64bit-condition): Define.
66680 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66682         * locale/iso-639.def: Add brx entry.
66684         [BZ #13328]
66685         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66686         Proposed by Mariusz_Cukr <marcukr@op.pl>.
66688         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66689         __feraiseexcept_renamed.
66691 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66693         [BZ #13538]
66694         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66695         EPOLLET with unsigned values.
66696         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66697         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66699         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66700         to large cancellation.
66701         * math/s_cacoshf.c: Likewise.
66702         * math/s_cacoshl.c: Likewise.
66704 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
66706         [BZ #13305]
66707         [BZ #12786]
66708         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66709         * math/s_cacoshf.c: Likewise.
66710         * math/s_cacoshl.c: Likewise.
66712 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66714         [BZ #13439]
66715         * iconv/gconv.h: Define __GCONV_SWAP.
66716         * iconvdata/unicode.c: The swap bit must be stored in __flags.
66717         * iconvdata/utf-16.c: Likewise.
66718         * iconvdata/utf-32.c: Likewise.
66720 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
66722         [BZ #13524]
66723         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66724         numerator after shifting it by one limb.
66726 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
66728         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66729         under [__USE_EXTERN_INLINES].
66731 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66733         [BZ #13446]
66734         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66736 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66738         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66739         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66740         optimized code.
66741         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66742         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66743         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66744         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66745         for strncasecmp/strncasecmp_l compilation.
66746         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66747         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66749 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
66751         [BZ #13484]
66752         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66753         of __asm__.
66755 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66757         [BZ #13506]
66758         * time/tzfile.c (__tzfile_read): Check values from file header.
66760 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66762         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66763         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66764         * powerpc/powerpc32/dl-start.S: Likewise.
66765         * powerpc/powerpc32/elf/start.S: Likewise.
66766         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66767         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66768         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66769         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66770         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66771         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66772         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66773         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66774         * powerpc/powerpc32/fpu/s_round.S: Likewise.
66775         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
66776         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
66777         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
66778         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
66779         * powerpc/powerpc32/memset.S: Likewise.
66780         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
66781         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66782         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66783         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66784         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66785         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
66786         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
66787         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
66788         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
66789         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
66790         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
66791         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66792         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66794 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66796         * math/libm-test.inc: Added more nearbyint tests.
66797         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
66798         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
66799         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
66800         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
66802 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
66804         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
66805         FD_CLOEXEC.
66807 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66809         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
66810         Add wcscpy-ssse3 wcscpy-c.
66811         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
66812         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
66813         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
66814         * sysdeps/x86_64/wcschr.S: New file.
66815         * sysdeps/x86_64/wcsrchr.S: New file.
66816         * string/test-strcmp.c: Remove checking of wcscmp function for
66817         wrong alignments.
66818         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
66819         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
66820         wcsrchr-sse2 wcsrchr-c.
66821         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
66822         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
66823         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
66824         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
66825         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
66826         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
66827         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
66828         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
66829         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
66830         * wcsmbc/wcschr.c (WCSCHR): New macro.
66832 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66834         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
66835         * wcsmbs/test-wcsrchr.c: New file.
66836         * string/test-strrchr.c: Add wcsrchr support.
66837         (WIDE): New macro.
66838         * wcsmbs/test-wcscpy.c: New file.
66839         * string/test-strcpy.c: Add wcscpy support.
66840         (WIDE): New macro.
66842 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
66844         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
66845         the inner loop.
66847 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
66849         [BZ #13472]
66850         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
66852 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
66854         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
66855         Minor optimizations.
66857         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
66858         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
66859         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
66861 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
66863         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
66864         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
66865         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
66866         for gcc to avoid warnings.
66867         * inet/Makefile (tests): Add tst-checks.
66868         * inet/tst-checks.c: New file.
66870         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
66871         warning.
66873         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
66874         __wmemcmp_sse2.
66876         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
66877         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
66879         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
66881 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
66883         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
66884         problem.
66886         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
66888 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
66890         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
66891         conditional on GCC version.
66892         (__arch_compare_and_exchange_val_8_acq)
66893         (__arch_compare_and_exchange_val_16_acq)
66894         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
66895         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
66896         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
66898 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
66900         * sysdeps/sh/backtrace.c: New file.
66902 2011-12-02  Andreas Schwab  <schwab@redhat.com>
66904         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
66905         parenthesis.
66907 2011-12-01  Andreas Schwab  <schwab@redhat.com>
66909         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
66910         falling back to utime.
66912 2011-11-30  Andreas Schwab  <schwab@redhat.com>
66914         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
66915         expectations for float.
66917 2011-11-29  Andreas Schwab  <schwab@redhat.com>
66919         * locale/weight.h (findidx): Add parameter len.
66920         * locale/weightwc.h (findidx): Likewise.
66921         * posix/fnmatch_loop.c (FCT): Adjust caller.
66922         * posix/regcomp.c (build_equiv_class): Likewise.
66923         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
66924         * posix/regexec.c (check_node_accept_bytes): Likewise.
66925         * string/strcoll_l.c (STRCOLL): Likewise.
66926         * string/strxfrm_l.c (STRXFRM): Likewise.
66928 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
66930         * Makefile.in: Remove CVSOPT handling.
66931         * configure.in: Remove use of AC_REVISION.
66932         * iconvdata/Makefile (distribute): No need to filter out CVS.
66933         * scripts/list-sources.sh: Remove CVS, subversion and monotone
66934         handling.
66936 2011-11-16  Andreas Schwab  <schwab@redhat.com>
66938         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
66939         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
66940         [USE_AS_STRNCASECMP_L]: Likewise.
66941         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
66942         NO_TLS_DIRECT_SEG_REFS.
66943         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
66944         Fix argument offsets for non-PIC.
66945         [USE_AS_STRNCASECMP_L]: Likewise.
66946         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
66947         NO_TLS_DIRECT_SEG_REFS.
66949 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66951         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
66952         O_CLOEXEC.
66953         * locale/loadlocale.c (_nl_load_locale): Likewise.
66955 2011-11-15  Andreas Schwab  <schwab@redhat.com>
66957         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
66958         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
66959         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
66960         (SYSCALL_GETTIME): Set errno on error.
66962         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
66963         count references to noai6ai_cached.
66965 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66967         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
66969         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
66970         FD_CLOEXEC for /proc/self/maps.
66972         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
66973         FD_CLOEXEC for /proc/meminfo.
66975         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
66976         gai.conf.
66978         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
66979         FD_CLOEXEC for given file.
66981         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
66983         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
66984         FD_CLOEXEC for /etc/hosts.
66985         (_gethtent): Likewise.
66987         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
66989         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
66990         cancellation and set FD_CLOEXEC for /etc/netgroup.
66992         * nss/nss_files/files-key.c (search): Don't allow cancellation when
66993         reading /etc/publickey.
66995         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
66996         allow cancellation when reading /etc/group.
66998         * nss/nss_files/files-alias.c (internal_setent): Don't allow
66999         cancellation.
67000         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
67002         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
67003         when using data file.
67005         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
67007         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
67008         (write_nis_obj): Use "c" and "e" in fopen.
67010         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
67012         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
67014         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
67016         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
67018         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
67019         locale.alias.
67021         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
67023         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
67025         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
67027         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
67028         file parsing and set FD_CLOEXEC.
67030 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67032         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
67034 2011-11-14  Andreas Schwab  <schwab@redhat.com>
67036         * malloc/arena.c (arena_get2): Don't call reused_arena when
67037         _int_new_arena failed.
67039 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67041         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
67042         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
67043         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
67044         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67045         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67046         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
67047         to compile strcasecmp and strncasecmp.
67048         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
67049         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
67051         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
67053 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
67055         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
67056         locale-defines.sym to gen-as-const-headers.
67057         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
67058         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
67059         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
67060         to compile strcasecmp and strncasecmp.
67061         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
67062         strcasecmp_l and strncasecmp_l.
67063         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
67064         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
67065         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
67066         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
67067         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
67068         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
67069         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
67070         * sysdeps/i386/i686/multiarch/strncase.S: New file.
67071         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
67072         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
67073         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
67075 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
67077         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
67078         result of SYSDEP_GETTIME_CPU to retval.
67079         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
67080         parameter list to macro.  Remove trailing semicolon.  Adjust users.
67082         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
67083         variable.
67085         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
67086         mantissa words.
67087         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
67089         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
67090         from unused variable.
67092         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
67093         DWARF definitions.
67094         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
67095         for assembling.
67097         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
67098         over namespaces.
67100         * sunrpc/rpc_prot.c (rejected): Fix case value.
67102         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
67103         unsigned long long int to avoid warnings in shift.
67105         * posix/regex_internal.c (re_string_reconstruct): Actually use result
67106         of use of trans.
67107         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
67108         variable tmp.
67110         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
67111         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
67112         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
67114         * nis/nis_table.c (nis_list): Use variable of correct type for
67115         result of __follow_path call.
67117 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67119         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
67120         of math functions ceil, trunc, floor, round, and sqrt, when
67121         avaliable on the platform.
67122         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
67123         name clash.
67124         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67125         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67126         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67128 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
67130         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
67131         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67133 2011-11-11  Roland McGrath  <roland@hack.frob.com>
67135         * include/unistd.h: Fix __readlink return type.
67136         Reported by Chris Metcalf <cmetcalf@tilera.com>.
67138 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
67140         * stdlib/ucontext.h: Undo last change for makecontext.
67142 2011-11-11  Andreas Schwab  <schwab@redhat.com>
67144         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
67146         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
67147         * setjmp/setjmp.h: Mark functions as non-leaf.
67148         * setjmp/bits/setjmp2.h: Likewise.
67149         * stdlib/ucontext.h: Likewise.
67151 2011-11-10  Andreas Schwab  <schwab@redhat.com>
67153         * malloc/arena.c (_int_new_arena): Don't increment narenas.
67154         (reused_arena): Don't check arena limit.
67155         (arena_get2): Atomically check arena limit.
67157 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
67159         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
67160         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
67162         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
67163         instructions.
67165 2011-11-07  Andreas Schwab  <schwab@redhat.com>
67167         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
67168         handler when locking.
67170         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67171         Fix size of allocated buffer.
67173 2011-11-04  Andreas Schwab  <schwab@redhat.com>
67175         [BZ #10103]
67176         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
67177         declarations for long double functions.
67178         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
67180         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
67182 2011-11-03  Andreas Schwab  <schwab@redhat.com>
67184         * nscd/nscd.c (main): Don't start AVC thread until credentials are
67185         installed.
67187         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
67188         is disabled.
67190 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67192         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
67194 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67196         * include/alloca.h (stackinfo_alloca_round): Define.
67197         (extend_alloca): Use it.
67198         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
67199         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
67200         here.
67202         * scripts/check-local-headers.sh: Ignore libaudit.h.
67204         * nscd/Makefile (extra-objs): Make recursively expanded.
67206 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
67208         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
67209         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
67211         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
67212         * posix/tst-rfc3484-2.c: Likewise.
67213         * posix/tst-rfc3484-3.c: Likewise.
67215         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67216         process_vm_writev.
67217         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
67218         process_vm_writev.
67219         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
67220         process_vm_writev from libc using GLIBC_2.15 version.
67222         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
67224 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
67226         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
67227         stack usage.
67229 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
67231         [BZ #13367]
67232         * nss/getent.c (initgroups_keys): Show error message in case no group
67233         names are given.
67235         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
67236         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
67237         __bump_nl_timestamp.
67238         * nscd/connections (nscd_init): When host database is served open
67239         netlink socket and request notification about configuration changes.
67240         (main_loop_poll): Track netlink file descriptor and bump timestamp
67241         in case data becomes available.
67242         (main_loop_epoll): Likewise.
67243         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
67244         (database_pers_head): Add extra_data fileds.
67245         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
67246         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
67247         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
67248         Adjust caller.
67249         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
67250         in6ai data, call __free_in6ai.
67251         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
67252         Add -DHAVE_NETLINK.
67253         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
67254         interface information.  Reuse previous data if netlink timestamp
67255         is not changed.
67256         (__bump_nl_timestamp): New function.
67257         (__free_in6ai): New function.
67259 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
67261         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
67262         close_not_cancel_no_status here.
67263         (__check_pf): Reorganize code a bit to not call close twice if OOM.
67265 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67267         [BZ #13276]
67268         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
67269         return value.
67271         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
67272         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
67273         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
67275 2011-07-03  Andreas Jaeger  <aj@suse.de>
67277         [BZ #10709]
67278         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
67279         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
67280         * math/libm-test.inc (sin_test): Add test case.
67282 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67284         [BZ #13337]
67285         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
67286         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67288         * elf/chroot_canon.c (chroot_canon): Cleanups.
67290         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
67292         [BZ #13335]
67293         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
67294         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67296         * string/test-strchr.c: Make usable for strchrnul testing.
67297         * string/test-strchrnul.c: New file.
67298         * string/Makefile (strop-tests): Add strchrnul.
67300         * po/it.po: Update from translation team.
67301         * po/es.po: Likewise.
67303 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
67305         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
67306         the three constants needed as parameters.  Drop the others.
67307         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
67308         __m128i_strloadu_tolower.
67309         Create and initialize variable zero and use it in all the places
67310         where _mm_setzero_si128 was used.
67312         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
67313         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
67314         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
67315         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
67316         anymore.
67317         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
67318         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
67319         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
67320         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
67321         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
67322         __mpranred, __mptan.
67323         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
67324         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
67325         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
67326         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
67327         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
67328         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
67329         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
67330         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
67331         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
67333 2011-10-28  Andreas Schwab  <schwab@redhat.com>
67335         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
67336         redefine if SHARED.
67337         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
67339         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
67340         wide char related routines to wcsmbs subdir.
67342 2011-10-27  Andreas Schwab  <schwab@redhat.com>
67344         [BZ #13344]
67345         * misc/sys/cdefs.h (__THROWNL): Define.
67346         * posix/unistd.h: Use __THREADNL instead of __THREAD
67347         for memory synchronization functions.
67349 2011-10-26  Roland McGrath  <roland@hack.frob.com>
67351         [BZ #13349]
67352         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
67353         doesn't exist.
67354         * manual/stdio.texi (Obstack Streams): Node removed.
67356 2011-10-26  Andreas Schwab  <schwab@redhat.com>
67358         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
67359         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67360         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67362         * math/math_private.h (math_force_eval): Allow non-addressable
67363         arguments.
67364         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
67366 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67368         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
67369         file is not needed.
67371         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
67372         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
67373         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67374         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67375         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67376         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67377         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67378         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
67379         Add AVX variants.
67380         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
67381         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
67382         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
67383         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
67384         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
67385         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
67386         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
67387         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
67388         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
67389         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
67390         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
67391         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
67392         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
67393         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
67394         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
67395         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
67396         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
67397         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
67398         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
67400         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
67401         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
67403         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
67404         place.  Use VEX encoding when compiling for AVX.
67406 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67408         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
67409         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
67411         * string/test-strchr.c (do_test): Don't generate NUL bytes.
67413 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67415         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
67416         useless if() expression.
67417         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67418         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67419         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67420         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67421         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67422         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67423         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67424         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67425         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67426         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67427         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67428         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67429         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67430         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67431         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67432         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67433         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67434         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67435         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67437         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
67439 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67441         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
67442         condition.
67443         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67445 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67447         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
67448         .text section.  Avoid duplicate constants.
67449         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67450         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67451         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67452         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67453         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67454         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67455         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67456         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67457         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67458         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
67459         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67460         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67461         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67462         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67463         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67464         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67465         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67466         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67467         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67468         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67469         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67470         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67471         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67472         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
67473         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
67474         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
67475         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
67476         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
67477         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
67478         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
67479         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
67480         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
67481         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67482         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
67483         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
67484         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
67485         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
67486         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
67487         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
67488         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
67489         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
67490         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
67491         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
67492         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
67493         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
67495 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
67497         * sysdeps/x86_64/dla.h: Move to ...
67498         * sysdeps/x86_64/fpu/dla.h: ...here.
67499         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
67500         situations.  Use __builtin_fma only for gcc 4.6 and up.
67502         * config.make.in: Add have-mfma4 entry.
67503         * configure.in: Substitute libc_cv_cc_fma4.
67504         * math/Makefile (dbl-only-routines): Add sincostab.
67505         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
67506         Use __sincostab not sincos.
67507         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
67508         name is a macro.
67509         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67510         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67511         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67512         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
67513         using __copysign.
67514         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
67515         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
67516         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
67517         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
67518         and __inv.
67519         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
67520         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
67521         __copysign.
67522         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
67523         define aliases when function name is a macro.
67524         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
67525         sysdeps/ieee754/dbl-64/sincos.tbl.
67526         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
67527         fma4-enabled routines.
67528         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
67529         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
67530         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
67531         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
67532         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
67533         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
67534         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
67535         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
67536         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
67537         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
67538         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
67539         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
67540         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
67541         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
67542         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
67543         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
67544         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
67545         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
67546         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
67547         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
67548         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
67549         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
67550         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
67551         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
67552         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
67553         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
67554         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
67555         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
67556         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
67557         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
67559         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
67560         rename.
67561         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67562         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67563         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67564         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67565         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67566         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67567         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67568         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67570 2011-10-24  Andreas Schwab  <schwab@redhat.com>
67572         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
67574 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67576         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
67578         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
67579         prediction.
67580         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
67582         * string/strnlen.c: Don't define STRNLEN, reverse logic.
67583         Remove unused variable magic_bits.
67584         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
67586         * string/strnlen.c: Define and use STRNLEN macro.
67587         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
67588         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
67589         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
67590         * wcsmbs/wcslen.c: Define and use WCSLEN.
67591         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
67592         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
67593         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
67594         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
67595         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
67596         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
67597         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67599 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67602         strnlen-sse2-no-bsf.
67603         Rename strlen-no-bsf to strlen-sse2-no-bsf.
67604         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
67605         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
67606         Add strnlen support.
67607         (USE_AS_STRNLEN): New macro.
67608         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
67609         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
67610         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
67611         * sysdeps/x86_64/wcslen.S: New file.
67613 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
67615         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67616         XMM-moves are used for copying on small sizes.
67618 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67620         * wcsmbs/Makefile (strop-tests): Add wcschr.
67621         * wcsmbs/test-wcschr.c: New file.
67622         * string/test-strchr.c: Update.
67623         Add wcschr support.
67624         (WIDE): New macro.
67626 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67628         * wcsmbs/Makefile (strop-tests): Add wcslen.
67629         * wcsmbs/test-wcslen.c: New file.
67630         * string/test-strlen.c: Update.
67631         Add wcslen support.
67632         (WIDE): New macro.
67634 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67636         * po/it.po: Update from translation team.
67638 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67640         * sysdeps/x86_64/wcscmp.S: Update.
67641         Fix wrong comparison semantics.
67642         wcscmp shall use signed comparison not unsigned.
67643         Don't use substraction to avoid overflow bug.
67644         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67645         * wcsmbc/wcscmp.c: Likewise.
67646         * string/test-strcmp.c: Likewise.
67647         Add new tests to check cases with negative values.
67649 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67651         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67652         * sysdeps/x86_64/dla.h: ...here.  New file.
67653         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67654         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67655         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67656         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67657         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67658         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67659         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67660         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67661         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67663 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
67665         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67666         __ynl_finite aliases.
67668 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67670         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67672         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67673         define DLA_FMA.
67674         [DLA_FMA] (EMULV): Use DLA_FMA.
67675         [DLA_FMA] (MUL12): Use EMULV.
67676         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67677         that are not needed.
67678         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67679         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67680         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67681         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67682         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67683         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67684         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67686 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
67688         * math/s_nan.c: Undef __nan.
67689         * math/s_nanf.c: Undef __nanf.
67690         * math/s_nanl.c: Undef __nanl.
67691         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67692         "math_private.h".
67694 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67696         * math/s_catan.c: Add branch predictions.
67697         * math/s_catanf.c: Likewise.
67698         * math/s_catanh.c: Likewise.
67699         * math/s_catanhf.c: Likewise.
67700         * math/s_catanhl.c: Likewise.
67701         * math/s_catanl.c: Likewise.
67702         * math/s_cexp.c: Likewise.
67703         * math/s_cexpf.c: Likewise.
67704         * math/s_cexpl.c: Likewise.
67705         * math/s_clog.c: Likewise.
67706         * math/s_clog10.c: Likewise.
67707         * math/s_clog10f.c: Likewise.
67708         * math/s_clog10l.c: Likewise.
67709         * math/s_clogf.c: Likewise.
67710         * math/s_clogl.c: Likewise.
67711         * math/s_csqrt.c: Likewise.
67712         * math/s_csqrtf.c: Likewise.
67713         * math/s_csqrtl.c: Likewise.
67714         * math/s_ctanf.c: Likewise.
67715         * math/s_ctanh.c: Likewise.
67716         * math/s_ctanhf.c: Likewise.
67717         * math/s_ctanhl.c: Likewise.
67718         * math/s_ctanl.c: Likewise.
67720         * math/math_private.h: Define __nan, __nanf, __nanl.
67721         * math/s_cacosh.c: Include <math_private.h>.
67722         * math/s_cacoshl.c: Likewise.
67723         * math/s_casinh.c: Likewise.
67724         * math/s_casinhf.c: Likewise.
67725         * math/s_casinhl.c: Likewise.
67726         * math/s_ccos.c: Rely entire on ccosh.
67727         * math/s_ccosf.c: Rely entire on ccoshf.
67728         * math/s_ccosl.c: Rely entirely on ccoshl.
67729         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
67730         Remove tests for FE_INVALID.
67731         * math/s_ccoshf.c: Likewise.
67732         * math/s_ccoshl.c: Likewise.
67733         * math/s_csin.c: Likewise.
67734         * math/s_csinf.c: Likewise.
67735         * math/s_csinh.c Likewise.
67736         * math/s_csinhf.c: Likewise.
67737         * math/s_csinhl.c: Likewise.
67738         * math/s_csinl.c: Likewise.
67739         * math/s_ctan.c: Likewise.
67740         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67741         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67742         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67744 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
67746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67747         compilation problems.
67749         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67750         __builtin_expect.
67752 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
67754         * sysdeps/i386/configure.in: Test for -mfma4 option.
67755         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67756         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67757         COMMON_CPUID_INDEX_80000001.
67758         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67759         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67760         use it if FMA3 is not supported.
67761         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67763         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67764         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67766 2011-10-20  Andreas Schwab  <schwab@redhat.com>
67768         [BZ #12892]
67769         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67770         it would create a cycle with a link time dependency.
67772 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
67774         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
67775         instruction.
67776         * string/Makefile (strop-tests): Add rawmemchr.
67777         * string/test-rawmemchr.c: New file.
67779         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
67780         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
67781         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
67782         when compiling str{,n}casecmp and when AVX is available.  Hook up
67783         new optimized code in initializers.
67785 2011-10-19  Andreas Schwab  <schwab@redhat.com>
67787         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
67788         __feraiseexcept instead of feraiseexcept.
67790 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
67792         * math/math_private.h: Define defaults for libc_fetestexcept and
67793         libc_feupdateenv.
67794         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
67795         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
67796         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67797         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67798         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67799         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67800         libc_fetestexcept and libc_feupdateenv.
67802         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
67803         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
67804         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
67805         * sysdeps/x86_64/fpu/math_private.h: Define special version of
67806         libc_feholdexcept_setround.
67808         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
67809         Add s_nearbyint-c and s_nearbyintf-c.
67810         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
67811         nearbyintf inlines.
67812         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
67813         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
67814         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
67815         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
67817         * math/math_private.h: Define defaults for libc_fegetround,
67818         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
67819         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
67820         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
67821         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
67822         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
67823         standard functions.
67824         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67825         Remove comments and hacks for old compiler versions.
67826         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67827         libc_fegetround, libc_fesetround, libc_feholdexcept, and
67828         libc_feholdexceptl.
67830 2011-10-18  Andreas Schwab  <schwab@redhat.com>
67832         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
67833         (__feraiseexcept_renamed): Add __NTH.
67834         (feraiseexcept): Add __NTH.  Rename local variables to fix
67835         namespace violations.
67837 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
67839         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
67841         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
67843         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
67844         recently added interfaces.
67845         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
67847         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
67848         about macro parameter expansion.
67850         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
67851         __NO_MATH_INLINES is defined.  Cleanups.
67853         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
67854         and __floorf is target has SSE4.1.
67855         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
67856         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
67857         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
67858         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
67860         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
67861         name.
67862         (floorf): Likewise.
67864         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
67866 2011-10-17  Andreas Schwab  <schwab@redhat.com>
67868         * misc/sys/cdefs.h: Fix last change.
67870         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
67871         database lookup.
67873 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
67875         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
67877         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
67878         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67879         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67880         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67881         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67882         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67883         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67884         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67885         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67886         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
67887         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
67888         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
67889         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
67890         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
67891         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
67892         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
67893         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
67894         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
67895         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
67896         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
67897         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
67898         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
67900         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
67901         ceil, ceilf, floor, floorf.
67903         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
67904         Perform IRELATIVE relocations last.
67906         * elf/do-rel.h: Add another parameter nrelative, replacing the
67907         local variable with the same name.  Change name of the function
67908         to end in Rel or Rela (uppercase).
67909         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
67910         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
67911         elf_dynamic_do_##reloc function.
67913 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67915         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
67916         is sufficient, at least on modern CPUs.
67918         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
67920         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
67921         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
67923         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
67924         __expl_finite.
67925         * math/bits/math-finite.h: Add entries for exp.
67926         * math/e_expl.c: Add __*_finite alias.
67927         * sysdeps/i386/fpu/e_exp.S: Likewise.
67928         * sysdeps/i386/fpu/e_expf.S: Likewise.
67929         * sysdeps/i386/fpu/e_expl.c: Likewise.
67930         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67931         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67932         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
67933         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
67934         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
67935         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67936         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67938         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
67939         is sufficient, at least on modern CPUs.
67941         * ctype/ctype-info.c (__ctype_init): Define.
67942         * include/ctype.h (__ctype_init): Declare.
67943         (__ctype_b_loc): The variable is always initialized.
67944         (__ctype_toupper_loc): Likewise.
67945         (__ctype_tolower_loc): Likewise.
67946         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
67947         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
67949 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
67951         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
67953         * configure.in: Also look in $cxxmachine/include for C++ system
67954         headers.
67956 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67958         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
67959         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
67960         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
67961         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
67962         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
67963         (USE_AS_WMEMCMP): New macro.
67964         Fixing indents.
67965         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
67966         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
67967         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
67968         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
67969         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67970         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
67971         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
67972         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
67973         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
67974         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
67975         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
67976         (USE_AS_WMEMCMP): New macro.
67977         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
67978         * sysdeps/string/test-memcmp.c: Update.
67979         Fix simple_wmemcmp.
67980         Add new tests.
67981         * wcsmbs/wmemcmp.c: Update.
67982         (WMEMCMP): New macro.
67983         Fix overflow bug.
67985 2011-10-12  Andreas Jaeger  <aj@suse.de>
67987         [BZ #13268]
67988         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
67990 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67992         * libio/iofwide.c (do_length): Avoid warning.
67994         * ctype/ctype.h (__isctype_f): Add missing __THROW.
67996 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
67998         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
68000         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
68001         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
68002         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
68003         * sysdeps/i386/i686/fpu/e_log.S: New file.
68004         * sysdeps/i386/i686/fpu/e_logf.S: New file.
68005         * sysdeps/i386/i686/fpu/e_logl.S: New file.
68007         * ctype/ctype.h: Add support for inlined isXXX functions when
68008         compiling C++ code.
68010 2011-10-14  Andreas Schwab  <schwab@redhat.com>
68012         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68014         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
68016 2011-10-13  Roland McGrath  <roland@hack.frob.com>
68018         [BZ #13291]
68019         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
68021 2011-10-13  Andreas Schwab  <schwab@redhat.com>
68023         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
68024         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
68025         feraiseexcept.
68027         * sysdeps/x86_64/memrchr.S: Check for zero size.
68029         * string/stratcliff.c: Add memrchr tests.
68031 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68033         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68034         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
68035         rawmemchr-sse2 rawmemchr-sse2-bsf.
68036         * sysdeps/i386/i686/multiarch/memchr.S: New file.
68037         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
68038         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
68039         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
68040         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
68041         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
68042         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
68043         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
68044         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
68045         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
68046         * string/memrchr.c (MEMRCHR): New macro.
68048 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
68050         Add integration with gcc's -ffinite-math-only and optimize wrapper
68051         functions in libm.
68052         * Versions.def: Define GLIBC_2.15 version for libm.
68053         * math/Makefile (headers): Add bits/math-finite.h.
68054         * math/bits/math-finite.h: New file.
68055         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
68056         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
68057         * math/e_acoshl.c: Add __*_finite alias.
68058         * math/e_acosl.c: Likewise.
68059         * math/e_asinl.c: Likewise.
68060         * math/e_atan2l.c: Likewise.
68061         * math/e_atanhl.c: Likewise.
68062         * math/e_coshl.c: Likewise.
68063         * math/e_exp10.c: Likewise.
68064         * math/e_exp10f.c: Likewise.
68065         * math/e_exp10l.c: Likewise.
68066         * math/e_exp2l.c: Likewise.
68067         * math/e_fmodl.c: Likewise.
68068         * math/e_gammal_r.c: Likewise.
68069         * math/e_hypotl.c: Likewise.
68070         * math/e_j0l.c: Likewise.
68071         * math/e_j1l.c: Likewise.
68072         * math/e_jnl.c: Likewise.
68073         * math/e_lgammal_r.c: Likewise.
68074         * math/e_log10l.c: Likewise.
68075         * math/e_log2l.c: Likewise.
68076         * math/e_logl.c: Likewise.
68077         * math/e_powl.c: Likewise.
68078         * math/e_sinhl.c: Likewise.
68079         * math/e_sqrtl.c: Likewise.
68080         * math/e_scalb.c: Completely rewritten and optimized.
68081         * math/e_scalbf.c: Likewise.
68082         * math/e_scalbl.c: Likewise.
68083         * math/w_acos.c: Likewise.
68084         * math/w_acosf.c: Likewise.
68085         * math/w_acosl.c: Likewise.
68086         * math/w_acosh.c: Likewise.
68087         * math/w_acoshf.c: Likewise.
68088         * math/w_acoshl.c: Likewise.
68089         * math/w_asin.c: Likewise.
68090         * math/w_asinf.c: Likewise.
68091         * math/w_asinl.c: Likewise.
68092         * math/w_atan2.c: Likewise.
68093         * math/w_atan2f.c: Likewise.
68094         * math/w_atan2l.c: Likewise.
68095         * math/w_atanh.c: Likewise.
68096         * math/w_atanhf.c: Likewise.
68097         * math/w_atanhl.c: Likewise.
68098         * math/w_exp10.c: Likewise.
68099         * math/w_exp10f.c: Likewise.
68100         * math/w_exp10l.c: Likewise.
68101         * math/w_fmod.c: Likewise.
68102         * math/w_fmodf.c: Likewise.
68103         * math/w_fmodl.c: Likewise.
68104         * math/w_j0.c: Likewise.
68105         * math/w_j0f.c: Likewise.
68106         * math/w_j0l.c: Likewise.
68107         * math/w_j1.c: Likewise.
68108         * math/w_j1f.c: Likewise.
68109         * math/w_j1l.c: Likewise.
68110         * math/w_jn.c: Likewise.
68111         * math/w_jnf.c: Likewise.
68112         * math/w_log.c: Likewise.
68113         * math/w_logf.c: Likewise.
68114         * math/w_logl.c: Likewise.
68115         * math/w_log10.c: Likewise.
68116         * math/w_log10f.c: Likewise.
68117         * math/w_log10l.c: Likewise.
68118         * math/w_log2.c: Likewise.
68119         * math/w_log2f.c: Likewise.
68120         * math/w_log2l.c: Likewise.
68121         * math/w_pow.c: Likewise.
68122         * math/w_powf.c: Likewise.
68123         * math/w_powl.c: Likewise.
68124         * math/w_remainder.c: Likewise.
68125         * math/w_remainderf.c: Likewise.
68126         * math/w_remainderl.c: Likewise.
68127         * math/w_scalb.c: Likewise.
68128         * math/w_scalbf.c: Likewise.
68129         * math/w_scalbl.c: Likewise.
68130         * math/w_sqrt.c: Likewise.
68131         * math/w_sqrtf.c: Likewise.
68132         * math/w_sqrtl.c: Likewise.
68133         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
68134         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
68135         used.
68136         * math/math_private.h: Declare __kernel_standard_f.
68137         * math/w_cosh.c: Remove cruft and optimize a bit.
68138         * math/w_coshf.c: Likewise.
68139         * math/w_coshl.c: Likewise.
68140         * math/w_exp2.c: Likewise.
68141         * math/w_exp2f.c: Likewise.
68142         * math/w_exp2l.c: Likewise.
68143         * math/w_hypot.c: Likewise.
68144         * math/w_hypotf.c: Likewise.
68145         * math/w_hypotl.c: Likewise.
68146         * math/w_lgamma.c: Likewise.
68147         * math/w_lgamma_r.c: Likewise.
68148         * math/w_lgammaf.c: Likewise.
68149         * math/w_lgammaf_r.c: Likewise.
68150         * math/w_lgammal.c: Likewise.
68151         * math/w_lgammal_r.c: Likewise.
68152         * math/w_sinh.c: Likewise.
68153         * math/w_sinhf.c: Likewise.
68154         * math/w_sinhl.c: Likewise.
68155         * math/w_tgamma.c: Likewise.
68156         * math/w_tgammaf.c: Likewise.
68157         * math/w_tgammal.c: Likewise.
68158         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68159         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68160         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
68161         Minor optimizations.  Pretty printing.  Remove cruft.
68162         * sysdeps/i386/fpu/e_acosf.S: Likewise.
68163         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68164         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68165         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68166         * sysdeps/i386/fpu/e_acosl.c: Likewise.
68167         * sysdeps/i386/fpu/e_asin.S: Likewise.
68168         * sysdeps/i386/fpu/e_asinf.S: Likewise.
68169         * sysdeps/i386/fpu/e_atan2.S: Likewise.
68170         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
68171         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
68172         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68173         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68174         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68175         * sysdeps/i386/fpu/e_exp10.S: Likewise.
68176         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
68177         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
68178         * sysdeps/i386/fpu/e_exp2.S: Likewise.
68179         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
68180         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
68181         * sysdeps/i386/fpu/e_fmod.S: Likewise.
68182         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
68183         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
68184         * sysdeps/i386/fpu/e_hypot.S: Likewise.
68185         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
68186         * sysdeps/i386/fpu/e_log.S: Likewise.
68187         * sysdeps/i386/fpu/e_log10.S: Likewise.
68188         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68189         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68190         * sysdeps/i386/fpu/e_log2.S: Likewise.
68191         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68192         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68193         * sysdeps/i386/fpu/e_logf.S: Likewise.
68194         * sysdeps/i386/fpu/e_logl.S: Likewise.
68195         * sysdeps/i386/fpu/e_pow.S: Likewise.
68196         * sysdeps/i386/fpu/e_powf.S: Likewise.
68197         * sysdeps/i386/fpu/e_powl.S: Likewise.
68198         * sysdeps/i386/fpu/e_remainder.S: Likewise.
68199         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
68200         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
68201         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68202         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68203         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68204         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
68205         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
68206         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
68207         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68208         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68209         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68210         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68211         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68212         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68213         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
68214         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68215         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68216         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68217         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68218         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68219         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68220         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68221         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68222         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68223         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68224         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68225         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68226         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68227         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68228         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68229         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68230         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68231         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68232         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68233         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68234         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68235         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
68236         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68237         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68238         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68239         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68240         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68241         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68242         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68243         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68244         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68245         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68246         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68247         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68248         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68249         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68250         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68251         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68252         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68253         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68254         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68255         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68256         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
68257         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68258         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68259         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68260         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68261         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68262         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68263         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68264         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68265         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68266         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68267         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68268         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68269         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68270         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68271         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68272         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68273         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68274         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68275         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
68276         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68277         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68278         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68279         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68280         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68281         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68282         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68283         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68284         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68285         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68286         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68287         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68288         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68289         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
68290         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68291         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68292         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68293         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68294         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68295         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68296         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68297         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68298         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68299         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68300         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
68301         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68302         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68303         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68304         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
68305         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
68306         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
68307         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
68308         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
68309         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
68310         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
68311         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68312         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68313         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68314         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68315         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
68316         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68317         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
68318         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
68319         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
68320         (__isnanf): Likewise.
68321         (__isinf_ns): Likewise.
68322         (__isinf_nsf): Likewise.
68323         (__finite): Likewise.
68324         (__finitef): Likewise.
68325         (__ieee754_sqrt): Define as macro.
68326         (__ieee754_sqrtf): Define as macro.
68327         (__ieee754_sqrtl): Define as macro.
68328         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
68329         inlined copy.
68330         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
68331         __FINITE_MATH_ONLY__ consistent.
68332         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
68334 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
68336         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
68337         of rawmemchr.
68339         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
68341 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
68343         * po/ja.po: Update from translation team.
68345 2011-10-08  Roland McGrath  <roland@hack.frob.com>
68347         * locale/programs/locarchive.c (prepare_address_space): New function.
68348         (create_archive, enlarge_archive, open_archive): Use it.
68350         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
68351         inside [SHARED], where it is used.
68353         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
68355         * nss/getent.c (netgroup_keys): Remove unused variable.
68356         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68358 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
68360         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
68361         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
68362         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
68363         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
68364         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
68365         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
68366         * math/Makefile (libm-calls): Add s_isinf_ns.
68367         * math/divtc3.c: Use __isinf_nsl instead of isinf.
68368         * math/multc3.c: Likewise.
68369         * math/s_casin.c: Likewise.
68370         * math/s_casinf.c: Likewise.
68371         * math/s_casinl.c: Likewise.
68372         * math/s_ccos.c: Likewise.
68373         * math/s_ccosf.c: Likewise.
68374         * math/s_ccosl.c: Likewise.
68375         * math/s_ctan.c: Likewise.
68376         * math/s_ctanf.c: Likewise.
68377         * math/s_ctanh.c: Likewise.
68378         * math/s_ctanhf.c: Likewise.
68379         * math/s_ctanhl.c: Likewise.
68380         * math/s_ctanl.c: Likewise.
68381         * math/w_fmod.c: Likewise.
68382         * math/w_fmodf.c: Likewise.
68383         * math/w_fmodl.c: Likewise.
68384         * math/w_remainder.c: Likewise.
68385         * math/w_remainderf.c: Likewise.
68386         * math/w_remainderl.c: Likewise.
68387         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
68388         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
68389         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
68390         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
68391         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
68392         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
68393         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
68394         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
68396         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
68397         of the number.
68398         * stdio-common/printf_fphex.c: Likewise.
68399         * stdio-common/printf_size.c: Likewise.
68401         * math/e_exp10.c: Include math_private.h using <...> not "...".
68402         * math/e_exp10f.c: Likewise.
68403         * math/e_exp10l.c: Likewise.
68404         * math/e_exp2l.c: Likewise.
68405         * math/e_j0l.c: Likewise.
68406         * math/e_j1l.c: Likewise.
68407         * math/e_jnl.c: Likewise.
68408         * math/e_lgammal_r.c: Likewise.
68409         * math/e_rem_pio2l.c: Likewise.
68410         * math/e_scalb.c: Likewise.
68411         * math/e_scalbf.c: Likewise.
68412         * math/e_scalbl.c: Likewise.
68413         * math/k_cosl.c: Likewise.
68414         * math/k_sinl.c: Likewise.
68415         * math/k_tanl.c: Likewise.
68416         * math/s_cacoshf.c: Likewise.
68417         * math/s_catan.c: Likewise.
68418         * math/s_catanf.c: Likewise.
68419         * math/s_catanh.c: Likewise.
68420         * math/s_catanhf.c: Likewise.
68421         * math/s_catanhl.c: Likewise.
68422         * math/s_catanl.c: Likewise.
68423         * math/s_ccosh.c: Likewise.
68424         * math/s_ccoshf.c: Likewise.
68425         * math/s_ccoshl.c: Likewise.
68426         * math/s_cexp.c: Likewise.
68427         * math/s_cexpf.c: Likewise.
68428         * math/s_cexpl.c: Likewise.
68429         * math/s_clog.c: Likewise.
68430         * math/s_clog10.c: Likewise.
68431         * math/s_clog10f.c: Likewise.
68432         * math/s_clog10l.c: Likewise.
68433         * math/s_clogf.c: Likewise.
68434         * math/s_clogl.c: Likewise.
68435         * math/s_csin.c: Likewise.
68436         * math/s_csinf.c: Likewise.
68437         * math/s_csinh.c: Likewise.
68438         * math/s_csinhf.c: Likewise.
68439         * math/s_csinhl.c: Likewise.
68440         * math/s_csinl.c: Likewise.
68441         * math/s_csqrt.c: Likewise.
68442         * math/s_csqrtf.c: Likewise.
68443         * math/s_csqrtl.c: Likewise.
68444         * math/s_ctan.c: Likewise.
68445         * math/s_ctanf.c: Likewise.
68446         * math/s_ctanh.c: Likewise.
68447         * math/s_ctanhf.c: Likewise.
68448         * math/s_ctanhl.c: Likewise.
68449         * math/s_ctanl.c: Likewise.
68450         * math/s_ldexp.c: Likewise.
68451         * math/s_ldexpf.c: Likewise.
68452         * math/s_ldexpl.c: Likewise.
68453         * math/s_significand.c: Likewise.
68454         * math/s_significandf.c: Likewise.
68455         * math/s_significandl.c: Likewise.
68456         * math/w_acos.c: Likewise.
68457         * math/w_acosf.c: Likewise.
68458         * math/w_acosh.c: Likewise.
68459         * math/w_acoshf.c: Likewise.
68460         * math/w_acoshl.c: Likewise.
68461         * math/w_acosl.c: Likewise.
68462         * math/w_asin.c: Likewise.
68463         * math/w_asinf.c: Likewise.
68464         * math/w_asinl.c: Likewise.
68465         * math/w_atan2.c: Likewise.
68466         * math/w_atan2f.c: Likewise.
68467         * math/w_atan2l.c: Likewise.
68468         * math/w_atanh.c: Likewise.
68469         * math/w_atanhf.c: Likewise.
68470         * math/w_atanhl.c: Likewise.
68471         * math/w_cosh.c: Likewise.
68472         * math/w_coshf.c: Likewise.
68473         * math/w_coshl.c: Likewise.
68474         * math/w_dremf.c: Likewise.
68475         * math/w_exp10.c: Likewise.
68476         * math/w_exp10f.c: Likewise.
68477         * math/w_exp10l.c: Likewise.
68478         * math/w_exp2.c: Likewise.
68479         * math/w_exp2f.c: Likewise.
68480         * math/w_fmod.c: Likewise.
68481         * math/w_fmodf.c: Likewise.
68482         * math/w_fmodl.c: Likewise.
68483         * math/w_hypot.c: Likewise.
68484         * math/w_hypotf.c: Likewise.
68485         * math/w_hypotl.c: Likewise.
68486         * math/w_j0.c: Likewise.
68487         * math/w_j0f.c: Likewise.
68488         * math/w_j0l.c: Likewise.
68489         * math/w_j1.c: Likewise.
68490         * math/w_j1f.c: Likewise.
68491         * math/w_j1l.c: Likewise.
68492         * math/w_jn.c: Likewise.
68493         * math/w_jnf.c: Likewise.
68494         * math/w_jnl.c: Likewise.
68495         * math/w_lgamma.c: Likewise.
68496         * math/w_lgamma_r.c: Likewise.
68497         * math/w_lgammaf.c: Likewise.
68498         * math/w_lgammaf_r.c: Likewise.
68499         * math/w_lgammal.c: Likewise.
68500         * math/w_lgammal_r.c: Likewise.
68501         * math/w_log.c: Likewise.
68502         * math/w_log10.c: Likewise.
68503         * math/w_log10f.c: Likewise.
68504         * math/w_log10l.c: Likewise.
68505         * math/w_log2.c: Likewise.
68506         * math/w_log2f.c: Likewise.
68507         * math/w_log2l.c: Likewise.
68508         * math/w_logf.c: Likewise.
68509         * math/w_logl.c: Likewise.
68510         * math/w_pow.c: Likewise.
68511         * math/w_powf.c: Likewise.
68512         * math/w_powl.c: Likewise.
68513         * math/w_remainder.c: Likewise.
68514         * math/w_remainderf.c: Likewise.
68515         * math/w_remainderl.c: Likewise.
68516         * math/w_scalb.c: Likewise.
68517         * math/w_scalbf.c: Likewise.
68518         * math/w_scalbl.c: Likewise.
68519         * math/w_sinh.c: Likewise.
68520         * math/w_sinhf.c: Likewise.
68521         * math/w_sinhl.c: Likewise.
68522         * math/w_sqrt.c: Likewise.
68523         * math/w_sqrtf.c: Likewise.
68524         * math/w_sqrtl.c: Likewise.
68525         * math/w_tgamma.c: Likewise.
68526         * math/w_tgammaf.c: Likewise.
68527         * math/w_tgammal.c: Likewise.
68529         * po/ja.po: Update from translation team.
68531 2011-09-29  Andreas Jaeger  <aj@suse.de>
68533         [BZ #13179]
68534         * sunrpc/netname.c (netname2host): Fix logic.
68536         [BZ #6779]
68537         [BZ #6783]
68538         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
68539         correctly.
68540         * math/w_remainder.c (__remainder): Likewise.
68541         * math/w_remainderf.c (__remainderf): Likewise.
68542         * math/libm-test.inc (remainder_test): Add test cases.
68544 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68546         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
68547         sdiv_qrnnd.
68549 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68551         * string/test-memcmp.c: Avoid unncessary #defines.
68552         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68554 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68556         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
68557         Use new sse2 version for core i3 - i7 as it's faster
68558         than sse42 version.
68559         (bit_Prefer_PMINUB_for_stringop): New.
68560         * sysdeps/x86_64/rawmemchr.S: Update.
68561         Replace with faster SSE2 version.
68562         * sysdeps/x86_64/memrchr.S: New file.
68563         * sysdeps/x86_64/memchr.S: Update.
68564         Replace with faster SSE2 version.
68566 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
68568         * elf/dl-load.c (lose): Add cast to avoid warning.
68570 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68572         * po/ca.po: Update from translation team.
68574         * inet/getnetgrent_r.c: Hook up nscd.
68575         * nscd/Makefile (routines): Add nscd_netgroup.
68576         (nscd-modules): Add netgroupcache.
68577         (CFLAGS-netgroupcache.c): Define.
68578         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
68579         (cache_search): Add const to second parameter.
68580         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
68581         INNETGR.
68582         (dbs): Add netgrdb entry.
68583         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
68584         (verify_persistent_db): Handle netgrdb.
68585         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
68586         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
68587         GETFDNETGR.
68588         (netgroup_response_header): Define.
68589         (innetgroup_response_header): Define.
68590         (datahead): Add netgroup_response_header and innetgroup_response_header
68591         elements.
68592         * nscd/nscd.conf: Add entries for netgroup cache.
68593         * nscd/nscd.h (dbtype): Add netgrdb.
68594         (_PATH_NSCD_NETGROUP_DB): Define.
68595         (netgroup_iov_disabled): Declare.
68596         (xmalloc, xcalloc, xrealloc): Move declarations here.
68597         (cache_search): Adjust prototype.
68598         Add netgroup-related prototypes.
68599         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
68600         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
68601         (__nscd_innetgr): Declare.
68602         * nscd/selinux.c (perms): Use access_vector_t as element type and
68603         add netgroup-related initializers.
68604         * nscd/netgroupcache.c: New file.
68605         * nscd/nscd_netgroup.c: New file.
68606         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
68607         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
68608         For four parameters use innetgr.
68609         * nss/nss_files/files-init.c: Add definition and callback for netgr.
68610         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
68611         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
68612         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
68614         * nscd/connections.c (register_traced_file): Don't register file
68615         for disabled databases.
68617 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
68619         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68621         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68622         from tree and freeing node.
68624 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
68626         * nss/nsswitch.c (__nss_database_lookup): Handle
68627         nss_parse_service_list out of memory case.
68629 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
68631         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68632         out of memory case.
68634 2011-10-04  Andreas Schwab  <schwab@redhat.com>
68636         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68637         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68638         pass it down.
68639         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68640         elf_machine_rela, elf_machine_lazy_rel.
68641         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68642         (ELF_DYNAMIC_DO_REL): Likewise.
68643         (ELF_DYNAMIC_DO_RELA): Likewise.
68644         (ELF_DYNAMIC_RELOCATE): Likewise.
68645         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68646         to ELF_DYNAMIC_DO_REL.
68647         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68648         (dl_main): In trace mode always set __RTLD_NOIFUNC.
68649         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68650         elf_machine_rela.
68651         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68652         skip_ifunc, don't call ifunc function if non-zero.
68653         (elf_machine_rela): Likewise.
68654         (elf_machine_lazy_rel): Likewise.
68655         (elf_machine_lazy_rela): Likewise.
68656         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68657         (elf_machine_lazy_rel): Likewise.
68658         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68659         Likewise.
68660         (elf_machine_lazy_rel): Likewise.
68661         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68662         Likewise.
68663         (elf_machine_lazy_rel): Likewise.
68664         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68665         (elf_machine_lazy_rel): Likewise.
68666         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68667         (elf_machine_lazy_rel): Likewise.
68668         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68669         (elf_machine_lazy_rel): Likewise.
68670         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68671         (elf_machine_lazy_rel): Likewise.
68672         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68673         (elf_machine_lazy_rel): Likewise.
68674         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68675         (elf_machine_lazy_rel): Likewise.
68677 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
68679         * nss/nss_files/files-init.c (_nss_files_init): Use static
68680         initialization for all the *_traced_file variables.
68682 2011-09-28  Andreas Schwab  <schwab@redhat.com>
68684         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68686 2011-09-27  Roland McGrath  <roland@hack.frob.com>
68688         [BZ #13226]
68689         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68691 2011-09-27  Andreas Schwab  <schwab@redhat.com>
68693         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68694         Reread the line before reparsing it.
68696 2011-09-26  Andreas Schwab  <schwab@redhat.com>
68698         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68700 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
68701             Maxim Kuvyrkov  <maxim@codesourcery.com>
68702             Joseph Myers  <joseph@codesourcery.com>
68704         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68705         if needed for __stack_chk_guard.
68707 2011-09-19  Roland McGrath  <roland@hack.frob.com>
68709         * sysdeps/posix/spawni.c (script_execute): Always define it.
68710         It will be optimized away if unused.
68711         (maybe_script_execute): New function.
68712         (__spawni): Call it.
68714         * Makerules: Don't include tls.make.
68715         (config-tls): Always set to thread.
68716         * tls.make.c: File removed.
68718 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
68720         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68721         * config.make.in (CPPFLAGS-config): New substituted variable.
68723 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68725         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68727         [BZ #13192]
68728         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68729         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68731 2011-09-15  Roland McGrath  <roland@hack.frob.com>
68733         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68734         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68735         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68736         (CALL_FAIL): Likewise.
68737         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68738         (CALL_FAIL): Macro removed.
68739         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68741 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68743         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68744         for __FINITE_MATH_ONLY__ == 1.
68746 2011-09-15  Andreas Schwab  <schwab@redhat.com>
68748         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68749         __ieee754_sqrt instead of sqrt.
68750         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68751         __ieee754_sqrtf instead of sqrtf.
68752         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68753         __floorf instead of floorf.
68754         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68755         __floorf, __truncf instead of floorf, truncf.
68757 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
68759         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68761         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68762         __extern_always_inline.
68763         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68764         32-bit.
68766 2011-09-14  Andreas Schwab  <schwab@redhat.com>
68768         * elf/rtld.c (dl_main): Also relocate in dependency order when
68769         doing symbol dependency testing.
68771 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
68773         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68774         Always define `refsym'.
68776 2011-09-13  Andreas Schwab  <schwab@redhat.com>
68778         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
68779         (__FD_ELT): Renamed from __FDELT.
68780         * misc/bits/select2.h (__FD_ELT): Likewise.
68781         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
68782         __FD_MASK instead of __FDELT, __FDMASK.
68783         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68784         Likewise.
68785         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68786         Likewise.
68788         * elf/Makefile (gen-ldd): Fix pattern.
68790         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
68791         (init_tls): Likewise.
68793 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
68795         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
68797 2011-09-12  Andreas Schwab  <schwab@redhat.com>
68799         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
68800         `struct cmsghdr *' instead of `void *'.
68801         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
68802         Likewise.
68804 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
68806         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
68807         if non-absolute.
68808         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
68809         ldd_rewrite_script.
68811 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
68813         * configure.in: Remove --with-tls option.
68814         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
68815         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
68816         out in case it is missing.
68817         * sysdeps/ia64/elf/configure.in: Likewise.
68818         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
68819         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
68820         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
68821         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
68822         * sysdeps/sh/elf/configure.in: Likewise.
68823         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
68824         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68825         * sysdeps/x86_64/elf/configure.in: Likewise.
68826         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
68827         * sysdeps/mach/hurd/tls.h: Likewise.
68829         [BZ #13067]
68830         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
68832         [BZ #13090]
68833         * configure.in: Fix use of AC_INIT.
68835         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
68837 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
68839         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
68840         __set_errno.
68841         * malloc/hooks.c: Likewise.
68843         [BZ #11929]
68844         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
68845         variables statically.
68846         (narenas): Initialize.
68847         (list_lock): Initialize.
68848         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
68849         initializtion of main_arena and list_lock.  Small cleanups.
68850         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
68851         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
68852         Add initializers to main_arena and mp_.
68853         (malloc_state): Remove pagesize member.  Change all users to use
68854         GLRO(dl_pagesize).
68856         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
68857         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
68858         is always initialized.
68860         * malloc/malloc.c: Removed unused configurations and dead code.
68861         * malloc/arena.c: Likewise.
68862         * malloc/hooks.c: Likewise.
68863         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
68865         * include/tls.h: Removed.  USE___THREAD must always be defined.
68866         * bits/libc-tsd.h: Don't handle !USE___THREAD.
68867         * elf/dl-libc.c: Likewise.
68868         * elf/dl-tsd.c: Likewise.
68869         * include/errno.h: Likewise.
68870         * include/netdb.h: Likewise.
68871         * include/resolv.h: Likewise.
68872         * inet/herrno-loc.c: Likewise.
68873         * inet/herrno.c: Likewise.
68874         * malloc/arena.c: Likewise.
68875         * malloc/hooks.c: Likewise.
68876         * malloc/malloc.c: Likewise.
68877         * resolv/res-state.c: Likewise.
68878         * resolv/res_libc.c: Likewise.
68879         * sysdeps/i386/dl-machine.h: Likewise.
68880         * sysdeps/ia64/dl-machine.h: Likewise.
68881         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
68882         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68883         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
68884         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
68885         * sysdeps/sh/dl-machine.h: Likewise.
68886         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68887         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68888         * sysdeps/unix/i386/sysdep.S: Likewise.
68889         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
68890         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
68891         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
68892         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
68893         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
68894         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
68895         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
68896         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68897         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68898         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
68899         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68900         * sysdeps/x86_64/dl-machine.h: Likewise.
68901         * tls.make.c: Likewise.
68903         * configure.in: Remove --with-__thread option.  Make tests for
68904         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
68905         tls_model attribute fail if no support is available.  Remove
68906         USE_IN_LIBIO.
68907         * Makeconfig: Adjust for dropped configure option.  All features are
68908         now mandatory.
68909         * Makerules: Likewise.
68910         * Versions.def: Likewise.
68911         * argp/argp-fmtstream.c: Likewise.
68912         * argp/argp-fmtstream.h: Likewise.
68913         * argp/argp-help.c: Likewise.
68914         * assert/assert.c: Likewise.
68915         * config.h.in: Likewise.
68916         * config.make.in: Likewise.
68917         * configure: Likewise.
68918         * configure.in: Likewise.
68919         * csu/Versions: Likewise.
68920         * csu/init.c: Likewise.
68921         * elf/tst-audit2.c: Likewise.
68922         * elf/tst-tls10.c: Likewise.
68923         * elf/tst-tls10.h: Likewise.
68924         * elf/tst-tls11.c: Likewise.
68925         * elf/tst-tls12.c: Likewise.
68926         * elf/tst-tls14.c: Likewise.
68927         * elf/tst-tlsmod11.c: Likewise.
68928         * elf/tst-tlsmod12.c: Likewise.
68929         * elf/tst-tlsmod13.c: Likewise.
68930         * elf/tst-tlsmod13a.c: Likewise.
68931         * elf/tst-tlsmod14a.c: Likewise.
68932         * elf/tst-tlsmod15b.c: Likewise.
68933         * elf/tst-tlsmod16a.c: Likewise.
68934         * elf/tst-tlsmod16b.c: Likewise.
68935         * elf/tst-tlsmod7.c: Likewise.
68936         * elf/tst-tlsmod8.c: Likewise.
68937         * elf/tst-tlsmod9.c: Likewise.
68938         * gmon/gmon.c: Likewise.
68939         * grp/fgetgrent_r.c: Likewise.
68940         * grp/putgrent.c: Likewise.
68941         * hurd/fopenport.c: Likewise.
68942         * include/libc-symbols.h: Likewise.
68943         * include/tls.h: Likewise.
68944         * intl/gettextP.h: Likewise.
68945         * intl/loadinfo.h: Likewise.
68946         * locale/global-locale.c: Likewise.
68947         * locale/localeinfo.h: Likewise.
68948         * mach/devstream.c: Likewise.
68949         * malloc/arena.c: Likewise.
68950         * malloc/set-freeres.c: Likewise.
68951         * misc/err.c: Likewise.
68952         * misc/getttyent.c: Likewise.
68953         * misc/mntent_r.c: Likewise.
68954         * posix/getopt.c: Likewise.
68955         * posix/wordexp.c: Likewise.
68956         * pwd/fgetpwent_r.c: Likewise.
68957         * resolv/Versions: Likewise.
68958         * resolv/res_hconf.c: Likewise.
68959         * shadow/fgetspent_r.c: Likewise.
68960         * shadow/putspent.c: Likewise.
68961         * stdio-common/printf_fphex.c: Likewise.
68962         * stdio-common/tmpfile.c: Likewise.
68963         * stdlib/abort.c: Likewise.
68964         * stdlib/fmtmsg.c: Likewise.
68965         * sunrpc/auth_unix.c: Likewise.
68966         * sunrpc/clnt_perr.c: Likewise.
68967         * sunrpc/clnt_tcp.c: Likewise.
68968         * sunrpc/clnt_udp.c: Likewise.
68969         * sunrpc/clnt_unix.c: Likewise.
68970         * sunrpc/openchild.c: Likewise.
68971         * sunrpc/svc_simple.c: Likewise.
68972         * sunrpc/svc_tcp.c: Likewise.
68973         * sunrpc/svc_udp.c: Likewise.
68974         * sunrpc/svc_unix.c: Likewise.
68975         * sunrpc/xdr.c: Likewise.
68976         * sunrpc/xdr_array.c: Likewise.
68977         * sunrpc/xdr_rec.c: Likewise.
68978         * sunrpc/xdr_ref.c: Likewise.
68979         * sunrpc/xdr_stdio.c: Likewise.
68981 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68983         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68985 2011-07-03  Andreas Jaeger  <aj@suse.de>
68987         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
68988         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
68989         regenerate with gen-libm-tests.pl.
68991 2010-05-12  Petr Baudis  <pasky@suse.cz>
68993         [BZ #11589]
68994         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
68995         around j0() zero points by switching to j1().
68996         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68997         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68998         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68999         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69001 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69003         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
69004         instead of 0.
69005         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
69006         instead of 0.
69007         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69008         Patch in part by Pavel Roskin <proski@gnu.org>.
69010         [BZ #13138]
69011         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
69012         realloc.
69013         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
69014         Free memory block if necessary.
69016         [BZ #12847]
69017         * libio/genops.c (INTDEF): For string streams the _lock pointer can
69018         be NULL.  Don't lock in this case.
69020 2011-09-09  Roland McGrath  <roland@hack.frob.com>
69022         * elf/elf.h (ELFOSABI_GNU): New macro.
69023         (ELFOSABI_LINUX): Define to that.
69025 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
69027         * string/strncat.c (strncat): Undef the symbol in case it has been
69028         defined in bits/string.h.
69030 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69032         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
69034         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
69035         link map.
69037 2011-08-17  Andreas Jaeger  <aj@suse.de>
69039         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
69041 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
69042             Ian Lance Taylor  <iant@google.com>
69044         * math/libm-test.inc (lround_test): New testcase.
69045         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
69047 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
69049         * Makefile: Remove support for automatic cvs check-ins.
69050         * Makerules: Likewise.
69051         * config.make.in: Likewise.
69052         * configure.in: Likewise.
69053         * intl/Makefile: Likewise.
69054         * locale/Makefile: Likewise.
69055         * po/Makefile: Likewise.
69056         * posix/Makefile: Likewise.
69057         * sysdeps/gnu/Makefile: Likewise.
69058         * sysdeps/mach/hurd/Makefile: Likewise.
69059         * sysdeps/sparc/sparc32/Makefile: Likewise.
69061         [BZ #13118]
69062         * posix/Makefile (bug-regex32-ENV): Define.
69063         Patch by John Stanley <jpsinthemix@verizon.net>.
69065         * misc/Makefile (headers): Add bits/select2.h.
69066         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
69067         * misc/bits/select2.h: New file.
69068         * include/bits/select2.h: New file.
69069         * debug/Makefile (routines): Add fdelt_chk.
69070         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
69071         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
69072         FD_ISSET.
69073         * debug/fdelt_chk.c: New file.
69075         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
69076         * wcsmbs/test-wmemcmp.c: Likewise.
69077         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
69078         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
69080 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69082         * string/Makefile (strop-tests): Add memcmp.
69083         * string/test-wmemcmp.c: New file.
69084         * string/test-memcmp.c: Add wmemcmp support.
69086 2011-09-08  Roland McGrath  <roland@hack.frob.com>
69088         [BZ #13153]
69089         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
69090         2011-07-19 change.
69092         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
69093         garbage value in a __mach_port_mod_refs call in the cases of the
69094         task-self and thread-self ports.
69096 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69098         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
69100 2011-09-08  Andreas Schwab  <schwab@redhat.com>
69102         * elf/dl-load.c (lose): Check for non-null L.
69104 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69106         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
69108         * elf/dl-libc.c (dlerror_run): Pass back error code from
69109         dl_catch_error.
69111         [BZ #13123]
69112         * elf/dl-load.c (lose): Free l_origin if it is valid.
69114         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
69115         names.
69116         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
69117         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69118         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69119         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69120         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
69121         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
69123 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69125         * sysdeps/powerpc/fpu/e_hypot.c: New file.
69126         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
69127         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
69128         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
69129         * sysdeps/powerpc/fpu/k_cosf.c: New file.
69130         * sysdeps/powerpc/fpu/k_sinf.c: New file.
69131         * sysdeps/powerpc/fpu/s_cosf.c: New file.
69132         * sysdeps/powerpc/fpu/s_sinf.c: New file.
69133         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
69134         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
69136 2011-08-15  Alan Modra  <amodra@gmail.com>
69138         [BZ #13092]
69139         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
69140         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
69141         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
69142         ppc_mcount to static-only-routines.
69143         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
69144         __mcount_internal.
69145         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
69146         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
69148 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
69150         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
69151         for finite and infinity parameters.
69153 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69155         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
69156         and add nop instructions for throughput optimization.
69157         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69159 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
69161         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
69162         aligned copy for power7 with vector-scalar instructions.
69163         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
69165 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
69167         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
69168         AVX check.
69170 2011-09-07  Andreas Schwab  <schwab@redhat.com>
69172         [BZ #13144]
69173         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
69174         last change.
69176 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69178         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69179         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
69180         syscall wrapper around clock_gettime in __vdso_clock_gettime.
69181         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
69182         clock_gettime.
69184 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69186         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
69187         Forgot to demangle the pointer.
69189         * sysdeps/i386/sysdep.h: Define atom_text_section.
69190         * sysdeps/x86_64/sysdep.h: Likewise.
69191         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
69192         section with atom_text_section.
69193         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69194         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69195         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
69196         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69197         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
69199         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
69200         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
69201         already be defined.  Change to take two parameters and don't assign
69202         result to variable.  Adjust all users.
69203         Define INTERNAL_GETTIME if not already defined.
69204         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
69205         call.
69206         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
69207         HAVE_CLOCK_GETTIME_VSYSCALL.
69208         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
69210         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
69211         gettimeofday vsyscall, just use time.
69213 2011-09-06  Andreas Schwab  <schwab@redhat.com>
69215         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
69216         <errno.h>.
69218 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69220         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
69221         syscall on x86-64.
69222         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
69223         syscall.
69224         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
69225         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
69226         syscall if possible.
69228 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69230         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
69231         e_ident.  Don't pass to find_mapsXX.
69232         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
69234 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69237         strchr-sse2-no-bsf strrchr-sse2-no-bsf
69238         * sysdeps/x86_64/multiarch/strchr.S: Update.
69239         Check bit_slow_BSF bit.
69240         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69241         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
69242         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
69244 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69246         [BZ #13134]
69247         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
69248         before glibc 2.15.
69249         (tryshell): Define.
69250         (__spawni): Change last parameter to be flag.  Test
69251         SPAWN_XFLAGS_USE_PATH flag to use path or not.
69252         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
69253         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
69254         * posix/spawni.c: Likewise.
69255         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
69256         * posix/spawnp.c: Likewise.  Change normal version to use
69257         SPAWN_XFLAGS_USE_PATH.
69258         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
69259         SPAWN_XFLAGS_TRY_SHELL.
69261         [BZ #13150]
69262         * posix/glob.h: Remove gcc 1.x support.
69264         [BZ #13068]
69265         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
69267 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69269         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69270         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
69271         strrchr-sse2-bsf
69272         * sysdeps/i386/i686/multiarch/strchr.S: New file.
69273         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
69274         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
69275         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
69276         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
69277         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
69279 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69281         * sysdeps/x86_64/wcscmp.S: New file.
69283         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
69284         wcscmp-c wcscmp-sse2
69285         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
69286         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
69287         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
69288         * wcsmbs/wcscmp.c: Allow renaming.
69290 2011-09-05  David S. Miller  <davem@davemloft.net>
69292         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
69293         stack slot, rather than the struct return pointer slot.
69294         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
69295         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
69296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
69297         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
69299 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69301         * po/ja.po: Update from translation team.
69303         [BZ #13144]
69304         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
69305         kernel in 64-bit binaries.
69307 2011-09-01  David S. Miller  <davem@davemloft.net>
69309         * elf/elf.h (HWCAP_SPARC_*): Move to..
69310         * sysdeps/sparc/sysdep.h: this new file and add new values.
69311         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
69312         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
69313         _DL_HWCAP_COUNT to 24.
69314         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69315         entries.
69316         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
69317         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
69318         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
69319         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
69320         instead of magic constants.
69321         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69323 2011-08-31  David S. Miller  <davem@davemloft.net>
69325         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
69326         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
69327         Reimplement to do errno handling inline.
69328         (SYSCALL_ERROR_HANDLER): New macro.
69329         (__SYSCALL_STRING): Do not do errno handling in asm.
69330         (__CLONE_SYSCALL_STRING): Delete.
69331         (__INTERNAL_SYSCALL_STRING): Delete.
69332         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
69333         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
69334         (PSEUDO): Reimplement to do errno handling inline.
69335         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
69336         (SYSCALL_ERROR_HANDLER): New macro.
69337         (__SYSCALL_STRING): Do not do errno handling in asm.
69338         (__CLONE_SYSCALL_STRING): Delete.
69339         (__INTERNAL_SYSCALL_STRING): Delete.
69340         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
69341         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
69342         i386.
69343         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
69344         (inline_syscall*): Add 'err' argument.
69345         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
69346         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
69347         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
69348         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
69350         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
69351         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69353 2011-08-30  Andreas Schwab  <schwab@redhat.com>
69355         * elf/rtld.c (dl_main): Relocate objects in dependency order.
69357 2011-08-29  Jiri Olsa <jolsa@redhat.com>
69359         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
69360         directive.
69362 2011-08-24  David S. Miller  <davem@davemloft.net>
69364         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
69366 2011-08-24  Andreas Schwab  <schwab@redhat.com>
69368         * elf/Makefile: Add rules to build and run unload8 test.
69369         * elf/unload8.c: New file.
69370         * elf/unload8mod1.c: New file.
69371         * elf/unload8mod1x.c: New file.
69372         * elf/unload8mod2.c: New file.
69373         * elf/unload8mod3.c: New file.
69375         * elf/dl-close.c (_dl_close_worker): Reset private search list if
69376         it wasn't used.
69378 2011-08-23  David S. Miller  <davem@davemloft.net>
69380         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
69381         subtract stack bias.
69382         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
69383         %sp not %fp in calculations.
69384         (_JMPBUF_UNWINDS_ADJ): Likewise.
69386         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
69387         (aio_suspend): Call it to force an exception region around the
69388         AIO_MISC_WAIT() invocation.
69390 2011-08-23  Andreas Schwab  <schwab@redhat.com>
69392         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
69393         backslash.
69395 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
69397         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
69398         protection macro.
69399         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
69400         and <dl-machine.h>.
69401         (Elf64_FuncDesc): Remove.
69403 2011-08-22  David S. Miller  <davem@davemloft.net>
69405         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
69406         sigaltstack check, add missing cfi directives.
69407         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
69408         missing cfi directives, and sigaltstack handling.
69410 2011-08-16  Andreas Schwab  <schwab@redhat.com>
69412         [BZ #11724]
69413         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
69414         object is seen twice.
69415         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69417         * elf/Makefile (distribute): Add tst-initorder2.c.
69418         (tests): Add tst-initorder2.
69419         (modules-names): Add tst-initorder2a tst-initorder2b
69420         tst-initorder2c tst-initorder2d.  Add rules to build them.
69421         ($(objpfx)tst-initorder2.out): New rule.
69422         * elf/tst-initorder2.c: New file.
69423         * elf/tst-initorder2.exp: New file.
69425 2011-08-22  Andreas Schwab  <schwab@redhat.com>
69427         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
69429         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
69430         dependencies back to end of function.
69432         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69433         $(elfobjdir)/ld.so.
69435 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
69437         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
69438         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
69439         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
69440         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
69441         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
69442         of __vdso_gettimeofday.
69443         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
69444         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
69445         attribute_hidden.
69446         (_libc_vdso_platform_setup): Remove initialization of
69447         __vdso_gettimeofday and __vdso_time.
69449 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69451         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
69452         and fgetc_unlocked.
69453         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
69454         getc_unlocked.
69456         * elf/dl-open.c (add_to_global): Report additions to the global scope
69457         for LD_DEBUG=scopes.
69458         (dl_open_worker): Also print scope of newly loaded dependencies.
69459         (_dl_show_scope): Indicate if there is no scope.
69461         [BZ #13114]
69462         * stdio-common/Makefile (tests): Add bug24.
69463         * stdio-common/bug24.c: New file.
69465 2011-08-19  Andreas Jaeger  <aj@suse.de>
69467         [BZ #13114]
69468         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
69469         non-existant file when using close-on-exec mode.
69471 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69473         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
69474         the very first instruction.
69476         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
69477         the CFI state in the end.
69478         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
69479         inclusion of dl-trampoline.h.
69480         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
69482 2011-08-19  Andreas Schwab  <schwab@redhat.com>
69484         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
69485         expectations for long double.
69487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
69488         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
69490 2011-08-14  David S. Miller  <davem@davemloft.net>
69492         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
69493         artificual limit depends upon the system page size.
69495 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69497         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
69498         * resolv/Makefile: Define CFLAGS-libresolv.
69500 2011-08-17  Andreas Schwab  <schwab@redhat.com>
69502         * nss/makedb.c (compute_tables): Make variables used in nested
69503         function static.
69505 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69507         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
69508         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
69509         if buffer was too small.
69511         * elf/pldd.c (main): Attach to all threads in the process.
69512         Rewrite /proc handling to use *at functions.
69514 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
69516         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
69517         specifies first scope to show.
69518         (dl_open_worker): Update callers.  Move printing scope of new
69519         object to before the relocation.
69520         * elf/rtld.c (dl_main): Update _dl_show_scope call.
69521         * sysdeps/generic/ldsodefs.h: Update declaration.
69523         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
69524         string for the scope number.
69526 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
69528         * nscd/servicescache.c (cache_addserv): Make sure written is always
69529         initialized.
69531 2011-08-14  Roland McGrath  <roland@hack.frob.com>
69533         * sysdeps/i386/i486/bits/atomic.h
69534         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
69535         statement expression, so as to suppress "set but not used" warning.
69536         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
69538         * string/strncat.c (STRNCAT): Use prototype definition.
69540         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
69541         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
69542         -Iprograms here.
69543         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
69544         (localedef-modules): Add localedef.
69545         (locale-modules): Add locale.
69547         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
69548         * elf/rtld.c (dl_main): Invert order of assignment in last change,
69549         to avoid a warning.
69551 2011-08-14  David S. Miller  <davem@davemloft.net>
69553         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
69554         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
69556 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
69558         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
69559         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
69560         * elf/rtld.c (dl_main): Set l_name of vDSO.
69561         Call _dl_show_scope when DL_DEBUG_SCOPES.
69562         (process_dl_debug): Recognize scopes flag and also set it for all.
69563         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
69564         Declare _dl_show_scope.
69566         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
69567         (do_dlopen): Pass caller_dlopen to dl_open.
69568         (__libc_dlopen_mode): Initialize caller_dlopen.
69570         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
69571         of libc.  Make tolower call locale-independent.  Optimize a bit by
69572         using isdigit instead of isalnum.
69573         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
69575 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
69577         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
69578         was a dependency or dynamically loaded.
69580 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
69582         * intl/l10nflist.c: Allow architecture-specific pop function.
69583         * sysdeps/x86_64/l10nflist.c: New file.
69585         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
69586         classification.
69588 2011-08-10  Andreas Schwab  <schwab@redhat.com>
69590         * include/dirent.h: Add libc_hidden_proto for scandirat and
69591         scandirat64.  Don't declare __scandirat64.
69592         * dirent/scandirat.c: Add libc_hidden_def.
69593         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
69594         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
69596 2011-08-10  David S. Miller  <davem@davemloft.net>
69598         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
69599         enum.
69600         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69601         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69602         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69604 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
69606         * Versions.def [libc]: Add GLIBC_2.15.
69607         * dirent/Makefile (routines): Add scandirat and scandirat64.
69608         * dirent/Versions [libc]: Export scandirat and scandirat64 for
69609         GLIBC_2.15.
69610         * dirent/dirent.h: Declare scandirat and scandirat64.
69611         * dirent/scandirat.c: New file.
69612         * dirent/scandirat64.c: New file.
69613         * sysdeps/wordsize-64/scandirat.c: New file.
69614         * sysdeps/wordsize-64/scandirat64.c: New file.
69615         * dirent/opendir.c: Define opendirat.
69616         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
69617         using scandirat.
69618         * dirent/scandir64.c: Adjust for scandir.c change.
69619         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
69620         __scandirat64, and __scandir_cancel_handler.
69621         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
69622         additional parameter and use openat instead of open (outside of ld.so).
69623         Add new __opendir as wrapper around __opendirat.
69624         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69625         here without requiring old scandirat implementation.
69627 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
69629         * dirent/scandir.c (cancel_handler): Renamed to
69630         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
69631         defined.  Adjust users.
69632         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69633         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69635 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
69637         * string/test-string.h (IMPL): Use __STRING to expand name and then
69638         stringify it.
69640         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
69641         of cleanups.
69643 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69645         * string/Makefile: Update.
69646         (strop-tests): Append strncat.
69647         * string/test-wcscmp.c: New file.
69648         New comprehensive test for wcscmp.
69649         * string/test-strcmp.c: Update.
69650         (WIDE): New define.
69652 2011-07-22  Andreas Schwab  <schwab@redhat.com>
69654         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69655         line.
69657 2011-07-26  Andreas Schwab  <schwab@redhat.com>
69659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69660         encoding to ACE if AI_IDN.
69662 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
69664         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69665         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69667 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69669         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69670         Fix overflow bug in strncat.
69671         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69673         * string/test-strncat.c: Update.
69674         Add new tests for checking overflow bugs.
69676 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69678         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69679         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69680         * sysdeps/i386/i686/multiarch/strcat.S: New file.
69681         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69682         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69683         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69684         * sysdeps/i386/i686/multiarch/strncat.S: New file.
69685         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69686         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69688         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69689         (USE_AS_STRCAT): Define.
69690         Add strcat and strncat support.
69691         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69693 2011-07-25  Andreas Schwab  <schwab@redhat.com>
69695         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69696         __n bigger than INT_MAX+1.
69697         (__strncmp_g): Likewise.
69699 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
69701         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69702         * libio/stido.h: Likewise.
69704         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69705         (AF_NFC): Define.
69706         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69707         (AF_NFC): Define.
69709         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69710         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69711         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69712         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69713         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69715         [BZ #13021]
69716         * scripts/test-installation.pl: Don't expect libnss_test1 to be
69717         installed.
69719         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69720         typo.
69721         (_dl_x86_64_save_sse): Likewise.
69723 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
69725         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69726         OSXSAVE.
69727         (_dl_x86_64_save_sse): Likewise.
69729         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69731         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69733 2011-07-21  Andreas Schwab  <schwab@redhat.com>
69735         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69736         change.
69737         (_dl_x86_64_save_sse): Use correct AVX check.
69739 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69741         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69742         bug in strncpy/strncat.
69743         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69745 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
69747         * string/tester.c (test_strcat): Add tests for different alignments
69748         of source and destination.
69749         (test_strncat): Likewise.
69751 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69753         [BZ #12852]
69754         * posix/glob.c (glob): Check passed in values before using them in
69755         expressions to avoid some overflows.
69756         (glob_in_dir): Likewise.
69758         [BZ #13007]
69759         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69760         check for AVX enablement so that we don't crash with old kernels and
69761         new hardware.
69762         * elf/tst-audit4.c: Add same checks here.
69763         * elf/tst-audit6.c: Likewise.
69765         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69767 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
69769         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69771 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69773         * po/cs.po: Update from translation team.
69774         * po/bg.po: Likewise.
69776 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
69778         * misc/sys/cdefs.h: Add support for const attribute.
69779         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
69780         to gnu_dev_{major,minor,makedev} functions.
69782 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
69784         * intl/dcigettext.c (get_output_charset): Add missing bracket.
69786 2011-07-20  Andreas Schwab  <schwab@redhat.com>
69788         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69789         strlen results.
69791 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69793         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
69794         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
69795         register in order to avoid conflicts with the soft frame pointer
69796         being held in r11 when necessary.
69797         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
69798         (INTERNAL_VSYSCALL_NCS): Likewise.
69800 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
69802         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
69803         * elf/dl-fini.c (_dl_fini): Adjust caller.
69804         * elf/dl-close.c (_dl_close_worker): Likewise.
69805         * sysdeps/generic/ldsodefs.h: Adjust declaration.
69807 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69809         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
69810         "aux_cache->nlibs < 0".
69812         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
69813         in the reload-count case.
69815 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69818         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
69819         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
69820         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
69821         * sysdeps/x86_64/multiarch/strcat.S: New file.
69822         * sysdeps/x86_64/multiarch/strncat.S: New file.
69823         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
69824         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
69825         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
69826         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
69827         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
69828         (USE_AS_STRCAT): Define.
69829         Add strcat and strncat support.
69830         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69831         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
69832         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
69833         * string/strncat.c: Update.
69834         (USE_AS_STRNCAT): Define.
69835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69836         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
69837         and i7.
69838         * sysdeps/x86_64/multiarch/init-arch.h
69839         (bit_Prefer_PMINUB_for_stringop): New.
69840         (index_Prefer_PMINUB_for_stringop): Likewise.
69841         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
69842         bit_Prefer_PMINUB_for_stringop.
69844 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69846         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
69847         buffer64.
69848         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
69849         of casting of buffer.
69850         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
69851         buffer32 and buffer64.
69852         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
69853         writes instead of casting of buffer.
69854         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
69855         buffer32.
69856         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
69857         casting of buffer.
69859 2011-07-19  Andreas Schwab  <schwab@redhat.com>
69861         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
69863 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69865         * nscd/nscd.c (termination_handler): Don't do anything for a database
69866         if it has not yet been initialized.
69868 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69870         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69872 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69874         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69876 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69878         * po/nl.po: Update from translation team.
69879         * po/sv.po: Likewise.
69881 2011-07-16  Roland McGrath  <roland@hack.frob.com>
69883         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
69884         now disallowed by GCC.
69886         * configure.in (use-default-link): Default to yes if a test -shared
69887         link meets our qualifications.
69888         * configure: Regenerated.
69890         * config.make.in (output-format): New variable.
69891         * configure.in: Check for ld --print-output-format support.
69892         * configure: Regenerated.
69893         * Makerules ($(common-objpfx)format.lds)
69894         [$(output-format) != unknown]: Just use $(output-format),
69895         instead of the linker-script munging.
69897 2011-07-14  Roland McGrath  <roland@hack.frob.com>
69899         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
69900         of $(common-objpfx)shlib.lds.
69901         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
69903         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
69904         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
69906         * configure.in (-z relro check): Adjust test code to add a large
69907         writable data section after it.
69908         * configure: Regenerated.
69910 2011-07-11  Roland McGrath  <roland@hack.frob.com>
69912         * configure.in (-z relro check): Fix test code to make the variable
69913         truly const.
69914         * configure: Regenerated.
69916 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
69918         * nscd/nscd.h (struct traced_file): Define.
69919         (struct database_dyn): Remove inotify_descr, reset_res, and filename
69920         elements.  Add traced_files.
69921         (inotify_fd): Declare.
69922         (register_traced_file): Declare.
69923         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
69924         (inotify_fd): Export.
69925         (resolv_conf_descr): Remove.
69926         (nscd_init): Move inotify descriptor creation to main.
69927         Don't register files for notification here.
69928         (register_traced_file): New function.
69929         (invalidate_cache): Don't use reset_res to determine whether to call
69930         res_init, go through the list of registered files.
69931         (main_loop_poll): The inotify descriptors are now stored in the
69932         structures for the traced files.
69933         (main_loop_epoll): Likewise.
69934         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
69935         to __nss_disable_nscd.
69936         * nscd/cache.c (prune_cache): There is no single inotify descriptor
69937         for a database anymore.  Check the records for all the registered
69938         files instead.
69939         * nss/Makefile (libnss_files-routines): Add files-init.
69940         (libnss_db-routines): Add db-init.
69941         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
69942         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
69943         * nss/nss_db/db-init.c: New file.
69944         * nss/nss_files/files-init.c: New file.
69945         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
69946         __nss_lookup_function.
69947         (__nss_lookup_function): Call nss_load_library.
69948         (nss_load_all_libraries): New function.
69949         (__nss_disable_nscd): Take parameter with callback function for files
69950         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
69951         used for the cached services.
69952         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
69953         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
69954         options for features to all the files in nscd.
69956         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
69958 2011-07-10  Roland McGrath  <roland@hack.frob.com>
69960         * csu/elf-init.c (__libc_csu_init): Comment typo.
69962 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
69964         * po/pl.po: Update from translation team.
69965         * po/ja.po: Likewise.
69966         * po/ru.po: Likewise.
69967         * po/ko.po: Likewise.
69968         * po/fr.po: Likewise.
69970 2011-07-09  Roland McGrath  <roland@hack.frob.com>
69972         * configure.in (.ctors/.dtors header and trailer check):
69973         Use an empirical test on a built program.
69974         * configure: Regenerated.
69976         * configure.in (-z relro check): Use an empirical test on a built DSO.
69977         Detect, but do not require, on ia64.
69978         * configure: Regenerated.
69980         * configure.in (READELF): Find it with AC_CHECK_TOOL.
69981         Update tests that use readelf to use $READELF instead.
69982         * configure: Regenerated.
69984 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
69986         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
69987         if the result is not used.
69989 2011-07-05  Andreas Jaeger  <aj@suse.de>
69991         [BZ#9696]
69992         * stdlib/tst-strtod.c: Add testcase.
69994 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
69996         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
69997         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
69998         The latter has a higher limit.  Take additional parameter to pass to
69999         the new function.
70000         (__pathconf): Pass file to __statfs_link_max.
70001         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
70002         __statfs_link_max.
70003         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
70004         __statfs_link_max.
70006         [BZ #12868]
70007         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
70008         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70009         Handle Lustre.
70010         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
70011         (__statfs_filesize_max): Likewise.
70012         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
70014 2011-07-05  Andreas Jaeger  <aj@suse.de>
70016         * resolv/res_comp.c (dn_skipname): Remove unused variable.
70018 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
70020         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
70021         `status' variable.
70022         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
70023         Likewise.
70025 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
70027         * Makefile (strop-tests): Add strncat.
70028         * string/test-strncat.c: New file.
70030 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
70032         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
70034 2011-06-21  Andreas Jaeger  <aj@suse.de>
70036         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
70037         Copy rule from iconvdata/Makefile.
70039 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70041         [BZ #12922]
70042         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
70043         but no long options are defined, just return 'W'.
70045 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
70047         [BZ #9696]
70048         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
70050 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70052         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
70053         netgroups to read.
70054         (innetgr): Likewise.
70056 2011-07-05  Roland McGrath  <roland@hack.frob.com>
70058         * config.make.in (install_root): Default to $(DESTDIR).
70060 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
70062         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
70064 2011-07-02  Roland McGrath  <roland@hack.frob.com>
70066         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
70068         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
70069         containing directory rather than embedding absolute directory names.
70071         * scripts/check-local-headers.sh: Rewritten using awk.
70072         Match by word, not by line.  Print error messages for matches.
70073         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
70075         * Makerules [shlib-lds-flags empty]:
70076         ($(common-objpfx)libc_pic.opts): New target.
70077         ($(common-objpfx)libc_pic.os.clean): New target.
70078         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
70080         * config.make.in (OBJCOPY): New variable.
70081         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
70082         * configure: Regenerated.
70084         * config.make.in (use-default-link): New variable.
70085         * configure.in (use_default_link): Grok --with-default-link to set it.
70086         * configure: Regenerated.
70087         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
70088         (shlib-lds, shlib-lds-flags): Define to empty.
70090         * Makerules (shlib-lds): New variable.
70091         (shlib-lds-flags): New variable.
70092         (build-shlib, build-moduile, build-module-asneeded): Use it.
70093         ($(common-objpfx)libc.so): Use $(shlib-lds).
70094         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
70095         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
70097         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
70098         DT_FLAGS/DT_FLAGS_1 with zero flags.
70100         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
70101         linker script munging.
70103 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
70105         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
70106         as 128-bit value.
70107         * crypt/sha512.c (sha512_process_block): Perform total addition using
70108         128-bit if possible.
70109         (__sha512_finish_ctx): Likewise.
70110         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
70111         as 64-bit value.
70112         * crypt/sha256.c (SWAP64): Define.
70113         (sha256_process_block): Perform total addition using 64-bit if
70114         possible.
70115         (__sha256_finish_ctx): Likewise.
70117 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
70119         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
70120         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70121         * nscd/hstcache.c (cache_addhst): Likewise.
70122         * nscd/grpcache.c (cache_addgr): Likewise.
70123         * nscd/aicache.c (addhstaiX): Likewise.
70124         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
70126 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
70128         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
70129         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70130         * nscd/hstcache.c (cache_addhst): Likewise.
70131         * nscd/grpcache.c (cache_addgr): Likewise.
70132         * nscd/aicache.c (addhstaiX): Likewise.
70134 2011-07-01  Andreas Schwab  <schwab@redhat.com>
70136         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
70137         domain only when needed.
70139 2011-06-30  Andreas Schwab  <schwab@redhat.com>
70141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
70142         is always restored.
70144 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
70146         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
70147         are re-adding the entry.
70148         * nscd/servicescache.c (cache_addserv): Likewise.
70150 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
70152         * sysdeps/generic/dl-irel.h: fix protection against multiple
70153         inclusions.
70154         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
70156 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
70158         [BZ #12935]
70159         * malloc/memusage.sh: Fix quoting in message.
70160         * debug/xtrace.sh: Likewise.
70162         * configure.in: Remove support for --experimental-malloc option, make
70163         it the default.
70164         * config.make.in: Likewise.
70165         * malloc/Makefile: Likewise.
70167 2011-06-27  Andreas Schwab  <schwab@redhat.com>
70169         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
70170         two-byte characters.
70172 2011-06-27  Roland McGrath  <roland@hack.frob.com>
70174         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
70175         AC_CACHE_CHECK invocation.
70176         * configure: Regenerated.
70178         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
70180 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
70182         [BZ #12350]
70183         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
70184         bit from old_res_options.
70186         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
70188         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
70189         value type for setfct.
70191 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
70193         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70194         __gettimeofday instead of gettimeofday.
70196 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
70198         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
70200 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
70202         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
70204         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
70205         info.
70207 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70209         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70210         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70211         strcpy-sse2-unaligned strncpy-sse2-unaligned
70212         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
70213         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
70214         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
70215         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
70216         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
70217         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
70218         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
70219         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
70220         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
70221         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
70222         (STRCPY): Support SSE2 and SSSE3 versions.
70224 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
70226         [BZ #12874]
70227         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
70228         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
70229         kernels which artificially limit size of requests.
70231 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70233         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70234         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70235         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
70236         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
70237         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
70238         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
70239         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
70240         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
70241         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
70242         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
70243         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
70244         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
70245         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
70246         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
70247         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
70248         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70249         Enable unaligned load optimization for Intel Core i3, i5 and i7
70250         processors.
70251         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
70252         Define.
70253         (index_Fast_Unaligned_Load): Define.
70254         (HAS_FAST_UNALIGNED_LOAD): Define.
70256 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
70258         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
70260 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70262         [BZ #12907]
70263         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
70264         until it is clear that the information is realy needed.
70265         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
70267 2011-06-22  Andreas Schwab  <schwab@redhat.com>
70269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
70271 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70273         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70274         /sys/devices/system/cpu/online if it is usable.
70276         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
70277         reading the information from the /proc filesystem to once a second.
70279 2011-06-21  Andreas Jaeger  <aj@suse.de>
70281         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
70282         NULL after inclusion of kernel headers.
70284 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
70286         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
70287         calls to internal_setent.
70289         [BZ #12885]
70290         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
70291         addresses using gethostbyname4_r ignore IPv4 addresses.
70293         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
70294         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
70296         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
70298 2011-06-20  David S. Miller  <davem@davemloft.net>
70300         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
70301         inclusions.
70302         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
70304         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
70305         (elf_irel): Use it.
70306         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
70307         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
70308         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
70309         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
70310         * sysdeps/x86_64/dl-irel.h: Likewise.
70312         * elf/dl-runtime.c: Use elf_ifunc_invoke.
70313         * elf/dl-sym.c: Likewise.
70315 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70317         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
70318         need to dereference resplen2.
70320 2011-06-14  Andreas Schwab  <schwab@redhat.com>
70322         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
70324 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70326         * Makeconfig: Define vardbdir and inst_vardbdir.
70327         * nss/Makefile: Add rules to install db-Makefile.
70329         * nss/nss_db/db-XXX.c: Cleanup.
70331         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
70332         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
70333         GLIBC_PRIVATE.
70334         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
70335         * nss/makedb.c: Implement -g option to specify that value strings
70336         are generated and should not be added to table iterated over for
70337         get*ent calls.
70338         * nss/nss_db/db-initgroups.c: New file.
70340         * nss/getent.c: Add support for initgroups lookups through getgrouplist
70341         interface.
70343         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
70344         (internal_getgrouplist): Adjust to name change.
70345         Update use_initgroups_entry if this is not the first call.
70346         * nss/databases.def: Add initgroups entry.
70348         * nss/makedb.c (compute_tables): Check result of multiple hash table
70349         sizes to minimize maximum chain length.
70351 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
70353         * Versions.def: Add entry for libnss_db.
70354         * shlib-versions: Likewise.
70355         * nss/Makefile: Add rules to build libnss_db.
70356         * nss/Versions: Add libnss_db information.  Organize libnss_files
70357         entries better.
70358         * nss/db-Makefile: Add gshadow support.  Change rules for the new
70359         makedb progra.  Some minor improvements to generate smaller files.
70360         * nss/nss_db/nss_db.h: Move NSS database header data structures to
70361         here from...
70362         * nss/makedb.c: ...here.
70363         Improve database format to be smaller and require less memory at
70364         runtime.
70365         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
70366         db anymore.
70367         * nss/nss_db/db-netgrp.c: Likewise.
70368         * nss/nss_db/db-open.c: Likewise.
70369         * nss/nss_files/flies-XXX.x: Adjust comments.
70370         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
70371         * nss/nss_files/files-grp.c: Likewise.
70372         * nss/nss_files/files-hosts.c: Likewise.
70373         * nss/nss_files/files-network.c: Likewise.
70374         * nss/nss_files/files-proto.c: Likewise.
70375         * nss/nss_files/files-pwd.c: Likewise.
70376         * nss/nss_files/files-rpc.c: Likewise.
70377         * nss/nss_files/files-service.c: Likewise.
70378         * nss/nss_files/files-sgrp.c: Likewise.
70379         * nss/nss_files/files-spwd.c: Likewise.
70380         * nss/nss_db/db-alias.c: Removed.
70381         * nss/nss_db/dummy-db.h: Removed.
70383 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
70385         * nss/makedb.c: Rewritten to not use database library.
70386         * nss/Makefile: Update to build new makedb program.
70388 2011-06-14  Andreas Jaeger  <aj@suse.de>
70390         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
70391         memset declaration.
70393 2011-06-10  Andreas Schwab  <schwab@redhat.com>
70395         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
70396         tmpbuf.
70398 2011-06-10  Roland McGrath  <roland@hack.frob.com>
70400         * Makerules (shlib.lds): Fail if the linker script comes out empty.
70401         * elf/Makefile ($(objpfx)ld.so): Likewise.
70403         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
70404         Don't list ld.so twice in dependencies.
70406         * posix/bug-regex31.c: Include <stdlib.h>.
70408         * nscd/hstcache.c (cache_addhst): Remove unused variable.
70410         * nis/nss_compat/compat-spwd.c
70411         (getspent_next_nss_netgr): Remove unused variable.
70412         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
70414         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
70415         nonmembers" output to use the right array.
70417         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
70419         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
70421         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
70422         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
70423         * catgets/gencat.c (read_input_file): Likewise.
70424         * locale/programs/locarchive.c (enlarge_archive): Likewise.
70426         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
70427         variable definition inside #if's controlling its use.
70429         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
70431         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
70433         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
70435         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
70436         unreachable code.
70438         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
70440         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
70441         * configure: Regenerated.
70443         * Makerules: Revert last change.
70444         * elf/Makefile: Likewise.
70446 2011-06-09  Roland McGrath  <roland@hack.frob.com>
70448         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
70449         * elf/Makefile ($(objpfx)librtld.os): Likewise.
70450         (reloc-link): Likewise.
70452 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
70454         * elf/Makefile: Add rules to build pldd.
70455         * elf/pldd.c: New file.
70456         * elf/pldd-xx.c: New file.
70458 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
70460         * version.h: Update for 2.15 development version.
70462 2011-06-07  David S. Miller  <davem@davemloft.net>
70464         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
70465         ifuncs.
70466         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
70467         elf_machine_lazy_rel): Likewise.
70468         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
70469         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
70470         elf_machine_lazy_rel): Likewise.
70471         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
70472         dl_hwcap via passed in argument.
70473         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
70474         Likewise.
70476 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70478         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
70480 2011-06-06  Roland McGrath  <roland@hack.frob.com>
70482         [BZ #12849]
70483         * manual/fdl-1.1.texi: New file, verbatim from:
70484         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
70485         * manual/lgpl-2.1.texi: New file, verbatim from:
70486         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
70487         * manual/Makefile (licenses): New variable, list those new file names.
70488         (texis): Use it.
70489         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
70491         * manual/fdl.texi: File removed.
70492         * manual/lesser.texi: File removed.
70493         * manual/libc.texinfo (Copying, Documentation License):
70494         Use new @include file names, put @appendix directive before @include.
70496 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
70498         [BZ #12841]
70499         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
70500         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
70501         (mq_open): Add __NTH.
70503 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
70505         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70506         Assume Intel Core i3/i5/i7 processor if AVX is available.
70508 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70510         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70511         typo.
70513 2011-05-31  Andreas Schwab  <schwab@redhat.com>
70515         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
70516         memory.  Use alloca_account.  Fix memory leak when retrying.
70518 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70520         * version.h (RELEASE): Bump for 2.14 release.
70521         * include/features.h (__GLIBC_MINOR__): Bump to 14.
70523         * config.make.in (RANLIB): Remove entry.
70525 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
70527         * po/Makefile (po-sed-cmd): Add ksh to extensions.
70528         (libc.pot): Work around missing support for .ksh extension in xgettext.
70530         [BZ #12684]
70531         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
70532         if both request failed.
70533         (send_dg): In case of server errors clear resplen or *resplen2.
70535         [BZ #12454]
70536         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
70537         when there are multiple maps.
70538         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
70539         (_dl_fini): Remove test here.
70541         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
70543 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
70545         [BZ #12350]
70546         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
70547         bit from old_res_options.
70548         (gaih_inet): Likewise.
70550         [BZ #11099]
70551         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
70552         as signed.
70554         * resolv/res_init.c (res_setoptions): Make the code more compact.
70556         [BZ #11558]
70557         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
70558         set RES_USEVC.
70560         [BZ #11634]
70561         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
70563         * malloc/malloc.h: Mark malloc hook variables as deprecated.
70565         [BZ #11781]
70566         * malloc/malloc.h: Declare malloc hook variables as volatile.
70568         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
70569         in last patch.
70571         [BZ #11799]
70572         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
70573         raise in the comment.
70574         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70575         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70576         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
70578 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
70580         [BZ #12811]
70581         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
70582         grow the buffers more if it already has to be sufficient.
70583         (build_wcs_upper_buffer): Likewise.
70584         * posix/regexec.c (check_matching): Likewise.
70585         (clean_state_log_if_needed): Likewise.
70586         (extend_buffers): Don't enlarge buffers beyond size of the input
70587         buffer.
70588         Patches mostly by Emil Wojak <emil@wojak.eu>.
70589         * posix/bug-regex32.c: New file.
70590         * posix/Makefile (tests): Add bug-regex32.
70592         * locale/findlocale.c (_nl_find_locale): Return right away if
70593         _nl_explode_name failed.
70594         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
70596         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
70598         * debug/xtrace.sh: Unify messages.
70599         * malloc/memusage.sh: Likewise.
70601         [BZ #12813]
70602         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
70603         time symbol from vDSO.  Substitute with vsyscall if not available.
70604         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
70605         __vdso_time.
70607         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
70608         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
70609         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
70610         Add sendmmsg and internal_sendmmsg.
70611         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
70612         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
70613         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
70615         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
70616         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
70617         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70619 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
70621         [BZ #12813]
70622         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70623         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
70624         available.
70625         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70626         __vdso_getcpu.
70628         [BZ #12814]
70629         * iconvdata/Makefile (tests): Add bug-iconv9.
70630         * iconvdata/bug-iconv9.c: New file.
70632 2011-05-27  Andreas Schwab  <schwab@redhat.com>
70634         [BZ #12814]
70635         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70637 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
70639         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70640         (struct user_regs_struct): Change intcs field back to cs.
70642 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
70644         * po/ja.po: Update from translation team.
70646 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
70648         [BZ #12795]
70649         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70650         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70652 2011-05-20  Andreas Schwab  <schwab@redhat.com>
70654         * stdlib/longlong.h: Update from GCC.
70656 2011-05-23  Andreas Schwab  <schwab@redhat.com>
70658         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70659         parameter name.
70660         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70661         Add parameter name.
70662         (__sysconf): Pass it down.
70664 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
70666         [BZ #12671]
70667         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70668         some situations.
70669         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70670         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70671         add in in __libc_use_alloca calls.  Adjust callers.
70672         (glob): Use malloc in some situations.
70674         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70675         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70676         pltexit.
70678 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
70680         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70681         and CLOCK_BOOTTIME_ALARM.
70683         [BZ #12782]
70684         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70685         is returned.
70687         * string/_strerror.c (__strerror_r): Print negative errors as signed
70688         numbers.
70690         [BZ #12777]
70691         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70692         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70693         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70695         * configure.in: Fix typo in redirection and correct removal of test
70696         files in two cases.
70698         [BZ #12788]
70699         * locale/setlocale.c (new_composite_name): Fix test to check for
70700         identical name of all categories.
70702         [BZ #12792]
70703         * libio/filedoalloc.c (local_isatty): New function.
70704         (_IO_file_doallocate): Use local_isatty.
70705         * stdio-common/perror.c (perror): In case a new stream is used
70706         forward the stream error.
70707         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70708         error flag.
70710 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
70712         [BZ #11884]
70713         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70714         alloca.
70715         * include/alloca.h (extend_alloca_account): Define.
70717         [BZ #11857]
70718         * posix/regex.h: Fix comments with documentation of user-accessible
70719         fields after compilation and describe correct free'ing of pattern
70720         after re_compile_pattern.
70721         Patch by Reuben Thomas <rrt@sc3d.org>.
70723 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
70725         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70726         and -mno-altivec to prevent the compiler from using Altivec and/or
70727         VSX instructions when the corresponding registers are not available.
70729 2011-05-19  Andreas Schwab  <schwab@redhat.com>
70731         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70733 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
70735         * libio/freopen.c (freopen): Use __dup2, not dup2.
70736         * libio/freopen64.c (freopen64): Likewise.
70738 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70740         [BZ #12775]
70741         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70742         * math/Makefile (tests): Add test-powl.
70743         (CFLAGS-test-powl.c): Define.
70744         * math/test-powl.c: New file.
70746 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70748         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70750 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
70752         [BZ #11837]
70753         * iconvdata/gb18030.c: Update to GB18020-2005.
70755 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
70757         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70758         RE_SYNTAX_POSIX_AWK): Update to match recent development.
70759         Patch by Aharon Robbins <arnold@skeeve.com>.
70761         [BZ #11892]
70762         * stdlib/putenv.c (putenv): Don't always create copy of the variable
70763         on the stack.
70765         [BZ #11895]
70766         * misc/pselect.c (__pselect): Handle timeout value errors hidden
70767         through underflows.
70769         [BZ #12766]
70770         * misc/error.c (error_at_line): Ensure file_name and old_file_name
70771         point to strings before performing equality test for error_one_per_line
70772         mode.
70774         [BZ #11697]
70775         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
70777         [BZ #11820]
70778         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70779         (struct user_fpregs_struct): Avoid __uint*_t types.
70781         [BZ #6420]
70782         * malloc/mtrace.c (tr_where): Add additional parameter to point to
70783         symbol info.  Use it instead of calling _dl_addr locally.
70784         (lock_and_info): New function.
70785         (tr_freehook): Call lock_and_info and pass symbol info as additional
70786         parameter to tr_where.
70787         (tr_mallochook): Likewise.
70788         (tr_reallochook): Likewise.
70789         (tr_memalignhook): Likewise.
70791         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
70792         used and couldn't be at all thread-safe.
70794 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
70796         * libio/freopen.c (freopen): Don't close old file descriptor
70797         before the new one is opened.  Instead dup the new file descriptor
70798         to the old one after the new stream is created.
70799         * libio/freopen64.c (freopen64): Likewise.
70800         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
70801         * libio/fileops.c (_IO_new_file_close_it): Handle new
70802         _IO_FLAGS2_NOCLOSE flag.
70803         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
70804         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
70805         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
70806         _IO_FLAGS2_NOCLOSE flag.
70807         * include/unistd.h: Add hidden_proto for dup3.
70808         Define __have_dup3.
70809         * io/dup3.c: Define hidden symbol.
70810         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
70812         [BZ #7101]
70813         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
70814         when an incomplete long option is used.
70815         * posix/tst-getopt_long1.c: New file.
70816         * posix/Makefile (tests): Add tst-getopt_long1.
70818         [BZ #10138]
70819         * scripts/config.guess: Update from autoconf-2.68.
70820         * scripts/config.sub: Likewise.
70822         [BZ #10157]
70823         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
70824         tests into ...
70825         (has_cpuclock): ...this.  New function.
70826         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
70827         macro here based on has_cpuclock code.
70829         [BZ #10149]
70830         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70831         First byte (not low byte) is now always NUL.
70832         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
70834         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70835         Use non-cancelable interfaces.
70837         [BZ #9809]
70838         * locale/iso-639.def: Add entry for Sorani.
70840         [BZ #11901]
70841         * include/stdlib.h: Move include protection to the right place.
70842         Define abort_msg_s.  Declare __abort_msg with it.
70843         * stdlib/abort.c (__abort_msg): Adjust type.
70844         * assert/assert.c (__assert_fail_base): New function.  Majority
70845         of code from __assert_fail.  Allocate memory for __abort_msg with
70846         mmap.
70847         (__assert_fail): Now call __assert_fail_base.
70848         * assert/assert-perr.c: Remove bulk of implementation.  Use
70849         __assert_fail_base.
70850         * include/assert.hL Declare __assert_fail_base.
70851         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
70852         mmap.
70853         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
70855 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
70857         [BZ #11952]
70858         [BZ #12453]
70859         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
70860         until all modules are registered in the DTV.
70861         * elf/Makefile: Add rules to build and run tst-tls19.
70862         * elf/tst-tls19.c: New file.
70863         * elf/tst-tls19mod1.c: New file.
70864         * elf/tst-tls19mod2.c: New file.
70865         * elf/tst-tls19mod3.c: New file.
70866         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
70868         [BZ #12083]
70869         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
70870         correctly.
70872         [BZ #12601]
70873         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
70874         two-byte sequence errors.
70875         * iconvdata/Makefile (tests): Add bug-iconv8.
70876         * iconvdata/bug-iconv8.c: New file.
70878         [BZ #12626]
70879         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
70880         buf2 definition.
70882         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
70884         [BZ #12432]
70885         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
70886         (dummy_getcfa): New function.
70887         (init): Get _Unwind_GetCFA address, use dummy if not found.
70888         (backtrace_helper): In recursion check, also check whether CFA changes.
70889         (__backtrace): Completely initialize arg.
70891         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
70892         storing incomplete byte sequence in state object.  Avoid testing for
70893         guaranteed too small input if we know there is enough data available.
70895 2011-05-11  Andreas Schwab  <schwab@redhat.com>
70897         * Makeconfig (+link-pie): Indent.
70898         * Rules (binaries-pie): Define if $(have-fpie) and
70899         $(build-shared).
70900         (binaries-shared): Also filter out $(binaries-pie).
70901         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
70902         * nscd/Makefile (others-pie): Add nscd.
70903         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
70904         ($(objpfx)nscd): Remove command override.
70905         * login/Makefile (others-pie): Add pt_chown.
70906         ($(objpfx)pt_chown): Remove command override.
70907         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
70908         remove command overrides.
70910 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
70912         * libio/tst_putwc.c: Fix error messages.
70914         [BZ #12724]
70915         * libio/fileops.c (_IO_new_file_close_it): Always flush when
70916         currently writing and seek to current position when not.
70917         * libio/Makefile (tests): Add bug-fclose1.
70918         * libio/bug-fclose1.c: New file.
70920 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
70922         [BZ #12511]
70923         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
70924         don't set DF_1_NODELETE here.
70925         (do_lookup_x): When entering new entry test for copy relocation
70926         and if necessary set DF_1_NODELETE flag.
70927         * elf/tst-unique4.cc: New file.
70928         * elf/tst-unique4.h: New file.
70929         * elf/tst-unique4lib.cc: New file.
70930         * elf/Makefile: Add rules to build and run tst-unique4.
70931         Patch by Piotr Bury <pbury@goahead.com>.
70933 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
70935         [BZ #12052]
70936         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
70938         [BZ #12625]
70939         * misc/mntent_r.c (addmntent): Flush the stream after the output
70941         [BZ #12393]
70942         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
70943         (is_trusted_path_normalize): Skip initial colon.  Append slash
70944         to empty buffer.  Duplicate is_trusted_path code but allow
70945         constructed patch to be prefix.
70946         (is_dst): Allow $ORIGIN followed by /.
70947         (_dl_dst_substitute): Correct clearing of check_for_trusted.
70948         Correct testing of result of is_trusted_path_normalize
70949         (decompose_rpath): Fix warning.
70951 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
70953         [BZ #11257]
70954         * grp/initgroups.c (internal_getgrouplist): When we found the service
70955         list through the initgroups entry in nsswitch.conf do not always
70956         continue on a successful lookup.  Don't always use the
70957         __nss_group_database value if it is set.
70958         * nss/nsswitch.conf (initgroups): Change action for successful db
70959         lookup to continue for compatibility.
70961 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
70963         [BZ #11532]
70964         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
70965         and CP774 modules.
70966         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
70967         and CP774 modules.
70968         * iconvdata/tst-tables.sh: Likewise.
70969         * iconvdata/cp770.c: New file.
70970         * iconvdata/cp771.c: New file.
70971         * iconvdata/cp772.c: New file.
70972         * iconvdata/cp773.c: New file.
70973         * iconvdata/cp774.c: New file.
70974         * iconvdata/testdata/CP770: New file.
70975         * iconvdata/testdata/CP770..UTF8: New file.
70976         * iconvdata/testdata/CP771: New file.
70977         * iconvdata/testdata/CP771..UTF8: New file.
70978         * iconvdata/testdata/CP772: New file.
70979         * iconvdata/testdata/CP772..UTF8: New file.
70980         * iconvdata/testdata/CP773: New file.
70981         * iconvdata/testdata/CP773..UTF8: New file.
70982         * iconvdata/testdata/CP774: New file.
70983         * iconvdata/testdata/CP774..UTF8: New file.
70985         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
70986         END CHARMAP line.
70987         * iconvdata/gen-8bit-gap.sh: Likewise.
70988         * iconvdata/gen-8bit.sh: Likewise.
70990         * locale/iso-639.def: Add ary entry.
70992         [BZ #11258]
70993         * locale/C-translit.h.in: Add U20A1 transliteration.
70995         [BZ #12178]
70996         * locale/iso-639.def: Add wae entry.
70997         Patch by Kevin Bortis <bortis@translate-wae.ch>.
70999         [BZ #12545]
71000         * locale/programs/localedef.c (construct_output_path): Use ssize_t
71001         for n.
71003         [BZ #12711]
71004         * locale/C-translit.h.in: Add entry for U20B9.
71005         Patch by pravin.d.s@gmail.com.
71007 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
71009         [BZ #12713]
71010         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
71011         ENAMETOOLONG use generic getcwd.
71012         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
71013         in rtld.  Use *stat64.
71014         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
71015         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
71016         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
71017         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
71018         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
71019         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
71020         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
71021         __fstatat64 macros.
71022         * include/dirent.h: Add libc_hidden_proto for rewinddir.
71023         * dirent/rewinddir.c: Add libc_hidden_def.
71024         * sysdeps/mach/hurd/rewinddir.c: Likewise.
71025         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
71027         * include/dirent.h (__alloc_dir): Add flags parameter.
71028         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
71029         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
71030         __alloc_dir.
71031         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
71032         from fdopendir if O_CLOEXEC is already set.
71034 2011-03-15  Alan Modra  <amodra@gmail.com>
71036         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
71037         l_tls_firstbyte_offset non-zero.  Save padding offset in
71038         l_tls_firstbyte_offset for later use.
71039         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
71040         freeing static tls block.
71042 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
71044         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
71045         where #ifdef was intended.  The intent is to prevent ARG_MAX from
71046         being defined by the kernel headers.
71048 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
71050         [BZ #12734]
71051         * resolv/resolv.h: Define RES_NOTLDQUERY.
71052         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
71053         no-tld-query and set RES_NOTLDQUERY.
71054         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
71055         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
71056         modern BIND to search name as TLD unless forbidden.
71058 2011-05-07  Petr Baudis  <pasky@suse.cz>
71059             Ulrich Drepper  <drepper@gmail.com>
71061         [BZ #12393]
71062         * elf/dl-load.c (fillin_rpath): Move trusted path check...
71063         (is_trusted_path): ...to here.
71064         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
71065         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
71066         using is_trusted_path_normalize() in setuid scripts.
71068 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71070         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
71071         __BEGIN/__END_DECLS.
71073 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
71075         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
71076         NSS_STATUS_NOTFOUND if no record was found.
71078 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71080         * sunrpc/Makefile (headers): Add rpc/netdb.h.
71081         (headers-not-in-tirpc): Remove rpc/netdb.h
71082         * resolv/netdb.h: Revert last change.
71084 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71086         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
71087         circular dependency between libgcc.a and libc.a.
71089 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71091         * resolv/netdb.h: Don't include <rpc/netdb.h>.
71092         * nis/Makefile: Don't install rpcsvc/*.
71093         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
71094         instead of <rpc/types.h>.
71095         (MAXHOSTNAMELEN): Define.
71097 2011-05-03  Andreas Schwab  <schwab@redhat.com>
71099         * elf/ldconfig.c (add_dir): Don't crash on empty path.
71101 2011-04-28  Maciej Babinski  <mbabinski@google.com>
71103         [BZ #12714]
71104         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
71105         gethostbyname4_r when IPv6 results are possible.
71107 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
71109         [BZ #12723]
71110         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
71111         _PC_PIPE_BUF handling.
71113 2011-04-30  Bruno Haible  <bruno@clisp.org>
71115         [BZ #12717]
71116         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
71117         * resolv/netdb.h (getnameinfo): Change type of flags parameter
71118         to 'int'.
71119         * inet/getnameinfo.c (getnameinfo): Likewise.
71121 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
71123         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
71124         to groups setting in database lookup.
71125         * nss/nsswitch.conf: Add initgroups entry.
71127 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
71129         [BZ #12685]
71130         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
71131         mode string.
71132         Patch by Eric Blake <eblake@redhat.com>.
71134 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
71136         * sunrpc/Makefile (need-export-routines): Add svc_run.
71137         (routines): Remove svc_run.
71138         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
71139         * sunrpc/clnt_perr.c (clnt_perrno): Export.
71140         * sunrpc/svc_run.c (svc_run): Likewise.
71141         * sunrpc/svc_udp.c (svcudp_create): Likewise.
71143 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
71145         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
71146         problem in reallocation in last patch.
71148 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
71150         * sunrpc/Makefile: Move inclusion of Rules.
71152 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71154         * nss/nss_files/files-initgroups.c: New file.
71155         * nss/Makefile (libnss_files-routines): Add files-initgroups.
71156         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
71157         _nss_files_initgroups_dyn.
71159 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
71161         * elf/elf.h (R_ARM_IRELATIVE): Define.
71163 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71165         * po/ru.po: Update from translation team.
71167 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71169         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
71170         dependencies.
71172 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
71174         [BZ #12653]
71175         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
71176         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
71177         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71178         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71179         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71181 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
71183         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
71184         differing bytes.
71185         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71186         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71187         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71189 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71191         [BZ #12420]
71192         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
71193         storing it.
71194         * stdlib/bug-getcontext.c: New file.
71195         * stdlib/Makefile: Add rules to build and run bug-getcontext.
71197 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71199         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
71200         instructions into .machine "z9-109".
71201         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
71202         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
71204 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71206         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
71207         between environment variables and auxiliary vector.
71209 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
71211         * Makefile: Add rules to build linkobj/libc.so.
71212         * include/libc-symbols.h: Define libc_hidden_nolink.
71213         * include/rpc/auth.h: Mark functions which are to be hidden.
71214         * include/rpc/auth_des.h: Likewise.
71215         * include/rpc/auth_unix.h: Likewise.
71216         * include/rpc/clnt.h: Likewise.
71217         * include/rpc/des_crypt.h: Likewise.
71218         * include/rpc/key_prot.h: Likewise.
71219         * include/rpc/pmap_clnt.h: Likewise.
71220         * include/rpc/pmap_prot.h: Likewise.
71221         * include/rpc/pmap_rmt.h: Likewise.
71222         * include/rpc/rpc_msg.h: Likewise.
71223         * include/rpc/svc.h: Likewise.
71224         * include/rpc/svc_auth.h: Likewise.
71225         * include/rpc/xdr.h: Likewise.
71226         * nis/Makefile: Link all DSOs against linkobj/libc.so.
71227         * nss/Makefile: Likewise.
71228         * sunrpc/Makefile: Don't install headers.  Build library with normal
71229         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
71230         * sunrpc/auth_des.c: Hide exported symbols by default, export some
71231         for the compat linking library.  Remove use of INTDEF/INTUSE.
71232         * sunrpc/auth_none.c: Likewise.
71233         * sunrpc/auth_unix.c: Likewise.
71234         * sunrpc/authdes_prot.c: Likewise.
71235         * sunrpc/authuxprot.c: Likewise.
71236         * sunrpc/clnt_gen.c: Likewise.
71237         * sunrpc/clnt_perr.c: Likewise.
71238         * sunrpc/clnt_raw.c: Likewise.
71239         * sunrpc/clnt_simp.c: Likewise.
71240         * sunrpc/clnt_tcp.c: Likewise.
71241         * sunrpc/clnt_udp.c: Likewise.
71242         * sunrpc/clnt_unix.c: Likewise.
71243         * sunrpc/des_crypt.c: Likewise.
71244         * sunrpc/des_soft.c: Likewise.
71245         * sunrpc/get_myaddr.c: Likewise.
71246         * sunrpc/key_call.c: Likewise.
71247         * sunrpc/key_prot.c: Likewise.
71248         * sunrpc/netname.c: Likewise.
71249         * sunrpc/pm_getmaps.c: Likewise.
71250         * sunrpc/pm_getport.c: Likewise.
71251         * sunrpc/pmap_clnt.c: Likewise.
71252         * sunrpc/pmap_prot.c: Likewise.
71253         * sunrpc/pmap_prot2.c: Likewise.
71254         * sunrpc/pmap_rmt.c: Likewise.
71255         * sunrpc/publickey.c: Likewise.
71256         * sunrpc/rpc_cmsg.c: Likewise.
71257         * sunrpc/rpc_common.c: Likewise.
71258         * sunrpc/rpc_dtable.c: Likewise.
71259         * sunrpc/rpc_prot.c: Likewise.
71260         * sunrpc/rpc_thread.c: Likewise.
71261         * sunrpc/rtime.c: Likewise.
71262         * sunrpc/svc.c: Likewise.
71263         * sunrpc/svc_auth.c: Likewise.
71264         * sunrpc/svc_authux.c: Likewise.
71265         * sunrpc/svc_raw.c: Likewise.
71266         * sunrpc/svc_run.c: Likewise.
71267         * sunrpc/svc_simple.c: Likewise.
71268         * sunrpc/svc_tcp.c: Likewise.
71269         * sunrpc/svc_udp.c: Likewise.
71270         * sunrpc/svc_unix.c: Likewise.
71271         * sunrpc/svcauth_des.c: Likewise.
71272         * sunrpc/xcrypt.c: Likewise.
71273         * sunrpc/xdr.c: Likewise.
71274         * sunrpc/xdr_array.c: Likewise.
71275         * sunrpc/xdr_float.c: Likewise.
71276         * sunrpc/xdr_intXX_t.c: Likewise.
71277         * sunrpc/xdr_mem.c: Likewise.
71278         * sunrpc/xdr_rec.c: Likewise.
71279         * sunrpc/xdr_ref.c: Likewise.
71280         * sunrpc/xdr_sizeof.c: Likewise.
71281         * sunrpc/xdr_stdio.c: Likewise.
71283 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
71285         [BZ #12650]
71286         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
71287         * sysdeps/ia64/dl-tls.h: Likewise.
71288         * sysdeps/powerpc/dl-tls.h: Likewise.
71289         * sysdeps/s390/dl-tls.h: Likewise.
71290         * sysdeps/sh/dl-tls.h: Likewise.
71291         * sysdeps/sparc/dl-tls.h: Likewise.
71292         * sysdeps/x86_64/dl-tls.h: Likewise.
71293         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
71295 2011-03-14  Andreas Schwab  <schwab@redhat.com>
71297         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
71298         rpath element also skip the following colon.
71299         (expand_dynamic_string_token): Add is_path parameter and pass
71300         down to DL_DST_REQUIRED and _dl_dst_substitute.
71301         (decompose_rpath): Call expand_dynamic_string_token with
71302         non-zero is_path.  Ignore empty rpaths.
71303         (_dl_map_object_from_fd): Call expand_dynamic_string_token
71304         with zero is_path.
71306 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
71308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71309         Make cancelable.
71311 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
71313         [BZ #12655]
71314         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
71315         Patch by Filipe David Manana <fdmanana@apache.org>.
71317 2011-04-07  Andreas Schwab  <schwab@redhat.com>
71319         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
71320         Maintain aligned stack.
71321         (CHECK_RSP): Remove unused macro.
71323 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
71325         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
71326         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
71328 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
71330         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
71332         * include/features.h: Mention __USE_XOPEN2K8 in comment.
71334 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
71336         [BZ #12518]
71337         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
71338         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
71339         * sysdeps/x86_64/memmove.c: New file.
71340         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
71341         (memcpy): Renamed to ...
71342         (__new_memcpy): This.
71343         (memcpy): Provide GLIBC_2_14 memcpy.
71344         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
71345         (memcpy): Provide GLIBC_2_2_5 memcpy.
71347 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71349         [BZ #12631]
71350         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
71352 2011-03-30  Andreas Schwab  <schwab@redhat.com>
71354         * misc/syncfs.c: New file.
71355         * misc/Makefile (routines): Add syncfs.
71356         * posix/unistd.h: Declare syncfs.
71357         * sysdeps/unix/syscalls.list: Add syncfs.
71359 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71361         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
71362         open_by_handle_at.
71363         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71364         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71365         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71366         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71367         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71368         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
71369         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71371 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71373         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
71374         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71375         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
71376         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71377         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71378         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71379         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71381         * io/Makefile: Compile fallocate.c, fallocate64.c, and
71382         sync_file_range.c with -fexceptions.
71383         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
71384         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
71385         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
71386         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
71387         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
71388         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71389         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
71390         sync_file_range as cancellation point
71391         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
71392         now a wrapper around __call_sync_file_range with cancellation handling.
71393         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
71394         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
71395         function name to __call_sync_file_range.
71396         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
71397         Add call_sync_file_range.
71399 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71401         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71402         bits/timex.h.
71404 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71406         * iconv/iconv.h: Fix typo in comment.
71407         * io/fcntl.h: Likewise.
71408         * libio/stdio.h: Likewise.
71409         * posix/spawn.h: Likewise.
71410         * posix/unistd.h: Likewise.
71411         * stdlib/stdlib.h: Likewise.
71412         * time/time.h: Likewise.
71413         * wcsmbs/wchar.h: Likewise.
71415         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
71416         open_by_handle): Add.
71417         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
71418         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
71419         Augment a few comments.
71420         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71421         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71422         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71423         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71424         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71425         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
71426         open_by_handle.
71428         * io/fcntl.h (AT_EMPTY_PATH): Define.
71430 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
71432         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
71433         * sysdeps/unix/sysv/linux/bits/time.h: New file.
71434         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
71435         to...
71436         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
71437         * Versions.def: Add GLIBC_2.14.
71438         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
71439         Export.
71441 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
71443         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
71444         round counter.
71445         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71447 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71449         [BZ #12597]
71450         * string/test-strncmp.c (do_page_test): New function.
71451         (check2): Likewise.
71452         (test_main): Call check2.
71453         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
71455 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
71457         [BZ #12587]
71458         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
71459         Handle cache information in CPU leaf 4.
71460         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71462 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
71464         [BZ #12583]
71465         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
71466         character representation.
71467         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
71469 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
71471         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
71472         END(__isnan) to END(__isnanf) to match function entry point/label
71473         EALIGN(__isnanf,...).
71475 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
71477         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
71479 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
71481         [BZ #12510]
71482         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
71483         copy from the symbol referenced in the relocation to initialize the
71484         used variable.
71485         Patch by Piotr Bury <pbury@goahead.com>.
71486         * elf/Makefile: Add rules to build and tst-unique3.
71487         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
71488         * elf/tst-unique3.cc: New file.
71489         * elf/tst-unique3.h: New file.
71490         * elf/tst-unique3lib.cc: New file.
71491         * elf/tst-unique3lib2.cc: New file.
71493         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
71495 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
71497         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
71498         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
71499         to _start.
71501 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
71503         * elf/dl-load.c (_dl_map_object): If we are looking for the first
71504         to-be-loaded object along a path to loader is ld.so.
71506 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71507             Ulrich Drepper  <drepper@gmail.com>
71509         * sysdeps/x86_64/memset.S: After aligning destination, code
71510         branches to different locations depending on the value of
71511         misalignment, when multiarch is enabled. Fix this.
71513 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71515         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
71516         Set _x86_64_preferred_memory_instruction for AMD processsors.
71517         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71518         Set bit_Prefer_SSE_for_memop for AMD processors.
71520 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
71522         * libio/fmemopen.c (fmemopen): Optimize a bit.
71524 2011-03-03  Andreas Schwab  <schwab@redhat.com>
71526         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
71528 2011-03-03  Roland McGrath  <roland@redhat.com>
71530         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
71532 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
71534         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
71535         __bzero_ultra1 instead of __memset_ultra1.
71537 2011-02-23  Andreas Schwab  <schwab@redhat.com>
71538             Ulrich Drepper  <drepper@gmail.com>
71540         [BZ #12509]
71541         * include/link.h (struct link_map): Add l_orig_initfini.
71542         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
71543         returning unsuccessfully.
71544         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
71545         close of a file loaded at startup, restore the original l_initfini
71546         list.
71547         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
71548         list, store the pointer.
71549         * elf/Makefile ($(objpfx)noload-mem): New rule.
71550         (noload-ENV): Define.
71551         (tests): Add $(objpfx)noload-mem.
71552         * elf/noload.c: Include <memcheck.h>.
71553         (main): Call mtrace.  Close all opened handles.
71555 2011-02-17  Andreas Schwab  <schwab@redhat.com>
71557         [BZ #12454]
71558         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
71559         dependencies are missing.
71561 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71563         Fix __if_freereq crash: Unlike the generic version which uses free,
71564         Hurd needs munmap.
71565         * sysdeps/mach/hurd/ifreq.h: New file.
71567 2011-01-27  Petr Baudis  <pasky@suse.cz>
71568             Ulrich Drepper  <drepper@gmail.com>
71570         [BZ 12445]#
71571         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
71572         to extend_alloca().
71573         * stdio-common/bug23.c: New file.
71574         * stdio-common/Makefile (tests): Add bug23.
71576 2010-09-28  Andreas Schwab  <schwab@redhat.com>
71577             Ulrich Drepper  <drepper@gmail.com>
71579         [BZ #12489]
71580         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
71581         before performing relro protection.  At old place add assertion
71582         to make sure nothing changed.
71584 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
71585             Glauber de Oliveira Costa  <glommer@gmail.com>
71587         * elf/elf.h: Add new ARM TLS relocs.
71589 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
71591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71592         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
71593         cast from r3.
71594         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
71595         'tests' variable.
71596         * sysdeps/wordsize-64/tst-writev.c: New file.
71598 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
71600         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
71601         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
71602         insns in _dl_start to prevent a TOC reference before relocs are
71603         resolved.
71605 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
71607         [BZ #12469]
71608         * Makeconfig: Remove RANLIB definition.
71609         * Makerules: Don't use RANLIB.
71610         * aclocal.m4: Remove ranlib test.
71611         * configure.in: No need to check for ranlib.
71612         * elf/rtld-Rules: Don't use RANLIB.
71614 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71616         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
71617         protection macro.
71618         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71619         inclusion protection macro.
71621         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71622         SIGRTMIN and SIGRTMAX and print information in that case only when
71623         SIGRTMIN is defined.
71625 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
71627         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71628         arginfo fn returning -1.
71630         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71631         and thousands string is zero terminated.
71633 2011-02-03  Andreas Schwab  <schwab@redhat.com>
71635         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71636         sysdeps/unix/sysv/linux/bits/socket.h.
71638 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71640         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71641         (__CPU_COUNT): Remove old macros.
71642         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71643         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71644         (__CPU_ALLOC, __CPU_FREE): Add macros.
71645         (__sched_cpualloc, __sched_cpufree): Add declarations.
71647 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
71649         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71650         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71651         * nscd/aicache.c (addhstaiX): Return timeout of added value.
71652         (readdhstai): Return value of addhstaiX call.
71653         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71654         (addgrbyX): Return value returned by cache_addgr.
71655         (readdgrbyname): Return value returned by addgrbyX.
71656         (readdgrbygid): Likewise.
71657         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71658         (addpwbyX): Return value returned by cache_addpw.
71659         (readdpwbyname): Return value returned by addhstbyX.
71660         (readdpwbyuid): Likewise.
71661         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71662         (addservbyX): Return value returned by cache_addserv.
71663         (readdservbyname): Return value returned by addservbyX:
71664         (readdservbyport): Likewise.
71665         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71666         (addhstbyX): Return value returned by cache_addhst.
71667         (readdhstbyname): Return value returned by addhstbyX.
71668         (readdhstbyaddr): Likewise.
71669         (readdhstbynamev6): Likewise.
71670         (readdhstbyaddrv6): Likewise.
71671         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71672         (readdinitgroups): Return value returned by addinitgroupsX.
71673         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71674         (prune_cache): Keep track of timeout value of re-added entries.
71675         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71676         * nscd/nscd.h: Adjust prototypes of readd* functions.
71678 2011-02-04  Roland McGrath  <roland@redhat.com>
71680         * nis/nis_server.c (nis_servstate): Use the right name for 0.
71681         (nis_stats): Likewise.
71682         * nis/nis_modify.c (nis_modify): Likewise.
71683         * nis/nis_remove.c (nis_remove): Likewise.
71684         * nis/nis_add.c (nis_add): Likewise.
71686         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71688         * posix/fnmatch_loop.c: Add some consts.
71690         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71692 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
71694         [BZ #12460]
71695         * config.make.in (config-cflags-novzeroupper): Define.
71696         * configure.in: Substitute libc_cv_cc_novzeroupper.
71697         * elf/Makefile (AVX-CFLAGS): Define.
71698         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71699         (CFLAGS-tst-auditmod4a.c): Likewise.
71700         (CFLAGS-tst-auditmod4b.c): Likewise.
71701         (CFLAGS-tst-auditmod6b.c): Likewise.
71702         (CFLAGS-tst-auditmod6c.c): Likewise.
71703         (CFLAGS-tst-auditmod7b.c): Likewise.
71704         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71706 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
71708         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71709         function to the callback.
71710         Patch partly by Jiri Olsa <jolsa@redhat.com>.
71712 2011-02-02  Andreas Schwab  <schwab@redhat.com>
71714         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71715         of errno.
71717 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
71719         [BZ #11724]
71720         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71721         of constructors.
71722         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71723         of destructors.
71724         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71726         [BZ #11724]
71727         * elf/Makefile: Add rules to build and run new test.
71728         * elf/tst-initorder.c: New file.
71729         * elf/tst-initorder.exp: New file.
71730         * elf/tst-initordera1.c: New file.
71731         * elf/tst-initordera2.c: New file.
71732         * elf/tst-initordera3.c: New file.
71733         * elf/tst-initordera4.c: New file.
71734         * elf/tst-initorderb1.c: New file.
71735         * elf/tst-initorderb2.c: New file.
71736         * elf/tst-order-a1.c: New file.
71737         * elf/tst-order-a2.c: New file.
71738         * elf/tst-order-a3.c: New file.
71739         * elf/tst-order-a4.c: New file.
71740         * elf/tst-order-b1.c: New file.
71741         * elf/tst-order-b2.c: New file.
71742         * elf/tst-order-main.c: New file.
71743         New test case by George Gensure <werkt0@gmail.com>.
71745 2010-10-01  Andreas Schwab  <schwab@redhat.com>
71747         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71748         decoding ACE if AI_CANONIDN.
71750 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
71752         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71754 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
71756         * version.h (RELEASE): Bump for 2.13 release.
71757         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71759         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71761         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71762         MADV_NOHUGEPAGE.
71763         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71764         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71765         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71766         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71767         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71768         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71770         * posix/getconf.c: Update copyright year.
71771         * catgets/gencat.c: Likewise.
71772         * csu/version.c: Likewise.
71773         * debug/catchsegv.sh: Likewise.
71774         * debug/xtrace.sh: Likewise.
71775         * elf/ldconfig.c: Likewise.
71776         * elf/ldd.bash.in: Likewise.
71777         * elf/sprof.c (print_version): Likewise.
71778         * iconv/iconv_prog.c: Likewise.
71779         * iconv/iconvconfig.c: Likewise.
71780         * locale/programs/locale.c: Likewise.
71781         * locale/programs/localedef.c: Likewise.
71782         * malloc/memusage.sh: Likewise.
71783         * malloc/mtrace.pl: Likewise.
71784         * nscd/nscd.c (print_version): Likewise.
71785         * nss/getent.c: Likewise.
71787         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
71788         PF_CAIF, and PF_ALG.
71789         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71791 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
71793         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
71794         (modules-names): Use them.
71795         (ifunc-test-modules, ifunc-pie-tests): Define.
71796         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
71797         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
71798         (test-extras): Likewise.
71799         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
71800         $(compile-command.c).
71801         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
71802         (all-built-dso): Define.
71803         (check-textrel.out, check-execstack.out): Depend on it.
71805         * configure.in: Don't override --enable-multi-arch.
71807 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
71809         [BZ #6812]
71810         * nscd/hstcache.c (tryagain): Define.
71811         (cache_addhst): Return tryagain not notfound for temporary errors.
71812         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
71813         failed.
71815 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
71817         [BZ #10563]
71818         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
71819         to make the syscall.
71820         * sysdeps/unix/sysv/linux/setgroups.c: New file.
71822         [BZ #12378]
71823         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
71824         and fall back to matching as normal character if the string ends before
71825         the matching ']' is found.  This is what POSIX requires.
71826         * posix/testfnm.c: Adjust test result.
71827         * posix/globtest.sh: Adjust test result.  Add new test.
71828         * posix/tst-fnmatch.input: Likewise.
71829         * posix/tst-fnmatch2.c: Add new test.
71831 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
71833         * elf/Makefile (check-execstack): Revert last change.  Depend on
71834         check-execstack.h.
71835         (check-execstack.h): New target.
71836         (generated): Add check-execstack.h.
71837         * elf/check-execstack.c: Include "check-execstack.h".
71838         (main): Revert last change.
71839         (handle_file): Return zero if GNU_STACK is absent and
71840         DEFAULT_STACK_PERMS doesn't include PF_X.
71842 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
71844         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
71845         in child fails because the descriptor is already closed.
71846         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
71847         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
71848         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
71850         [BZ #12397]
71851         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
71852         syscall.
71854         [BZ #10484]
71855         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
71856         temporary buffer used to handle multi lookups locally.
71857         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
71859 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71861         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
71862         loader is ld.so.
71864 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
71866         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
71867         alignment for SSE2.
71869 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71871         [BZ #12394]
71872         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
71873         characters.  When rounding increased number of integer digits recompute
71874         number of groups.
71875         * stdio-common/tst-grouping.c: New file.
71876         * stdio-common/Makefile: Add rules to build and run tst-grouping.
71878 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
71880         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
71881         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
71883         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
71884         void.
71885         * bits/select.h: Likewise.
71887 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
71889         * po/ja.po: Update from translation team.
71891 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
71893         [BZ #11155]
71894         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
71895         implementation just like for lxstat, fxstatat, et al.
71897 2010-12-27  Jim Meyering  <meyering@redhat.com>
71899         [BZ #12348]
71900         * posix/regexec.c (build_trtable): Return failure indication upon
71901         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
71903 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
71905         [BZ #12201]
71906         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
71907         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
71908         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
71909         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
71911         [BZ #12207]
71912         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
71914         [BZ #12204]
71915         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
71916         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
71918 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
71920         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
71921         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
71922         script has SORT_BY_INIT_PRIORITY.
71923         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
71924         NO_CTORS_DTORS_SECTIONS is defined.
71925         * elf/soinit.c: Likewise.
71926         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
71927         NO_CTORS_DTORS_SECTIONS is defined.
71928         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
71929         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
71930         * sysdeps/sh/init-first.c: Likewise.
71931         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
71933 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
71935         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
71936         always use the slow path.
71938 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
71940         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
71941         similar rule which adds the sysdep directories to the header search in
71942         order to pick up the correct platform stackinfo.h.
71943         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
71944         perform test if it is, otherwise return successfully without testing.
71945         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
71946         DEFAULT_STACK_PERMS define in stackinfo.h.
71947         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
71948         defined in stackinfo.h.
71949         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
71950         DEFAULT_STACK_PERMS defined in stackinfo.h.
71951         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
71952         * sysdeps/ia64/stackinfo.h: Likewise.
71953         * sysdeps/s390/stackinfo.h: Likewise.
71954         * sysdeps/sh/stackinfo.h: Likewise.
71955         * sysdeps/sparc/stackinfo.h: Likewise.
71956         * sysdeps/x86_64/stackinfo.h: Likewise.
71957         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
71958         PF_X for powerpc64.  Retain PF_X for powerpc32.
71960 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
71962         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
71963         accurately.
71964         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
71965         GETDENTS_64BIT_ALIGNED.
71967 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
71969         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
71971 2010-12-10  Andreas Schwab  <schwab@redhat.com>
71973         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
71974         _GNU_SOURCE.
71976         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
71977         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
71978         Remove __restrict.
71979         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
71980         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
71982 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
71984         [BZ #11655]
71985         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
71986         are initialized.
71988 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
71990         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
71992 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
71994         * po/it.po: Update from translation team.
71996 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
71998         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
71999         unused codes.
72001 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
72003         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
72005 2010-11-24  Andreas Schwab  <schwab@redhat.com>
72007         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
72008         specially.
72009         (gaih_getanswer_slice): Likewise.
72011 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
72013         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
72015 2010-05-31  Petr Baudis  <pasky@suse.cz>
72017         [BZ #11149]
72018         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
72019         silently even in the chroot mode.
72021 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
72023         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
72024         last patch a bit.  Pretty printing
72026 2010-05-31  Petr Baudis <pasky@suse.cz>
72028         [BZ #10085]
72029         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
72030         initialization of skip_initgroups_dyn.
72032 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
72034         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
72035         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72037 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
72039         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
72041 2010-11-11  Andreas Schwab  <schwab@redhat.com>
72043         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
72044         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
72045         (tst-fnmatch-ENV): Set MALLOC_TRACE.
72046         ($(objpfx)tst-fnmatch-mem): New rule.
72047         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
72048         * posix/tst-fnmatch.c (main): Call mtrace.
72050 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
72052         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72053         Support Intel processor model 6 and model 0x2c.
72055 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
72057         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
72058           signed comparison.
72060 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
72062         [BZ #12205]
72063         * string/test-strncasecmp.c (check_result): New function.
72064         (do_one_test): Use it.
72065         (check1): New function.
72066         (test_main): Use it.
72067         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
72068         Support strcasecmp and strncasecmp.
72070 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
72072         [BZ #12194]
72073         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
72074         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72076 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72078         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
72079         IFUNC support.
72080         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72081         memset-x86-64.
72082         * sysdeps/x86_64/multiarch/bzero.S: New file.
72083         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
72084         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
72085         * sysdeps/x86_64/multiarch/memset.S: New file.
72086         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
72087         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72088         Set bit_Prefer_SSE_for_memop for Intel processors.
72089         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
72090         Define.
72091         (index_Prefer_SSE_for_memop): Define.
72092         (HAS_PREFER_SSE_FOR_MEMOP): Define.
72094 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
72096         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
72097         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
72099 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
72101         [BZ #12191]
72102         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72103         (__x86_64_raw_data_cache_size_half): Likewise.
72104         (__x86_64_raw_shared_cache_size): Likewise.
72105         (__x86_64_raw_shared_cache_size_half): Likewise.
72107         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72108         (__x86_64_raw_data_cache_size_half): Likewise.
72109         (__x86_64_raw_shared_cache_size): Likewise.
72110         (__x86_64_raw_shared_cache_size_half): Likewise.
72111         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
72112         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
72113         and __x86_64_raw_shared_cache_size_half.  Round
72114         __x86_64_data_cache_size_half, __x86_64_data_cache_size
72115         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
72116         to multiple of 256 bytes.
72118 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
72120         [BZ #12167]
72121         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
72122         of inacessible symlinks.  Verify result of symlink before returning it.
72123         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
72124         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
72126 2010-10-28  Erich Ritz  <erichritz@gmail.com>
72128         * math/math.h (isinf): Fix typo in comment.
72130 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
72132         * po/da.po: Update from translation team.
72134 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
72136         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
72137         is added to the list.
72139 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72140             Ulrich Drepper  <drepper@gmail.com>
72142         * elf/dl-object.c (_dl_new_object): Don't append the new object to
72143         the global list here.  Move code to...
72144         (_dl_add_to_namespace_list): ...here.  New function.
72145         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
72146         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
72147         * elf/dl-load.c (lose): Don't remove the element from the list.
72148         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
72149         (_dl_map_object): Likewise.
72151 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
72153         [BZ #12159]
72154         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
72155         into all bytes of SSE register.
72156         Patch by Richard Li <richardpku@gmail.com>.
72158 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
72160         [BZ #12140]
72161         * malloc/malloc.c (_int_free): Fill correct number of bytes when
72162         perturbing.
72164 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
72166         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
72167         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
72168         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
72169         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
72171         submachine.
72172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
72174 2010-10-22  Andreas Schwab  <schwab@redhat.com>
72176         * include/dlfcn.h (__RTLD_SECURE): Define.
72177         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
72178         mode & __RTLD_SECURE instead.
72179         (open_path): Rename preloaded parameter to secure.
72180         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
72181         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
72182         * elf/dl-deps.c (openaux): Likewise.
72183         * elf/rtld.c (struct map_args): Remove is_preloaded.
72184         (map_doit): Don't use it.
72185         (dl_main): Likewise.
72186         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
72187         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
72189 2010-09-09  Andreas Schwab  <schwab@redhat.com>
72191         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
72192         (sysd-rules-targets): Remove duplicates.
72193         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
72194         rtld-%.$o dependency.
72196 2010-10-18  Andreas Schwab  <schwab@redhat.com>
72198         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
72199         _dl_map_object do it.
72201 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
72203         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
72204         fast fma builtins, define the macros in the C99 standard.
72205         (FP_FAST_FMAF): Likewise.
72206         (FP_FAST_FMAL): Likewise.
72207         * sysdeps/x86_64/bits/mathdef.h: Likewise.
72209         * bits/mathdef.h: Update copyright year.
72210         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72212 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
72214         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
72215         builtins, define the macros in the C99 standard.
72216         (FP_FAST_FMAF): Likewise.
72217         (FP_FAST_FMAL): Likewise.
72218         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
72219         multiply/add.
72220         (FP_FAST_FMAF): Likewise.
72222 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
72224         [BZ #3268]
72225         * math/libm-test.inc (fma_test): Some new testcases.
72226         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
72227         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
72228         y and infinite z.  Do multiplication by C already in long double.
72229         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
72230         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
72231         y and infinite z.  Do bitwise or of inexact bit into u.d.
72232         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
72233         * sysdeps/i386/fpu/s_fmaf.S: Removed.
72234         * sysdeps/i386/fpu/s_fma.S: Removed.
72235         * sysdeps/i386/fpu/s_fmal.S: Removed.
72237 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
72239         [BZ #3268]
72240         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
72241         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
72242         computation is not scheduled after fetestexcept.  Fix value
72243         of minimum denormal long double.
72245 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
72247         [BZ #3268]
72248         * math/libm-test.inc (fma_test): Add some more tests.
72249         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
72250         correctly.
72252 2010-10-15  Andreas Schwab  <schwab@redhat.com>
72254         * scripts/data/localplt-s390-linux-gnu.data: New file.
72255         * scripts/data/localplt-s390x-linux-gnu.data: New file.
72257 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
72259         [BZ #3268]
72260         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
72261         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
72262         instead of dbl-64.
72263         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
72264         inlines.
72265         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
72266         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
72267         if one of x and y is very large and the other is subnormal.
72268         * sysdeps/s390/fpu/s_fmaf.c: New file.
72269         * sysdeps/s390/fpu/s_fma.c: New file.
72270         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
72271         * sysdeps/powerpc/fpu/s_fma.S: New file.
72272         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
72273         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
72274         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
72276 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
72278         [BZ #3268]
72279         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
72280         fma tests.
72281         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
72282         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
72283         * sysdeps/i386/i686/multiarch/s_fma.c: Include
72284         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
72285         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
72286         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
72287         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
72289 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
72291         [BZ #12078]
72292         * posix/regcomp.c (parse_branch): One more memory leak plugged.
72293         * posix/bug-regex31.input: Add test case.
72295 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72297         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
72298         * posix/bug-regex31.input: New file.
72300         [BZ #12078]
72301         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
72302         (parse_sub_exp): Fix last change, use postorder.
72304         * posix/bug-regex31.c: New file.
72305         * posix/Makefile: Add rules to build and run bug-regex31.
72307         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
72309         [BZ #12078]
72310         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
72312         [BZ #12108]
72313         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
72314         to have entries in sys_siglist.
72316         [BZ #12093]
72317         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
72318         be NULL.
72320 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
72322         [BZ #3268]
72323         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
72324         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
72325         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
72326         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
72327         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72328         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
72329         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
72330         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
72331         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
72332         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
72333         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
72334         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
72335         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
72336         * math/ftestexcept.c (fetestexcept): Likewise.
72337         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
72338         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
72339         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
72340         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
72341         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
72342         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
72343         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72345 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72347         [BZ #12107]
72348         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
72349         newline.
72351 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
72353         * string/bug-strstr1.c: New file.
72354         * string/Makefile: Add rules to build and run bug-strstr1.
72356 2010-10-05  Eric Blake  <eblake@redhat.com>
72358         [BZ #12092]
72359         * string/str-two-way.h (two_way_long_needle): Always clear memory
72360         when skipping input due to the shift table.
72362 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
72364         [BZ #12005]
72365         * malloc/mcheck.c: Handle large requests.
72367         [BZ #12077]
72368         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
72369         for strncmp and strncasecmp.
72370         * string/stratcliff.c: Add tests for strcmp and strncmp.
72371         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
72373 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72375         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72376         __set_fpscr.
72378 2010-09-30  Andreas Jaeger  <aj@suse.de>
72380         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
72381         (CGROUP_SUPER_MAGIC): Define.
72382         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72383         Handle btrfs and cgroup file systems.
72384         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
72385         Likewise.
72387 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
72389         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
72390         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
72392 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72394         [BZ #12067]
72395         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
72396         trying to locate the ELF header.
72398 2010-09-27  Andreas Schwab  <schwab@redhat.com>
72400         [BZ #11611]
72401         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
72402         Mask out sign-bit copies when constructing f_fsid.
72404 2010-09-24  Petr Baudis <pasky@suse.cz>
72406         * debug/stack_chk_fail_local.c: Add missing licence exception.
72407         * debug/warning-nop.c: Likewise.
72409 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
72411         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
72412         implementing getdents64 using getdents syscall, set d_type if
72413         __ASSUME_GETDENTS32_D_TYPE.
72415 2010-09-16  Andreas Schwab  <schwab@redhat.com>
72417         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
72418         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
72420 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
72422         [BZ #12037]
72423         * posix/unistd.h: Undo change of feature selection for ftruncate from
72424         2010-01-11.
72426 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
72428         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
72429         detection.
72431 2010-09-20  Andreas Schwab  <schwab@redhat.com>
72433         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
72434         fanotify_mark.
72435         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72437 2010-09-14  Andreas Schwab  <schwab@redhat.com>
72439         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
72440         variables after CHECK_SP call.
72441         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
72443 2010-09-13  Andreas Schwab  <schwab@redhat.com>
72444             Ulrich Drepper  <drepper@redhat.com>
72446         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
72447         re-relocationg ld.so.
72448         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
72449         _dl_init_paths call.
72450         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
72451         here anymore.
72453 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
72455         * resolv/res_init.c (__res_vinit): Count the default server we added.
72457 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
72458             Ulrich Drepper  <drepper@redhat.com>
72460         [BZ #11968]
72461         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72462         (____longjmp_chk): Use %ebx for saving value across system call.
72463         Add unwind info.
72465 2010-09-06  Andreas Schwab  <schwab@redhat.com>
72467         * manual/Makefile: Don't mix pattern rules with normal rules.
72469 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72471         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
72472         operation.
72473         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
72474         * libio/iofopncook.c (_IO_cookie_init): Likewise.
72475         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
72476         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
72477         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72478         Likewise.
72480 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
72482         [BZ #11979]
72483         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
72484         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
72486 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
72488         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
72489         * sysdeps/x86_64/addmul_1.S: Likewise.
72490         * sysdeps/x86_64/lshift.S: Likewise.
72491         * sysdeps/x86_64/mul_1.S: Likewise.
72492         * sysdeps/x86_64/rshift.S: Likewise.
72493         * sysdeps/x86_64/sub_n.S: Likewise.
72494         * sysdeps/x86_64/submul_1.S: Likewise.
72496 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72498         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
72499         Define __sched_param instead of SCHED_* and sched_param when
72500         <bits/sched.h> is included with __need_schedparam defined.
72501         * bits/sched.h [__need_schedparam]
72502         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
72503         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
72504         (__defined_schedparam): Define to 1.
72505         (__sched_param): New structure, identical to sched_param.
72506         (__need_schedparam): Undefine.
72508 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
72510         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
72511         (epoll_create1): Declare.
72513         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
72515 2010-08-31  Andreas Schwab  <schwab@redhat.com>
72517         [BZ #7066]
72518         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
72519         shifting retval into place.
72521 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
72523         * nis/rpcsvc/nis.h: Update copyright notice.
72524         * nis/rpcsvc/nis.x: Likewise.
72525         * nis/rpcsvc/nis_callback.h: Likewise.
72526         * nis/rpcsvc/nis_callback.x: Likewise.
72527         * nis/rpcsvc/nis_object.x: Likewise.
72528         * nis/rpcsvc/nis_tags.h: Likewise.
72529         * nis/rpcsvc/yp.h: Likewise.
72530         * nis/rpcsvc/yp.x: Likewise.
72531         * nis/rpcsvc/ypupd.h: Likewise.
72532         * nis/yp_xdr.c: Likewise.
72533         * nis/ypupdate_xdr.c: Likewise.
72535         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
72536         mainly the body of pmap_getport.  Add parameters to specify timeouts.
72537         (pmap_getport): Use __libc_rpc_getport.
72538         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
72539         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
72540         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
72542 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
72544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
72545         fanotify_mark.
72547 2010-08-27  Roland McGrath  <roland@redhat.com>
72549         * sysdeps/i386/i686/multiarch/Makefile
72550         (CFLAGS-varshift.c): New variable.
72552 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
72554         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
72555         * sysdeps/i386/i686/multiarch/varshift.c: New file.
72557         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
72559         * sysdeps/x86_64/strlen.S: Minimal code improvement.
72561 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
72563         * sysdeps/x86_64/strlen.S: Unroll the loop.
72564         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72565         strlen-sse2 strlen-sse2-bsf.
72566         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
72567         __strlen_no_bsf if bit_Slow_BSF is set.
72568         (__strlen_sse42): Removed.
72569         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
72570         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
72572 2010-08-25  Roland McGrath  <roland@redhat.com>
72574         * sysdeps/x86_64/multiarch/varshift.S: File removed.
72575         * sysdeps/x86_64/multiarch/varshift.c: New file.
72576         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
72577         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
72578         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
72579         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72581 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
72583         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72584         strlen-sse2 strlen-sse2-bsf.
72585         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
72586         __strlen_sse2_bsf if bit_Slow_BSF is unset.
72587         (__strlen_sse2): Removed.
72588         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
72589         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
72590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
72591         bit_Slow_BSF for Atom.
72592         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
72593         (index_Slow_BSF): Define.
72594         (HAS_SLOW_BSF): Define.
72596 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
72598         [BZ #10851]
72599         * resolv/res_init.c (__res_vinit): When no server address at all
72600         is given default to loopback.
72602 2010-08-24  Roland McGrath  <roland@redhat.com>
72604         * configure.in: Remove config-name.h generation.
72605         * configure: Regenerated.
72606         * config-name.in: File removed.
72607         * scripts/config-uname.sh: New file.
72608         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
72609         ($(objdir)config-name.h): New target.
72611         * sunrpc/rpc_parse.h: Avoid nested comment.
72613 2010-08-24  Richard Henderson  <rth@redhat.com>
72614             Ulrich Drepper  <drepper@redhat.com>
72615             H.J. Lu  <hongjiu.lu@intel.com>
72617         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
72618         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72619         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72620         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
72621         _mm_alignr_epi8 with _mm_loadu_si128.
72622         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72623         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72624         (__m128i_shift_right): Removed.
72625         * sysdeps/i386/i686/multiarch/varshift.h: New file.
72626         * sysdeps/i386/i686/multiarch/varshift.S: New file.
72627         * sysdeps/x86_64/multiarch/varshift.h: New file.
72628         * sysdeps/x86_64/multiarch/varshift.S: New file.
72630 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
72632         * configure.in: Move assembler checks to before sysdep dir checking.
72634 2010-08-20  Petr Baudis  <pasky@suse.cz>
72636         * LICENSES: Sync the sunrpc license.
72638 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
72640         * sunrpc/auth_des.c: Update copyright notice once again.
72641         * sunrpc/auth_none.c: Likewise.
72642         * sunrpc/auth_unix.c: Likewise.
72643         * sunrpc/authdes_prot.c: Likewise.
72644         * sunrpc/authuxprot.c: Likewise.
72645         * sunrpc/bindrsvprt.c: Likewise.
72646         * sunrpc/clnt_gen.c: Likewise.
72647         * sunrpc/clnt_perr.c: Likewise.
72648         * sunrpc/clnt_raw.c: Likewise.
72649         * sunrpc/clnt_simp.c: Likewise.
72650         * sunrpc/clnt_tcp.c: Likewise.
72651         * sunrpc/clnt_udp.c: Likewise.
72652         * sunrpc/clnt_unix.c: Likewise.
72653         * sunrpc/des_crypt.c: Likewise.
72654         * sunrpc/des_soft.c: Likewise.
72655         * sunrpc/get_myaddr.c: Likewise.
72656         * sunrpc/getrpcport.c: Likewise.
72657         * sunrpc/key_call.c: Likewise.
72658         * sunrpc/key_prot.c: Likewise.
72659         * sunrpc/openchild.c: Likewise.
72660         * sunrpc/pm_getmaps.c: Likewise.
72661         * sunrpc/pm_getport.c: Likewise.
72662         * sunrpc/pmap_clnt.c: Likewise.
72663         * sunrpc/pmap_prot.c: Likewise.
72664         * sunrpc/pmap_prot2.c: Likewise.
72665         * sunrpc/pmap_rmt.c: Likewise.
72666         * sunrpc/rpc/auth.h: Likewise.
72667         * sunrpc/rpc/auth_unix.h: Likewise.
72668         * sunrpc/rpc/clnt.h: Likewise.
72669         * sunrpc/rpc/des_crypt.h: Likewise.
72670         * sunrpc/rpc/key_prot.h: Likewise.
72671         * sunrpc/rpc/netdb.h: Likewise.
72672         * sunrpc/rpc/pmap_clnt.h: Likewise.
72673         * sunrpc/rpc/pmap_prot.h: Likewise.
72674         * sunrpc/rpc/pmap_rmt.h: Likewise.
72675         * sunrpc/rpc/rpc.h: Likewise.
72676         * sunrpc/rpc/rpc_des.h: Likewise.
72677         * sunrpc/rpc/rpc_msg.h: Likewise.
72678         * sunrpc/rpc/svc.h: Likewise.
72679         * sunrpc/rpc/svc_auth.h: Likewise.
72680         * sunrpc/rpc/types.h: Likewise.
72681         * sunrpc/rpc/xdr.h: Likewise.
72682         * sunrpc/rpc_clntout.c: Likewise.
72683         * sunrpc/rpc_cmsg.c: Likewise.
72684         * sunrpc/rpc_common.c: Likewise.
72685         * sunrpc/rpc_cout.c: Likewise.
72686         * sunrpc/rpc_dtable.c: Likewise.
72687         * sunrpc/rpc_hout.c: Likewise.
72688         * sunrpc/rpc_main.c: Likewise.
72689         * sunrpc/rpc_parse.c: Likewise.
72690         * sunrpc/rpc_parse.h: Likewise.
72691         * sunrpc/rpc_prot.c: Likewise.
72692         * sunrpc/rpc_sample.c: Likewise.
72693         * sunrpc/rpc_scan.c: Likewise.
72694         * sunrpc/rpc_scan.h: Likewise.
72695         * sunrpc/rpc_svcout.c: Likewise.
72696         * sunrpc/rpc_tblout.c: Likewise.
72697         * sunrpc/rpc_util.c: Likewise.
72698         * sunrpc/rpc_util.h: Likewise.
72699         * sunrpc/rpcinfo.c: Likewise.
72700         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72701         * sunrpc/rpcsvc/key_prot.x: Likewise.
72702         * sunrpc/rpcsvc/klm_prot.x: Likewise.
72703         * sunrpc/rpcsvc/mount.x: Likewise.
72704         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72705         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72706         * sunrpc/rpcsvc/rex.x: Likewise.
72707         * sunrpc/rpcsvc/rstat.x: Likewise.
72708         * sunrpc/rpcsvc/rusers.x: Likewise.
72709         * sunrpc/rpcsvc/sm_inter.x: Likewise.
72710         * sunrpc/rpcsvc/spray.x: Likewise.
72711         * sunrpc/rpcsvc/yppasswd.x: Likewise.
72712         * sunrpc/rtime.c: Likewise.
72713         * sunrpc/svc.c: Likewise.
72714         * sunrpc/svc_auth.c: Likewise.
72715         * sunrpc/svc_authux.c: Likewise.
72716         * sunrpc/svc_raw.c: Likewise.
72717         * sunrpc/svc_run.c: Likewise.
72718         * sunrpc/svc_simple.c: Likewise.
72719         * sunrpc/svc_tcp.c: Likewise.
72720         * sunrpc/svc_udp.c: Likewise.
72721         * sunrpc/svc_unix.c: Likewise.
72722         * sunrpc/svcauth_des.c: Likewise.
72723         * sunrpc/xcrypt.c: Likewise.
72724         * sunrpc/xdr.c: Likewise.
72725         * sunrpc/xdr_array.c: Likewise.
72726         * sunrpc/xdr_float.c: Likewise.
72727         * sunrpc/xdr_mem.c: Likewise.
72728         * sunrpc/xdr_rec.c: Likewise.
72729         * sunrpc/xdr_ref.c: Likewise.
72730         * sunrpc/xdr_sizeof.c: Likewise.
72731         * sunrpc/xdr_stdio.c: Likewise.
72733         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72734         handling.
72736 2010-08-19  Andreas Schwab  <schwab@redhat.com>
72738         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72740 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
72742         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72743         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72744         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72745         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72746         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72747         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72748         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72749         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72750         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72751         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72752         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72753         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72754         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72755         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72757 2010-07-26  Anton Blanchard  <anton@samba.org>
72759         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72760         * malloc/arena.c (heap_trim): Likewise.
72762 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
72764         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72765         here.  Not...
72766         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72767         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72769 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
72771         * sysdeps/i386/elf/Makefile: New file.
72773 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72775         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
72776         from fanotify_init.
72777         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
72778         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72780 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
72782         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
72783         of strncasecmp_l.
72784         * sysdeps/multiarch/strcmp.S: Likewise.
72786 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
72788         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72789         strncase_l-nonascii.
72790         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72791         Add strncase_l-ssse3.
72792         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
72793         * sysdeps/x86_64/strcmp.S: Likewise.
72794         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
72795         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
72796         * sysdeps/x86_64/strncase.S: New file.
72797         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
72798         * sysdeps/x86_64/strncase_l.S: New file.
72799         * string/Makefile (strop-tests): Add strncasecmp.
72800         * string/test-strncasecmp.c: New file.
72802         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
72803         warning.
72805         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
72806         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
72808 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72810         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
72812 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
72814         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
72815         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
72816         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
72818 2010-05-01  Alan Modra  <amodra@gmail.com>
72820         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
72821         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
72822         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
72823         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
72824         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
72825         tidying.  Don't tail-call __sigjmp_save for static lib.
72826         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
72827         save location.
72828         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
72829         (CALL_MCOUNT): Add eh info, and nop after bl.
72830         (TAIL_CALL_SYSCALL_ERROR): New macro.
72831         (PSEUDO_RET): Use it.
72832         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
72833         Correct save location of integer regs and cr.
72834         (_dl_profile_resolve): Correct cr save location.  Delete nops
72835         after bl when SHARED.  Reduce cfi size a little by better
72836         placement of cfi directives.
72837         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
72838         make a stack frame.  Instead use parm save area as a temp.
72839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
72840         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
72841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
72842         Don't make a stack frame for parent, use parm save area.
72843         Increase child stack frame to 112 bytes.  Don't save unused reg,
72844         and adjust reg usage.  Set up cfi on error recovery and
72845         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
72846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72847         (__makecontext): Add dummy nop after jump to exit.
72848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
72849         Use correct parm save area and cr save, reduce stack frame.
72850         Correct cfi for possible PSEUDO_RET frame setup.
72851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
72852         Branch to local label emitted by PSEUDO_RET rather than
72853         __syscall_error.
72855 2010-08-12  Andreas Schwab  <schwab@redhat.com>
72857         [BZ #11904]
72858         * locale/programs/locale.c (print_assignment): New function.
72859         (show_locale_vars): Use it.
72861 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
72863         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
72864         field.
72865         (struct statfs64): Likewise.
72866         (_STATFS_F_FLAGS): Define.
72867         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
72868         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72869         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
72870         (ST_VALID): Define locally.
72871         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
72872         __statvfs_getflags, use the provided value.
72873         * sysdeps/unix/sysv/linux/kernel-features.h: Define
72874         __ASSUME_STATFS_F_FLAGS.
72876         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
72878         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
72879         Add sys/fanotify.h.
72880         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
72881         fanotify_mask for GLIBC_2.13.
72882         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
72883         fanotify_init and fanotify_mark.
72884         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72885         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
72887         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
72888         Add prlimit.
72889         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
72890         prlimit64 for GLIBC_2.13.
72891         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
72892         prlimit64.
72893         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
72894         syscall.
72895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
72896         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72897         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
72898         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
72899         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
72900         add prlimit alias.
72901         * sysdeps/unix/sysv/linux/prlimit.c: New file.
72903         [BZ #11903]
72904         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
72905         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
72907         * nss/Makefile: Add rules to build and run tst-nss-test1.
72908         * shlib-versions: Add entry for libnss_test1.
72909         * nss/nss_test1.c: New file.
72910         * nss/tst-nss-test1.c: New file.
72912         * nss/nsswitch.c (__nss_database_custom): Define new variable.
72913         (__nss_configure_lookup): Set appropriate entry in
72914         __nss_configure_lookup to true.
72915         * nss/nsswitch.h: Define enum with indeces of databases in
72916         databases and __nss_database_custom arrays.  Declare
72917         __nss_database_custom.
72918         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
72919         to avoid using nscd when custom rules are installed.
72920         * nss/getXXbyYY_r.c: Likewise.
72921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
72923         * nss/nss_files/files-parse.c: Whitespace fixes.
72925 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
72927         [BZ #11883]
72928         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
72929         * posix/fnmatch_loop.c: Likewise.
72931 2010-07-17  Andi Kleen  <ak@linux.intel.com>
72933         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
72934         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
72935         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
72936         * Versions.def [GLIBC_2.13]: Add.
72938 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
72940         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72941         Also fail if tpwd after pwuid call is NULL.
72943 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72945         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
72946         when converting to ms.
72948 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72950         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
72951         EOPNOTSUPP errors with ENOTTY.
72952         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
72953         EOPNOTSUPP errors with ENOTTY.
72955 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
72957         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72958         Add strcasecmp_l-ssse3.
72959         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
72960         strcasecmp.
72961         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
72962         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
72963         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
72965 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
72967         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
72969         * string/Makefile (strop-tests): Add strcasecmp.
72970         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72971         strcasecmp_l-nonascii.
72972         (gen-as-const-headers): Add locale-defines.sym.
72973         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
72974         * sysdeps/x86_64/strcasecmp.S: New file.
72975         * sysdeps/x86_64/strcasecmp_l.S: New file.
72976         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
72977         * sysdeps/x86_64/locale-defines.sym: New file.
72978         * string/test-strcasecmp.c: New file.
72980         * string/test-strcasestr.c: Test both ends of the range of characters.
72981         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
72983 2010-07-29  Roland McGrath  <roland@redhat.com>
72985         [BZ #11856]
72986         * manual/locale.texi (Yes-or-No Questions): Fix example code.
72988 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
72990         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
72991         for ld.so.
72993 2010-07-27  Andreas Schwab  <schwab@redhat.com>
72995         * manual/memory.texi (Malloc Tunable Parameters): Document
72996         M_PERTURB.
72998 2010-07-26  Roland McGrath  <roland@redhat.com>
73000         [BZ #11840]
73001         * configure.in (-fgnu89-inline check): Set and substitute
73002         gnu89_inline, not libc_cv_gnu89_inline.
73003         * configure: Regenerated.
73004         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
73006 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
73008         * string/test-strnlen.c: New file.
73009         * string/Makefile (strop-tests): Add strnlen.
73010         * string/tester.c (test_strnlen): Add a few more test cases.
73011         * string/tst-strlen.c: Better error reporting.
73013         * sysdeps/x86_64/strnlen.S: New file.
73015 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
73017         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
73018         lower-latency instructions.
73020 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
73022         * string/test-strcasestr.c: New file.
73023         * string/test-strstr.c: New file.
73024         * string/Makefile (strop-tests): Add strstr and strcasestr.
73025         * string/str-two-way.h: Don't undefine MAX.
73026         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
73028 2010-07-21  Andreas Schwab  <schwab@redhat.com>
73030         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73031         strcasestr-nonascii.
73032         (CFLAGS-strcasestr-nonascii.c): Define.
73033         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
73034         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
73035         Remove unused attribute.
73037 2010-07-20  Roland McGrath  <roland@redhat.com>
73039         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
73040         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
73041         ld.so.cache was broken.  With it, there is no way to disable dsocaps
73042         like LD_HWCAP_MASK can disable hwcaps.
73044 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73046         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
73048 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
73050         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
73051         call in strcasestr.
73052         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
73053         __strcasestr_sse42_nonascii.
73054         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
73055         strcasestr-nonascii.c.
73056         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
73058 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
73060         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
73061         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
73062         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
73063         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
73065 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
73067         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
73068         fcntl.
73070 2010-07-06  Andreas Schwab  <schwab@redhat.com>
73072         [BZ #11577]
73073         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
73074         dl_signal_cerror.
73076 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
73078         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
73079         _PC_PIPE_BUF using F_GETPIPE_SZ.
73081 2010-07-05  Roland McGrath  <roland@redhat.com>
73083         * manual/arith.texi (Rounding Functions): Fix rint description
73084         implicit in round description.
73086 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
73088         * elf/Makefile: Fix linking for a few tests to make recent linker
73089         happy.
73091 2010-06-30  Andreas Schwab  <schwab@redhat.com>
73093         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73094         $(common-objpfx)libc_nonshared.a.
73096 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
73098         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
73099         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
73100         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73101         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73102         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
73103         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
73104         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73105         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
73107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
73108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
73109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
73111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
73113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
73114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
73115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
73116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
73118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
73120         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
73121         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
73122         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
73123         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
73124         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
73125         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
73126         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
73127         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
73128         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
73129         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
73130         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
73131         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
73132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
73133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
73134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
73135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
73136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
73137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
73138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
73139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
73140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
73141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
73142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
73143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
73144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
73145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
73147 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
73149         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
73150         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
73151         * string/memmove.c (memmove): Renamed to ...
73152         (MEMMOVE): ...this.  Default to memmove.
73153         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
73154         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
73155         (END_CHK): Define.
73156         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73157         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
73158         mempcpy-ssse3-back memmove-ssse3-back.
73159         * sysdeps/x86_64/multiarch/bcopy.S: New file .
73160         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
73161         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
73162         * sysdeps/x86_64/multiarch/memcpy.S: New file.
73163         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
73164         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
73165         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
73166         * sysdeps/x86_64/multiarch/memmove.c: New file.
73167         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
73168         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
73169         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
73170         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
73171         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
73172         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
73173         Define.
73174         (index_Fast_Copy_Backward): Define.
73175         (HAS_ARCH_FEATURE): Define.
73176         (HAS_FAST_REP_STRING): Define.
73177         (HAS_FAST_COPY_BACKWARD): Define.
73179 2010-06-21  Andreas Schwab  <schwab@redhat.com>
73181         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73182         Restore proper fallback handling.
73184 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
73186         [BZ #11701]
73187         * posix/group_member.c (__group_member): Correct checking loop.
73189         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
73190         OOM in getpwuid_r correctly.  Return error number when the caller
73191         should return, otherwise -1.
73192         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
73193         call returning > 0 value.
73194         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
73196 2010-06-07  Andreas Schwab  <schwab@redhat.com>
73198         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
73199         libc_nonshared.a from targets in modules-names.
73201 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
73203         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
73204         requires it.
73206 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
73208         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
73209         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
73210         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
73211         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
73213 2010-06-02  Andreas Schwab  <schwab@redhat.com>
73215         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
73217 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
73219         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
73220         and F_GETPIPE_SZ.
73221         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73222         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73223         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73224         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73225         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73226         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73228 2010-06-14  Roland McGrath  <roland@redhat.com>
73230         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
73232 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
73234         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
73235         __REDIRECT followed by __THROW.
73236         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
73237         * posix/getopt.h (getopt): Likewise.
73239 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73241         * hurd/lookup-at.c (__file_name_lookup_at): Accept
73242         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
73243         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
73244         in AT_FLAGS.
73245         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
73246         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
73248 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
73250         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
73252 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
73254         [BZ #11640]
73255         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73256         Properly check family and model.
73258 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
73260         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
73262 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
73264         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
73266 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
73268         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
73269         symbol reference.
73271 2010-05-19  Andreas Schwab  <schwab@redhat.com>
73273         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
73274         symbol reference.
73276 2010-05-21  Andreas Schwab  <schwab@redhat.com>
73278         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
73279         and internal_recvmmsg.
73280         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
73281         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
73282         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
73283         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
73285         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
73286         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73287         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73289 2010-05-20  Andreas Schwab  <schwab@redhat.com>
73291         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
73293 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
73295         POWER7 optimizations.
73296         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
73297         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
73299 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
73301         * version.h: Update for 2.13 development version.
73303 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
73305         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
73306         exceptions.  Return 0.
73308 2010-05-07  Roland McGrath  <roland@redhat.com>
73310         * elf/ldconfig.c (main): Add a const.
73312 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
73314         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
73315         (args_options): Add no-idn option.
73316         (ahosts_keys_int): Add idn_flags to ai_flags.
73317         (parse_option): Handle 'i' option to clear idn_flags.
73319         * malloc/malloc.c (_int_free): Possible race in the most recently
73320         added check.  Only act on the data if no current modification
73321         happened.
73323 See ChangeLog.17 for earlier changes.